]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
linux: Assume clock_getres CLOCK_{PROCESS,THREAD}_CPUTIME_ID
[thirdparty/glibc.git] / ChangeLog
1 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
6 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
7 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
8
9 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
10 pthread_clock_settime.
11 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
12 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
13 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
14 * elf/rtld.c (_dl_start_final): Likewise.
15 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
16 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
17 Remove.
18 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
19 (_dl_cpuclock_offset): Remove.
20 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
21 cpuclock_offset_ununsed.
22 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
23 cpuclock_offset set.
24 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26 * nptl/pthread_clock_gettime.c: Remove file.
27 * nptl/pthread_clock_settime.c: Likewise.
28 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
29 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
30 and CLOCK_PROCESS_CPUTIME_ID support.
31 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
32 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
33 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
34 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
35 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
36 Likewise.
37 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
38
39 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
40
41 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
42 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
43 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
44 New defines.
45 * sysdeps/s390/memmem-arch13.S: New file.
46 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
47 if it is only used as fallback.
48 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
49 * sysdeps/s390/multiarch/ifunc-impl-list.c
50 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
51
52 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
53
54 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
55 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
56 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
57 New defines.
58 * sysdeps/s390/multiarch/ifunc-impl-list.c
59 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
60 * sysdeps/s390/strstr-arch13.S: New file.
61 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
62 if it is only used as fallback.
63 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
64
65 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
66
67 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
68 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
69 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
70 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
71 ifunc selector.
72 * sysdeps/s390/multiarch/ifunc-impl-list.c
73 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
74 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
75 S390_IS_ARCH13_MIE3): New defines.
76
77 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
78
79 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
80 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
81 * sysdeps/s390/configure.ac: Add checks for arch13 support.
82 * sysdeps/s390/configure: Regenerated.
83
84 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
85
86 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
87 Add vxe2, vxp, dflt, sort flags.
88 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
89 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
90 capabilities.
91 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
92 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
93 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
94 HWCAP_S390_DFLT): Define.
95
96 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
97
98 [BZ #24372]
99 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
100 of compiler warning.
101 * locale/programs/ld-collate.c (collate_output): Likewise.
102
103 2019-03-21 DJ Delorie <dj@redhat.com>
104
105 [BZ #24372]
106 * iconv/iconvconfig.c (write_output): Replace floating point math
107 with integer math to avoid imprecise results.
108 * locale/programs/ld-collate.c (collate_output): Likewise.
109
110 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
111
112 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
113 Add HWCAP_S390_VX and HWCAP_S390_VXE.
114
115 2019-03-20 mansayk <6688000@gmail.com>
116
117 [BZ #24296]
118 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
119 (abday): Likewise, but remove the trailing dots.
120
121 2019-03-19 Joseph Myers <joseph@codesourcery.com>
122
123 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
124 macro.
125 (HWCAP_PACA): Likewise.
126 (HWCAP_PACG): Likewise.
127 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
128 Increase to 32.
129 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
130
131 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
132
133 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
134 should be handled.
135
136 2019-03-15 Joseph Myers <joseph@codesourcery.com>
137
138 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
139 version to 5.0.
140 (old_getpagesize): New syscall.
141
142 2019-03-15 Felix Yan <felixonmars@archlinux.org>
143
144 [BZ #24293]
145 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
146 * localedata/locales/cmn_TW (era): Likewise.
147 * localedata/locales/hak_TW (era): Likewise.
148 * localedata/locales/lzh_TW (era): Likewise.
149 * localedata/locales/nan_TW (era): Likewise.
150
151 2019-03-14 Florian Weimer <fweimer@redhat.com>
152
153 Remove obsolete, never-implemented XSI STREAMS declarations.
154 * manual/terminal.texi (Allocation): Remove portability note and
155 adjust example.
156 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
157 _SC_STREAMS.
158 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
159 * sysdeps/unix/inet/Subdirs (streams): Remove.
160 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
161 (conformtest-headers-UNIX98): Likewise.
162 (conformtest-headers-XOPEN2K): Likewise.
163 (conformtest-headers-POSIX2008): Likewise.
164 * posix/compat-streams.c: New file.
165 * posix/Makefile (routines): Add it.
166 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
167 getpmsg, isastream, putmsg, putpmsg.
168 (GLIBC_2.30): New section.
169 * bits/stropts.h: Remove file.
170 * bits/xtitypes.h: Likewise.
171 * conform/data/stropts.h-data: Likewise.
172 * include/stropts.h: Likewise.
173 * include/sys/stropts.h: Likewise.
174 * include/xtitypes.h: Likewise.
175 * streams/Makefile: Likewise.
176 * streams/fattach.c: Likewise.
177 * streams/fdetach.c: Likewise.
178 * streams/getmsg.c: Likewise.
179 * streams/getpmsg.c: Likewise.
180 * streams/isastream.c: Likewise.
181 * streams/putmsg.c: Likewise.
182 * streams/putpmsg.c: Likewise.
183 * streams/stropts.h: Likewise.
184 * streams/sys/stropts.h: Likewise.
185 * sysdeps/ia64/bits/xtitypes.h: Likewise.
186 * sysdeps/s390/bits/xtitypes.h: Likewise.
187 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
188 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
189 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
190 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
191 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
192 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
194 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
195 * sysdeps/x86/bits/xtitypes.h: Likewise.
196
197 2019-03-14 Florian Weimer <fweimer@redhat.com>
198
199 * nss/tst-nss-files-alias-truncated.c (do_test): Load
200 libnss_files.
201 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
202 but not with libnss_files.
203 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
204
205 2019-03-14 Zack Weinberg <zackw@panix.com>
206
207 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
208 Specify encoding="utf-8" when opening headers to check.
209
210 2019-03-13 Joseph Myers <joseph@codesourcery.com>
211
212 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
213 version to 5.0.
214 (Context.checkout_tar): Handle variable major version for Linux
215 kernel.
216
217 2019-03-13 Florian Weimer <fweimer@redhat.com>
218
219 [BZ #24047]
220 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
221
222 2019-03-13 Zack Weinberg <zackw@panix.com>
223
224 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
225 Move to stdlib.
226 * include/inttypes.h: Adjust to match.
227 * include/stdint.h: New wrapper.
228
229 2019-03-13 Zack Weinberg <zackw@panix.com>
230
231 * scripts/check-obsolete-constructs.py: New test script.
232 * scripts/check-installed-headers.sh: Remove tests for
233 obsolete typedefs, superseded by check-obsolete-constructs.py.
234 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
235 as a special test. Update commentary.
236 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
237 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
238 Update commentary.
239 * posix/sys/types.h (__u_intN_t): Remove.
240 (u_int8_t): Typedef using __uint8_t.
241 (u_int16_t): Typedef using __uint16_t.
242 (u_int32_t): Typedef using __uint32_t.
243 (u_int64_t): Typedef using __uint64_t.
244
245 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
246
247 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
248 call _dl_procinfo.
249 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
250 Ignore types other than AT_HWCAP.
251 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
252 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
253 Likewise.
254 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
255 in the case of falling back to generic output mechanism.
256 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
257 Likewise.
258
259 2019-03-12 Florian Weimer <fweimer@redhat.com>
260
261 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
262
263 2019-03-12 Florian Weimer <fweimer@redhat.com>
264
265 [BZ #24047]
266 resolv: Enable full ICMP errors for UDP DNS sockets
267 * resolv/res_enable_icmp.c: New file.
268 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
269 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
270 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
271 socket.
272
273 2019-03-11 Mao Han <han_mao@c-sky.com>
274
275 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
276 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
277
278 2019-03-11 Mao Han <han_mao@c-sky.com>
279
280 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
281 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
282 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
283
284 2019-03-11 Mao Han <han_mao@c-sky.com>
285
286 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
287 directly.
288 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
289 definition.
290
291 2019-03-11 Mao Han <han_mao@c-sky.com>
292
293 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
294 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
295 in mcontext_t
296
297 2019-03-08 Mike FABIAN <mfabian@redhat.com>
298
299 [BZ #24307]
300 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
301 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
302 Unicode 12.0.0.
303 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
304 * localedata/unicode-gen/PropList.txt: Likewise.
305 * localedata/unicode-gen/UnicodeData.txt: Likewise.
306 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
307 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
308 * localedata/charmaps/UTF-8: Regenerate.
309 * localedata/locales/i18n_ctype: Likewise.
310 * localedata/locales/tr_TR: Likewise.
311 * localedata/locales/translit_circle: Likewise.
312 * localedata/locales/translit_cjk_compat: Likewise.
313 * localedata/locales/translit_combining: Likewise.
314 * localedata/locales/translit_compat: Likewise.
315 * localedata/locales/translit_font: Likewise.
316 * localedata/locales/translit_fraction: Likewise.
317
318 2019-03-07 Joseph Myers <joseph@codesourcery.com>
319
320 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
321 than after operators.
322 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
323 (setitimer_locked): Likewise.
324 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
325 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
326 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
327 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
328 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
329 (PPC_CPU_SUPPORTED): Likewise.
330 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
331 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
332 (stat_overflow): Likewise.
333 (statfs_overflow): Likewise.
334 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
335 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
336 (eq_ttyname_r): Likewise.
337 (run_chroot_tests): Likewise.
338
339 2019-03-07 Florian Weimer <fweimer@redhat.com>
340
341 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
342 header check.
343
344 2019-03-07 Martin Liska <mliska@suse.cz>
345
346 * math/Makefile: Change location where math-vector-fortran.h is
347 installed.
348 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
349 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
350 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
351 * scripts/check-installed-headers.sh: Skip Fortran header files.
352 * scripts/check-wrapper-headers.py: Likewise.
353
354 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
355
356 * nptl/nptl-init.c (__have_futex_clock_realtime,
357 __have_futex_clock_realtime): Remove definition.
358 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
359 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
360 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
361 __ASSUME_FUTEX_CLOCK_REALTIME support.
362 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
364 * sysdeps/unix/sysv/linux/kernel-features.h
365 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
366 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
367 Adjust comment.
368
369 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
370
371 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
372 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
373 __GI___wcscpy and wcscpy.
374
375 2019-03-04 Florian Weimer <fweimer@redhat.com>
376
377 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
378 declaration.
379 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
380 defined.
381
382 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
383
384 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
385 * sysdeps/s390/s390-32/sysdep.h: Likewise.
386
387 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
388
389 [BZ #24162]
390 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
391 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
392
393 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
394
395 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
396 tests.
397 (do_test): Likewise.
398 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
399 (do_test_call_varg): Likewise.
400 (do_test_call_rarg): Likewise.
401 * sysdeps/ieee754/ldbl-opt/Makefile
402 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
403 tst-nldbl-error.
404 ($(objpfx)tst-nldbl-warn.c): New rule.
405 ($(objpfx)tst-nldbl-error.c): Likewise.
406 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
407 New variables.
408
409 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
410
411 [BZ #23984]
412 * include/bits/error-ldbl.h: New file.
413 * include/error.h: Include stdarg.h. Declare internal functions
414 __error_internal and __error_at_line_internal.
415 * misc/Makefile (headers): Add bits/error-ldbl.h.
416 * misc/bits/error-ldbl.h: New file.
417 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
418 avoid the inclusion of bits/error.h.
419 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
420 and __nldbl_error_at_line.
421 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
422 (__nldbl_error, __ndlbl_error_at_line): New functions.
423 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
424 Redirect error and error_at_line.
425 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
427 Likewise.
428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
429 Likewise.
430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
431 Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
433 Likewise.
434 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
435 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
437
438 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
439
440 [BZ #23984]
441 * include/bits/err-ldbl.h: New file.
442 * include/err.h: Add prototypes for the internal functions:
443 __vwarnx_internal and __vwarn_internal.
444 * misc/Makefile (headers): Add bits/err-ldbl.h.
445 * misc/bits/err-ldbl.h: New file.
446 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
447 defined, i.e.: when -mlong-double-64 is in use.
448 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
449 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
450 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
451 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
452 (VA_CALL): New macro.
453 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
454 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
455 functions.
456 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
457 declare prototypes for the new functions.
458 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
460 Likewise.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
462 Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
464 Likewise.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
466 Likewise.
467 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
468 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
469 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
470
471 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
472
473 * sysdeps/ieee754/ldbl-opt/Makefile
474 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
475 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
476 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
477
478 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
479
480 [BZ #23983]
481 * argp/Makefile (headers): Add bits/argp-ldbl.h.
482 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
483 * argp/bits/argp-ldbl.h: New file.
484 * include/argp.h: Include stdarg.h. Add prototypes for internal
485 functions: __argp_error_internal and __argp_failure_internal.
486 * include/bits/argp-ldbl.h: New file.
487 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
488 __nldbl_argp_error and __nldbl_argp_failure.
489 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
490 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
491 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
492 Redirect argp_error and argp_failure calls.
493 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
495 Likewise.
496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
497 Likewise.
498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
499 Likewise.
500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
501 Likewise.
502 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
503 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
504 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
505
506 2019-03-01 Florian Weimer <fweimer@redhat.com>
507
508 [BZ #20419]
509 * elf/tst-big-note-lib.S: Create a syntactically valid note.
510 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
511 code, to avoid creating an ABI tag note.
512 (modules-names-nobuild): Add tst-big-note-lib.
513
514 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
515
516 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
517 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
518
519 2019-03-01 Florian Weimer <fweimer@redhat.com>
520
521 [BZ #20271]
522 * sysdeps/unix/sysv/linux/netlink_assert_response.c
523 (__netlink_assert_response): Add additional missing newlines.
524
525 2019-02-28 Joseph Myers <joseph@codesourcery.com>
526
527 * sysdeps/powerpc/powerpc32/dl-machine.c
528 (__elf_machine_fixup_plt): Use space before '('.
529 (__process_machine_rela): Likewise.
530 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
531 Likewise.
532 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
533 Likewise.
534 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
535 Likewise.
536 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
537 (pattern): Likewise.
538 (delta): Likewise.
539 (check_result): Likewise.
540 (check_excepts): Likewise.
541 (check_op): Likewise.
542 (fail_xr): Likewise.
543 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
544 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
545 (SCNHSZ): Likewise.
546 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
547 Likewise.
548 (ARGS): Likewise.
549 (__makecontext): Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
551 Likewise.
552
553 2019-02-28 Florian Weimer <fweimer@redhat.com>
554
555 [BZ #23937]
556 elf: Add test with a local IFUNC resolver.
557 * elf/ifuncmain9.c: New file.
558 * elf/ifuncmain9pic.c: Likewise.
559 * elf/ifuncmain9picstatic.c: Likewise.
560 * elf/ifuncmain9pie.c: Likewise.
561 * elf/ifuncmain9static.c: Likewise.
562 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
563 ifuncmain9static, ifuncmain9picstatic.
564 * elf/Makefile [multi-arch && build-shared] (tests-internal):
565 Add ifuncmain9, ifuncmain9pic.
566 * elf/Makefile [multi-arch && build-shared && have-fpie]
567 (ifunc-pie-tests): Add ifuncmain9pie.
568 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
569 (CFLAGS-ifuncmain9picstatic.c): Likewise.
570 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
571
572 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
573
574 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
575 * configure: Regenerated.
576 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
577
578 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
579
580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
581 symbol as __wcspcy instead of wcscpy.
582
583 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
584
585 * include/stdio.h (__renameat2): New hidden prototype.
586 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
587 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
588 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
589 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
590
591 2019-02-27 Joseph Myers <joseph@codesourcery.com>
592
593 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
594 if statement.
595
596 * benchtests/bench-strcpy.c (do_test): Use space before '('.
597 * benchtests/bench-string.h (cmdline_process_function): Likewise.
598 * benchtests/bench-strlen.c (do_test): Likewise.
599 (test_main): Likewise.
600 * catgets/gencat.c (read_old): Likewise.
601 * elf/cache.c (load_aux_cache): Likewise.
602 * iconvdata/bug-iconv8.c (do_test): Likewise.
603 * math/test-tgmath-ret.c (do_test): Likewise.
604 * nis/nis_call.c (rec_dirsearch): Likewise.
605 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
606 * nptl/tst-audit-threads.c (do_test): Likewise.
607 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
608 * nss/nss_test1.c (init): Likewise.
609 * nss/test-netdb.c (test_hosts): Likewise.
610 * posix/execvpe.c (maybe_script_execute): Likewise.
611 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
612 * stdio-common/tst-printf.c (do_test): Likewise.
613 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
614 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
615 * stdlib/qsort.c (STACK_SIZE): Likewise.
616 * stdlib/test-canon.c (do_test): Likewise.
617 * stdlib/tst-swapcontext1.c (do_test): Likewise.
618 * string/memcmp.c (OPSIZ): Likewise.
619 * string/test-strcpy.c (do_test): Likewise.
620 (do_random_tests): Likewise.
621 * string/test-strlen.c (do_test): Likewise.
622 (test_main): Likewise.
623 * string/test-strrchr.c (do_test): Likewise.
624 (do_random_tests): Likewise.
625 * string/tester.c (test_memrchr): Likewise.
626 (test_memchr): Likewise.
627 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
628 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
629 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
630 (read_encoded_value_with_base): Likewise.
631 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
632 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
633 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
634 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
635 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
636 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
637 Likewise.
638 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
639 Likewise.
640 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
641 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
642 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
643 Likewise.
644 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
645 Likewise.
646 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
647 Likewise.
648 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
649 Likewise.
650 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
651 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
652 (FP_XSTATE_MAGIC2_SIZE): Likewise.
653 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
654 * time/test_time.c (main): Likewise.
655
656 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
657
658 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
659
660 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
661 wmemcpy.
662
663 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
664 wmemcpy.
665
666 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
667
668 * include/wchar.h (__wcscpy): New prototype.
669 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
670 (__wcscpy): Route internal symbol to generic implementation.
671 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
672 Add internal __wcscpy alias.
673 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
674 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
675 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
676 * wcsmbs/wcscpy.c (wcscpy): Add
677 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
678 use generic implementation.
679 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
680
681 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
682 wmemset.
683
684 * sysdeps/m68k/wcpcpy.c: Remove file.
685 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
686
687 2019-02-26 Joseph Myers <joseph@codesourcery.com>
688
689 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
690 than after operators.
691 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
692 * sysdeps/mach/hurd/getcwd.c
693 (__hurd_canonicalize_directory_name_internal): Likewise.
694 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
695 (pthread_mutex_consistent): Likewise.
696 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
697 Likewise.
698 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
699 (__pthread_mutex_transfer_np): Likewise.
700 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
701 (__pthread_mutex_unlock): Likewise.
702 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
703 (mtx_owned_p): Likewise.
704 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
705 (pthread_mutexattr_getrobust): Likewise.
706 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
707 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
708 Likewise.
709 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
710 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
711 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
712 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
713 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
715 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
716 Likewise.
717 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
718 Likewise.
719 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
720 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
721 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
722 (____longjmp_chk): Likewise.
723 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
724 Likewise.
725 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
726 (INTERNAL_SYSCALL): Likewise.
727 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
728 (INTERNAL_SYSCALL): Likewise.
729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
730 (__get_clockfreq_via_cpuinfo): Likewise.
731
732 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
733 comments.
734 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
735 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
736 (WORD_COPY_BWD): Likewise.
737 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
739 Likewise.
740 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
741 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
742 comment.
743 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
744
745 2019-02-25 Joseph Myers <joseph@codesourcery.com>
746
747 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
748 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
749 rather than after operators.
750 * elf/cache.c (print_cache): Likewise.
751 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
752 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
753 * hurd/hurdinit.c (_hurd_setproc): Likewise.
754 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
755 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
756 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
757 (reauth_proc): Likewise.
758 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
759 (__file_name_split_at): Likewise.
760 (__directory_name_split_at): Likewise.
761 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
762 * hurd/port2fd.c (_hurd_port2fd): Likewise.
763 * iconv/gconv_dl.c (do_print): Likewise.
764 * inet/netinet/in.h (struct sockaddr_in): Likewise.
765 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
766 * locale/setlocale.c (new_composite_name): Likewise.
767 * malloc/memusagestat.c (main): Likewise.
768 * misc/fstab.c (fstab_convert): Likewise.
769 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
770 Likewise.
771 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
772 (getgrent_next_file): Likewise.
773 (internal_getgrnam_r): Likewise.
774 (internal_getgrgid_r): Likewise.
775 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
776 Likewise.
777 (internal_getgrent_r): Likewise.
778 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
779 (getpwent_next_nss): Likewise.
780 (getpwent_next_file): Likewise.
781 (internal_getpwnam_r): Likewise.
782 (internal_getpwuid_r): Likewise.
783 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
784 Likewise.
785 (getspent_next_nss): Likewise.
786 (internal_getspnam_r): Likewise.
787 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
788 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
789 * string/strchr.c (STRCHR): Likewise.
790 * string/strchrnul.c (STRCHRNUL): Likewise.
791 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
792 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
793 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
794 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
795 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
796 Likewise.
797 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
798 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
799 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
800 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
801 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
802 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
803 (open_file): Likewise.
804 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
805 (pthread_mutexattr_setprotocol): Likewise.
806 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
807 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
808 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
809 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
810 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
811 Likewise.
812 (elf_machine_rela): Likewise.
813 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
814 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
815 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
816 * sysdeps/posix/rename.c (rename): Likewise.
817 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
818 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
819 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
820 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
821 * sysdeps/unix/grantpt.c (grantpt): Likewise.
822 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
823 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
824 Likewise.
825 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
826 Likewise.
827 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
828 * time/tzfile.c (__tzfile_compute): Likewise.
829
830 2019-02-22 Joseph Myers <joseph@codesourcery.com>
831
832 * benchtests/bench-memmem.c (simple_memmem): Break lines before
833 rather than after operators.
834 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
835 * crypt/md5.c (md5_finish_ctx): Likewise.
836 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
837 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
838 * elf/cache.c (load_aux_cache): Likewise.
839 * elf/dl-load.c (open_verify): Likewise.
840 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
841 * elf/readelflib.c (process_elf_file): Likewise.
842 * elf/rtld.c (dl_main): Likewise.
843 * elf/sprof.c (generate_call_graph): Likewise.
844 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
845 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
846 * hurd/dtable.c (reauth_dtable): Likewise.
847 * hurd/getdport.c (__getdport): Likewise.
848 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
849 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
850 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
851 Likewise.
852 * hurd/hurdioctl.c (fioctl): Likewise.
853 * hurd/hurdselect.c (_hurd_select): Likewise.
854 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
855 (STOPSIGS): Likewise.
856 * hurd/hurdstartup.c (_hurd_startup): Likewise.
857 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
858 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
859 * hurd/msgportdemux.c (msgport_server): Likewise.
860 * hurd/setauth.c (_hurd_setauth): Likewise.
861 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
862 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
863 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
864 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
865 * login/tst-utmp.c (do_check): Likewise.
866 (simulate_login): Likewise.
867 * mach/lowlevellock.h (lll_lock): Likewise.
868 (lll_trylock): Likewise.
869 * math/test-fenv.c (ALL_EXC): Likewise.
870 * math/test-fenvinline.c (ALL_EXC): Likewise.
871 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
872 * nis/nis_call.c (__do_niscall3): Likewise.
873 * nis/nis_callback.c (cb_prog_1): Likewise.
874 * nis/nis_defaults.c (searchaccess): Likewise.
875 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
876 * nis/nis_ismember.c (internal_ismember): Likewise.
877 * nis/nis_local_names.c (nis_local_principal): Likewise.
878 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
879 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
880 Likewise.
881 * nis/ypclnt.c (yp_match): Likewise.
882 (yp_first): Likewise.
883 (yp_next): Likewise.
884 (yp_master): Likewise.
885 (yp_order): Likewise.
886 * nscd/hstcache.c (cache_addhst): Likewise.
887 * nscd/initgrcache.c (addinitgroupsX): Likewise.
888 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
889 (internal_getpwuid_r): Likewise.
890 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
891 * posix/glob.h (__GLOB_FLAGS): Likewise.
892 * posix/regcomp.c (peek_token): Likewise.
893 (peek_token_bracket): Likewise.
894 (parse_expression): Likewise.
895 * posix/regexec.c (sift_states_iter_mb): Likewise.
896 (check_node_accept_bytes): Likewise.
897 * posix/tst-spawn3.c (do_test): Likewise.
898 * posix/wordexp-test.c (testit): Likewise.
899 * posix/wordexp.c (parse_tilde): Likewise.
900 (exec_comm): Likewise.
901 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
902 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
903 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
904 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
905 * stdio-common/tst-fileno.c (do_test): Likewise.
906 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
907 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
908 * stdlib/strtod_l.c (round_and_return): Likewise.
909 (____STRTOF_INTERNAL): Likewise.
910 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
911 * string/strcspn.c (STRCSPN): Likewise.
912 * string/test-memmem.c (simple_memmem): Likewise.
913 * termios/tcsetattr.c (tcsetattr): Likewise.
914 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
915 * time/asctime.c (asctime_internal): Likewise.
916 * time/strptime_l.c (__strptime_internal): Likewise.
917 * time/sys/time.h (timercmp): Likewise.
918 * time/tzfile.c (__tzfile_compute): Likewise.
919
920 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
921
922 [BZ #21915]
923 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
924
925 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
926
927 * argp/argp-help.c (__argp_error_internal): New function,
928 renamed from __argp_error, but that takes a 'mode_flags'
929 parameter to control the format of long double parameters.
930 (__argp_error): Converted into a call __argp_error_internal.
931 (__argp_failure_internal): New function, renamed from
932 __argp_failure, but that takes a 'mode_flags' parameter.
933 (__argp_failure): Converted into a call __argp_failure_internal.
934 * misc/err.c (__vwarnx_internal): New function, renamed from
935 vwarnx, but that takes a 'mode_flags' parameter.
936 (vwarnx): Converted into a call to __vwarnx_internal.
937 (__vwarn_internal): New function, renamed from vwarn, but that
938 takes a 'mode_flags' parameter.
939 (vwarn): Converted into a call to __vwarn_internal.
940 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
941 call to __vfxprintf with 'mode_flags'.
942 (__error_internal): New function, renamed from error, but that
943 takes a 'mode_flags' parameter.
944 (error): Converted into a call to __error_internal.
945 (__error_at_line_internal): New function, renamed from
946 error_at_line, but that takes a 'mode_flags' parameter.
947 (error_at_line): Converted into a call to
948 __error_at_line_internal.
949 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
950 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
951 Likewise.
952
953 2019-02-20 Martin Liska <mliska@suse.cz>
954
955 * math/Makefile: Install math-vector-fortran.h.
956 * bits/math-vector-fortran.h: New file.
957 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
958
959 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
960
961 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
962 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
963
964 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
965
966 * nptl/pthread_mutex_trylock.c: Fix comment.
967
968 2019-02-19 Carlos O'Donell <carlos@redhat.com>
969
970 * nptl/pthread_tryjoin.c: Fix comment.
971
972 2019-02-18 Joseph Myers <joseph@codesourcery.com>
973
974 [BZ #24231]
975 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
976 after R_SPARC_H34 case.
977
978 2019-02-18 Florian Weimer <fweimer@redhat.com>
979
980 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
981 (getanswer): Do not call Dprintf.
982 (res_gethostbyname2_context): Likewise.
983 (res_gethostbyaddr_context): Likewise.
984
985 2019-02-18 Florian Weimer <fweimer@redhat.com>
986
987 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
988 declaration.
989 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
990 Remove definitions.
991 * libio/stdfiles.c: Update comment.
992 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
993 set _IO_stdin, _IO_stdout, _IO_stderr.
994 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
995 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
996 inline function.
997 (_IO_deallocate_file): New inline function.
998 * libio/iolibio.h (_IO_vprintf): Remove definition.
999 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1000 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1001 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1002 _IO_legacy_file.
1003 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1004 __builtin_expect. Use _IO_legacy_file.
1005
1006 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1007
1008 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1009 Initialize ctid with a known value and remove update of ctid
1010 after clone.
1011 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1012 as assumed current value of ctid_ptr.
1013
1014 2019-02-15 Florian Weimer <fweimer@redhat.com>
1015
1016 Check that non-sysdeps headers have wrapper headers.
1017 * scripts/check-wrapper-headers.py: New file.
1018 * Makefile (tests-special): Add check-wrapper-headers.out.
1019 (check-wrapper-headers.out): New target.
1020 * Rules (tests-special): Add check-wrapper-headers.out.
1021 (check-wrapper-headers.out): New target.
1022
1023 2019-02-15 Florian Weimer <fweimer@redhat.com>
1024
1025 Add missing header wrappers under include/.
1026 * include/ar.h: New file.
1027 * include/bits/mqueue2.h: Likewise.
1028 * include/bits/stdio.h: Likewise.
1029 * include/bits/stdio2.h: Likewise.
1030 * include/fstab.h: Likewise.
1031 * include/fts.h: Likewise.
1032 * include/lastlog.h: Likewise.
1033 * include/netinet/icmp6.h: Likewise.
1034 * include/netinet/igmp.h: Likewise.
1035 * include/netinet/ip6.h: Likewise.
1036 * include/re_comp.h: Likewise.
1037 * include/regexp.h: Likewise.
1038 * include/rpcsvc/bootparam.h: Likewise.
1039 * include/rpcsvc/yp_prot.h: Likewise.
1040 * include/sys/random.h: Likewise.
1041 * include/sys/stropts.h: Likewise.
1042 * include/sys/ttychars.h: Likewise.
1043 * include/sys/vfs.h: Likewise.
1044 * include/wait.h: Likewise.
1045
1046 2019-02-15 Florian Weimer <fweimer@redhat.com>
1047
1048 * nptl_db/proc_service.h: Move to ...
1049 * sysdeps/nptl/proc_service.h: ... here.
1050 * nptl_db/thread_db.h: Move to ...
1051 * sysdeps/nptl/thread_db.h: ... here.
1052 * nptl/descr.h: Include <thread_db.h>.
1053
1054 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1055
1056 * io/Makefile (tests): Add tst-lockf.
1057 * io/lockf.c (lockf): Use __fcntl and only define for
1058 !__OFF_T_MATCHES_OFF64_T.
1059 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1060 __OFF_T_MATCHES_OFF64_T case.
1061 * io/tst-lockf.c: New file.
1062 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1063 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1064 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1065 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1066 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1068 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1069 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1071
1072 2019-02-15 Florian Weimer <fweimer@redhat.com>
1073
1074 [BZ #24211]
1075 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1076 pd->result after the thread descriptor has been freed.
1077
1078 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1079
1080 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1081 from function return type.
1082
1083 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1084
1085 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1086
1087 * scripts/test_printers_common.py: Set TERM to a known harmless
1088 value.
1089
1090 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1091
1092 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1093 (xdr_u_int): Likewise.
1094 (xdr_enum): Likewise.
1095 (xdr_bytes): Reword fall-through comment.
1096 (xdr_string): Likewise.
1097
1098 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1099
1100 [BZ #2421]
1101 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1102 (tests): Add tst-join8 tst-join9.
1103 * nptl/lll_timedwait_tid.c: Remove file.
1104 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1105 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1106 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1107 * nptl/pthread_join_common.c (timedwait_tid): New function.
1108 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1109 is set.
1110 * nptl/tst-join5.c (thread_join): New function.
1111 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1112 check.
1113 * nptl/tst-join8.c: New file.
1114 * nptl/tst-join9.c: Likewise.
1115 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1116 lll_futex_timed_wait_cancel): Add generic macros.
1117 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1118 Remove definitions.
1119 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1120 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1121 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1122 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1123 Remove function.
1124 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1125 Likewise.
1126 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1127 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1128 (lll_futex_timed_wait_cancel): New macro.
1129
1130 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1131
1132 * benchtests/Makefile: Add malloc-simple benchmark.
1133 * benchtests/bench-malloc-simple.c: New benchmark.
1134
1135 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1136
1137 * benchtests/bench-memmove.c (do_one_test): Remove unused
1138 ORIG_SRC.
1139 (do_test): Adjust.
1140 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1141 ORIG_SRC.
1142 (do_test): Adjust.
1143
1144 2019-01-13 Jim Wilson <jimw@sifive.com>
1145
1146 [BZ #24040]
1147 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1148 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1149 (func): New.
1150 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1151 call func directly.
1152 * nptl/Makefile (tests): Add tst-unwind-thread.
1153 (CFLAGS-tst-unwind-thread.c): Define.
1154 * nptl/tst-unwind-thread.c: New file.
1155 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1156 as undefined.
1157
1158 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1159
1160 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1161 comment wording.
1162 * nis/nis_call.c (__do_niscall3): Likewise.
1163
1164 * catgets/gencat.c (normalize_line): Use braces around empty
1165 'else' body.
1166 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1167 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1168 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1169 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1170 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1171 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1172 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1173 definition.
1174
1175 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1176 execlp returns.
1177
1178 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1179
1180 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1181 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1182 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1183 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1184 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1185 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1186 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1187 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1188 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1189 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1190 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1191 * benchtests/bench-bcopy.c: Delete file.
1192 * benchtests/bench-bzero.c: Likewise.
1193 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1194 (simple_memccpy): Remove.
1195 (generic_memccpy): Add function.
1196 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1197 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1198 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1199 (generic_mempcpy): Add new function.
1200 * benchtests/bench-memset.c (simple_bzero): Remove.
1201 (builtin_bzero): Remove.
1202 (builtin_memset): Remove.
1203 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1204 (generic_rawmemchr): Add new function.
1205
1206 2019-02-12 Florian Weimer <fweimer@redhat.com>
1207
1208 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1209
1210 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1211
1212 [BZ #24122]
1213 * elf/Makefile (tests): Add tst-audit13.
1214 (modules-names): Add tst-audit13mod1.
1215 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1216 rule.
1217 * elf/tst-audit13.c: New file.
1218 * elf/tst-audit13mod1.c: Likewise.
1219
1220 2019-02-12 Florian Weimer <fweimer@redhat.com>
1221
1222 [BZ #24122]
1223 * elf/rtld.c (unload_audit_module): New function.
1224 (report_audit_module_load_error): Likewise.
1225 (load_audit_module): Likewise. Extracted from dl_main. Call
1226 _dl_close if the laversion symbol cannot be found. Use early
1227 returns for error handling. Add malloc error check. Check for a
1228 zero return value from la_version. Remove spurious comment about
1229 static TLS initialization. Remove useless casts.
1230 (notify_audit_modules_of_loaded_object): New function. Extracted
1231 from dl_main.
1232 (load_audit_module): Likewise.
1233 (dl_main): Call load_audit_modules.
1234
1235 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1236
1237 * elf/dl-exception.c (_dl_exception_create_format): Add
1238 fall-through comments.
1239 * elf/ldconfig.c (parse_conf_include): Likewise.
1240 * elf/rtld.c (print_statistics): Likewise.
1241 * locale/programs/charmap.c (parse_charmap): Likewise.
1242 * misc/mntent_r.c (__getmntent_r): Likewise.
1243 * posix/wordexp.c (parse_arith): Likewise.
1244 (parse_backtick): Likewise.
1245 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1246 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1247 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1248
1249 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1250
1251 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1252 Use float instead of double.
1253
1254 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1255
1256 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1257
1258 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1259
1260 * sysdeps/powerpc/bits/mathinline.h: Remove.
1261
1262 2019-02-08 Florian Weimer <fweimer@redhat.com>
1263
1264 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1265 * math/bits/math-finite.h: Move to ...
1266 * bits/math-finite.h: ... here.
1267
1268 2019-02-08 Florian Weimer <fweimer@redhat.com>
1269
1270 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1271 * bits/unistd_ext.h: here.
1272
1273 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1274
1275 [BZ #21915]
1276 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1277 * nss/tst-nss-files-hosts-long.c: New file.
1278 * nss/tst-nss-files-hosts-long.root: New directory.
1279 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1280 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1281
1282 2019-02-08 Florian Weimer <fweimer@redhat.com>
1283
1284 * include/bits/unistd_ext.h: Remove file.
1285 * posix/bits/unistd_ext.h: Move to ...
1286 * sysdeps/generic/bits/unistd_ext.h: ... here.
1287
1288 2019-02-08 Florian Weimer <fweimer@redhat.com>
1289
1290 * include/bits/unistd_ext.h: New file.
1291
1292 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1293
1294 * time/tst-strftime2.c: Use array_length macros instead of magic
1295 numbers.
1296
1297 2019-02-08 Florian Weimer <fweimer@redhat.com>
1298
1299 [BZ #24161]
1300 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1301 argument.
1302 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1303 locking if the new do_locking argument is true.
1304 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1305 __run_fork_handlers.
1306
1307 2019-02-08 Florian Weimer <fweimer@redhat.com>
1308
1309 [BZ #6399]
1310 Linux: Add gettid system call wrapper.
1311 * posix/Makefile (headers): Add bits/unistd_ext.h.
1312 * posix/bits/unistd_ext.h: New file.
1313 * posix/unistd.h: Include it.
1314 * manual/process.texi (Process Identification): Document gettid.
1315 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1316 tst-gettid, tst-gettid-kill.
1317 (tst-gettid): Link with $(shared-thread-library).
1318 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1319 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1320 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1321 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1322 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1323 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1324 Add gettid.
1325 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1326 Likewise.
1327 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1328 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1329 Likewise.
1330 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1331 Likewise.
1332 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1333 Likewise.
1334 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1335 Likewise.
1336 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1337 Likewise.
1338 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1339 Likewise.
1340 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1341 Likewise.
1342 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1343 (GLIBC_2.30): Likewise.
1344 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1345 (GLIBC_2.30): Likewise.
1346 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1347 (GLIBC_2.30): Likewise.
1348 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1349 (GLIBC_2.30): Likewise.
1350 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1351 Likewise.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1353 (GLIBC_2.30): Likewise.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1355 (GLIBC_2.30): Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1357 (GLIBC_2.30): Likewise.
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1359 (GLIBC_2.30): Likewise.
1360 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1361 Likewise.
1362 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1363 Likewise.
1364 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1365 Likewise.
1366 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1367 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1368 Likewise.
1369 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1370 Likewise.
1371 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1372 Likewise.
1373 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1374 Likewise.
1375 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1376
1377 2019-02-07 Florian Weimer <fweimer@redhat.com>
1378
1379 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1380 compatibility symbols.
1381
1382 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1383
1384 [BZ #24180]
1385 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1386 Add compiler barriers and comments.
1387
1388 2019-02-07 Florian Weimer <fweimer@redhat.com>
1389
1390 * include/array_length.h (array_length): Do not use a statement
1391 expression and _Static_assert, so that array_length can be used at
1392 file scope and as a constant expression.
1393
1394 2019-02-07 Florian Weimer <fweimer@redhat.com>
1395
1396 * support/xdlfcn.h (xdlmopen): Declare.
1397 * support/xdlmopen.c: New file.
1398 * support/Makefile (libsupport-routines): Add xdlmopen.
1399
1400 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1401
1402 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1403 before return type, without separate inline.
1404 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1405 * elf/dl-tunables.h (tunable_is_name): Likewise.
1406 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1407 (do_set_top_pad): Likewise.
1408 (do_set_mmap_threshold): Likewise.
1409 (do_set_mmaps_max): Likewise.
1410 (do_set_mallopt_check): Likewise.
1411 (do_set_perturb_byte): Likewise.
1412 (do_set_arena_test): Likewise.
1413 (do_set_arena_max): Likewise.
1414 (do_set_tcache_max): Likewise.
1415 (do_set_tcache_count): Likewise.
1416 (do_set_tcache_unsorted_limit): Likewise.
1417 * nis/nis_subr.c (count_dots): Likewise.
1418 * nptl/allocatestack.c (advise_stack_range): Likewise.
1419 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1420 (do_sin): Likewise.
1421 (reduce_sincos): Likewise.
1422 (do_sincos): Likewise.
1423 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1424 (do_set_elision_enable): Likewise.
1425 (TUNABLE_CALLBACK_FNDECL): Likewise.
1426
1427 2019-02-06 Florian Weimer <fweimer@redhat.com>
1428
1429 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1430 (xdlsym): Use dlerror to detect a NULL symbol.
1431
1432 2019-02-06 Florian Weimer <fweimer@redhat.com>
1433
1434 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1435 <stap-probe.h>.
1436 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1437
1438 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1439
1440 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1441
1442 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1443
1444 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1445 __wmemcmp and weak alias to wmemcmp.
1446
1447 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1448
1449 [BZ #23403]
1450 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1451 TLS_TCB_AT_TP tls variant.
1452 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1453 Add alignment checks.
1454 * support/Makefile (libsupport-routines): Add xposix_memalign and
1455 xpthread_setstack.
1456 * support/support.h: Add xposix_memalign.
1457 * support/xthread.h: Add xpthread_attr_setstack.
1458 * support/xposix_memalign.c: New File.
1459 * support/xpthread_attr_setstack.c: Likewise.
1460
1461 2019-02-05 Florian Weimer <fweimer@redhat.com>
1462
1463 [BZ #24164]
1464 arm: Use "nr" constraint for Systemtap probes, to avoid the
1465 compiler using memory operands for constants, due to the "o"
1466 alternative in the default "nor" constraint.
1467 * include/stap-probe.h [USE_STAP_PROBE]: Include
1468 <stap-probe-machine.h>
1469 * sysdeps/generic/stap-probe-machine.h: New file.
1470 * sysdeps/arm/stap-probe-machine.h: Likewise.
1471
1472 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1473
1474 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1475 with 0, not tcache->entries[tc_idx].
1476
1477 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1478 once.
1479
1480 2019-02-04 Andreas Schwab <schwab@suse.de>
1481
1482 [BZ #16976]
1483 [BZ #17396]
1484 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1485 looking up collating elements match against (wide) character
1486 sequence instead of name. Correct alignment adjustment.
1487 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1488 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1489 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1490 (LOCALES): Add cs_CZ.ISO-8859-2.
1491 * posix/tst-fnmatch4.c: New file.
1492 * posix/tst-fnmatch5.c: New file.
1493 * include/wchar.h (__wmemcmp): Declare.
1494 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1495 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1496 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1497 * sysdeps/s390/wmemcmp.c: Likewise.
1498
1499 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1500
1501 [BZ #24155]
1502 CVE-2019-7309
1503 * NEWS: Updated for CVE-2019-7309.
1504 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1505 upper 32 bits of RDX register for x32. Use unsigned Jcc
1506 instructions, instead of signed.
1507 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1508 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1509
1510 2019-02-04 Florian Weimer <fweimer@redhat.com>
1511
1512 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1513 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1514 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1515 Likewise.
1516 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1517 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1518 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1519 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1520 Likewise.
1521 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1522 Likewise.
1523 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1524 Likewise.
1525 (posix_spawn_file_actions_addopen): Likewise.
1526 (posix_spawn_file_actions_addclose): Likewise.
1527 (posix_spawn_file_actions_adddup2): Likewise.
1528 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1529 qualifiers.
1530 (posix_spawn_file_actions_addfchdir_np): Likewise.
1531
1532 2019-02-04 David Newall <glibc@davidnewall.com>
1533
1534 elf: Implement --preload option for the dynamic linker.
1535 * elf/rtld.c (preloadarg): New variable.
1536 (handle_preload_list): Pass through “where” argument to
1537 do_preload.
1538 (dl_main): Handle "--preload" and add second call to
1539 handle_preload_list.
1540 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1541 (tst-rtld-preload-OBJS): Set variable.
1542 (tst-rtld-preload.out): New target.
1543 * elf/tst-rtld-preload.sh: New file.
1544
1545 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1546
1547 * Makefile (testrun.sh): Exit in case of incorrect argument.
1548
1549 2019-02-04 Florian Weimer <fweimer@redhat.com>
1550
1551 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1552 alignment gaps.
1553
1554 2019-02-03 Florian Weimer <fweimer@redhat.com>
1555
1556 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1557 implicit overflow checks.
1558
1559 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1560
1561 * stdlib/isomac.c: Include <unistd.h>.
1562
1563 2019-02-03 Florian Weimer <fweimer@redhat.com>
1564
1565 * include/time.h (__tzfile_default): Use int, not long int, for
1566 the GMT offsets.
1567 * time/tzfile.c (struct ttinfo): Change type of the offset member
1568 to int.
1569 (__tzfile_read): Remove useless cast.
1570 (__tzfile_default): Adjust prototype.
1571 * time/tzset.c (tz_rule): Change type of the offset member to int.
1572 (parse_offset): Change the type of the sign variable to int.
1573
1574 2019-02-03 Florian Weimer <fweimer@redhat.com>
1575
1576 [BZ #24153]
1577 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1578 * libio/getchar.c (getchar): Likewise.
1579 * libio/getchar_u.c (getchar_unlocked): Likewise.
1580 * libio/getwchar.c (getwchar): Likewise.
1581 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1582 * libio/iogets.c (_IO_gets): Likewise.
1583 * libio/vscanf.c (_IO_vscanf): Likewise.
1584 * libio/vwscanf.c (__vwscanf): Likewise.
1585 * libio/tst-bz24153.c: New file.
1586 * libio/Makefile (tests): Add it.
1587
1588 2019-02-02 Florian Weimer <fweimer@redhat.com>
1589
1590 [BZ #14829]
1591 * manual/resource.texi (Basic Scheduling Functions): Add
1592 portability note. Change process to task throughout the section.
1593 Remove incorrect comment about sched_yield as it affects
1594 tasks/threads, not entire processes.
1595 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1596 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1597
1598 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1599
1600 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1601 * configure: Regenerated.
1602 * manual/install.texi (Tools for Compilation): Update minimum GCC
1603 version.
1604 * INSTALL: Regenerated.
1605
1606 2019-02-01 Florian Weimer <fweimer@redhat.com>
1607
1608 * support/support_test_compare_string.c
1609 (support_test_compare_string): Use "string" in error message.
1610 * support/tst-test_compare_string.c (do_test): Adjust.
1611
1612 2019-02-01 Florian Weimer <fweimer@redhat.com>
1613
1614 * support/support_format_address_family.c
1615 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1616
1617 2019-02-01 Florian Weimer <fweimer@redhat.com>
1618
1619 * manual/socket.texi (Internet Address Formats): Clarify the byte
1620 order of struct sockaddr_in, struct sockaddr_in6. Document
1621 sin6_flowinfo and sin6_scope_id.
1622
1623 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1624
1625 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1626 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1627 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1628 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1629 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1630 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1631
1632 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1633
1634 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1635 [!MEMCHR](MEMCHR): Set to __memchr.
1636 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1637 Add memchr_generic and memchr_nosimd.
1638 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1639 (__libc_ifunc_impl_list): Add memchr ifuncs.
1640 * sysdeps/aarch64/multiarch/memchr.c: New file.
1641 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1642 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1643
1644 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1645
1646 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1647 Add memset_emag.
1648 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1649 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1650 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1651 Add IS_EMAG check for ifunc dispatch.
1652 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1653 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1654
1655 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1656
1657 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1658 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1659 Add emag.
1660 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1661 New macro.
1662
1663 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1664
1665 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1666
1667 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1668
1669 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1670 syscall-template file.
1671
1672 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1673 Torvald Riegel <triegel@redhat.com>
1674 Rik Prohaska <prohaska7@gmail.com>
1675
1676 [BZ# 23844]
1677 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1678 tst-rwlock-trywrlock-stall.
1679 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1680 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1681 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1682 Set __wrphase_fute to 1 only if we started the write phase.
1683 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1684 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1685 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1686 * support/xpthread_rwlock_destroy.c: New file.
1687 * support/xthread.h: Declare xpthread_rwlock_destroy.
1688
1689 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1690
1691 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1692 version to 4.0.2.
1693
1694 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1695
1696 [BZ #24051]
1697 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1698 * libio/fileops.c (_IO_new_file_underflow): Likewise
1699 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1700 * libio/putchar.c (putchar): Likewise.
1701 * libio/putchar_u.c (putchar_unlocked): Likewise.
1702 * libio/putwchar.c (putchar): Likewise.
1703 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1704 * libio/tst-bz24051.c: New test.
1705 * libio/Makefile (tests): Add tst-bz24051
1706
1707 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1708
1709 CVE-2019-9169
1710 regex: fix read overrun [BZ #24114]
1711 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1712 https://debbugs.gnu.org/34140
1713 * posix/regexec.c (proceed_next_node):
1714 Do not read past end of input buffer.
1715
1716 2019-01-31 Florian Weimer <fweimer@redhat.com>
1717
1718 [BZ #24059]
1719 * nss/nss_files/files-alias.c (get_next_alias): Handle
1720 continuation line without newline at the end.
1721 * nss/tst-nss-files-alias-truncated.c: New file.
1722 * nss/Makefile [$(build-shared)] (tests): Add
1723 tst-nss-files-alias-truncated.
1724 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1725 * support/namespace.h (struct support_chroot_configuration): Add
1726 aliases member.
1727 (struct support_chroot): Add path_aliases member.
1728 * support/support_chroot.c (support_chroot_create): Handle
1729 aliases.
1730 (support_chroot_free): Free path_aliases.
1731
1732 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1733
1734 * version.h (RELEASE): Set to "development".
1735 (VERSION): Set to "2.29.9000".
1736 * NEWS: Add section for 2.30.
1737
1738 * version.h (RELEASE): Set to "stable".
1739 (VERSION): Set to "2.29".
1740 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1741
1742 * NEWS: Add the list of bugs fixed in 2.29.
1743 * manual/contrib.texi: Update contributors list with some more
1744 names.
1745 * manual/install.texi: Update latest versions of packages
1746 tested.
1747 * INSTALL: Regenerated.
1748
1749 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1750
1751 * po/be.po: Update translations.
1752 * po/bg.po: Likewise.
1753 * po/ca.po: Likewise.
1754 * po/cs.po: Likewise.
1755 * po/da.po: Likewise.
1756 * po/de.po: Likewise.
1757 * po/el.po: Likewise.
1758 * po/eo.po: Likewise.
1759 * po/es.po: Likewise.
1760 * po/fi.po: Likewise.
1761 * po/fr.po: Likewise.
1762 * po/gl.po: Likewise.
1763 * po/hr.po: Likewise.
1764 * po/hu.po: Likewise.
1765 * po/ia.po: Likewise.
1766 * po/id.po: Likewise.
1767 * po/it.po: Likewise.
1768 * po/ja.po: Likewise.
1769 * po/ko.po: Likewise.
1770 * po/lt.po: Likewise.
1771 * po/nb.po: Likewise.
1772 * po/nl.po: Likewise.
1773 * po/pl.po: Likewise.
1774 * po/pt_BR.po: Likewise.
1775 * po/ru.po: Likewise.
1776 * po/rw.po: Likewise.
1777 * po/sk.po: Likewise.
1778 * po/sl.po: Likewise.
1779 * po/sv.po: Likewise.
1780 * po/tr.po: Likewise.
1781 * po/uk.po: Likewise.
1782 * po/vi.po: Likewise.
1783 * po/zh_CN.po: Likewise.
1784 * po/zh_TW.po: Likewise.
1785
1786 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1787
1788 [BZ #24130]
1789 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1790 of $f3 register on $y_is_neg path.
1791
1792 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1793
1794 [BZ #24110]
1795 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1796 sigaltstack.ss_flags.
1797
1798 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1799
1800 [BZ #23758]
1801 * manual/time.texi (strftime): Document "%Ey".
1802 * time/strftime_l.c (__strftime_internal): Set the default width
1803 padding with zero of "%Ey" to 2.
1804
1805 [BZ #24096]
1806 * manual/time.texi (strftime): Document "%EC" and "%EY".
1807 * time/Makefile (tests): Add tst-strftime2.
1808 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1809 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1810 override padding for "%Ey".
1811 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1812 "%Ey" in the subformat as if decorated with that flag.
1813 * time/tst-strftime2.c: New file.
1814
1815 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1816
1817 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1818 are not defined.
1819
1820 [BZ #24122]
1821 * elf/Makefile (tests): Add tst-audit13.
1822 (modules-names): Add tst-audit13mod1.
1823 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1824 rule.
1825 * elf/rtld.c (dl_main): Handle invalid audit module version.
1826 * elf/tst-audit13.c: New file.
1827 * elf/tst-audit13mod1.c: Likewise.
1828
1829 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1830
1831 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1832 returned by __hurd_at_flags.
1833 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1834 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1835 directly instead of __hurd_file_name_lookup.
1836
1837 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1838
1839 * scripts/build-many-glibcs.py (Context.checkout): Default
1840 binutils version to 2.32 branch.
1841
1842 2019-01-21 Florian Weimer <fweimer@redhat.com>
1843
1844 [BZ #20018]
1845 CVE-2016-10739
1846 resolv: Reject trailing characters in host names
1847 * include/arpa/inet.h (__inet_aton_exact): Declare.
1848 (inet_aton): Remove hidden prototype. No longer used internally.
1849 * nscd/gai.c (__inet_aton): Do not define.
1850 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1851 * nss/digits_dots.c (__inet_aton): Likewise.
1852 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1853 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1854 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1855 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1856 (tst-resolv-trailing): Likewise.
1857 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1858 libc.
1859 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1860 Make static. Add endp parameter.
1861 (__inet_aton_exact): New function.
1862 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1863 (__inet_addr): Call inet_aton_end.
1864 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1865 not just IPv6. Call __inet_aton_exact.
1866 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1867 (tests): Make const. Add additional test cases with trailing
1868 characters.
1869 (do_test): Use array_length.
1870 * resolv/tst-inet_aton_exact.c: New file.
1871 * resolv/tst-resolv-trailing.c: Likewise.
1872 * resolv/tst-resolv-nondecimal.c: Likewise.
1873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1874
1875 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 [BZ# 24097]
1878 CVE-2019-6488
1879 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1880 Clear the upper 32 bits of RSI register.
1881 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1882 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1883 and tst-size_t-wcsnlen.
1884 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1885 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1886
1887 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 [BZ# 24097]
1890 CVE-2019-6488
1891 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1892 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1893 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1894 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1895 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1896
1897 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1898
1899 [BZ# 24097]
1900 CVE-2019-6488
1901 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1903 * sysdeps/x86_64/strcmp.S: Likewise.
1904 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1905 tst-size_t-strncmp and tst-size_t-wcsncmp.
1906 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1907 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1908 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1909
1910 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1911
1912 [BZ# 24097]
1913 CVE-2019-6488
1914 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1915 RDX_LP for length. Clear the upper 32 bits of RDX register.
1916 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1917 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1918 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1919 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1920
1921 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 [BZ# 24097]
1924 CVE-2019-6488
1925 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1926 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1927 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1928 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1929
1930 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 [BZ# 24097]
1933 CVE-2019-6488
1934 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1935 length. Clear the upper 32 bits of RDX register.
1936 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1937 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1938 Likewise.
1939 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1940 Likewise.
1941 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1942 tst-size_t-wmemchr.
1943 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1944
1945 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 [BZ# 24097]
1948 CVE-2019-6488
1949 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1950 length. Clear the upper 32 bits of RDX register.
1951 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1952 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1953 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1954 tst-size_t-wmemcmp.
1955 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1956 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1957
1958 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1959
1960 [BZ# 24097]
1961 CVE-2019-6488
1962 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1963 upper 32 bits of RDX register.
1964 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1965 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1966 tst-size_t-wmemchr.
1967 * sysdeps/x86_64/x32/test-size_t.h: New file.
1968 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1969 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1970
1971 2019-01-18 Florian Weimer <fweimer@redhat.com>
1972
1973 [BZ #24112]
1974 resolv: Do not send queries for non-host-names in nss_dns.
1975 * resolv/nss_dns/dns-host.c (check_name): New function.
1976 (_nss_dns_gethostbyname2_r): Use it.
1977 (_nss_dns_gethostbyname_r): Likewise.
1978 (_nss_dns_gethostbyname4_r): Likewise.
1979
1980 2019-01-21 Florian Weimer <fweimer@redhat.com>
1981
1982 * resolv/inet_addr.c: Reformat to GNU style.
1983 (__inet_addr, __inet_aton): Update comment.
1984
1985 2019-01-18 Florian Weimer <fweimer@redhat.com>
1986
1987 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1988 ("malloc: Use current (C11-style) atomics for fastbin access").
1989 This commit introduces a substantial performance regression on
1990 POWER and Aarch64.
1991 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1992 (REMOVE_FB): Define.
1993 (_int_malloc): Use it and reindent.
1994 (_int_free): Use CAS loop with
1995 catomic_compare_and_exchange_val_rel.
1996 (malloc_consolidate): Use atomic_exchange_acq.
1997
1998
1999 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2000
2001 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2002 -Wl,-z,now.
2003 (LDFLAGS-tst-minsigstksz-2): Likewise.
2004 (LDFLAGS-tst-minsigstksz-3): Likewise.
2005 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2006 (LDFLAGS-tst-minsigstksz-4): Likewise.
2007
2008 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2009
2010 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2011 than "alternate".
2012
2013 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2014
2015 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2016
2017 2019-01-16 Zack Weinberg <zackw@panix.com>
2018
2019 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2020 (xget_sigstack_location): New test support functions.
2021 * support/xsigstack.c: New file, implementing them.
2022 * support/tst-xsigstack.c: New test for them.
2023 * support/Makefile: Update.
2024
2025 * signal/tst-minsigstksz-1.c
2026 * signal/tst-minsigstksz-2.c
2027 * signal/tst-minsigstksz-3.c
2028 * signal/tst-minsigstksz-3a.c
2029 * signal/tst-minsigstksz-4.c: New tests.
2030 * signal/Makefile: Run them.
2031
2032 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2033
2034 * po/libc.pot: Regenerate.
2035
2036 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2037
2038 * math/libm-test-fma.inc (fma_test_data): Set
2039 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2040
2041 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2042
2043 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2044 (do_test): Changed __vector __int128_t to __vector unsigned int.
2045
2046 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2047
2048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2049 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2050 stpcpy-avx2 and stpncpy-avx2.
2051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2052 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2053 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2054 and __stpncpy_avx2.
2055 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2056 ifunc-strcpy.h}: rename header for a more generic name.
2057 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2058 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2059 AVX unaligned load is fast and vzeroupper is preferred.
2060 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2061 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2062 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2063 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2064 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2065 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2066
2067 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2068
2069 * argp/argp-help.c: Fix typo in comment.
2070 * misc/sys/cdefs.h: Likewise.
2071 * posix/regexec.c (sift_states_iter_mb): Likewise.
2072 * socket/sockatmark.c: Likewise.
2073 * socket/sys/socket.h: Likewise.
2074 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2075 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2076 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2078 * sysdeps/unix/sockatmark.c: Likewise.
2079 * time/strptime_l.c: Likewise.
2080
2081 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2082
2083 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2084 missing space after the cast of "_NL_CURRENT".
2085
2086 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2087
2088 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2089 ifdef to fix read of VSCR.
2090 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2091 tst-ucontext-ppc64-vscr.c to test list.
2092 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2093
2094 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2095
2096 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2097 fall-through.
2098
2099 2019-01-09 Jim Wilson <jimw@sifive.com>
2100
2101 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2102
2103 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2104
2105 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2106 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2107 __memcpy_falkor for ares.
2108 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2109 Add new define.
2110 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2111 Add ares cpu.
2112
2113 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2114
2115 [BZ #24066]
2116 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2117 4_FP_W_TYPEs are used for IEEE quad precision.
2118 * soft-fp/extendhftf2.c: Likewise.
2119 * soft-fp/extendsftf2.c: Likewise.
2120 * soft-fp/extendxftf2.c: Likewise.
2121 * soft-fp/trunctfdf2.c: Likewise.
2122 * soft-fp/trunctfhf2.c: Likewise.
2123 * soft-fp/trunctfsf2.c: Likewise.
2124 * soft-fp/trunctfxf2.c: Likewise.
2125 * sysdeps/alpha/ots_cvttx.c: Likewise.
2126 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2127 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2128 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2129 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2130 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2131 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2132 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2133 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2134 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2135 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2136 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2137 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2138 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2139 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2140 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2141 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2142 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2143
2144 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2145
2146 [BZ #24024]
2147 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2148 code with -fmath-errno.
2149 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2150 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2151 * string/test-strerror-errno.c: New file.
2152
2153 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2154
2155 [BZ #24046]
2156 * localedata/locales/en_US (date_fmt): Add, set to
2157 "%a %d %b %Y %r %Z".
2158
2159 2019-01-07 Florian Weimer <fweimer@redhat.com>
2160
2161 [BZ #24063]
2162 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2163 instead of @var{errno}.
2164 (Parsing of Integers): Likewise.
2165 (Parsing of Floats): Likewise.
2166 * manual/filesys.texi (Working with Directory Trees): Likewise.
2167 (Temporary Files): Likewise.
2168 * manual/job.texi (Terminal Access Functions): Likewise.
2169 * manual/llio.texi (Synchronizing I/O): Likewise.
2170 * manual/math.texi (SVID Random): Likewise.
2171 * manual/message.texi (The catgets Functions): Likewise.
2172 (Translation with gettext): Likewise.
2173 (Locating gettext catalog): Likewise.
2174 (Charset conversion in gettext): Likewise.
2175 * manual/nss.texi (NSS Module Function Internals): Likewise.
2176 * manual/search.texi (Hash Search Function): Likewise.
2177 * manual/setjmp.texi (System V contexts): Likewise.
2178 * manual/time.texi (Sleeping): Likewise.
2179 * manual/users.texi (Lookup User): Likewise.
2180 (Lookup Group): Likewise.
2181
2182 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2183
2184 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2185 fix typo.
2186
2187 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2188
2189 [BZ #19444]
2190 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2191 __builtin_unreachable for default case in switch.
2192 (__ieee754_yn): Likewise.
2193 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2194 (__ieee754_ynl): Likewise.
2195 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2196 (__ieee754_ynl): Likewise.
2197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2198 (__ieee754_ynl): Likewise.
2199
2200 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2201
2202 * manual/maint.texi: Use @{ and @}.
2203
2204 2019-01-04 Florian Weimer <fweimer@redhat.com>
2205
2206 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2207 function.
2208 (do_in_chroot_1): Call it.
2209 (run_chroot_tests):
2210 Improve error reporting in case it is not possible to create a
2211 collision for the PTY name required by the test.
2212
2213 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2214
2215 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2216 lll_wait_tid with timeout.
2217 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2218 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2219 futex_reltimed_wait_cancelable for cancelabla mode.
2220 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2221 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2222 macros.
2223 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2224 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2225 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2226 SYSCALL_CANCEL_NCS): New macro.
2227 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2228 (lll_timedwait_tid): Remove macro.
2229 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2230 Likewise.
2231 (lll_timedwait_tid): Likewise.
2232 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2233 Likewise.
2234 (lll_timedwait_tid): Likewise.
2235 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2236 Likewise.
2237 (lll_timedwait_tid): Likewise.
2238 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2239 Use INTERNAL_SYSCALL_CANCEL.
2240 * sysdeps/unix/sysv/linux/futex-internal.h
2241 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2242 instead of __pthread_{enable,disable}_asynccancel.
2243 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2244 (lll_futex_wait_cancel): New macro.
2245
2246 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2247 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2248
2249 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2250 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2251
2252 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2253 in backtrace analysis.
2254 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2255 side-effects.
2256 (tf_send): Likewise.
2257
2258 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2259 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2260 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2261 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2262 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2263 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2264 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2265 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2266 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2267 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2268 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2269 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2270 Likewise.
2271 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2272 tst-cancel-wrappers.sh.
2273 (generated): Remove tst-cancel-wrappers.out.
2274 (tst-cancel-wrappers.out): Remove rule.
2275 * nptl/tst-cancel-wrappers.sh: Remove file.
2276
2277 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2278
2279 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2280 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2281 Update.
2282
2283 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2284
2285 [BZ #23640]
2286 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2287 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2288 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2289 close-on-exec reset for adddup2 file action.
2290 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2291
2292 2019-01-03 Zack Weinberg <zackw@panix.com>
2293
2294 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2295 parameter. Only use deprecated scanf when __USE_GNU is defined
2296 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2297 than 201103L, whichever is relevant for the language being compiled.
2298
2299 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2300 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2301 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2302 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2303 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2304
2305 * libio/iovsscanf.c
2306 * libio/fwscanf.c
2307 * libio/iovswscanf.c
2308 * libio/swscanf.c
2309 * libio/vscanf.c
2310 * libio/vwscanf.c
2311 * libio/wscanf.c
2312 * stdio-common/fscanf.c
2313 * stdio-common/scanf.c
2314 * stdio-common/vfscanf.c
2315 * stdio-common/vfwscanf.c
2316 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2317 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2318 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2319 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2320 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2321 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2322 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2323 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2324 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2325 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2326 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2327 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2328 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2329 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2330 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2331
2332 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2333 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2334 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2335 not sscanf.
2336 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2337 with a preprocessor macro.
2338
2339 * stdio-common/bug21.c, stdio-common/scanf14.c:
2340 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2341 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2342 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2343 to xscanf, xfscanf, xsscanf.
2344
2345 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2346 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2347 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2348 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2349 xfscanf, xsscanf.
2350 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2351 override feature selection macros or provide definitions of u_char etc.
2352 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2353 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2354 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2355 with -std=gnu89.
2356
2357 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2358
2359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2360 bits/termios-misc.h.
2361 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2362 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2364 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2365 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2366 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2367
2368 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2369 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2370 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2371 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2372 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2373 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2374 termios-misc.h.
2375 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2376 (sysdep_headers): Add termios-misc.h.
2377
2378 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2379 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2380 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2381
2382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2383 termios-tcflow.h.
2384 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2385 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2386 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2387 TCSAFLUSH): Move to termios-tcflow.h.
2388 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2389 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2390 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2391 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2392
2393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2394 termios-c_lflag.h.
2395 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2396 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2397 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2398 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2399 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2400 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2401 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2402 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2403 Likewise.
2404 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2405 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2406 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2407 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2408
2409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2410 termios-c_cflag.h.
2411 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2412 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2414 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2415 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2416 termios-c_cflag.h.
2417 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2418 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2420 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2421
2422 [BZ #23783]
2423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2424 termios-baud.h.
2425 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2426 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2427 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2428 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2429 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2430 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2431 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2432 __MAX_BAUD): Move to termios-baud.h.
2433 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2434 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2435 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2436 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2438
2439 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2440 termios-c_oflag.h.
2441 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2442 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2443 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2444 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2445 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2446 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2447 termios-c_oflag.h.
2448 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2449 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2450 FFR1): Likewise.
2451 [USE_MISC] (XTABS): Likewise.
2452 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2453 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2456
2457 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2458 termios-c_iflag.h.
2459 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2460 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2462 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2463 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2464 IUTF8): Move to termios-c_iflag.h.
2465 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2466 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2467 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2468 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2469
2470 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2471 termios-cc.h.
2472 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2473 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2474 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2475 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2476 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2477 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2478 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2479 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2480 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2481 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2482 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2483 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2484
2485 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2486 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2487 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2488 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2490 termios-struct.h.
2491 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2492 termios-struct.h.
2493 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2494 Likewise.
2495 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2496 Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2498 Likewise.
2499 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2500 Likewise.
2501 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2502 _HAVE_C_OSPEED): Define.
2503 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2504 _HAVE_C_OSPEED): Likewise.
2505 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2506 _HAVE_C_OSPEED): Likewise.
2507 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2508 (cfsetospeed): Check for define value instead of existence.
2509 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2510 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2511 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2512 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2513 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2514
2515 [BZ #17783]
2516 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2517 Define.
2518 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2519 (TIOCSER_TEMT): Likewise.
2520 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2521 (TEOCSER_TEMT): Likewise.
2522
2523 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2524
2525 [BZ #24011]
2526 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2527
2528 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2529
2530 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2531
2532 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2533
2534 * sysdeps/htl/pt-barrierattr-setpshared.c
2535 (pthread_barrierattr_setpshared): Add stub warning.
2536 * sysdeps/htl/pt-condattr-setpshared.c
2537 (pthread_condattr_setpshared): Likewise.
2538 * sysdeps/htl/pt-mutexattr-setpshared.c
2539 (pthread_mutexattr_setpshared): Likewise.
2540 * sysdeps/htl/pt-rwlockattr-setpshared.c
2541 (pthread_rwlockattr_setpshared): Likewise.
2542 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2543 (pthread_mutexattr_setpshared): Likewise.
2544
2545 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2546
2547 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2548 constants to match with Linux 4.20.
2549
2550 * sysdeps/mips/mips32/libm-test-ulps: Update.
2551 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2552
2553 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2554
2555 [BZ #24034]
2556 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2557 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2558 than __typeof (...) for the a_ptr variable.
2559
2560 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2561
2562 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2563 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2564 * libio/Makefile (tests): Add tst-sprintf-ub and
2565 tst-sprintf-chk-ub.
2566 (CFLAGS-tst-sprintf-ub.c): New variable.
2567 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2568 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2569 destination buffer and check for overflows in fortified mode.
2570 * libio/libioP.h (PRINTF_CHK): New macro.
2571 * libio/tst-sprintf-chk-ub.c: New file.
2572 * libio/tst-sprintf-ub.c: Likewise.
2573
2574 2019-01-02 Florian Weimer <fweimer@redhat.com>
2575
2576 [BZ #24018]
2577 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2578 failure.
2579
2580 2019-01-02 Florian Weimer <fweimer@redhat.com>
2581
2582 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2583
2584 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2585
2586 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2587 macro.
2588
2589 * sysdeps/unix/sysv/linux/netpacket/packet.h
2590 (PACKET_IGNORE_OUTGOING): New macro.
2591
2592 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2593 macro.
2594
2595 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2596 version to 4.20.
2597 (riscv_flush_icache): New syscall.
2598
2599 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2600 trailing whitespace removed.
2601 * scripts/config.guess: Update to version 2019-01-01.
2602 * scripts/config.sub: Update to version 2019-01-01.
2603 * scripts/move-if-change: Update from gnulib.
2604
2605 * NEWS: Update copyright dates.
2606 * catgets/gencat.c (print_version): Likewise.
2607 * csu/version.c (banner): Likewise.
2608 * debug/catchsegv.sh: Likewise.
2609 * debug/pcprofiledump.c (print_version): Likewise.
2610 * debug/xtrace.sh (do_version): Likewise.
2611 * elf/ldconfig.c (print_version): Likewise.
2612 * elf/ldd.bash.in: Likewise.
2613 * elf/pldd.c (print_version): Likewise.
2614 * elf/sotruss.sh: Likewise.
2615 * elf/sprof.c (print_version): Likewise.
2616 * iconv/iconv_prog.c (print_version): Likewise.
2617 * iconv/iconvconfig.c (print_version): Likewise.
2618 * locale/programs/locale.c (print_version): Likewise.
2619 * locale/programs/localedef.c (print_version): Likewise.
2620 * login/programs/pt_chown.c (print_version): Likewise.
2621 * malloc/memusage.sh (do_version): Likewise.
2622 * malloc/memusagestat.c (print_version): Likewise.
2623 * malloc/mtrace.pl: Likewise.
2624 * manual/libc.texinfo: Likewise.
2625 * nptl/version.c (banner): Likewise.
2626 * nscd/nscd.c (print_version): Likewise.
2627 * nss/getent.c (print_version): Likewise.
2628 * nss/makedb.c (print_version): Likewise.
2629 * posix/getconf.c (main): Likewise.
2630 * scripts/test-installation.pl: Likewise.
2631 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2632
2633 * All files with FSF copyright notices: Update copyright dates
2634 using scripts/update-copyrights.
2635 * locale/programs/charmap-kw.h: Regenerated.
2636 * locale/programs/locfile-kw.h: Likewise.
2637
2638 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2639
2640 * timezone/zdump.c: Update from tzcode 2018i.
2641 * timezone/zic.c: Likewise.
2642
2643 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2644
2645 regex: improve Gnulib port to AIX
2646 From the glibc point of view, this removes duplicate macro
2647 definitions and is obviously safe.
2648 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2649 * posix/regex_internal.h:
2650 (__attribute__, __attribute_warn_unused_result__):
2651 Remove; already defined elsewhere.
2652
2653 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2654
2655 [BZ #24027]
2656 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2657 copying operation. (ncopies had the wrong type, resulting in an
2658 integer wraparound and too few elements being copied.)
2659
2660 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2661
2662 [BZ #24022]
2663 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2664 <asm/syscalls.h> exists with __has_include__ before including it.
2665
2666 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2667
2668 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2669 version to 4.20.
2670
2671 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2672
2673 * hurd/lookup-retry: Include <unistd.h>.
2674 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2675 Release it on return. Handle "pid" magical lookup retry.
2676
2677 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2678
2679 [BZ #10496]
2680 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2681 (t_fmt_ampm): Likewise.
2682 * localedata/locales/aa_ER (t_fmt): Likewise.
2683 (t_fmt_ampm): Likewise.
2684 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2685 (t_fmt_ampm): Likewise.
2686 * localedata/locales/aa_ET (t_fmt): Likewise.
2687 (t_fmt_ampm): Likewise.
2688 * localedata/locales/am_ET (t_fmt): Likewise.
2689 (t_fmt_ampm): Likewise.
2690 * localedata/locales/byn_ER (t_fmt): Likewise.
2691 (t_fmt_ampm): Likewise.
2692 * localedata/locales/om_ET (t_fmt): Likewise.
2693 (t_fmt_ampm): Likewise.
2694 * localedata/locales/sid_ET (t_fmt): Likewise.
2695 (t_fmt_ampm): Likewise.
2696 * localedata/locales/so_DJ (t_fmt): Likewise.
2697 (t_fmt_ampm): Likewise.
2698 * localedata/locales/so_ET (t_fmt): Likewise.
2699 (t_fmt_ampm): Likewise.
2700 * localedata/locales/so_SO (t_fmt): Likewise.
2701 (t_fmt_ampm): Likewise.
2702 * localedata/locales/ti_ER (t_fmt): Likewise.
2703 (t_fmt_ampm): Likewise.
2704 * localedata/locales/ti_ET (t_fmt): Likewise.
2705 (t_fmt_ampm): Likewise.
2706 * localedata/locales/tig_ER (t_fmt): Likewise.
2707 (t_fmt_ampm): Likewise.
2708 * localedata/locales/wal_ET (t_fmt): Likewise.
2709 (t_fmt_ampm): Likewise.
2710
2711 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2712 * localedata/locales/ar_IN (t_fmt): Likewise.
2713 * localedata/locales/bhb_IN (t_fmt): Likewise.
2714 * localedata/locales/bho_IN (t_fmt): Likewise.
2715 * localedata/locales/bi_VU (t_fmt): Likewise.
2716 * localedata/locales/bn_BD (t_fmt): Likewise.
2717 * localedata/locales/bn_IN (t_fmt): Likewise.
2718 * localedata/locales/brx_IN (t_fmt): Likewise.
2719 * localedata/locales/doi_IN (t_fmt): Likewise.
2720 * localedata/locales/en_HK (t_fmt): Likewise.
2721 (t_fmt_ampm): Likewise.
2722 * localedata/locales/en_IN (t_fmt): Likewise.
2723 * localedata/locales/en_PH (t_fmt): Likewise.
2724 * localedata/locales/gu_IN (t_fmt): Likewise.
2725 * localedata/locales/hi_IN (t_fmt): Likewise.
2726 * localedata/locales/hif_FJ (t_fmt): Likewise.
2727 * localedata/locales/hne_IN (t_fmt): Likewise.
2728 * localedata/locales/kn_IN (t_fmt): Likewise.
2729 * localedata/locales/kok_IN (t_fmt): Likewise.
2730 * localedata/locales/ks_IN (t_fmt): Likewise.
2731 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2732 * localedata/locales/mag_IN (t_fmt): Likewise.
2733 * localedata/locales/mai_IN (t_fmt): Likewise.
2734 * localedata/locales/mjw_IN (t_fmt): Likewise.
2735 * localedata/locales/ml_IN (t_fmt): Likewise.
2736 * localedata/locales/mni_IN (t_fmt): Likewise.
2737 * localedata/locales/mr_IN (t_fmt): Likewise.
2738 * localedata/locales/ms_MY (t_fmt): Likewise.
2739 * localedata/locales/pa_IN (t_fmt): Likewise.
2740 * localedata/locales/raj_IN (t_fmt): Likewise.
2741 * localedata/locales/sa_IN (t_fmt): Likewise.
2742 * localedata/locales/sat_IN (t_fmt): Likewise.
2743 * localedata/locales/sd_IN (t_fmt): Likewise.
2744 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2745 * localedata/locales/tcy_IN (t_fmt): Likewise.
2746 * localedata/locales/the_NP (t_fmt): Likewise.
2747 * localedata/locales/to_TO (t_fmt): Likewise.
2748 * localedata/locales/ur_IN (t_fmt): Likewise.
2749
2750 * localedata/locales/hif_FJ (d_t_fmt): Set to
2751 "%A %d %b %Y %I:%M:%S %p".
2752 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2753
2754 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2755 * localedata/locales/ar_BH (t_fmt): Likewise.
2756 * localedata/locales/ar_DZ (t_fmt): Likewise.
2757 * localedata/locales/ar_EG (t_fmt): Likewise.
2758 * localedata/locales/ar_IQ (t_fmt): Likewise.
2759 * localedata/locales/ar_JO (t_fmt): Likewise.
2760 * localedata/locales/ar_KW (t_fmt): Likewise.
2761 * localedata/locales/ar_LB (t_fmt): Likewise.
2762 * localedata/locales/ar_LY (t_fmt): Likewise.
2763 * localedata/locales/ar_OM (t_fmt): Likewise.
2764 * localedata/locales/ar_QA (t_fmt): Likewise.
2765 * localedata/locales/ar_SD (t_fmt): Likewise.
2766 * localedata/locales/ar_SS (t_fmt): Likewise.
2767 * localedata/locales/ar_SY (t_fmt): Likewise.
2768 * localedata/locales/ar_TN (t_fmt): Likewise.
2769 * localedata/locales/ar_YE (t_fmt): Likewise.
2770
2771 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2772 (t_fmt_ampm): Likewise.
2773 * localedata/locales/gez_ET (t_fmt): Likewise.
2774 (t_fmt_ampm): Likewise.
2775
2776 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2777 (t_fmt_ampm): Likewise.
2778 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2779
2780 * localedata/locales/zh_HK (t_fmt):
2781 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2782
2783 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2784 because this locale does not use the 12-hour clock.
2785 (t_fmt): Set to "%Z %H:%M:%S".
2786 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2787
2788 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2789 because this locale does not use the 12-hour clock.
2790 (t_fmt): Set to "%H:%M:%S %Z".
2791 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2792
2793 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2794 because this locale does not use the 12-hour clock.
2795 (t_fmt): Set to "%T".
2796 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2797 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2798
2799 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2800 because this locale does not use the 12-hour clock.
2801 (t_fmt): Set to "%H:%M:%S %Z".
2802 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2803
2804 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2805 because this locale does not use the 12-hour clock.
2806 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2807 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2808
2809 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2810
2811 [BZ #10496]
2812 [BZ #23724]
2813 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2814 (t_fmt_ampm): Likewise.
2815 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2816 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2817 (d_fmt): Set to "%-d.%-m.%y".
2818
2819 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2820
2821 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2822 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2823 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2824 Likewise.
2825 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2826 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2827 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2828 function.
2829 * support/blob_repeat.c (check_mul_overflow_size_t,
2830 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2831
2832 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2833
2834 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2835
2836 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2837
2838 regex: simplify Gnulib port
2839 This simplifies the code, by removing stuff intended for porting
2840 to Gnulib but no longer needed there.
2841 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2842 uses of libc_hidden_def, weak_alias.
2843 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2844 _Restrict_ except for public-facing headers.
2845 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2846 Remove; already defined elsewhere.
2847 * posix/regex.c, posix/regex_internal.h:
2848 Use __GNUC_PREREQ instead of rolling our own.
2849 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2850
2851 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2852
2853 * benchtests/bench-strlen.c (generic_strlen): New function.
2854 (memchr_strlen): New function.
2855
2856 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2859 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2860 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2861
2862 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2863
2864 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2865
2866 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2867
2868 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2869 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2870 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2871 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2872 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2873 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2874 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2875
2876 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2877
2878 [BZ #24023]
2879 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2880 PLT reference in libc.so.
2881 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2882 _Q_lltoq and _Q_qtod PLT references in libc.so.
2883
2884 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2885
2886 * benchtests/bench-memchr.c: Cleanup defines.
2887 * benchtests/bench-memcmp.c: Likewise.
2888 * benchtests/bench-memset.c: Likewise.
2889 * benchtests/bench-memset-large.c: Likewise.
2890 * benchtests/bench-memset-walk.c: Likewise.
2891 * benchtests/bench-stpcpy.c: Likewise.
2892 * benchtests/bench-stpncpy.c: Likewise.
2893 * benchtests/bench-strcat.c: Likewise.
2894 * benchtests/bench-strchr.c: Likewise.
2895 * benchtests/bench-strcmp.c: Likewise.
2896 * benchtests/bench-strcpy.c: Likewise.
2897 * benchtests/bench-strcspn.c: Likewise.
2898 * benchtests/bench-string.h: Likewise.
2899 * benchtests/bench-strlen.c: Likewise.
2900 * benchtests/bench-strncat.c: Likewise.
2901 * benchtests/bench-strncmp.c: Likewise.
2902 * benchtests/bench-strncpy.c: Likewise.
2903 * benchtests/bench-strnlen.c: Likewise.
2904 * benchtests/bench-strpbrk.c: Likewise.
2905 * benchtests/bench-strrchr.c: Likewise.
2906 * benchtests/bench-strspn.c: Likewise.
2907
2908 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2909
2910 * stdlib/longlong.h: Update from GCC.
2911
2912 [BZ #23993]
2913 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2914 * configure: Regenerated.
2915 * manual/install.texi (Tools for Compilation): Update minimum GCC
2916 version.
2917 * INSTALL: Regenerated.
2918
2919 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2920
2921 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2922
2923 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2924
2925 * malloc/malloc.c (mremap_chunk): Additional checks.
2926
2927 2018-12-21 Mao Han <han_mao@c-sky.com>
2928
2929 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2930 * scripts/build-many-glibcs.py: Add C-SKY targets.
2931 * sysdeps/csky/Implies: New file.
2932 * sysdeps/csky/Makefile: Likewise.
2933 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2934 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2935 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2936 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2937 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2938 * sysdeps/csky/abiv2/memmove.S: Likewise.
2939 * sysdeps/csky/abiv2/memset.S: Likewise.
2940 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2941 * sysdeps/csky/abiv2/start.S: Likewise.
2942 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2943 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2944 * sysdeps/csky/abiv2/strlen.S: Likewise.
2945 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2946 * sysdeps/csky/abort-instr.h: Likewise.
2947 * sysdeps/csky/atomic-machine.h: Likewise.
2948 * sysdeps/csky/bits/endian.h: Likewise.
2949 * sysdeps/csky/bits/fenv.h: Likewise.
2950 * sysdeps/csky/bits/link.h: Likewise.
2951 * sysdeps/csky/bits/setjmp.h: Likewise.
2952 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2953 * sysdeps/csky/bsd-setjmp.S: Likewise.
2954 * sysdeps/csky/configure: Likewise.
2955 * sysdeps/csky/configure.ac: Likewise.
2956 * sysdeps/csky/dl-machine.h: Likewise.
2957 * sysdeps/csky/dl-procinfo.c: Likewise.
2958 * sysdeps/csky/dl-procinfo.h: Likewise.
2959 * sysdeps/csky/dl-sysdep.h: Likewise.
2960 * sysdeps/csky/dl-tls.h: Likewise.
2961 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2962 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2963 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2964 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2965 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2966 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2967 * sysdeps/csky/fpu/fegetround.c: Likewise.
2968 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2969 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2970 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2971 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2972 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2973 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2974 * sysdeps/csky/fpu/fesetround.c: Likewise.
2975 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2976 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2977 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2978 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2979 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2980 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2981 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2982 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2983 * sysdeps/csky/fpu_control.h: Likewise.
2984 * sysdeps/csky/gccframe.h: Likewise.
2985 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2986 * sysdeps/csky/ldsodefs.h: Likewise.
2987 * sysdeps/csky/libc-tls.c: Likewise.
2988 * sysdeps/csky/linkmap.h: Likewise.
2989 * sysdeps/csky/machine-gmon.h: Likewise.
2990 * sysdeps/csky/memusage.h: Likewise.
2991 * sysdeps/csky/nofpu/Implies: Likewise.
2992 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2993 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2994 * sysdeps/csky/nptl/Makefile: Likewise.
2995 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2996 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2997 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2998 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2999 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3000 * sysdeps/csky/nptl/tls.h: Likewise.
3001 * sysdeps/csky/preconfigure: Likewise.
3002 * sysdeps/csky/sfp-machine.h: Likewise.
3003 * sysdeps/csky/sotruss-lib.c: Likewise.
3004 * sysdeps/csky/stackinfo.h: Likewise.
3005 * sysdeps/csky/sysdep.h: Likewise.
3006 * sysdeps/csky/tininess.h: Likewise.
3007 * sysdeps/csky/tst-audit.h: Likewise.
3008 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3009 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3010 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3011 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3012 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3013 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3014 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3015 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3016 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3017 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3018 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3019 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3020 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3021 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3022 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3023 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3024 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3025 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3026 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3027 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3028 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3029 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3030 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3031 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3032 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3033 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3034 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3035 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3036 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3037 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3038 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3039 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3040 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3041 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3042 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3043 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3044 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3045 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3046 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3047 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3048 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3049 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3050 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3051 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3052
3053 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3054
3055 * include/time.h (__difftime64): Add.
3056 * time/difftime.c (subtract): convert to 64-bit time.
3057 * time/difftime.c (__difftime64): Add.
3058 * time/difftime.c (__difftime): Wrap around __difftime64.
3059
3060 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3061
3062 * manual/examples/add.c: Remove redundant "if not".
3063 * manual/examples/argp-ex1.c: Likewise.
3064 * manual/examples/argp-ex2.c: Likewise.
3065 * manual/examples/argp-ex3.c: Likewise.
3066 * manual/examples/argp-ex4.c: Likewise.
3067 * manual/examples/atexit.c: Likewise.
3068 * manual/examples/db.c: Likewise.
3069 * manual/examples/dir.c: Likewise.
3070 * manual/examples/dir2.c: Likewise.
3071 * manual/examples/execinfo.c: Likewise.
3072 * manual/examples/filecli.c: Likewise.
3073 * manual/examples/filesrv.c: Likewise.
3074 * manual/examples/fmtmsgexpl.c: Likewise.
3075 * manual/examples/genpass.c: Likewise.
3076 * manual/examples/inetcli.c: Likewise.
3077 * manual/examples/inetsrv.c: Likewise.
3078 * manual/examples/isockad.c: Likewise.
3079 * manual/examples/longopt.c: Likewise.
3080 * manual/examples/memopen.c: Likewise.
3081 * manual/examples/memstrm.c: Likewise.
3082 * manual/examples/mkdirent.c: Likewise.
3083 * manual/examples/mkfsock.c: Likewise.
3084 * manual/examples/mkisock.c: Likewise.
3085 * manual/examples/mygetpass.c: Likewise.
3086 * manual/examples/pipe.c: Likewise.
3087 * manual/examples/popen.c: Likewise.
3088 * manual/examples/rprintf.c: Likewise.
3089 * manual/examples/search.c: Likewise.
3090 * manual/examples/select.c: Likewise.
3091 * manual/examples/setjmp.c: Likewise.
3092 * manual/examples/sigh1.c: Likewise.
3093 * manual/examples/sigusr.c: Likewise.
3094 * manual/examples/stpcpy.c: Likewise.
3095 * manual/examples/strdupa.c: Likewise.
3096 * manual/examples/strftim.c: Likewise.
3097 * manual/examples/subopt.c: Likewise.
3098 * manual/examples/swapcontext.c: Likewise.
3099 * manual/examples/termios.c: Likewise.
3100 * manual/examples/testopt.c: Likewise.
3101 * manual/examples/testpass.c: Likewise.
3102 * manual/examples/timeval_subtract.c: Likewise.
3103
3104 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3105
3106 * sysdeps/x86/fpu/math_private.h: New file.
3107 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3108
3109 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3110 definition.
3111 (cosh): Likewise.
3112 (tanh): Likewise.
3113
3114 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3115
3116 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3117 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3118 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3119 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3120 fields.
3121 (_dl_show_auxv): Give a special treatment to
3122 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3123 and AT_L3_CACHEGEOMETRY.
3124 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3125 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3126 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3127 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3128
3129 2018-12-19 Andreas Schwab <schwab@suse.de>
3130
3131 * nscd/connections.c (check_use): Don't abort on invalid len.
3132
3133 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3134
3135 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3136 values in the 64bit value cases.
3137
3138 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3139
3140 * include/time.h
3141 (__ctime64_r): Add.
3142 * time/ctime_r.c
3143 (__ctime64_r): Add.
3144 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3145
3146 * include/time.h
3147 (__ctime64): Add.
3148 * time/gmtime.c
3149 (__ctime64): Add.
3150 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3151
3152 * include/time.h
3153 (__gmtime64_r): Add.
3154 * time/gmtime.c
3155 (__gmtime64_r): Add.
3156 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3157
3158 * include/time.h
3159 (__gmtime64): Add.
3160 * time/gmtime.c
3161 (__gmtime64): Add.
3162 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3163
3164 * include/time.h
3165 (__localtime64_r): Add.
3166 * time/localtime.c
3167 (__localtime64_r): Add.
3168 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3169
3170 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3171
3172 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3173 kernel_sigction definition.
3174
3175 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3176
3177 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3178
3179 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3180 __syscall_rt_sigaction.
3181 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3182 (kernel_sigaction): Use Linux generic defintion.
3183 (STUB): Define.
3184 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3185 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3186 (__syscall_rt_sigaction): Remove implementation.
3187 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3188 hidden.
3189 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3190 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3191 INTERNAL_SYSCALL): Remove definitions.
3192 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3193 action and signal set size.
3194 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3195 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3196
3197 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3198 James Clarke <jrtc27@jrtc27.com>
3199
3200 [BZ #23967]
3201 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3202 Define if SA_RESTORER is defined.
3203 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3204 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3205 already defined.
3206 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3207 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3208 definitions.
3209 (HAS_SA_RESTORER): Define.
3210 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3211 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3212 (HAS_SA_RESTORER): Define.
3213 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3214 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3215 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3216 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3217 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3218
3219 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3220
3221 * sysdeps/unix/sysv/linux/kernel-features.h
3222 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3223 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3224 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3225 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3226 (__ASSUME_ST_INO_64_BIT): Likewise.
3227 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3228 <kernel-features.h>.
3229 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3230 Remove conditional code.
3231 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3232 <kernel-features.h>.
3233 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3234 Remove conditional code.
3235 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3236 <kernel-features.h>.
3237 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3238 Remove conditional code.
3239 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3240 <kernel-features.h>.
3241 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3242 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3243
3244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3245
3246 * sysdeps/s390/multiarch/ifunc-resolve.h
3247 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3248 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3249 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3250 Delete macro definition.
3251 (s390_libc_ifunc_init): Rename to
3252 s390_libc_ifunc_expr_stfle_init.
3253 * sysdeps/s390/bzero: Use
3254 s390_libc_ifunc_expr_stfle_init instead of
3255 s390_libc_ifunc_init.
3256 * sysdeps/s390/memcmp.c: Likewise.
3257 * sysdeps/s390/memcpy.c: Likewise.
3258 * sysdeps/s390/mempcpy.c: Likewise.
3259 * sysdeps/s390/memset.c: Likewise.
3260
3261 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3262
3263 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3264 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3265
3266 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3267
3268 * sysdeps/s390/multiarch/Makefile
3269 (sysdep_routines): Remove wmemcmp variants.
3270 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3271 * sysdeps/s390/multiarch/ifunc-impl-list.c
3272 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3273 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3274 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3275 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3276 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3277 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3278 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3279 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3280
3281 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3282
3283 * sysdeps/s390/multiarch/Makefile
3284 (sysdep_routines): Remove wmemset variants.
3285 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3286 * sysdeps/s390/multiarch/ifunc-impl-list.c
3287 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3288 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3289 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3290 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3291 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3292 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3293 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3294 * sysdeps/s390/ifunc-wmemset.h: New file.
3295
3296 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3297
3298 * sysdeps/s390/multiarch/Makefile
3299 (sysdep_routines): Remove wmemchr variants.
3300 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3301 * sysdeps/s390/multiarch/ifunc-impl-list.c
3302 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3303 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3304 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3305 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3306 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3307 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3308 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3309 * sysdeps/s390/ifunc-wmemchr.h: New file.
3310
3311 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3312
3313 * sysdeps/s390/multiarch/Makefile
3314 (sysdep_routines): Remove wcscspn variants.
3315 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3316 * sysdeps/s390/multiarch/ifunc-impl-list.c
3317 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3318 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3319 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3320 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3321 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3322 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3323 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3324 * sysdeps/s390/ifunc-wcscspn.h: New file.
3325
3326 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3327
3328 * sysdeps/s390/multiarch/Makefile
3329 (sysdep_routines): Remove wcspbrk variants.
3330 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3331 * sysdeps/s390/multiarch/ifunc-impl-list.c
3332 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3333 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3334 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3335 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3336 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3337 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3338 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3339 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3340
3341 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3342
3343 * sysdeps/s390/multiarch/Makefile
3344 (sysdep_routines): Remove wcsspn variants.
3345 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3346 * sysdeps/s390/multiarch/ifunc-impl-list.c
3347 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3348 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3349 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3350 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3351 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3352 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3353 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3354 * sysdeps/s390/ifunc-wcsspn.h: New file.
3355
3356 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3357
3358 * sysdeps/s390/multiarch/Makefile
3359 (sysdep_routines): Remove wcsrchr variants.
3360 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3361 * sysdeps/s390/multiarch/ifunc-impl-list.c
3362 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3363 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3364 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3365 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3366 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3367 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3368 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3369 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3370
3371 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3372
3373 * sysdeps/s390/multiarch/Makefile
3374 (sysdep_routines): Remove wcschrnul variants.
3375 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3376 * sysdeps/s390/multiarch/ifunc-impl-list.c
3377 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3378 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3379 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3380 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3381 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3382 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3383 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3384 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3385
3386 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3387
3388 * sysdeps/s390/multiarch/Makefile
3389 (sysdep_routines): Remove wcschr variants.
3390 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3391 * sysdeps/s390/multiarch/ifunc-impl-list.c
3392 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3393 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3394 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3395 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3396 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3397 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3398 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3399 * sysdeps/s390/ifunc-wcschr.h: New file.
3400
3401 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3402
3403 * sysdeps/s390/multiarch/Makefile
3404 (sysdep_routines): Remove wcsncmp variants.
3405 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3406 * sysdeps/s390/multiarch/ifunc-impl-list.c
3407 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3408 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3409 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3410 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3411 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3412 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3413 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3414 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3415
3416 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3417
3418 * sysdeps/s390/multiarch/Makefile
3419 (sysdep_routines): Remove wcscmp variants.
3420 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3421 * sysdeps/s390/multiarch/ifunc-impl-list.c
3422 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3423 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3424 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3425 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3426 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3427 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3428 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3429 * sysdeps/s390/ifunc-wcscmp.h: New file.
3430
3431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3432
3433 * sysdeps/s390/multiarch/Makefile
3434 (sysdep_routines): Remove wcsncat variants.
3435 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3436 * sysdeps/s390/multiarch/ifunc-impl-list.c
3437 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3438 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3439 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3440 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3441 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3442 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3443 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3444 * sysdeps/s390/ifunc-wcsncat.h: New file.
3445
3446 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3447
3448 * sysdeps/s390/multiarch/Makefile
3449 (sysdep_routines): Remove wcscat variants.
3450 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3451 * sysdeps/s390/multiarch/ifunc-impl-list.c
3452 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3453 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3454 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3455 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3456 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3457 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3458 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3459 * sysdeps/s390/ifunc-wcscat.h: New file.
3460
3461 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3462
3463 * sysdeps/s390/multiarch/Makefile
3464 (sysdep_routines): Remove wcpncpy variants.
3465 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3466 * sysdeps/s390/multiarch/ifunc-impl-list.c
3467 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3468 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3469 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3470 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3471 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3472 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3473 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3474 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3475
3476 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3477
3478 * sysdeps/s390/multiarch/Makefile
3479 (sysdep_routines): Remove wcsncpy variants.
3480 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3481 * sysdeps/s390/multiarch/ifunc-impl-list.c
3482 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3483 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3484 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3485 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3486 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3487 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3488 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3489 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3490
3491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3492
3493 * sysdeps/s390/multiarch/Makefile
3494 (sysdep_routines): Remove wcpcpy variants.
3495 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3496 * sysdeps/s390/multiarch/ifunc-impl-list.c
3497 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3498 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3499 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3500 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3501 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3502 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3503 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3504 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3505
3506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3507
3508 * sysdeps/s390/multiarch/Makefile
3509 (sysdep_routines): Remove wcscpy variants.
3510 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3511 * sysdeps/s390/multiarch/ifunc-impl-list.c
3512 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3513 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3514 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3515 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3516 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3517 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3518 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3519 * sysdeps/s390/ifunc-wcscpy.h: New file.
3520
3521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3522
3523 * sysdeps/s390/multiarch/Makefile
3524 (sysdep_routines): Remove wcsnlen variants.
3525 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3526 * sysdeps/s390/multiarch/ifunc-impl-list.c
3527 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3528 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3529 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3530 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3531 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3532 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3533 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3534 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3535
3536 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3537
3538 * sysdeps/s390/multiarch/Makefile
3539 (sysdep_routines): Remove wcslen variants.
3540 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3541 * sysdeps/s390/multiarch/ifunc-impl-list.c
3542 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3543 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3544 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3545 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3546 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3547 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3548 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3549 * sysdeps/s390/ifunc-wcslen.h: New file.
3550
3551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3552
3553 * sysdeps/s390/multiarch/Makefile
3554 (sysdep_routines): Remove memrchr variants.
3555 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3556 * sysdeps/s390/multiarch/ifunc-impl-list.c
3557 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3558 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3559 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3560 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3561 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3562 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3563 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3564 * sysdeps/s390/ifunc-memrchr.h: New file.
3565
3566 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3567
3568 * sysdeps/s390/multiarch/Makefile
3569 (sysdep_routines): Remove memccpy variants.
3570 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3571 * sysdeps/s390/multiarch/ifunc-impl-list.c
3572 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3573 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3574 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3575 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3576 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3577 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3578 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3579 * sysdeps/s390/ifunc-memccpy.h: New file.
3580
3581 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3582
3583 * sysdeps/s390/multiarch/Makefile
3584 (sysdep_routines): Remove rawmemchr variants.
3585 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3586 * sysdeps/s390/multiarch/ifunc-impl-list.c
3587 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3588 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3589 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3590 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3591 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3592 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3593 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3594 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3595
3596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3597
3598 * sysdeps/s390/multiarch/Makefile
3599 (sysdep_routines): Remove memchr variants.
3600 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3601 * sysdeps/s390/multiarch/ifunc-impl-list.c
3602 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3603 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3604 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3605 * sysdeps/s390/multiarch/memchr.c: Move to ...
3606 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3607 * sysdeps/s390/ifunc-memchr.h: New file.
3608 * sysdeps/s390/s390-64/memchr.S: Move to ...
3609 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3610 for 31/64bit and ifunc handling.
3611 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3612 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3613 * sysdeps/s390/s390-32/memchr.S: Likewise.
3614
3615 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3616
3617 * sysdeps/s390/multiarch/Makefile
3618 (sysdep_routines): Remove strcspn variants.
3619 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3620 * sysdeps/s390/multiarch/ifunc-impl-list.c
3621 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3622 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3623 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3624 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3625 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3626 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3627 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3628 * sysdeps/s390/ifunc-strcspn.h: New file.
3629
3630 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3631
3632 * sysdeps/s390/multiarch/Makefile
3633 (sysdep_routines): Remove strpbrk variants.
3634 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3635 * sysdeps/s390/multiarch/ifunc-impl-list.c
3636 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3637 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3638 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3639 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3640 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3641 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3642 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3643 * sysdeps/s390/ifunc-strpbrk.h: New file.
3644
3645 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3646
3647 * sysdeps/s390/multiarch/Makefile
3648 (sysdep_routines): Remove strspn variants.
3649 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3650 * sysdeps/s390/multiarch/ifunc-impl-list.c
3651 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3652 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3653 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3654 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3655 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3656 * sysdeps/s390/multiarch/strspn.c: Move to ...
3657 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3658 * sysdeps/s390/ifunc-strspn.h: New file.
3659
3660 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3661
3662 * sysdeps/s390/multiarch/Makefile
3663 (sysdep_routines): Remove strrchr variants.
3664 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3665 * sysdeps/s390/multiarch/ifunc-impl-list.c
3666 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3667 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3668 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3669 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3670 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3671 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3672 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3673 * sysdeps/s390/ifunc-strrchr.h: New file.
3674
3675 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3676
3677 * sysdeps/s390/multiarch/Makefile
3678 (sysdep_routines): Remove strchrnul variants.
3679 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3680 * sysdeps/s390/multiarch/ifunc-impl-list.c
3681 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3682 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3683 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3684 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3685 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3686 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3687 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3688 * sysdeps/s390/ifunc-strchrnul.h: New file.
3689
3690 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3691
3692 * sysdeps/s390/multiarch/Makefile
3693 (sysdep_routines): Remove strchr variants.
3694 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3695 * sysdeps/s390/multiarch/ifunc-impl-list.c
3696 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3697 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3698 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3699 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3700 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3701 * sysdeps/s390/multiarch/strchr.c: Move to ...
3702 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3703 * sysdeps/s390/ifunc-strchr.h: New file.
3704
3705 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3706
3707 * sysdeps/s390/multiarch/Makefile
3708 (sysdep_routines): Remove strncmp variants.
3709 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3710 * sysdeps/s390/multiarch/ifunc-impl-list.c
3711 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3712 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3713 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3714 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3715 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3716 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3717 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3718 * sysdeps/s390/ifunc-strncmp.h: New file.
3719
3720 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3721
3722 * sysdeps/s390/multiarch/Makefile
3723 (sysdep_routines): Remove strcmp variants.
3724 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3725 * sysdeps/s390/multiarch/ifunc-impl-list.c
3726 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3727 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3728 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3729 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3730 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3731 * sysdeps/s390/ifunc-strcmp.h: New file.
3732 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3733 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3734 for 31/64bit and ifunc handling.
3735 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3736 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3737 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3738
3739 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3740
3741 * sysdeps/s390/multiarch/Makefile
3742 (sysdep_routines): Remove strncat variants.
3743 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3744 * sysdeps/s390/multiarch/ifunc-impl-list.c
3745 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3746 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3747 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3748 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3749 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3750 * sysdeps/s390/multiarch/strncat.c: Move to ...
3751 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3752 * sysdeps/s390/ifunc-strncat.h: New file.
3753
3754 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3755
3756 * sysdeps/s390/multiarch/Makefile
3757 (sysdep_routines): Remove strcat variants.
3758 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3759 * sysdeps/s390/multiarch/ifunc-impl-list.c
3760 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3761 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3762 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3763 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3764 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3765 * sysdeps/s390/multiarch/strcat.c: Move to ...
3766 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3767 * sysdeps/s390/ifunc-strcat.h: New file.
3768
3769 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3770
3771 * sysdeps/s390/multiarch/Makefile
3772 (sysdep_routines): Remove stpncpy variants.
3773 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3774 * sysdeps/s390/multiarch/ifunc-impl-list.c
3775 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3776 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3777 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3778 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3779 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3780 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3781 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3782 * sysdeps/s390/ifunc-stpncpy.h: New file.
3783
3784 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3785
3786 * sysdeps/s390/multiarch/Makefile
3787 (sysdep_routines): Remove strncpy variants.
3788 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3789 * sysdeps/s390/multiarch/ifunc-impl-list.c
3790 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3791 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3792 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3793 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3794 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3795 * sysdeps/s390/ifunc-strncpy.h: New file.
3796 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3797 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3798 and adjust ifunc handling.
3799 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3800 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3801 and adjust ifunc handling.
3802 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3803 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3804
3805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3806
3807 * sysdeps/s390/multiarch/Makefile
3808 (sysdep_routines): Remove stpcpy variants.
3809 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3810 * sysdeps/s390/multiarch/ifunc-impl-list.c
3811 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3812 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3813 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3814 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3815 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3816 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3817 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3818 * sysdeps/s390/ifunc-stpcpy.h: New file.
3819
3820 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3821
3822 * sysdeps/s390/multiarch/Makefile
3823 (sysdep_routines): Remove strcpy variants.
3824 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3825 * sysdeps/s390/multiarch/ifunc-impl-list.c
3826 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3827 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3828 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3829 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3830 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3831 * sysdeps/s390/ifunc-strcpy.h: New file.
3832 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3833 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3834 for 31/64bit and ifunc handling.
3835 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3836 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3837 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3838
3839 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3840
3841 * sysdeps/s390/multiarch/Makefile
3842 (sysdep_routines): Remove strnlen variants.
3843 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3844 * sysdeps/s390/multiarch/ifunc-impl-list.c
3845 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3846 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3847 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3848 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3849 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3850 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3851 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3852 * sysdeps/s390/ifunc-strnlen.h: New file.
3853
3854 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3855
3856 * sysdeps/s390/multiarch/Makefile
3857 (sysdep_routines): Remove strlen variants.
3858 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3859 * sysdeps/s390/multiarch/ifunc-impl-list.c
3860 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3861 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3862 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3863 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3864 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3865 * sysdeps/s390/multiarch/strlen.c: Move to ...
3866 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3867 * sysdeps/s390/ifunc-strlen.h: New file.
3868
3869 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3870
3871 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3872 * sysdeps/s390/multiarch/ifunc-impl-list.c
3873 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3874 * sysdeps/s390/ifunc-memmem.h: New file.
3875 * sysdeps/s390/memmem.c: Likewise.
3876 * sysdeps/s390/memmem-c.c: Likewise.
3877 * sysdeps/s390/memmem-vx.c: Likewise.
3878
3879 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3880
3881 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3882 * sysdeps/s390/multiarch/ifunc-impl-list.c
3883 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3884 * sysdeps/s390/ifunc-strstr.h: New file.
3885 * sysdeps/s390/strstr.c: Likewise.
3886 * sysdeps/s390/strstr-c.c: Likewise.
3887 * sysdeps/s390/strstr-vx.c: Likewise.
3888
3889 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3890
3891 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3892 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3893 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3894 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3895 New defines.
3896 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3897 * sysdeps/s390/memmove-c.c: New file.
3898 * sysdeps/s390/memmove.c: Likewise.
3899 * sysdeps/s390/multiarch/ifunc-impl-list.c
3900 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3901
3902 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3903
3904 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3905 * sysdeps/s390/configure.ac: Add check for z13 support.
3906 * sysdeps/s390/configure: Regenerated.
3907
3908 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3909
3910 * sysdeps/s390/memcopy.h: New file.
3911
3912 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3913
3914 * sysdeps/s390/s390-32/bcopy.S: Remove.
3915 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3916
3917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3918
3919 * sysdeps/s390/ifunc-memcpy.h: New File.
3920 * sysdeps/s390/memcpy.S: Move to ...
3921 * sysdeps/s390/memcpy-z900.S ... here.
3922 Move implementations from memcpy-s390x.s to here.
3923 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3924 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3925 Remove memcpy/mempcpy variants.
3926 * sysdeps/s390/Makefile (sysdep_routines):
3927 Add memcpy/mempcpy variants.
3928 * sysdeps/s390/multiarch/ifunc-impl-list.c
3929 (__libc_ifunc_impl_list): Adjust ifunc variants for
3930 memcpy and mempcpy.
3931 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3932 to ...
3933 * sysdeps/s390/memcpy.c: ... here.
3934 Adjust ifunc variants for memcpy.
3935 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3936 * sysdeps/s390/mempcpy.c: ... here.
3937 Adjust ifunc variants for mempcpy.
3938 * sysdeps/s390/mempcpy.S: Delete file.
3939
3940 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3941
3942 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3943 * sysdeps/s390/memcpy.S: ... here.
3944 Adjust to be usable for 31/64bit.
3945 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3946 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3947 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3948 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3949 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3950 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3951 Adjust to be usable for 31/64bit.
3952 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3953 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3954 * sysdeps/s390/multiarch/memcpy.c: ... here.
3955 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3956
3957 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3958
3959 * sysdeps/s390/ifunc-memcmp.h: New File.
3960 * sysdeps/s390/memcmp.S: Move to ...
3961 * sysdeps/s390/memcmp-z900.S ... here.
3962 Move implementations from memcmp-s390x.s to here.
3963 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3964 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3965 Remove memcmp variants.
3966 * sysdeps/s390/Makefile (sysdep_routines):
3967 Add memcmp variants.
3968 * sysdeps/s390/multiarch/ifunc-impl-list.c
3969 (__libc_ifunc_impl_list): Adjust ifunc variants for
3970 memcmp.
3971 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3972 to ...
3973 * sysdeps/s390/memcmp.c: ... here.
3974 Adjust ifunc variants for memcmp.
3975
3976 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3977
3978 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3979 * sysdeps/s390/memcmp.S: ... here.
3980 Adjust to be usable for 31/64bit.
3981 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3982 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3983 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3984 Remove memcmp.
3985 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3986 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3987 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3988 Adjust to be usable for 31/64bit.
3989 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3990 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3991 * sysdeps/s390/multiarch/memcmp.c: ... here.
3992 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3993
3994 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3995
3996 * sysdeps/s390/s390-32/bzero.S: Delete file.
3997 * sysdeps/s390/s390-64/bzero.S: Likewise.
3998 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3999 * sysdeps/s390/bzero.c: New file.
4000 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4001 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4002 * sysdeps/s390/multiarch/ifunc-impl-list.c
4003 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4004
4005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4006
4007 * sysdeps/s390/ifunc-memset.h: New File.
4008 * sysdeps/s390/memset.S: Move to ...
4009 * sysdeps/s390/memset-z900.S ... here.
4010 Move implementations from memset-s390x.s to here.
4011 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4012 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4013 Remove memset variants.
4014 * sysdeps/s390/Makefile (sysdep_routines):
4015 Add memset variants.
4016 * sysdeps/s390/multiarch/ifunc-impl-list.c
4017 (__libc_ifunc_impl_list): Adjust ifunc variants for
4018 memset.
4019 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4020 to ...
4021 * sysdeps/s390/memset.c: ... here.
4022 Adjust ifunc variants for memset.
4023
4024 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4025
4026 * sysdeps/s390/s390-64/memset.S: Move to ...
4027 * sysdeps/s390/memset.S: ... here.
4028 Adjust to be usable for 31/64bit.
4029 * sysdeps/s390/s390-32/memset.S: Delete File.
4030 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4031 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4032 Remove memset.
4033 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4034 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4035 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4036 Adjust to be usable for 31/64bit.
4037 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4038 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4039 * sysdeps/s390/multiarch/memset.c: ... here.
4040 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4041
4042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4043
4044 * sysdeps/s390/multiarch/ifunc-resolve.h
4045 (s390_libc_ifunc_init, s390_libc_ifunc,
4046 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4047
4048 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4049
4050 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4051 * sysdeps/s390/configure.ac: Add check for z10 support.
4052 * sysdeps/s390/configure: Regenerated.
4053
4054 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4055
4056 * sysdeps/i386/atomic-machine.h: Merged with ...
4057 * sysdeps/x86_64/atomic-machine.h: To ...
4058 * sysdeps/x86/atomic-machine.h: This. New file.
4059
4060 2018-12-18 Florian Weimer <fweimer@redhat.com>
4061
4062 Rewrite locale/gen-translit.pl in Python.
4063 * locale/Makefile (generated): Add C-translit.h.
4064 (before-compile): Add $(objpfx)C-translit.h.
4065 (C-translit.h): Move to $(objpfx). Create target directory.
4066 Build using Python script.
4067 * locale/gen-translit.py: New file.
4068 * locale/gen-translit.pl: Remove file.
4069 * locale/C-translit.h.in: Change comment character to '#' for
4070 easier parsing without a C preprocessor.
4071 * locale/C-translit.h: Remove generated file.
4072 * manual/install.texi (Tools for Compilation): Do not mention
4073 C-translit.h.
4074 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4075 Remove locale/C-translit.h.
4076 * scripts/update-copyrights: Likewise.
4077 * INSTALL: Regenerate.
4078
4079 2018-12-18 Florian Weimer <fweimer@redhat.com>
4080
4081 [BZ #23995]
4082 * localedata/locales/bi_VU: Remove executable bit from file.
4083
4084 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4085
4086 * include/time.h
4087 (__localtime64): Add.
4088 * manual/maint.texi: Document Y2038 symbol handling.
4089 * time/localtime.c
4090 (__localtime64): Add.
4091 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4092
4093 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4094
4095 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4096 Do not clobber r12.
4097
4098 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4099 to allow extra macros from first or second sources.
4100 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4101 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4102 (tests-special): Add $(objpfx)tst-mman-consts.out.
4103 ($(objpfx)tst-mman-consts.out): New makefile target.
4104
4105 2018-12-17 Mao Han <han_mao@c-sky.com>
4106
4107 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4108 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4109 without stat64 system call support.
4110 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4111 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4112 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4113 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4114 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4115 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4116 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4117 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4118 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4119 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4120 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4121
4122 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4123
4124 regex: fix storage-exhaustion error
4125 [BZ #18040]
4126 * posix/regexec.c (get_subexp):
4127 Do not continue if storage is exhausted.
4128
4129 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4130
4131 regex: fix heap-use-after-free error
4132 [BZ #18040]
4133 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4134 https://debbugs.gnu.org/32592
4135 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4136 call extend_buffers which reallocates the re_string_t internal buffer.
4137 Local variable 'buf' was not updated in such case, resulting in
4138 use-after-free.
4139 * posix/regexec.c (get_subexp): Update 'buf' after call to
4140 get_subexp_sub.
4141
4142 2018-12-15 Florian Weimer <fweimer@redhat.com>
4143
4144 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4145 (minimum_stride_size): Use it.
4146 (support_blob_repeat_allocate): Likewise.
4147
4148 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4149
4150 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4151 definition.
4152 (acosh): Likewise.
4153 (atanh): Likewise.
4154
4155 2018-12-14 Florian Weimer <fweimer@redhat.com>
4156
4157 * manual/process.texi (Process Creation Concepts): Remove
4158 documentation of process (ID) lifetime. List more process
4159 creation functions. Reference Process Identification section.
4160 (Process Identification): Add information about process ID
4161 lifetime. Describe Linux thread/task IDs.
4162 * manual/signal.texi (Signaling Another Process): Mention that the
4163 signal is always sent to the process.
4164
4165 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4166
4167 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4168 and tst-ldbl-efgcvt.
4169 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4170 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4171 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4172 (fcvt_tests, output_error, output_r_error, do_test): Use the
4173 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4174 select the type of floating-point variables and arguments; to
4175 produce extra tests for double and conversion specifiers for
4176 printf; and to set the names of called functions.
4177 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4178 in tst-efgcvt-template.c.
4179 * misc/tst-ldbl-efgcvt.c: Likewise.
4180
4181 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4182
4183 * nss/Makefile (tst-nss-test3.out): New rule.
4184
4185 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4186
4187 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4188 clobber sp.
4189
4190 2018-12-13 fanjinke <fanjinke@hygon.cn>
4191
4192 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4193 "HygonGenuine".
4194
4195 2018-12-13 Andreas Schwab <schwab@suse.de>
4196
4197 [BZ #23861]
4198 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4199 (__pthread_rwlock_rdlock_full): Update expected value for
4200 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4201 * nptl/tst-rwlock-pwn.c: New file.
4202 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4203
4204 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4205
4206 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4207 definition.
4208
4209 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4210
4211 * benchtests/scripts/compare_bench.py (do_compare): write to
4212 stderr in casestat is not present.
4213 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4214 stderr in case timings field is not present. Also string showing
4215 the output filename goes into the stderr.
4216
4217 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4218
4219 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4220 and ZeroDivisorError exceptions.
4221 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4222 argument to loop through user provided statistics.
4223 * benchtests/scripts/compare_bench.py (main): Include the --stats
4224 argument.
4225
4226 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4227
4228 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4229 instead of return.
4230
4231 2018-12-12 Florian Weimer <fweimer@redhat.com>
4232
4233 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4234 clause to copyright header.
4235
4236 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4237
4238 [BZ #23614]
4239 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4240 registers saved in the stack frame.
4241 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4242 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4243
4244 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4245
4246 * include/bits/monetary-ldbl.h: New file.
4247 * include/bits/printf-ldbl.h: Likewise.
4248 * include/bits/stdio-ldbl.h: Likewise.
4249 * include/bits/stdlib-ldbl.h: Likewise.
4250 * include/bits/syslog-ldbl.h: Likewise.
4251 * include/bits/wchar-ldbl.h: Likewise.
4252
4253 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4254
4255 * libio/libio.h: Remove redirection for _IO_vfprintf.
4256
4257 2018-12-11 Andreas Schwab <schwab@suse.de>
4258
4259 * Makerules: Remove all references to abilist-pattern.
4260 (update-all-abi): Simplify find expression.
4261
4262 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4263
4264 [BZ #23961]
4265 * math/auto-libm-test-in: Add new test case.
4266 * math/auto-libm-test-out-pow: Regenerated.
4267 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4268
4269 2018-12-10 DJ Delorie <dj@redhat.com>
4270
4271 [BZ #23948]
4272 * support/test-container.c: Move postclean step to before we
4273 change namespaces.
4274
4275 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4276
4277 * scripts/gen-as-const.py (main): Handle --python option.
4278 * scripts/gen-py-const.awk: Remove.
4279 * Makerules (py-const-script): Use gen-as-const.py.
4280 ($(py-const)): Likewise.
4281 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4282 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4283 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4284 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4285 ~PTHREAD_MUTEX_NO_ELISION_NP.
4286 * manual/README.pretty-printers: Update reference to
4287 gen-py-const.awk.
4288
4289 * scripts/glibcextract.py: New file.
4290 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4291 or tempfile. Import glibcexctract.
4292 (compute_c_consts): Remove. Moved to glibcextract.py.
4293 (gen_test): Update reference to compute_c_consts.
4294 (main): Likewise.
4295 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4296 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4297 * sysdeps/unix/sysv/linux/Makefile
4298 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4299 Redirect stderr as well as stdout.
4300
4301 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4302
4303 [BZ #19767]
4304 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4305 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4306 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4307 ALWAYS_USE_VSYSCALL.
4308 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4309 ALWAYS_USE_VSYSCALL.
4310 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4311 ALWAYS_USE_VSYSCALL.
4312
4313 2018-12-10 Florian Weimer <fweimer@redhat.com>
4314
4315 [BZ #23972]
4316 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4317 offset instead of count for clarity. Fix typo in comment.
4318 (__old_getdents64): Keep track of previous offset. Use it to call
4319 handle_overflow.
4320 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4321 that d_off is never zero.
4322
4323 2018-12-10 Andreas Schwab <schwab@suse.de>
4324
4325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4326 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4328 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4329 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4330
4331 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4332
4333 * timezone/private.h: Update from tzcode 2018g.
4334 * timezone/tzfile.h: Likewise.
4335 * timezone/tzselect.ksh: Likewise.
4336 * timezone/zdump.c: Likewise.
4337 * timezone/zic.c: Likewise.
4338
4339 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4340
4341 [BZ #23490]
4342 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4343 (do_test): Adjust buffer size and fix format.
4344
4345 2018-12-07 DJ Delorie <dj@redhat.com>
4346
4347 [BZ #23907]
4348 * malloc/tst-tcfree3.c: New.
4349 * malloc/Makefile: Add it.
4350
4351 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4352
4353 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4354
4355 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4356
4357 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4358 used as a mask for the mode argument of __vfscanf_internal and
4359 __vfwscanf_internal.
4360 * stdio-common/vfscanf-internal.c
4361 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4362 (__strtof128_internal): Define to __wcstof128_internal.
4363 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4364 __strtof128_internal or __wcstof128_internal when the format of
4365 long double is the same as _Float128.
4366
4367 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4368
4369 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4370 * posix/confstr.c (confstr): Rename to __confstr.
4371 (__confstr): Add hidden def.
4372 (confstr): Add weak alias for __confstr.
4373 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4374 confstr.
4375
4376 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 * NEWS: Mention getcpu.
4379 * include/sched.h (__getcpu): New libc_hidden_proto.
4380 * manual/resource.texi: Document getcpu.
4381 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4382 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4383 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4384 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4385 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4386 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4387 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4388 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4389 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4390 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4391 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4392 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4393 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4394 Likewise.
4395 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4396 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4397 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4399 Likewise.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4401 Likewise.
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4403 Likewise.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4405 Likewise.
4406 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4407 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4408 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4409 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4410 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4411 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4412 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4413 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4414 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4415 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4416 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4417 Also check getcpu.
4418
4419 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4420
4421 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4422 functions.
4423 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4424
4425 2018-12-07 Florian Weimer <fweimer@redhat.com>
4426
4427 [BZ #17405]
4428 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4429 * posix/Versions (GLIBC_2.29): Export
4430 posix_spawn_file_actions_addfchdir_np.
4431 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4432 * posix/spawn_faction_destroy.c
4433 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4434 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4435 and the field action.fchdir_action.
4436 * posix/tst-spawn-chdir.c (add_chdir): New function.
4437 (do_test): Add do_fchdir loop. Call add_chdir.
4438 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4439 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4440 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4441 posix_spawn_file_actions_addfchdir_np.
4442 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4443 Likewise.
4444 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4445 Likewise.
4446 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4447 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4448 Likewise.
4449 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4450 Likewise.
4451 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4452 Likewise.
4453 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4454 Likewise.
4455 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4456 Likewise.
4457 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4458 Likewise.
4459 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4460 (GLIBC_2.29): Likewise.
4461 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4462 (GLIBC_2.29): Likewise.
4463 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4464 (GLIBC_2.29): Likewise.
4465 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4466 (GLIBC_2.29): Likewise.
4467 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4468 Likewise.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4470 (GLIBC_2.29): Likewise.
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4472 (GLIBC_2.29): Likewise.
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4474 (GLIBC_2.29): Likewise.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4476 (GLIBC_2.29): Likewise.
4477 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4478 Likewise.
4479 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4480 Likewise.
4481 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4482 Likewise.
4483 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4484 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4485 Likewise.
4486 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4487 Likewise.
4488 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4489 Likewise.
4490 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4491 Likewise.
4492
4493 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4494
4495 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4496 trailing whitespace removed.
4497 * scripts/config.guess: Update to version 2018-11-28.
4498 * scripts/config.sub: Update to version 2018-11-28.
4499 * scripts/install-sh: Update to version 2018-03-11.20.
4500 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4501 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4502
4503 2018-12-07 Florian Weimer <fweimer@redhat.com>
4504
4505 [BZ #23927]
4506 CVE-2018-19591
4507 * inet/tst-if_index-long.c: New file.
4508 * inet/Makefile (tests): Add tst-if_index-long.
4509
4510 2018-12-07 Florian Weimer <fweimer@redhat.com>
4511
4512 * support/check.h (support_record_failure_is_failed): Declare.
4513 * support/descriptors.h: New file.
4514 * support/support_descriptors.c: Likewise.
4515 * support/tst-support_descriptors.c: Likewise.
4516 * support/support_record_failure.c
4517 (support_record_failure_is_failed): New function.
4518 * support/Makefile (libsupport-routines): Add support_descriptors.
4519 (tests): Add tst-support_descriptors.
4520
4521 2018-12-05 Zack Weinberg <zackw@panix.com>
4522 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4523
4524 * stdio-common/vfprintf-internal.c
4525 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4526 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4527 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4528 and __no_long_double.
4529 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4530 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4531 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4532 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4533 and __nldbl_*syslog* functions.
4534 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4535 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4536 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4537 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4538 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4539 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4540 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4541 (__nldbl_vwprintf, __nldbl_wprintf):
4542 Directly call the appropriate __v*printf_internal routine, passing
4543 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4544 variable names.
4545 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4546 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4547 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4548 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4549 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4550 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4551 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4552 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4553 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4554 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4555 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4556 (__nldbl_syslog, __nldbl_vsyslog):
4557 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4558 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4559 appropriate.
4560 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4561 appropriate.
4562
4563 2018-12-05 Zack Weinberg <zackw@panix.com>
4564 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4565
4566 [BZ #11319]
4567 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4568 Moved here from debug/vsprintf_chk.c.
4569 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4570 and completion logic for the strfile to match exactly what
4571 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4572 _IO_str_init_static_internal instead of maxlen-1.
4573 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4574 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4575 __vsprintf_internal.
4576
4577 * debug/vsprintf_chk.c (__vsprintf_chk)
4578 * debug/sprintf_chk.c (__sprintf_chk):
4579 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4580 'flags' argument is positive, and slen as maxlen. No need to lock
4581 the FILE and/or construct a temporary FILE. Minimize and normalize
4582 header inclusions and variable names. Do not libc_hidden_def anything.
4583
4584 * debug/asprintf_chk.c (__asprintf_chk)
4585 * debug/dprintf_chk.c (__dprintf_chk)
4586 * debug/fprintf_chk.c (__fprintf_chk)
4587 * debug/fwprintf_chk.c (__fwprintf_chk)
4588 * debug/printf_chk.c (__printf_chk)
4589 * debug/snprintf_chk.c (__snprintf_chk)
4590 * debug/swprintf_chk.c (__swprintf_chk)
4591 * debug/vasprintf_chk.c (__vasprintf_chk)
4592 * debug/vdprintf_chk.c (__vdprintf_chk)
4593 * debug/vfprintf_chk.c (__vfprintf_chk)
4594 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4595 * debug/vprintf_chk.c (__vprintf_chk)
4596 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4597 * debug/vswprintf_chk.c (__vswprintf_chk)
4598 * debug/vwprintf_chk.c (__vwprintf_chk)
4599 * debug/wprintf_chk.c (__wprintf_chk):
4600 Directly call the corresponding vxxprintf_internal function, passing
4601 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4602 the FILE and/or construct a temporary FILE. Minimize and normalize
4603 header inclusions and variable names. Do not libc_hidden_def anything.
4604
4605 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4606 __obstack_vprintf_internal.
4607 (__obstack_vprintf_chk): Convert into a wrapper that calls
4608 __obstack_vprintf_internal (these two functions already had the
4609 same code) and move to new file...
4610 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4611 file.
4612 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4613 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4614 * debug/Makefile (routines): Add vobprintf_chk.
4615
4616 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4617 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4618 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4619 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4620 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4621 (__nldbl___obstack_vfprintf_chk):
4622 Directly call the corresponding vxxprintf_internal function,
4623 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4624 duplicate comparison of slen with 0 or maxlen from the corresponding
4625 non-__nldbl function.
4626
4627 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4628 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4629 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4630 Remove libc_hidden_proto.
4631
4632 * stdio-common/vfprintf-internal.c
4633 (__vfprintf_internal, __vfwprintf_internal):
4634 Do not check _IO_FLAGS2_FORTIFY.
4635 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4636 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4637 a comment explaining why it has the maxlen argument.
4638 (_IO_acquire_lock_clear_flags2_fct): Remove.
4639 (_IO_acquire_lock_clear_flags2): Remove.
4640 (_IO_release_lock): Remove conditional statement which will
4641 now never execute.
4642 (_IO_acquire_lock): Remove variable which is now unused.
4643 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4644 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4645
4646 * stdio-common/Makefile (tests): Add tst-bz11319 and
4647 tst-bz11319-fortify2.
4648 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4649 * stdio-common/tst-bz11319-fortify2.c: New file.
4650 * stdio-common/tst-bz11319.c: Likewise.
4651
4652 2018-12-05 Zack Weinberg <zackw@panix.com>
4653 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4654
4655 * misc/syslog.c: Include libioP.h, not iolibio.h.
4656 (__vsyslog_internal): New function with the former body of
4657 __vsyslog_chk; takes mode_flags argument same as
4658 __v*printf_internal. Call __vfprintf_internal directly.
4659
4660 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4661 Remove libc_hidden_def.
4662 (__syslog, __syslog_chk): Use __vsyslog_internal.
4663 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4664
4665 * include/sys/syslog.h: Add multiple inclusion guard.
4666 Add prototype for __vsyslog_internal.
4667 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4668
4669 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4670 Use __vsyslog_internal.
4671
4672 2018-12-05 Zack Weinberg <zackw@panix.com>
4673 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4674
4675 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4676 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4677 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4678 New functions.
4679 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4680 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4681
4682 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4683 Include wctype.h here if COMPILE_WPRINTF is defined.
4684 Define __vfprintf_internal or __vfwprintf_internal, depending
4685 on COMPILE_WPRINTF.
4686 Temporarily, on entry to this function, update mode_flags
4687 according to the environmental settings corresponding to
4688 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4689 Throughout, check mode_flags instead of __ldbl_is_dbl and
4690 _IO_FLAGS2_FORTIFY on the destination FILE.
4691 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4692 Include vfprintf-internal.c. Don't include wctype.h.
4693 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4694 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4695 and vfprintf.
4696 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4697 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4698 and vfwprintf.
4699 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4700
4701 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4702 and add mode_flags argument; use __vfprintf_internal.
4703 (__vdprintf): New function. Alias vdprintf to this.
4704 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4705 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4706 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4707 (__obstack_printf): Use __obstack_printf_internal.
4708 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4709 public aliases __vsnprintf and vsnprintf.
4710 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4711 called internally.
4712 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4713 public aliases _IO_vsprintf and vsprintf.
4714 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4715 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4716 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4717 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4718 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4719
4720 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4721 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4722 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4723 * stdio-common/printf.c: Use __vfprintf_internal.
4724
4725 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4726 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4727 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4728
4729 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4730 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4731 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4732 __vfwprintf_internal.
4733
4734 * libio/libio.h: Remove libc_hidden_proto and declaration for
4735 _IO_vfprintf.
4736 Remove declaration of _IO_vfwprintf.
4737 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4738 _IO_vsprintf.
4739 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4740 _IO_obstack_printf.
4741 * include/stdio.h: Add prototype for __vasprintf.
4742 (__vsnprintf): Remove declaration, because there are no more
4743 internal calls.
4744 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4745 declaration, because there are no more internal calls.
4746
4747 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4748 __vsnprintf_internal, instead of _IO_vsnprintf.
4749 * argp/argp-help.c (__argp_error, __argp_failure): Use
4750 __vasprintf_internal, instead of _IO_vasprintf.
4751 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4752 redefine, because there are no more internal calls.
4753
4754 2018-12-05 Zack Weinberg <zackw@panix.com>
4755 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4756
4757 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4758 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4759 Include libio/strfile.h instead of libioP.h.
4760 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4761 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4762 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4763 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4764 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4765 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4766 necessary. Do not set __no_long_double. Normalize variable names.
4767 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4768 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4769 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4770 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4771 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4772 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4773 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4774 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4775 Do not set __no_long_double. Normalize variable names.
4776
4777 2018-12-05 Zack Weinberg <zackw@panix.com>
4778 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4779
4780 * stdio-common/isoc99_scanf.c
4781 * stdio-common/isoc99_fscanf.c
4782 * stdio-common/isoc99_sscanf.c
4783 * stdio-common/isoc99_vscanf.c
4784 * stdio-common/isoc99_vfscanf.c
4785 * stdio-common/isoc99_vsscanf.c
4786 * wcsmbs/isoc99_wscanf.c
4787 * wcsmbs/isoc99_fwscanf.c
4788 * wcsmbs/isoc99_swscanf.c
4789 * wcsmbs/isoc99_vwscanf.c
4790 * wcsmbs/isoc99_vfwscanf.c
4791 * wcsmbs/isoc99_vswscanf.c:
4792 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4793 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4794 No need to lock and unlock the FILE passed to that function.
4795
4796 * stdio-common/vfscanf-internal.c
4797 (__vfscanf_internal, __vfwscanf_internal):
4798 Don't look at _IO_FLAGS2_SCANF_STD.
4799 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4800 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4801 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4802
4803 2018-12-05 Zack Weinberg <zackw@panix.com>
4804 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4805
4806 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4807 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4808 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4809 * libio/strfile.h: Add multiple inclusion guard.
4810 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4811
4812 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4813 consistency with the other version of this file.
4814 (ldbl_compat_symbol): New macro.
4815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4816 New macro.
4817
4818 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4819 Define __vfscanf_internal or __vfwscanf_internal, depending on
4820 COMPILE_WSCANF; don't define any other public symbols.
4821 Remove errval and code to set errp.
4822 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4823 as the mode_flags argument.
4824 (encode_error, conv_error, input_error): Don't set errval.
4825 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4826 Include vfscanf-internal.c.
4827 * stdio-common/vfscanf.c: New file defining the public entry
4828 point vfscanf, which calls __vfscanf_internal.
4829 * stdio-common/vfwscanf.c: New file defining the public entry
4830 point vfwscanf, which calls __vfwscanf_internal.
4831
4832 * stdio-common/iovfscanf.c: New file.
4833 * stdio-common/iovfwscanf.c: Likewise.
4834
4835 * stdio-common/Makefile (routines): Add vfscanf-internal,
4836 vfwscanf-internal, iovfscanf, iovfwscanf.
4837 * stdio-common/Versions: Mention GLIBC_2.29, so that
4838 it can be used in SHLIB_COMPAT expressions.
4839 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4840 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4841 Call __vfscanf_internal, instead of _IO_vfscanf.
4842 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4843 _IO_vfscanf.
4844 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4845 _IO_vfwscanf.
4846
4847 * libio/iovsscanf.c: Clean up includes, when possible. Use
4848 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4849 __vfscanf_internal or __vfwscanf_internal directly.
4850 * libio/iovswscanf.c: Likewise.
4851 * libio/swscanf.c: Likewise.
4852 * libio/vscanf.c: Likewise.
4853 * libio/vwscanf.c: Likewise.
4854 * libio/wscanf.c: Likewise.
4855 * stdio-common/isoc99_fscanf.c: Likewise.
4856 * stdio-common/isoc99_scanf.c: Likewise.
4857 * stdio-common/isoc99_sscanf.c: Likewise.
4858 * stdio-common/isoc99_vfscanf.c: Likewise.
4859 * stdio-common/isoc99_vscanf.c: Likewise.
4860 * stdio-common/isoc99_vsscanf.c: Likewise.
4861 * stdio-common/scanf.c: Likewise.
4862 * stdio-common/sscanf.c: Likewise.
4863 * wcsmbs/isoc99_fwscanf.c: Likewise.
4864 * wcsmbs/isoc99_swscanf.c: Likewise.
4865 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4866 * wcsmbs/isoc99_vswscanf.c: Likewise.
4867 * wcsmbs/isoc99_vwscanf.c: Likewise.
4868 * wcsmbs/isoc99_wscanf.c: Likewise.
4869
4870 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4871
4872 * include/time.h
4873 (__tz_compute): Replace time_t with __time64_t.
4874 (__tz_convert): Replace time_t* with __time64_t.
4875 (__offtime): Replace time_t* with __time64_t.
4876 * time/gmtime.c
4877 (__gmtime_r): Adjust call to __tz_convert.
4878 (gmtime): Likewise.
4879 * time/localtime.c
4880 (__localtime_r): Likewise.
4881 (localtime): Likewise.
4882 * time/offtime.c: Replace time_t with __time64_t.
4883 * time/tzset.c: Likewise.
4884
4885 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4886
4887 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4888 dynamic linker unless [$(run-built-tests) = yes].
4889
4890 2018-12-03 DJ Delorie <dj@delorie.com>
4891
4892 * support/test-container.c (check_for_unshare_hints): New.
4893 (main): Call it if unshare fails. Add support for "su" scriptlet
4894 command.
4895
4896 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4897
4898 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4899 'START' to indicate that start text should be output.
4900 (gen_test): Likewise.
4901 (main): Generate 'START' for first symbol or '--' line, or at end
4902 of input if not previously generated.
4903
4904 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4905
4906 [BZ #19767]
4907 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4908 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4909 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4910 ALWAYS_USE_VSYSCALL.
4911
4912 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4913
4914 [BZ #23913]
4915 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4916 new_argv by one.
4917
4918 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4919
4920 [BZ #23923]
4921 * locale/programs/localedef.c: Declare boolean hard_links default true.
4922 (options): Add --no-hard-links option.
4923 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4924 * locale/programs/localedef.h: Declare prototype for hard_links.
4925 * locale/programs/locfile.c (write_locale_data): Don't use hard
4926 links if hard_links is false.
4927
4928 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4929
4930 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4931 cpu_features_basic.
4932 (__cache_sysconf): Likewise.
4933 (init_cacheinfo): Likewise.
4934 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4935 populate COMMON_CPUID_INDEX_80000007 and
4936 COMMON_CPUID_INDEX_80000008.
4937 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4938 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4939 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4940 (init_cpu_features): Use _Static_assert on
4941 index_arch_Fast_Unaligned_Load.
4942 __get_cpuid_registers and __get_arch_feature. Updated for
4943 cpu_features_basic. Set stepping in cpu_features.
4944 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4945 (FEATURE_INDEX_2): New.
4946 (FEATURE_INDEX_MAX): Changed to enum.
4947 (COMMON_CPUID_INDEX_D_ECX_1): New.
4948 (COMMON_CPUID_INDEX_80000007): Likewise.
4949 (COMMON_CPUID_INDEX_80000008): Likewise.
4950 (cpuid_registers): Likewise.
4951 (cpu_features_basic): Likewise.
4952 (CPU_FEATURE_USABLE): Likewise.
4953 (bit_arch_XXX_Usable): Likewise.
4954 (cpu_features): Use cpuid_registers and cpu_features_basic.
4955 (bit_arch_XXX): Reweritten.
4956 (bit_cpu_XXX): Likewise.
4957 (index_cpu_XXX): Likewise.
4958 (reg_XXX): Likewise.
4959 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4960 <support/check.h>.
4961 (CHECK_CPU_FEATURE): New.
4962 (CHECK_CPU_FEATURE_USABLE): Likewise.
4963 (cpu_kinds): Likewise.
4964 (do_test): Print vendor, family, model and stepping. Check
4965 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4966 (TEST_FUNCTION): Removed.
4967 Include <support/test-driver.c> instead of
4968 "../../test-skeleton.c".
4969 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4970 Check POPCNT instead of POPCOUNT.
4971 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4972
4973 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4974
4975 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4976 there is no element in `consts'.
4977
4978 2018-12-01 Florian Weimer <fweimer@redhat.com>
4979
4980 * support/support_capture_subprocess.c
4981 (support_capture_subprocess): Check that pipe descriptors have
4982 expected values. Close original pipe descriptors in subprocess.
4983
4984 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4985
4986 [BZ #23032]
4987 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4988 attr with __pthread_default_barrierattr.
4989 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4990 attr with __pthread_default_condattr.
4991 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4992 attr with __pthread_default_mutexattr.
4993 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4994 attr with __pthread_default_rwlockattr.
4995
4996 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4997
4998 * manual/tunables.texi (POSIX Thread Tunables): New node.
4999 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5000 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5001 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5002 __pthread_tunables_init.
5003 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5004 (max_adaptive_count): Define.
5005 * nptl/pthread_mutex_conf.c: New file.
5006 * nptl/pthread_mutex_conf.h: New file.
5007 * sysdeps/generic/adaptive_spin_count.h: New file.
5008 * sysdeps/nptl/dl-tunables.list: New file.
5009 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5010 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5011 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5012 Likewise.
5013
5014 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5015
5016 [BZ #20544]
5017 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5018 * stdlib/on_exit.c (__on_exit): Likewise.
5019 * stdlib/Makefile (tests): Add tst-bz20544.
5020 * stdlib/tst-bz20544.c: New test.
5021
5022 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5023
5024 [BZ #19767]
5025 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5026 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5027 New.
5028
5029 2018-11-30 Florian Weimer <fweimer@redhat.com>
5030
5031 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5032 Extend error logging.
5033 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5034 symbol.
5035
5036 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5037
5038 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5039 __sigismember instead of sigismember.
5040 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5041 cancel_handler): New definitions.
5042 (do_system): Use posix_spawn instead of fork and execl and remove
5043 reentracy code.
5044 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5045 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5046 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5047 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5048 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5049 * sysdeps/unix/sysv/linux/system.c: Likewise.
5050
5051 [BZ #22834]
5052 [BZ #17490]
5053 * NEWS: Add new semantic for atfork with popen and system.
5054 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5055 fork and execl.
5056
5057 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5058
5059 [BZ #23690]
5060 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5061 modification order when accessing reloc_result->addr.
5062 * include/link.h (reloc_result): Add field init.
5063 * nptl/Makefile (tests): Add tst-audit-threads.
5064 (modules-names): Add tst-audit-threads-mod1 and
5065 tst-audit-threads-mod2.
5066 Add rules to build tst-audit-threads.
5067 * nptl/tst-audit-threads-mod1.c: New file.
5068 * nptl/tst-audit-threads-mod2.c: Likewise.
5069 * nptl/tst-audit-threads.c: Likewise.
5070 * nptl/tst-audit-threads.h: Likewise.
5071
5072 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5073
5074 * scripts/gen-as-const.py: New file.
5075 * scripts/gen-as-const.awk: Remove.
5076 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5077 gen-as-const.py.
5078 ($(objpfx)test-as-const-%.c): Likewise.
5079
5080 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5081
5082 * elf/dl-exception.c: Include <_itoa.h>.
5083
5084 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5085
5086 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5087 returned by __f_setlk.
5088
5089 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5090 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5091
5092 * elf/Makefile (tests-internal): Add tst-create_format1.
5093 * elf/dl-exception.c (_dl_exception_create_format): Support
5094 %x, %lx and %zx.
5095 * elf/tst-create_format1.c: New file.
5096
5097 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5098
5099 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5100 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5101 gnulib.)
5102 * argp/argp-help.c (__argp_failure): Likewise.
5103
5104 2018-11-29 Mao Han <han_mao@c-sky.com>
5105
5106 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5107 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5108 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5109 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5110 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5111 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5112 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5113 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5114 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5115 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5116 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5117 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5118 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5119 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5120 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5121 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5122 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5123 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5124 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5125 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5126 (R_CKCORE_TLS_TPOFF32): New defines.
5127
5128 2018-11-29 Florian Weimer <fweimer@redhat.com>
5129
5130 * posix/Makefile (before-compile): Remove testcases.h and
5131 ptestcases.h.
5132 (generated): Add testcases.h and ptestcases.h.
5133 (testcases.h, ptestcases.h): Move to $(objpfx).
5134 (runtests.o): Add dependency on testcases.h.
5135 (runptests.o): Add dependency on ptestcases.h.
5136 * posix/testcases.h, posix/ptestcases.h: Remove files.
5137 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5138 not touch posix/testcases.h and posix/ptestcases.h.
5139
5140 2018-11-28 Florian Weimer <fweimer@redhat.com>
5141
5142 support: Add signal support to support_capture_subprocess_check.
5143 * support/capture_subprocess.h (support_capture_subprocess_check):
5144 Adjust comment and rename parameter.
5145 * support/support_capture_subprocess_check.c
5146 (print_actual_status): New function.
5147 (support_capture_subprocess_check): Support negative
5148 status_or_signal. Call print_actual_status.
5149 * support/tst-support_capture_subprocess.c (do_test): Call
5150 support_capture_subprocess_check.
5151 * libio/tst-vtables-common.c (termination_status)
5152 (init_termination_status): Remove.
5153 (check_for_termination): Adjust support_capture_subprocess_check
5154 call.
5155 (do_test): Remove call to init_termination_status.
5156
5157 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5158
5159 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5160 source directory instead of a copy.
5161 (CommandList.create_copy_dir): Remove.
5162
5163 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5164
5165 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5166
5167 2018-11-28 Florian Weimer <fweimer@redhat.com>
5168
5169 * support/support.h (support_quote_string): Do not use str
5170 parameter name.
5171
5172 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5173
5174 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5175 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5176
5177 2018-11-27 Florian Weimer <fweimer@redhat.com>
5178
5179 * support/support.h (support_quote_string): Declare.
5180 * support/support_quote_string.c: New file.
5181 * support/tst-support_quote_string.c: Likewise.
5182 * support/Makefile (libsupport-routines): Add
5183 support_quote_string.
5184 (tests): Add tst-support_quote_string.
5185
5186 2018-11-27 Florian Weimer <fweimer@redhat.com>
5187
5188 [BZ #23927]
5189 CVE-2018-19591
5190 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5191 descriptor leak in case of ENODEV error.
5192
5193 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5194
5195 [BZ #19767]
5196 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5197 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5198 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5199
5200 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5201
5202 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5203 Error for unknown lines.
5204
5205 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5206
5207 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5208 Touch additional files.
5209
5210 2018-11-26 Florian Weimer <fweimer@redhat.com>
5211
5212 [BZ #23907]
5213 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5214 double-frees.
5215
5216 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5217
5218 [BZ #19767]
5219 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5220 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5221 SHARED. Include sysdep.h.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5223 ALWAYS_USE_VSYSCALL.
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5225 ALWAYS_USE_VSYSCALL.
5226
5227 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5228
5229 [BZ #19767]
5230 * nptl/Makefile (tests-static): Add tst-cond11-static.
5231 (tests): Likewise.
5232 * nptl/tst-cond11-static.c: New File.
5233 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5234 tst-affinity-static.
5235 (tests): Likewise.
5236 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5237 instead of SHARED.
5238 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5239 (USE_VSYSCALL): Likewise.
5240 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5241 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5242 instead of SHARED.
5243 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5244 SHARED.
5245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5246 New.
5247
5248 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5249
5250 [BZ #23915]
5251 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5252 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5253 Undefine.
5254
5255 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5256
5257 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5258 (tst-cet-legacy-1a-ARGS): New.
5259 ($(objpfx)tst-cet-legacy-1a): New target.
5260 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5261
5262 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5263
5264 * conform/conformtest.py (CompileSubTest.__init__): Set
5265 self.run_early to False.
5266 (ExecuteSubTest.__init__): Likewise.
5267 (HeaderTests.run): Try running all non-optional, non-XFAILed
5268 compilation tests in a single execution of the compiler.
5269
5270 * conform/conformtest.py (CompileSubTest): New class.
5271 (ExecuteSubTest): Likewise.
5272 (ElementTest.run): Rename to gen_subtests. Append tests to
5273 self.subtests instead of running them.
5274 (ConstantTest.run): Likewise.
5275 (SymbolTest.run): Likewise.
5276 (TypeTest.run): Likewise.
5277 (TagTest.run): Likewise.
5278 (FunctionTest.run): Likewise.
5279 (VariableTest.run): Likewise.
5280 (MacroFunctionTest.run): Likewise.
5281 (MacroStrTest.run): Likewise.
5282 (HeaderTests.handle_test_line): Generate subtests for tests.
5283 (HeaderTests.run): Run subtests for tests.
5284
5285 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5286
5287 * math/Versions (GLIBC_2.29): Add pow.
5288 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5289 symbol.
5290 * math/w_pow.c: New file.
5291 * sysdeps/i386/fpu/w_pow.c: New file.
5292 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5294 and add necessary aliases.
5295 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5296 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5297 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5298 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5299 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5300 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5301 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5302 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5303 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5304 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5305 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5306 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5307 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5309 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5314 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5315 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5316 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5317 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5318 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5319 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5320 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5321 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5322 __pow.
5323 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5324 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5325 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5326
5327 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5328
5329 * math/Versions (GLIBC_2.29): Add log2.
5330 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5331 symbol.
5332 * math/w_log2.c: New file.
5333 * sysdeps/i386/fpu/w_log2.c: New file.
5334 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5335 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5336 and add necessary aliases.
5337 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5338 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5339 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5340 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5341 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5342 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5343 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5344 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5345 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5346 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5347 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5348 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5349 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5350 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5351 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5356 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5357 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5358 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5359 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5360 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5361 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5362 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5363
5364 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5365
5366 * math/Versions (GLIBC_2.29): Add log.
5367 * math/w_log_compat.c (__log_compat): Change to versioned compat
5368 symbol.
5369 * math/w_log.c: New file.
5370 * sysdeps/i386/fpu/w_log.c: New file.
5371 * sysdeps/ia64/fpu/e_log.S: Update.
5372 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5373 and add necessary aliases.
5374 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5375 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5376 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5377 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5378 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5379 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5380 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5381 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5382 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5383 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5384 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5385 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5386 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5387 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5388 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5393 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5394 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5395 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5396 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5397 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5398 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5399 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5400 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5401 __log.
5402 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5403 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5404 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5405 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5406
5407 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5408
5409 * math/Versions (GLIBC_2.29): Add exp and exp2.
5410 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5411 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5412 * math/w_exp_compat.c (__exp_compat): Likewise.
5413 * math/w_exp.c: New file.
5414 * math/w_exp2.c: New file.
5415 * sysdeps/i386/fpu/w_exp.c: New file.
5416 * sysdeps/i386/fpu/w_exp2.c: New file.
5417 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5418 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5419 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5420 and add necessary aliases.
5421 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5422 and add necessary aliases.
5423 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5424 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5425 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5426 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5427 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5428 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5429 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5430 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5431 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5432 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5433 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5434 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5435 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5436 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5437 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5438 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5439 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5444 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5445 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5446 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5447 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5448 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5449 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5450 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5451 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5452 (__ieee754_exp): Rename to __exp.
5453 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5454 (__ieee754_exp): Rename to __exp.
5455 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5456 (__ieee754_exp): Rename to __exp.
5457 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5458 __exp.
5459 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5460
5461 2018-11-20 DJ Delorie <dj@redhat.com>
5462
5463 * malloc/malloc.c (tcache_entry): Add key field.
5464 (tcache_put): Set it.
5465 (tcache_get): Likewise.
5466 (_int_free): Check for double free in tcache.
5467 * malloc/tst-tcfree1.c: New.
5468 * malloc/tst-tcfree2.c: New.
5469 * malloc/Makefile: Run the new tests.
5470 * manual/probes.texi: Document memory_tcache_double_free probe.
5471
5472 * dlfcn/dlerror.c (check_free): Prevent double frees.
5473
5474 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5475
5476 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5477
5478 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5479
5480 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5481 in tests. Use names for format arguments.
5482 (ConstantTest.run): Likewise.
5483 (SymbolTest.run): Likewise.
5484 (TypeTest.run): Likewise.
5485 (TagTest.run): Likewise.
5486 (FunctionTest.run): Likewise.
5487 (VariableTest.run): Likewise.
5488 (MacroFunctionTest.run): Likewise.
5489 (MacroStrTest.run): Likewise.
5490 (HeaderTests.__init__): Set self.num_tests.
5491 (HeaderTests.handle_test_line): Set test.num. Increment
5492 self.num_tests.
5493
5494 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5495
5496 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5497 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5498 SEEK_SET.
5499
5500 2018-11-19 Mao Han <han_mao@c-sky.com>
5501
5502 * scripts/config.guess: Update to version 2018-08-29.
5503 * scripts/config.sub: Update to version 2018-08-29.
5504
5505 2018-11-19 Florian Weimer <fweimer@redhat.com>
5506
5507 support: Print timestamps in timeout handler.
5508 * support/support_test_main.c (print_timestamp): New function.
5509 (signal_handler): Use it to print the termination time and the
5510 time of the last write to standard output.
5511
5512 2018-11-16 Zack Weinberg <zackw@panix.com>
5513 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5514
5515 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5516 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5517 argument.
5518 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5519 and add flags argument. Check flags instead of __ldbl_is_dbl when
5520 deciding whether to set is_long_double.
5521 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5522 passing zero for flags argument.
5523 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5524
5525 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5526 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5527 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5528 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5529 variable names. Remove libc_hidden_def/libc_hidden_proto from
5530 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5531 longer called from within the library.
5532 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5533 for __nldbl___vstrfmon_l, declare it explicitly.
5534
5535 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5536
5537 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5538
5539 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5540 macros
5541 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5542 F_SETLK64, F_SETLKW64, respectively.
5543 * sysdeps/mach/hurd/f_setlk.c: New file.
5544 * sysdeps/mach/hurd/f_setlk.h: New file.
5545 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5546 f_setlk.
5547 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5548 (__libc_fcntl): Move non-flock operations to...
5549 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5550 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5551
5552 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5553
5554 mktime: DEBUG_MKTIME cleanup
5555 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5556 And it’s no longer needed now that glibc and Gnulib both have
5557 their own testing mechanisms for mktime.
5558 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5559
5560 mktime: fix non-EOVERFLOW errno handling
5561 [BZ#23789]
5562 mktime was not properly reporting failures when the underlying
5563 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5564 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5565 The problem could happen on non-glibc platforms, with Gnulib.
5566 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5567 (tm_diff): ... this simpler function, which does not change errno.
5568 All callers changed to deal with errno themselves.
5569 (ranged_convert, __mktime_internal): Return failure immediately if
5570 the underlying function reports any failure other than EOVERFLOW.
5571 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5572 gap code fails.
5573
5574 mktime: fix bug with Y2038 DST transition
5575 [BZ#23789]
5576 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5577 mishandle a DST transition that jumps over the Y2038 boundary.
5578 No such DST transitions are known so this is only a theoretical
5579 bug, but we might as well do things right.
5580
5581 mktime: make more room for overflow
5582 [BZ#23789]
5583 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5584 This is so that we can add tm_diff results to a previous guess,
5585 which will be useful in a later patch.
5586
5587 mktime: simplify offset guess
5588 [BZ#23789]
5589 * time/mktime.c (__mktime_internal): Omit excess precision.
5590
5591 mktime: new test for mktime failure
5592 [BZ#23789]
5593 Based on a test suggested by Albert Aribaud in:
5594 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5595 * time/Makefile (tests): Add bug-mktime4.
5596 * time/bug-mktime4.c: New file.
5597
5598 mktime: fix EOVERFLOW bug
5599 [BZ#23789]
5600 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5601 Include libc-config.h, not config.h, for __set_errno.
5602 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5603
5604 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5605
5606 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5607 __attribute_copy__ to copy attributes from name. Drop static qualifier
5608 to avoid warnings about leaf attribute not having effect on static
5609 functions.
5610
5611 2018-11-13 Florian Weimer <fweimer@redhat.com>
5612
5613 * malloc/malloc.c (fastbin_push_entry): New function.
5614 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5615 (REMOVE_FB): Remove macro.
5616 (_int_malloc): Use fastbin_pop_entry and reindent.
5617 (_int_free): Use fastbin_push_entry.
5618 (malloc_consolidate): Use atomic_exchange_acquire.
5619
5620 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5621
5622 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5623 alias attribute, not with strong_alias.
5624
5625 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5626 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5627 with additional parameter thread.
5628 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5629 in terms of __hidden_ver2.
5630 (hidden_tls_def): New macro.
5631 (libc_hidden_tls_def): Likewise.
5632 (rtld_hidden_tls_def): Likewise.
5633 (libm_hidden_tls_def): Likewise.
5634 (libmvec_hidden_tls_def): Likewise.
5635 (libresolv_hidden_tls_def): Likewise.
5636 (librt_hidden_tls_def): Likewise.
5637 (libdl_hidden_tls_def): Likewise.
5638 (libnss_files_hidden_tls_def): Likewise.
5639 (libnsl_hidden_tls_def): Likewise.
5640 (libnss_nisplus_hidden_tls_def): Likewise.
5641 (libutil_hidden_tls_def): Likewise.
5642 (libutil_hidden_tls_def): Likweise.
5643 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5644 libc_hidden_tls_def.
5645 (__sim_disabled_exceptions_thread): Likewise.
5646 (__sim_round_mode_thread): Likewise.
5647
5648 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5649 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5650 copy attributes from name.
5651
5652 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5653
5654 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5655 Use __attribute_copy__ to copy attributes from name.
5656
5657 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5658 with __hidden_ver1 call.
5659 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5660 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5661 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5662 (__cosf): Do not declare here.
5663 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5664 (__sincosf): Do not declare here.
5665 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5666 (__sinf): Do not declare here.
5667
5668 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5669 (__BIG_ENDIAN): Likewise.
5670 (__BYTE_ORDER): Likewise.
5671 (strong_alias): Likewise.
5672 (_strong_alias): Likewise.
5673
5674 2018-11-12 Florian Weimer <fweimer@redhat.com>
5675
5676 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5677 function. Move after the definition of in_smallbin_range. Do not
5678 use __builtin_expect for paths that lead to a noreturn function.
5679 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5680 because it is unclear whether this is in fact an unlikely
5681 condition.
5682 (_int_malloc, _int_free): Adjust.
5683 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5684 variables.
5685 * malloc/arena.c (heap_trim): Likewise.
5686
5687 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5688
5689 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5690 it, free it if needed.
5691 (reauthenticate): Test and use ccwdir.
5692 (child_init_port): In non-resetids case, test and use ccwdir.
5693 (child_chdir): New nested function to set ccwdir.
5694 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5695 * hurd/hurd/port.h (_hurd_port_move): New function.
5696 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5697 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5698 * hurd/Versions (_hurd_port_move): Export function.
5699 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5700 symbol.
5701 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5702 of dtablesize for allocating dtable_cloexec.
5703
5704 2018-11-09 Martin Sebor <msebor@redhat.com>
5705
5706 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5707 it's already defined.
5708 (_strong_alias): Use __attribute_copy__.
5709 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5710 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5711 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5712 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5713 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5714 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5715 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5716 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5717 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5718 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5719 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5720 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5721 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5722 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5723 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5724 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5725 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5726 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5727 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5728
5729 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5730
5731 * misc/tst-efgcvt.c: Include support/check.h and
5732 support/test-driver.c. Do not include test-skeleton.c.
5733 (error_count): Remove.
5734 (output_error): Replace increments to error_count with calls to
5735 support_record_failure.
5736 (output_r_error): Likewise.
5737 (special): Likewise.
5738 (do_test): Unconditionally return zero.
5739 (TEST_FUNCTION): Remove.
5740
5741 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5742
5743 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5744 not $(@D)/scratch.
5745 ($(linknamespace-header-tests)): Likewise.
5746
5747 * conform/conformtest.py: New file.
5748 * conform/conformtest.pl: Remove.
5749 * conform/GlibcConform.pm: Likewise.
5750 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5751 (KEYWORDS_C99): Likewise.
5752 (KEYWORDS): Likewise.
5753 * conform/Makefile ($(conformtest-header-tests)): Use
5754 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5755 option. Use --header instead of --headers.
5756 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5757 function entries.
5758 * conform/data/spawn.h-data: Likewise.
5759 * conform/data/fcntl.h-data (openat): Add space after function
5760 name.
5761 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5762 (wcscasecmp_l): Likewise.
5763 * conform/data/termios.h-data (c_cc): Add space after element
5764 name.
5765
5766 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5767
5768 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5769 instead of manually comparing and reporting mismatching strings.
5770 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5771 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5772
5773 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5774
5775 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5776 __ASSUME_SOCKETCALL.
5777 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5778 (__ASSUME_SOCKETCALL): Remove.
5779 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5780 (__ASSUME_SOCKETCALL): Likewise.
5781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5782 (__ASSUME_SOCKETCALL): Likewise.
5783 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5784 (__ASSUME_SOCKETCALL): Likewise.
5785 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5786 (__ASSUME_SOCKETCALL): Likewise.
5787 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5788 (__ASSUME_SOCKETCALL): Likewise.
5789 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5790 (__ASSUME_SOCKETCALL): Likewise.
5791
5792 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5793
5794 [BZ #23509]
5795 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5796 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5797 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5798 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5799 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5800 lc_unknown.
5801
5802 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5803
5804 [BZ #17630]
5805 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5806
5807 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5808
5809 [BZ #23867]
5810 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5811 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5812 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5813 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5814
5815 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5816
5817 * support/support_test_compare_string.c
5818 (support_test_compare_string): Fix printf format.
5819
5820 2018-11-07 Florian Weimer <fweimer@redhat.com>
5821
5822 Implement TEST_COMPARE_STRING.
5823 * support/check.h (TEST_COMPARE_STRING): Define.
5824 (support_test_compare_string): Declare.
5825 * support/Makefile (libsupport-routines): Add
5826 support_test_compare_string.
5827 (tests): Add tst-test_compare_string.
5828 * support/support_test_compare_string.c: New file.
5829 * support/tst-test_compare_string.c: Likewise.
5830
5831 2018-11-07 Andreas Schwab <schwab@suse.de>
5832
5833 [BZ #23864]
5834 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5835 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5836 Undef.
5837
5838 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5839
5840 [BZ #23862]
5841 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5842 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5843 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5844 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5845 Likewise.
5846
5847 2018-11-06 Florian Weimer <fweimer@redhat.com>
5848
5849 [BZ #17405]
5850 * posix/Makefile (routines): Add spawn_faction_addchdir.
5851 (tests): Add tst-spawn-chdir.
5852 * posix/Versions (GLIBC_2.29): Add
5853 posix_spawn_file_actions_addchdir_np.
5854 * posix/spawn_faction_addchdir.c: New file.
5855 * posix/spawn_faction_destroy.c
5856 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5857 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5858 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5859 chdir_action.
5860 * posix/tst-spawn-chdir.c: New file.
5861 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5862 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5863 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5864 posix_spawn_file_actions_addchdir_np.
5865 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5866 Likewise.
5867 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5868 Likewise.
5869 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5870 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5871 Likewise.
5872 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5873 Likewise.
5874 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5875 Likewise.
5876 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5877 Likewise.
5878 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5879 Likewise.
5880 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5881 Likewise.
5882 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5883 (GLIBC_2.29): Likewise.
5884 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5885 (GLIBC_2.29): Likewise.
5886 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5887 (GLIBC_2.29): Likewise.
5888 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5889 (GLIBC_2.29): Likewise.
5890 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5891 Likewise.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5893 (GLIBC_2.29): Likewise.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5895 (GLIBC_2.29): Likewise.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5897 (GLIBC_2.29): Likewise.
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5899 (GLIBC_2.29): Likewise.
5900 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5901 Likewise.
5902 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5903 Likewise.
5904 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5905 Likewise.
5906 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5907 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5908 Likewise.
5909 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5910 Likewise.
5911 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5912 Likewise.
5913 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5914 Likewise.
5915
5916 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5917
5918 * misc/Makefile (tests): Add tst-ldbl-error.
5919 * misc/tst-ldbl-error.c: New file.
5920
5921 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5922
5923 * misc/Makefile (tests): Add tst-ldbl-warn.
5924 * misc/tst-ldbl-warn.c: New file.
5925
5926 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5927
5928 * argp/Makefile (tests): Add tst-ldbl-argp.
5929 * argp/tst-ldbl-argp.c: New file.
5930
5931 2018-11-05 Arjun Shankar <arjun@redhat.com>
5932
5933 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5934 __gconv_path_elem and call __gconv_get_path unconditionally.
5935
5936 2018-11-05 Andreas Schwab <schwab@suse.de>
5937
5938 [BZ #22927]
5939 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5940 creating the first helper thread failed.
5941
5942 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5943
5944 * sysdeps/mach/hurd/msync.c: New file.
5945
5946 2018-11-02 Florian Weimer <fweimer@redhat.com>
5947
5948 * support/shell-container.c (copy_func): Call
5949 support_copy_file_range instead of copy_file_range to support
5950 cross-device copies.
5951
5952 2018-11-02 Florian Weimer <fweimer@redhat.com>
5953
5954 * support/test-container.c: Include <libc-pointer-arith.h> for
5955 ALIGN_UP.
5956
5957 2018-11-01 Zong Li <zong@andestech.com>
5958
5959 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5960 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5961 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5962 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5963
5964 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5965 variable to avoid overlap arguments.
5966
5967 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5968
5969 * posix/bug-regex22.c (main): Use puts with distinct error
5970 messages for unexpected success of re_compile_pattern, not printf
5971 with NULL argument to %s.
5972
5973 * stdio-common/bug22.c: Include <libc-diag.h>.
5974 (do_test): Disable -Wformat-overflow= warnings around fprintf
5975 calls outputting more than INT_MAX characters.
5976 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5977 around printf call with NULL %s argument.
5978
5979 [BZ #23848]
5980 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5981 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5982 Undefine.
5983 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5984 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5985 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5986 (__ASSUME_SENDTO_SYSCALL): Likewise.
5987 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5988 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5989 [!__arch64__].
5990 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5991 (__ASSUME_CONNECT_SYSCALL): Likewise.
5992 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5993 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5994 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5995 Define.
5996 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5997 Likewise.
5998 [__LINUX_KERNEL_VERSION >= 0x040400]
5999 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6000 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6001 Remove.
6002 (listen): Likewise.
6003 (setsockopt): Likewise.
6004
6005 2018-11-01 Fredrik Noring <noring@nocrew.org>
6006
6007 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6008 with the ISA override.
6009
6010 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6011
6012 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6013 #endif.
6014
6015 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6016
6017 * manual/errno.texi (EIEIO): Document how translators should
6018 translate the error message.
6019 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6020 printing trailing whitespaces refused by git.
6021 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6022 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6023 * hurd/Makefile (user-interfaces): Add pci.
6024
6025 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6026
6027 * conform/linknamespace.py: New file.
6028 * conform/linknamespace.pl: Remove file.
6029 * conform/Makefile ($(linknamespace-header-tests)): Use
6030 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6031 option.
6032
6033 2018-10-30 Florian Weimer <fweimer@redhat.com>
6034
6035 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6036 memory leaks.
6037
6038 2018-10-30 Florian Weimer <fweimer@redhat.com>
6039
6040 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6041
6042 2018-10-30 Florian Weimer <fweimer@redhat.com>
6043
6044 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6045 support_blob_repeat.
6046
6047 2018-10-30 Florian Weimer <fweimer@redhat.com>
6048
6049 Avoid spurious test failures in stdlib/test-bz22786.
6050 * support/Makefile (libsupport-routines): Add blob_repeat.
6051 (tests): Add tst-support_blob_repeat.
6052 * support/blob_repeat.h: New file.
6053 * support/blob_repeat.c: Likewise.
6054 * support/tst-support_blob_repeat.c: Likewise.
6055 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6056 support_blob_repeat_allocate.
6057
6058 2018-10-30 Andreas Schwab <schwab@suse.de>
6059
6060 [BZ #23125]
6061 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6062 Don't use tail call.
6063 * elf/tst-unwind-main.c: New file.
6064 * elf/Makefile (tests): Add tst-unwind-main.
6065 (CFLAGS-tst-unwind-main.c): Define.
6066
6067 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6068
6069 [BZ #23791]
6070 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6071 n_cs_precedes to 0.
6072 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6073
6074 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6075
6076 * conform/glibcconform.py: Do not import shutil.
6077 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6078 of mkdtemp.
6079
6080 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6081 critic_missing for versions before 3.4.
6082 * configure: Regenerated.
6083 * manual/install.texi (Tools for Compilation): Document
6084 requirement for Python to build glibc.
6085 * INSTALL: Regenerated.
6086 * Rules [PYTHON]: Make code unconditional.
6087 * benchtests/Makefile [PYTHON]: Likewise.
6088 * conform/Makefile [PYTHON]: Likewise.
6089 * manual/Makefile [PYTHON]: Likewise.
6090 * math/Makefile [PYTHON]: Likewise.
6091
6092 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6093
6094 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6095 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6096 answer to interrupt_operation, return EIEIO instead of EINTR.
6097 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6098 _hurd_intr_rpc_msg_about_to global point to start of controlled
6099 assembly snippet. Make it check canceled flag.
6100 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6101 the _hurd_intr_rpc_msg_about_to point.
6102 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6103 issue, remove cancel flag check.
6104
6105 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6106
6107 * scripts/build-many-glibcs.py: Remove compatibility for missing
6108 os.cpu_count and re.fullmatch.
6109
6110 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6111
6112 [BZ #23822]
6113 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6114 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6115 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6116
6117 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6118
6119 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6120 macro.
6121
6122 2018-10-25 Florian Weimer <fweimer@redhat.com>
6123
6124 [BZ #23562]
6125 [BZ #23821]
6126 XFAIL siginfo_t si_band conform test on sparc64.
6127 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6128 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6129 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6130 (conformtest-xfail-conds): Add sparc64-linux.
6131 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6132 sparc64.
6133 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6134
6135 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6136
6137 * elf/elf.h (NT_MIPS_DSP): New macro.
6138 (NT_MIPS_FP_MODE): Likewise.
6139
6140 2018-10-25 Zong Li <zong@andestech.com>
6141
6142 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6143 name by adding the file extension (.so).
6144
6145 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6146
6147 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6148 (test-xfail-ISO11/threads.h/linknamespace,
6149 test-xfail-ISO11/threads.h/conform): Add.
6150
6151 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6152
6153 * math/gen-libm-test.py: Import os.
6154 (ALL_FLOATS_MANUAL): New constant.
6155 (ALL_FLOATS_SUFFIX): Likewise.
6156 (Ulps.all_functions): New function.
6157 (real_all_ulps): Likewise.
6158 (generate_err_table_sub): Likewise.
6159 (generate_err_table): Likewise.
6160 (main): Handle -s and -m options.
6161 * manual/libm-err-tab.pl: Remove.
6162 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6163 instead of libm-err-tab.pl.
6164 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6165 != no].
6166 * manual/install.texi (Tools for Compilation): Document
6167 requirement for Python to build manual.
6168 * INSTALL: Regenerated.
6169
6170 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6171
6172 * bits/time64.h: New file.
6173 * include/time.h: Replace internal_time_t with __time64_t.
6174 * posix/bits/types (__time64_t): Add.
6175 * stdlib/Makefile: Add bits/time64.h to includes.
6176 * time/tzfile.c: Replace internal_time_t with __time64_t.
6177
6178 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6179
6180 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6181 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6182 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6183 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6184 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6185 prototype.
6186 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6187 * posix/spawn_faction_addclose.c
6188 (__posix_spawn_file_actions_addclose): Add hidden definition.
6189 * posix/spawn_faction_adddup2.c
6190 (__posix_spawn_file_actions_adddup2): Likewise.
6191 * posix/spawn_faction_destroy.c
6192 (__posix_spawn_file_actions_destroy): Likewise.
6193 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6194 Likewise.
6195 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6196 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6197 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6198 Likewise.
6199 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6200 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6201 Likewise.
6202
6203 2018-10-24 Andreas Schwab <schwab@suse.de>
6204
6205 [BZ #18093]
6206 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6207 format cache.
6208 * elf/cache.c (print_cache): Likewise.
6209
6210 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6211
6212 * bits/timesize.h: New file.
6213 * stdlib/Makefile (headers): Add bits/timesize.h.
6214 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6215 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6216 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6217 (__SEM_PAD_AFTER_TIME): Likewise.
6218 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6219 (__SHM_PAD_AFTER_TIME): Likewise.
6220 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6221 (__MSQ_PAD_BEFORE_TIME): Likewise.
6222 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6223 (__SEM_PAD_BEFORE_TIME): Likewise.
6224 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6225 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6226 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6227 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6228 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6229 (__MSQ_PAD_BEFORE_TIME): Likewise.
6230 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6231 (__SEM_PAD_BEFORE_TIME): Likewise.
6232 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6233 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6234 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6235 (__MSQ_PAD_BEFORE_TIME): Likewise.
6236 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6237 (__SEM_PAD_BEFORE_TIME): Likewise.
6238 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6239 (__SHM_PAD_BEFORE_TIME): Likewise.
6240 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6241 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6242 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6243
6244 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6245
6246 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6247 USE_RDTSCP is defined.
6248 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6249 USE_RDTSCP is defined.
6250
6251 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6252
6253 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6254 defined.
6255
6256 [BZ #23709]
6257 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6258 independently of other flags.
6259
6260 2018-10-23 Florian Weimer <fweimer@redhat.com>
6261
6262 * time/tst-mktime2.c (N_STRINGS): Remove.
6263 (set_timezone): New function.
6264 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6265 (mktime_test1): Report localtime failure and check errno value.
6266 Use TEST_COMPARE.
6267 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6268 (do_test): Remove alarm call. Use set_timezone and array_length.
6269
6270 2018-10-23 Andreas Schwab <schwab@suse.de>
6271
6272 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6273 (__start_context): Use END instead of PSEUDO_END.
6274
6275 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6276
6277 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6278 version to 4.19.
6279
6280 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6281 version to 4.19.
6282
6283 [BZ #23793]
6284 * wcsmbs/c32rtomb.c: New file.
6285 * wcsmbs/mbrtoc32.c: Likewise.
6286 * wcsmbs/tst-c32-state.c: Likewise.
6287 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6288 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6289 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6290 (tests): Add tst-c32-state.
6291 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6292 $(gen-locales).
6293
6294 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6295
6296 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6297 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6298
6299 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6300
6301 [BZ #23794]
6302 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6303 pair and return 0 in that case, and use saved character to
6304 interpret following character.
6305 * wcsmbs/tst-c16-surrogate.c: New file.
6306 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6307 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6308 Depend on $(gen-locales)
6309
6310 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6311
6312 [BZ #23562]
6313 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6314 (struct siginfo_t): Use correct type for si_band.
6315
6316 2018-10-19 Florian Weimer <fweimer@redhat.com>
6317
6318 [BZ #23689]
6319 * resource/bits/types/struct_rusage.h (struct rusage): Update
6320 comment on struct. Remove extraneous field comment.
6321
6322 2018-10-18 David S. Miller <davem@davemloft.net>
6323
6324 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6325 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6326 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6327 sysdep_routines in subdir elf.
6328 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6329 version for __vdso_clock_gettime.
6330 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6331 Define.
6332 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6333 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6334
6335 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6336
6337 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6338
6339 * sysdeps/i386/init-arch.h: Removed.
6340 * sysdeps/i386/i586/init-arch.h: Likewise.
6341 * sysdeps/i386/i686/init-arch.h: Likewise.
6342 * sysdeps/i386/i686/hp-timing.h: Likewise.
6343 * sysdeps/x86_64/hp-timing.h: Likewise.
6344 * sysdeps/i386/isa.h: New file.
6345 * sysdeps/i386/i586/isa.h: Likewise.
6346 * sysdeps/i386/i686/isa.h: Likewise.
6347 * sysdeps/x86_64/isa.h: Likewise.
6348 * sysdeps/x86/hp-timing.h: New file.
6349 * sysdeps/x86/init-arch.h: Include <isa.h>.
6350
6351 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6352
6353 * math/libm-test-pow.inc (pow_test_data): Do not allow
6354 divide-by-zero exception for pow(+/- 0, -Inf).
6355
6356 2018-10-17 Zack Weinberg <zackw@panix.com>
6357
6358 * manual/job.texi (Job Control is Optional): Remove node, as
6359 job control has not been optional in quite some time.
6360 (Job Control): Mention briefly that systems older than
6361 POSIX.1-2001 might not support job control.
6362 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6363 defined on systems conforming to POSIX.1-2001.
6364
6365 2018-10-17 Arjun Shankar <arjun@redhat.com>
6366
6367 [BZ #22062]
6368 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6369 indentation.
6370 * (__gconv_read_conf): Mark function static.
6371 * (once): New static variable.
6372 * (__gconv_load_conf): New function.
6373 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6374 * iconv/gconv_db.c (once): Remove static variable.
6375 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6376 __gconv_read_conf.
6377 * (__gconv_find_transform): Likewise.
6378 * iconv/tst-iconv-mt.c: New test.
6379 * iconv/Makefile: Add tst-iconv_mt.
6380
6381 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6382
6383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6384 bits/shm-pad.h.
6385 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6386 (shmatt_t): Define as __syscall_ulong_t.
6387 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6388 and [__SHM_PAD_AFTER_TIME].
6389 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6390 Define shm_segsz and associated padding based on
6391 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6392 Use __syscall_ulong_t instead of unsigned long int.
6393 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6394 unsigned long int.
6395 [__USE_MISC] (struct shm_info): Likewise.
6396 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6397 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6398 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6399 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6400 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6401 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6402 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6403 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6404 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6405 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6406 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6407
6408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6409 bits/shmlba.h.
6410 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6411 (SHMLBA): Remove macro.
6412 (__getpagesize): Remove function declaration.
6413 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6414 <bits/shmlba.h>.
6415 (SHMLBA): Remove macro.
6416 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6417 <bits/shmlba.h>.
6418 (SHMLBA): Remove macro.
6419 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6420 <bits/shmlba.h>.
6421 (SHMLBA): Remove macro.
6422 (__getpagesize): Remove function declaration.
6423 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6424 <bits/shmlba.h>.
6425 (SHMLBA): Remove macro.
6426 (__getshmlba): Remove function declaration.
6427 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6428 (SHMLBA): Remove macro.
6429 (__getpagesize): Remove function declaration.
6430 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6431 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6432 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6433 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6434 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6435 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6436 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6437 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6438 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6440
6441 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6442
6443 [BZ #23275]
6444 * nptl/tst-mutex10.c: New File.
6445 * nptl/Makefile (tests): Add tst-mutex10.
6446 (tst-mutex10-ENV): New variable.
6447 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6448 Ensure that elision path is used if elision is available.
6449 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6450 Likewise.
6451 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6452 Likewise.
6453 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6454 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6455 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6456 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6457 Likewise.
6458 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6459 (__pthread_mutex_cond_lock_adjust): Likewise.
6460 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6461 Likewise.
6462 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6463 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6464 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6465 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6466 Add comments.
6467 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6468 Use atomic_load_relaxed and atomic_store_relaxed.
6469 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6470 Use atomic_store_relaxed.
6471
6472 2018-10-17 Andreas Schwab <schwab@suse.de>
6473
6474 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6475 * crypt/badsalttest.c (TIMEOUT): Likewise.
6476 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6477 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6478 * io/test-lfs.c (TIMEOUT): Likewise.
6479 * libio/tst-atime.c (TIMEOUT): Likewise.
6480 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6481 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6482 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6483 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6484 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6485 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6486 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6487 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6488 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6489 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6490 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6491 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6492 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6493 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6494 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6495 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6496 * nptl/tst-once2.c (TIMEOUT): Likewise.
6497 * nptl/tst-once3.c (TIMEOUT): Likewise.
6498 * nptl/tst-once4.c (TIMEOUT): Likewise.
6499 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6500 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6501 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6502 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6503 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6504 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6505 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6506 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6507 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6508 * posix/tst-chmod.c (TIMEOUT): Likewise.
6509 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6510 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6511 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6512 * posix/tst-regex2.c (TIMEOUT): Likewise.
6513 * posix/tst-waitid.c (TIMEOUT): Likewise.
6514 * rt/tst-aio.c (TIMEOUT): Likewise.
6515 * rt/tst-aio10.c (TIMEOUT): Likewise.
6516 * rt/tst-aio4.c (TIMEOUT): Likewise.
6517 * rt/tst-aio5.c (TIMEOUT): Likewise.
6518 * rt/tst-aio6.c (TIMEOUT): Likewise.
6519 * rt/tst-aio64.c (TIMEOUT): Likewise.
6520 * rt/tst-aio7.c (TIMEOUT): Likewise.
6521 * rt/tst-aio9.c (TIMEOUT): Likewise.
6522 * rt/tst-clock.c (TIMEOUT): Likewise.
6523 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6524 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6525 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6526 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6527 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6528 * rt/tst-timer4.c (TIMEOUT): Likewise.
6529 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6530 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6531 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6532 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6533 * time/tst-ftime.c (TIMEOUT): Likewise.
6534 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6535
6536 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6537
6538 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6539 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6540 for thunderX2.
6541
6542 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6543
6544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6545 bits/sem-pad.h.
6546 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6547 instead of <bits/wordsize.h>.
6548 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6549 and [__SEM_PAD_AFTER_TIME].
6550 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6551 __syscall_ulong_t instead of unsigned long int.
6552 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6553 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6554 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6555 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6556 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6557 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6558 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6559 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6560 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6561 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6562 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6563
6564 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6565
6566 regex: simplify by using intprops.h
6567 [BZ#23744]
6568 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6569 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6570 intprops.h defines them.
6571
6572 regex: __builtin_expect → __glibc_unlikely
6573 [BZ#23744]
6574 This refactoring was prompted by a problem when the regex code is
6575 used as part of Gnulib and when the builder’s compiler does not grok
6576 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6577 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6578 Although this refactoring does not fix the problem directly,
6579 we might as well have Gawk use the now-preferred glibc style for when
6580 __builtin_expect is unavailable.
6581 * posix/regex_internal.h (BE): Remove.
6582 All uses replaced by __glibc_unlikely or __glibc_likely.
6583
6584 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6585
6586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6587 bits/msq-pad.h.
6588 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6589 instead of <bits/wordsize.h>.
6590 (msgqnum_t): Define as __syscall_ulong_t.
6591 (msglen_t): Likewise.
6592 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6593 and [__MSQ_PAD_AFTER_TIME].
6594 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6595 __syscall_ulong_t instead of unsigned long int.
6596 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6597 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6598 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6599 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6600 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6601 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6602 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6603 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6604 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6605 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6606 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6607
6608 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6609
6610 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6611 (struct shmid_ds): Condition padding after time fields on
6612 [__WORDSIZE == 32].
6613 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6614 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6615 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6616
6617 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6618 (struct semid_ds): Condition padding after time fields on
6619 [__WORDSIZE == 32].
6620 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6621 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6622 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6623 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6624
6625 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6626 (struct msqid_ds): Condition padding after time fields on
6627 [__WORDSIZE == 32].
6628 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6629 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6630 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6631 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6632
6633 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6634
6635 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6636
6637 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6638
6639 * libio/tst-readline.c (TIMEOUT): Define.
6640
6641 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6642
6643 mktime fix for Gnulib + coreutils
6644 [BZ#23745]
6645 This fix affects only Gnulib. Problem discovered when
6646 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6647 * time/mktime.c:
6648 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6649 Do not define since it is not used. Defining an unused static
6650 function prompts a warning from GCC when Coreutils is configured
6651 with --enable-gcc-warnings.
6652
6653 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6654
6655 * benchtests/scripts/compare_bench.py (main): set float type on
6656 threshold argument.
6657
6658 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6659
6660 [BZ #23740]
6661 * localedata/locales/kl_GL (mon): Update, the relative case.
6662 (alt_mon): Add, fill with month names in the nominative case.
6663 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6664 (d_fmt): Set to "%b %d %Y".
6665
6666 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6667
6668 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6669 <bits/mman-linux.h>.
6670 (PROT_READ): Don't define here.
6671 (PROT_WRITE): Likewise.
6672 (PROT_EXEC): Likewise.
6673 (PROT_NONE): Likewise.
6674 (PROT_GROWSDOWN): Likewise.
6675 (PROT_GROWSUP): Likewise.
6676 (MAP_SHARED): Likewise.
6677 (MAP_PRIVATE): Likewise.
6678 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6679 [__USE_MISC] (MAP_FILE): Likewise.
6680 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6681 [__USE_MISC] (MAP_ANON): Likewise.
6682 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6683 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6684 (MCL_CURRENT): Likewise.
6685 (MCL_FUTURE): Likewise.
6686 (MCL_ONFAULT): Likewise.
6687 [__USE_MISC] (MADV_NORMAL): Likewise.
6688 [__USE_MISC] (MADV_RANDOM): Likewise.
6689 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6690 [__USE_MISC] (MADV_WILLNEED): Likewise.
6691 [__USE_MISC] (MADV_DONTNEED): Likewise.
6692 [__USE_MISC] (MADV_FREE): Likewise.
6693 [__USE_MISC] (MADV_REMOVE): Likewise.
6694 [__USE_MISC] (MADV_DONTFORK): Likewise.
6695 [__USE_MISC] (MADV_DOFORK): Likewise.
6696 [__USE_MISC] (MADV_HWPOISON): Likewise.
6697 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6698 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6699 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6700 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6701 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6702 (__MAP_ANONYMOUS): New macro.
6703 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6704 <bits/mman-linux.h> inclusion.
6705 (MAP_FIXED): Likewise.
6706 (MS_SYNC): Likewise.
6707 (MS_ASYNC): Likewise.
6708 (MS_INVALIDATE): Likewise.
6709 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6710 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6711 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6712 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6713 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6714 [__USE_MISC] (MADV_DODUMP): Likewise.
6715 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6716 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6717
6718 [BZ #23735]
6719 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6720 Define.
6721 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6722 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6723 Add test-nldbl-redirect.
6724 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6725 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6726 $(objpfx)libnldbl_nonshared.a.
6727
6728 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6729
6730 * support/support.h (support_objdir_elf_ldso): New variable.
6731 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6732 * support/Makefile (CFLAGS-support_paths.c): Add definition
6733 for OBJDIR_ELF_LDSO_PATH.
6734 * support/test-container.c (main): Search for the ld.so
6735 which is also used by the testsuite.
6736
6737 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6738
6739 [BZ #20209]
6740 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6741 should be "sap" rather than "sab".
6742 (day): Fix spelling of Sunday, should be "sapaat" rather than
6743 "sabaat".
6744
6745 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6746
6747 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6748
6749 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6750
6751 [BZ #19444]
6752 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6753 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6754 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6755
6756 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6757
6758 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6759
6760 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6761
6762 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6763 Add -mrtm.
6764 (CFLAGS-elision-unlock.c): Likewise.
6765 (CFLAGS-elision-timed.c): Likewise.
6766 (CFLAGS-elision-trylock.c): Likewise.
6767 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6768
6769 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6770
6771 [BZ #21037]
6772 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6773 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6774 new fd_to_filename interface.
6775 * libio/freopen64.c (freopen64): Likewise.
6776 * libio/tst-memstream.h: New file.
6777 * libio/tst-memstream4.c: Likewise.
6778 * libio/tst-wmemstream4.c: Likewise.
6779 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6780 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6781 and remove internal dynamic allocation.
6782
6783 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6784
6785 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6786 (MREMAP_MAYMOVE): Do not define here.
6787 [__USE_GNU] (MREMAP_FIXED): Likewise.
6788 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6789 (MREMAP_MAYMOVE): Define here instead.
6790 [__USE_GNU] (MREMAP_FIXED): Likewise.
6791 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6792 (MREMAP_MAYMOVE): Remove.
6793 [__USE_GNU] (MREMAP_FIXED): Likewise.
6794
6795 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6796
6797 * math/fromfp.h: Do not include <math_private.h>.
6798 * math/s_cacosh_template.c: Likewise.
6799 * math/s_casin_template.c: Likewise.
6800 * math/s_casinh_template.c: Likewise.
6801 * math/s_ccos_template.c: Likewise.
6802 * math/s_cproj_template.c: Likewise.
6803 * math/s_fdim_template.c: Likewise.
6804 * math/s_fmaxmag_template.c: Likewise.
6805 * math/s_fminmag_template.c: Likewise.
6806 * math/s_iseqsig_template.c: Likewise.
6807 * math/s_ldexp_template.c: Likewise.
6808 * math/s_nextdown_template.c: Likewise.
6809 * math/w_log1p_template.c: Likewise.
6810 * math/w_scalbln_template.c: Likewise.
6811 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6812 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6813 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6814 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6815 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6816 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6817 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6818 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6819 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6820 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6821 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6822 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6823 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6824 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6825 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6826 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6827 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6829 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6830 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6831 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6832 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6833 * sysdeps/ieee754/k_standardf.c: Likewise.
6834 * sysdeps/ieee754/k_standardl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6837 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6843 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6844 * sysdeps/ieee754/s_signgam.c: Likewise.
6845 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6846 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6847 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6848 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6849 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6850 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6851 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6852 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6853 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6854 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6855 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6856 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6857 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6858 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6859 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6860 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6861 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6862 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6863 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6864 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6865 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6866 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6867 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6868 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6869 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6870 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6871 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6872 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6873 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6874 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6875 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6876 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6877 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6878 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6879 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6880 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6881 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6882 <math_private.h>.
6883 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6884
6885 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6886
6887 [BZ #23716]
6888 * sysdeps/i386/dl-cet.c: Removed.
6889 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6890 prototype.
6891 (_dl_runtime_profile_shstk): Likewise.
6892 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6893 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6894
6895 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6896
6897 [BZ #23579]
6898 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6899 do_test_with_invalid_iov): New tests.
6900 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6901 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6902 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6903 errno is ENOSYS.
6904 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6905 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6906 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6907
6908 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6909
6910 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6911 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6912 (MATH_REDIRECT_BINARY_ARGS): New macro.
6913 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6914 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6915 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6916 header inclusion.
6917 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6919 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6920 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6925 Likewise.
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6927 Likewise.
6928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6930 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6931 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6933 Likewise.
6934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6935 Likewise.
6936 * sysdeps/generic/math_private_calls.h
6937 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6938 Do not declare and define as an inline function.
6939 * math/divtc3.c (__divtc3): Use copysign functions instead of
6940 __copysign variants.
6941 * math/multc3.c (__multc3): Likewise.
6942 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6943 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6944 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6945 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6946 Likewise.
6947 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6948 (__ieee754_yn): Likewise.
6949 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6950 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6951 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6952 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6953 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6954 (__sin): Likewise.
6955 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6957 Likewise.
6958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6959 Likewise.
6960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6961 Likewise.
6962 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6963 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6964 Likewise.
6965 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6966 (__ieee754_ynf): Likewise.
6967 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6968 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6969 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6970 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6971 Likewise.
6972 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6973 (__ieee754_ynl): Likewise.
6974 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6975 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6976 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6977 Likewise.
6978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6979 (__ieee754_ynl): Likewise.
6980 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6981 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6982 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6984 Likewise.
6985 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6986 (__ieee754_ynl)
6987 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6988 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6989 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6990 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6991 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6992
6993 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6994 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6995 using MATH_REDIRECT.
6996 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6997 header inclusion.
6998 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7001 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7002 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7009 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7010 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7012 (round): Redirect to __round.
7013 (__roundl): Call round instead of __round.
7014 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7015 Remove macro.
7016 [_ARCH_PWR5X] (__roundf): Likewise.
7017 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7018 functions instead of __round variants.
7019 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7020 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7021 Likewise.
7022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7023 Likewise.
7024 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7025 Likewise.
7026 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7027 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7028 __lroundl.
7029 (__ieee754_expl): Call roundl instead of __roundl.
7030
7031 2018-09-27 Andreas Schwab <schwab@suse.de>
7032
7033 [BZ #23717]
7034 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7035 (do_test): Make st1 static.
7036
7037 2018-09-26 Andreas Schwab <schwab@suse.de>
7038
7039 [BZ #23707]
7040 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7041 * elf/Makefile (tests): Add tst-unwind-ctor.
7042 (modules-names): Add tst-unwind-ctor-lib.
7043 ($(objpfx)tst-unwind-ctor): Depend on
7044 $(objpfx)tst-unwind-ctor-lib.so.
7045
7046 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7047
7048 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7049 file. Most contents moved from ....
7050 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7051 and include <bits/mman-map-flags-generic.h>.
7052 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7053 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7054 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7055 <bits/mman-map-flags-generic.h>.
7056 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7057 macros defined in <bits/mman-map-flags-generic.h>.
7058 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7059 <bits/mman-map-flags-generic.h>.
7060 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7061 defined in <bits/mman-map-flags-generic.h>.
7062
7063 2018-09-26 Andreas Schwab <schwab@suse.de>
7064
7065 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7066 output.
7067
7068 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7069 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7070 Fangrui Song <maskray@google.com>
7071
7072 [BZ #20480]
7073 * config.make.in (have-textrel_ifunc): New define.
7074 * configure.ac: Add check if linker supports textrel relocation with
7075 ifunc.
7076 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7077 tst-ifunc-textrel.
7078 (CFLAGS-tst-ifunc-textrel.c): New rule.
7079 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7080 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7081 * elf/tst-ifunc-textrel.c: New file.
7082
7083 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7084
7085 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7086 <bits/procfs-prregset.h>.
7087 (prgregset_t): Define using __prgregset_t.
7088 (prfpregset_t): Define using __prfpregset_t.
7089 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7090 (sysdep_headers): Add bits/procfs-prregset.h.
7091 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7092 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7093 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7094 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7095
7096 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7097 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7098 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7099 pr_uid and pr_gid.
7100 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7101 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7102 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7103 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7104 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7105 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7106 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7107 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7108 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7109 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7110 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7111 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7112 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7113 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7114 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7115 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7116 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7117 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7118 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7119 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7120 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7121 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7122 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7123 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7124
7125 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7126 AArch64 version. Include <bits/procfs.h>.
7127 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7128 (sysdep_headers): Add bits/procfs.h.
7129 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7130 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7131 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7132 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7133 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7134 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7135 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7136 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7137 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7138 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7139 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7140 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7141 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7142 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7143 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7144 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7145 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7146
7147 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7148
7149 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7150 Use libsupport.
7151
7152 2018-09-25 Arjun Shankar <arjun@redhat.com>
7153
7154 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7155 (__gconv_max_path_elem_len): Likewise.
7156 (__gconv_nmodules): Likewise.
7157 (__gconv_get_path): Likewise.
7158 (path_elem): Move to ...
7159 * iconv/gconv_conf.c: ... here.
7160 (__gconv_get_path): Mark function static.
7161 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7162 * iconv/gconv_open.c: ... here.
7163
7164 2018-09-24 Andreas Schwab <schwab@suse.de>
7165
7166 * scripts/haveversions.awk: New file.
7167 * Makerules ($(common-objpfx)Versions.def)
7168 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7169 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7170 Move rules ...
7171 * Makeconfig ($(common-objpfx)Versions.def)
7172 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7173 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7174 ... here.
7175 ($(common-objpfx)Versions.mk): New rule. Include it.
7176 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7177 Emit error if build-obsolete-nsl = yes.
7178 * manual/install.texi (Configuring and compiling): Describe
7179 --enable-obsolete-nsl as unavaiable after version 2.28.
7180 * INSTALL: Regenerate.
7181
7182 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7183
7184 * NEWS: Add note about new TLE support on powerpc64le.
7185 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7186 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7187 __ununsed1.
7188 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7189 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7190 * sysdeps/powerpc/powerpc32/sysdep.h,
7191 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7192 ABORT_TRANSACTION): Remove macros.
7193 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7194 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7195 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7197 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7198 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7199 usage.
7200 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7201
7202 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7203
7204 [BZ #10425]
7205 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7206 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7207 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7208 which is the same as in it_IT.
7209 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7210 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7211
7212 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7213
7214 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7215 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7216 using MATH_REDIRECT.
7217 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7218 header inclusion.
7219 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7221 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7223 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7224 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7229 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7230 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7231 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7232 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7233 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7234 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7235 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7237 (ceil): Redirect to __ceil.
7238 (floor): Redirect to __floor.
7239 (trunc): Redirect to __trunc.
7240 (__truncl): Call trunc instead of __trunc.
7241 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7242 Remove macro.
7243 [_ARCH_PWR5X] (__truncf): Likewise.
7244 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7245 trunc functions instead of __trunc variants.
7246 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7247 Likewise.
7248 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7249 Likewise.
7250 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7251 Likewise.
7252 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7253 Likewise.
7254
7255 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7256 [__i586__ || __pentium__].
7257 [__i486__]: Handle explicitly.
7258 (HAS_CPUID): Define to 1 if above macros are undefined.
7259 (HAS_I586): Likewise.
7260 (HAS_I686): Likewise.
7261
7262 2018-09-20 Florian Weimer <fweimer@redhat.com>
7263
7264 * misc/tst-gethostid.c: New file.
7265 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7266 (tst-gethostid): Link with -ldl.
7267
7268 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7269
7270 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7271 value from gethostbyname_r.
7272
7273 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7274
7275 * stdlib/tst-setcontext9.c (f1): Rename to...
7276 (f1a): ... this.
7277 (f1b): New function implementing lower half of f1 in alternate stack.
7278
7279 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7280
7281 Fix mktime localtime offset confusion
7282 [BZ #23603]
7283 * include/time.h (__mktime_internal): The localtime offset is now
7284 of type long int instead of time_t. This is the longstanding type
7285 in glibc, and it is more than enough to represent difference
7286 between localtime and gmtime even if it is 32 bits and time_t is
7287 64. Changing it now will let us avoid an unnecessary change when
7288 time_t is widened to 64 bits on 32-bit platforms.
7289 * time/mktime-internal.h (mktime_offset_t): Now long int.
7290
7291 Merge mktime, timegm from upstream Gnulib
7292 [BZ #23603][BZ #16346]
7293 This fixes some obscure problems with integer overflow.
7294 Although it looks scary, it is almost all a byte-for-byte copy
7295 from Gnulib, and the Gnulib code has been tested reasonably well.
7296 * include/intprops.h: New file, copied from Gnulib.
7297 * include/verify.h, time/mktime-internal.h:
7298 New tiny files, simplified from Gnulib.
7299 * time/mktime.c: Copy from Gnulib. This has the following changes:
7300 Do not include config.h if DEBUG_MKTIME is nonzero.
7301 Include stdbool.h, intprops.h, verify.h.
7302 Include string.h only if needed.
7303 Include stdlib.h on MS-Windows.
7304 Include mktime-internal.h.
7305 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7306 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7307 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7308 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7309 simplify later conditionals; default the others to zero. Use
7310 these conditionals to express only the code needed on the current
7311 platform. In uses of these conditionals, explicitly spell out how
7312 _LIBC affects things, so it’s easier to review from a glibc
7313 viewpoint.
7314 (WRAPV): Remove; no longer needed now that we have
7315 systematic overflow checking.
7316 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7317 compartmentalize tzset issues. Move system-dependent tzsettish
7318 code here from mktime.
7319 (verify): Remove; now done by verify.h. All uses changed.
7320 (long_int): Use a more-conservative definition, to avoid
7321 integer overflow.
7322 (SHR): Remove, replacing with ...
7323 (shr): New function, which means we needn’t worry about side
7324 effects in args, and conversion analysis is simpler.
7325 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7326 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7327 (time_t_avg, time_t_add_ok): Remove.
7328 (mktime_min, mktime_max): New constants.
7329 (leapyear, isdst_differ): Use bool for booleans.
7330 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7331 Use long_int, not time_t, for mktime differences.
7332 (long_int_avg): New function, replacing time_t_avg.
7333 INT_ADD_WRAPV replaces time_t_add_ok.
7334 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7335 All uses changed.
7336 (convert_time): New function.
7337 (ranged_convert): Use it.
7338 (__mktime_internal): Last arg now points to mktime_offset_t, not
7339 time_t. All uses changed. This is a no-op on glibc, where
7340 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7341 offset guess. Directly check for integer overflow instead of
7342 using a heuristic that works only 99.9...% of the time.
7343 Access *OFFSET only once, to avoid an unlikely race if the
7344 compiler delays a load and if this cascades into a signed integer
7345 overflow.
7346 (mktime): Move tzsettish code to my_tzset, and move
7347 localtime_offset to within mktime so that it doesn’t
7348 need a separate ifdef.
7349 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7350 instead of localtime.
7351 * time/timegm.c: Copy from Gnulib. This has the following changes:
7352 Include mktime-internal.h.
7353 [!_LIBC]: Include config.h and time.h. Do not include
7354 timegm.h or time_r.h. Make __mktime_internal a macro,
7355 and include mktime-internal.h to get its declaration.
7356 (timegm): Temporary is now mktime_offset_t, not time_t.
7357 This affects only Gnulib.
7358
7359 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7360
7361 [BZ #23637]
7362 * string/test-strstr.c (pr23637): New function.
7363 (test_main): Add tests with longer needles.
7364 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7365 * string/strstr.c (AVAILABLE): Likewise.
7366
7367 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7368
7369 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7370
7371 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7372
7373 * NEWS: Mention pow improvements.
7374 * math/Makefile (type-double-routines): Add e_pow_log_data.
7375 * sysdeps/generic/math_private.h (__exp1): Remove.
7376 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7377 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7378 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7379 contraction.
7380 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7381 (exp_inline): Remove.
7382 (__ieee754_exp): Only single double input is handled.
7383 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7384 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7385 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7386 (__pow_log_data): Define.
7387 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7388 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7389 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7390 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7391 contraction.
7392 (CFLAGS-e_pow-fma4.c): Likewise.
7393
7394 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7395
7396 Simplify tzfile fstat failure code
7397 [BZ #21716]
7398 * time/tzfile.c (__tzfile_read): Simplify slightly.
7399
7400 Fix tzfile low-memory assertion failure
7401 [BZ #21716]
7402 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7403 when registering time zone abbreviations.
7404
7405 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7406
7407 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7408 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7409 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7410 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7411 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7412 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7413 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7414 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7415 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7416
7417 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7418 __ceil.
7419 (__ceill): Call ceil instead of __ceil.
7420 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7421 __floor.
7422 (__floorl): Call floor instead of __floor.
7423
7424 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7425
7426 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7427 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7428 using MATH_REDIRECT.
7429 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7430 header inclusion.
7431 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7434 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7435 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7438 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7443 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7444 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7447 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7448 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7449 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7450 Remove macro.
7451 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7452 functions instead of __ceil variants.
7453 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7454 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7455 Likewise.
7456 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7457 Likewise.
7458 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7459 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7460 Likewise.
7461 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7462 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7463
7464 [BZ #21286]
7465 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7466 constant.
7467 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7468 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7469 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7470 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7471 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7472 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7473 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7474 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7475 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7476 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7477 (ILL_BADIADDR): Remove constant.
7478 (TRAP_BRANCH): Likewise.
7479 (TRAP_HWBKPT): Likewise.
7480
7481 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7482
7483 [BZ #23656]
7484 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7485 Remove [_MIPS_SIM = _ABIN32] conditional case.
7486 (struct elf_prpsinfo): Likewise.
7487
7488 [BZ #23649]
7489 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7490 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7491 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7492 Likewise.
7493 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7494 elf_prpsinfo): Likewise.
7495 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7496 elf_prpsinfo): Likewise.
7497 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7498 Likewise.
7499
7500 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7501 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7502 using MATH_REDIRECT.
7503 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7504 header inclusion.
7505 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7506 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7507 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7508 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7511 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7512 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7515 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7516 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7517 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7518 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7519 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7520 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7521 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7522 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7523 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7526 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7528 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7529 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7530 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7531 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7532 __rint variants.
7533 * math/e_scalbf.c (invalid_fn): Likewise.
7534 * math/e_scalbl.c (invalid_fn): Likewise.
7535 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7536 Likewise.
7537 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7538 Likewise.
7539 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7540 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7541 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7542 Likewise.
7543 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7544 Likewise.
7545 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7546 Likewise.
7547 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7548 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7549
7550 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7551 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7552 New macro.
7553 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7554 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7555 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7556 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7557 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7558 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7559 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7560 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7561 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7562 && !NO_MATH_REDIRECT] (floor): Likewise.
7563 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7564 header inclusion.
7565 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7568 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7569 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7572 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7577 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7578 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7581 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7582 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7583 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7584 Remove macro.
7585 [_ARCH_PWR5X] (__floorf): Likewise.
7586 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7587 inline function.
7588 [__SSE4_1__] (__floorf): Likewise.
7589 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7590 instead of __floor variants.
7591 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7592 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7593 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7594 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7595 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7596 * math/w_tgamma_compat.c (__tgamma): Likewise.
7597 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7598 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7599 * math/w_tgammal_compat.c (__tgammal): Likewise.
7600 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7602 Likewise.
7603 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7604 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7605 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7606 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7607 Likewise.
7608 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7609 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7610 Likewise.
7611 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7612 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7613 Likewise.
7614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7615 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7616 Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7618 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7620 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7621 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7622 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7623
7624 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7625
7626 * elf/Makefile (modules-names-tests): New variable.
7627
7628 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7629
7630 * NEWS: Mention log2 improvements.
7631 * math/Makefile (type-double-routines): Add e_log2_data.
7632 * sysdeps/i386/fpu/e_log2_data.c: New file.
7633 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7634 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7635 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7636 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7637 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7638 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7639
7640 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7641
7642 * NEWS: Mention log improvement.
7643 * math/Makefile (type-double-routines): Add e_log_data.
7644 * sysdeps/i386/fpu/e_log_data.c: New file.
7645 * sysdeps/ia64/fpu/e_log_data.c: New file.
7646 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7647 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7648 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7649 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7650 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7651 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7652
7653 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7654 Xuepeng Guo <xuepeng.guo@intel.com>
7655
7656 [BZ #23606]
7657 * sysdeps/i386/start.S: Include <sysdep.h>
7658 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7659 enabled. Add cfi_undefined (eip).
7660
7661 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7662
7663 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7664 (MOVQ): Likewise.
7665 (EXTRACT_WORDS64): Likewise.
7666 (INSERT_WORDS64): Likewise.
7667 (GET_FLOAT_WORD): Likewise.
7668 (SET_FLOAT_WORD): Likewise.
7669
7670 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7671 argument.
7672 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7673 build, but not for second build if --full-gcc. Use
7674 --enable-languages=all for second build if --full-gcc.
7675 (get_parser): Add --full-gcc option.
7676 (main): Update call to Context.
7677
7678 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7679
7680 [BZ #10797]
7681 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7682 Single Quotation Mark).
7683 (thousands_sep): Likewise.
7684 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7685 * localedata/locales/it_IT (thousands_sep): Use ".".
7686 (grouping): Use "3;3".
7687
7688 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7689
7690 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7691 x86_64 and i686 configs using --enable-obsolete-rpc
7692 --enable-obsolete-nsl.
7693
7694 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7695
7696 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7697
7698 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7699
7700 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7701 Increment size of new_argv by one.
7702
7703 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7704
7705 [BZ #17426]
7706 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7707 * localedata/locales/ar_IN (d_fmt): Likewise.
7708 * localedata/locales/bhb_IN (d_fmt): Likewise.
7709 * localedata/locales/bho_IN (d_fmt): Likewise.
7710 * localedata/locales/bn_BD (d_fmt): Likewise.
7711 * localedata/locales/bn_IN (d_fmt): Likewise.
7712 * localedata/locales/doi_IN (d_fmt): Likewise.
7713 * localedata/locales/gu_IN (d_fmt): Likewise.
7714 * localedata/locales/hi_IN (d_fmt): Likewise.
7715 * localedata/locales/hne_IN (d_fmt): Likewise.
7716 * localedata/locales/kn_IN (d_fmt): Likewise.
7717 * localedata/locales/mag_IN (d_fmt): Likewise.
7718 * localedata/locales/mai_IN (d_fmt): Likewise.
7719 * localedata/locales/mjw_IN (d_fmt): Likewise.
7720 * localedata/locales/ml_IN (d_fmt): Likewise.
7721 * localedata/locales/mni_IN (d_fmt): Likewise.
7722 * localedata/locales/mr_IN (d_fmt): Likewise.
7723 * localedata/locales/pa_IN (d_fmt): Likewise.
7724 * localedata/locales/raj_IN (d_fmt): Likewise.
7725 * localedata/locales/sat_IN (d_fmt): Likewise.
7726 * localedata/locales/sd_IN (d_fmt): Likewise.
7727 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7728 * localedata/locales/ta_IN (d_fmt): Likewise.
7729 * localedata/locales/ta_LK (d_fmt): Likewise.
7730 * localedata/locales/tcy_IN (d_fmt): Likewise.
7731 * localedata/locales/ur_IN (d_fmt): Likewise.
7732
7733 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7734 * localedata/locales/ks_IN (d_fmt): Likewise.
7735 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7736
7737 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7738 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7739 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7740 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7741
7742 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7743
7744 * NEWS: Mention exp and exp2 improvements.
7745 * math/Makefile (libm-support): Remove t_exp.
7746 (type-double-routines): Add math_err and e_exp_data.
7747 * sysdeps/aarch64/libm-test-ulps: Update.
7748 * sysdeps/arm/libm-test-ulps: Update.
7749 * sysdeps/i386/fpu/e_exp_data.c: New file.
7750 * sysdeps/i386/fpu/math_err.c: New file.
7751 * sysdeps/i386/fpu/t_exp.c: Remove.
7752 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7753 * sysdeps/ia64/fpu/math_err.c: New file.
7754 * sysdeps/ia64/fpu/t_exp.c: Remove.
7755 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7756 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7757 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7759 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7760 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7761 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7762 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7763 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7764 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7765 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7766 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7767 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7768 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7771
7772 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7773
7774 * sysdeps/alpha/fpu/math_private.h: Remove.
7775
7776 * sysdeps/generic/math_private.h
7777 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7778 Move this inline function ....
7779 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7780 * include/math.h [!_ISOMAC]: To here....
7781
7782 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7783
7784 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7785 code ....
7786 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7787 * include/fenv.h [!_ISOMAC]: ... to here.
7788 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7789 (feraiseexcept): Likewise.
7790 * math/fromfp.h: Do not include <fenv_private.h>.
7791 * math/s_cexp_template.c: Likewise.
7792 * math/s_csin_template.c: Likewise.
7793 * math/s_csinh_template.c: Likewise.
7794 * math/s_ctan_template.c: Likewise.
7795 * math/s_ctanh_template.c: Likewise.
7796 * math/s_iseqsig_template.c: Likewise.
7797 * math/w_acos_compat.c: Likewise.
7798 * math/w_acosf_compat.c: Likewise.
7799 * math/w_acosl_compat.c: Likewise.
7800 * math/w_asin_compat.c: Likewise.
7801 * math/w_asinf_compat.c: Likewise.
7802 * math/w_asinl_compat.c: Likewise.
7803 * math/w_j0_compat.c: Likewise.
7804 * math/w_j0f_compat.c: Likewise.
7805 * math/w_j0l_compat.c: Likewise.
7806 * math/w_j1_compat.c: Likewise.
7807 * math/w_j1f_compat.c: Likewise.
7808 * math/w_j1l_compat.c: Likewise.
7809 * math/w_jn_compat.c: Likewise.
7810 * math/w_jnf_compat.c: Likewise.
7811 * math/w_log10_compat.c: Likewise.
7812 * math/w_log10f_compat.c: Likewise.
7813 * math/w_log10l_compat.c: Likewise.
7814 * math/w_log2_compat.c: Likewise.
7815 * math/w_log2f_compat.c: Likewise.
7816 * math/w_log2l_compat.c: Likewise.
7817 * math/w_log_compat.c: Likewise.
7818 * math/w_logf_compat.c: Likewise.
7819 * math/w_logl_compat.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7822 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7825 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7826 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7827 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7828 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7829 * sysdeps/ieee754/k_standardl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7842 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7843 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7847 * math/w_ilogb_template.c: Include <fenv.h> instead of
7848 <fenv_private.h>.
7849 * math/w_llogb_template.c: Likewise.
7850 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7851 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7852
7853 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7854
7855 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7856 * math/fromfp.h: Include <fenv_private.h>.
7857 * math/math-narrow.h: Likewise.
7858 * math/s_cexp_template.c: Likewise.
7859 * math/s_csin_template.c: Likewise.
7860 * math/s_csinh_template.c: Likewise.
7861 * math/s_ctan_template.c: Likewise.
7862 * math/s_ctanh_template.c: Likewise.
7863 * math/s_iseqsig_template.c: Likewise.
7864 * math/w_acos_compat.c: Likewise.
7865 * math/w_acosf_compat.c: Likewise.
7866 * math/w_acosl_compat.c: Likewise.
7867 * math/w_asin_compat.c: Likewise.
7868 * math/w_asinf_compat.c: Likewise.
7869 * math/w_asinl_compat.c: Likewise.
7870 * math/w_ilogb_template.c: Likewise.
7871 * math/w_j0_compat.c: Likewise.
7872 * math/w_j0f_compat.c: Likewise.
7873 * math/w_j0l_compat.c: Likewise.
7874 * math/w_j1_compat.c: Likewise.
7875 * math/w_j1f_compat.c: Likewise.
7876 * math/w_j1l_compat.c: Likewise.
7877 * math/w_jn_compat.c: Likewise.
7878 * math/w_jnf_compat.c: Likewise.
7879 * math/w_llogb_template.c: Likewise.
7880 * math/w_log10_compat.c: Likewise.
7881 * math/w_log10f_compat.c: Likewise.
7882 * math/w_log10l_compat.c: Likewise.
7883 * math/w_log2_compat.c: Likewise.
7884 * math/w_log2f_compat.c: Likewise.
7885 * math/w_log2l_compat.c: Likewise.
7886 * math/w_log_compat.c: Likewise.
7887 * math/w_logf_compat.c: Likewise.
7888 * math/w_logl_compat.c: Likewise.
7889 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7890 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7891 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7892 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7895 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7896 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7897 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7899 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7901 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7902 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7904 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7905 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7907 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7908 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7909 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7910 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7911 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7912 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7914 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7915 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7916 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7917 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7918 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7919 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7921 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7922 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7923 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7924 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7925 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7926 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7927 * sysdeps/ieee754/k_standardl.c: Likewise.
7928 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7929 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7930 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7931 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7932 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7933 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7934 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7935 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7936 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7939 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7941 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7942 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7943 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7944 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7947 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7952 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7955 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7956 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7957 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7958 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7959 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7960 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7961 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7962 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7963 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7964 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7965 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7966 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7967 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7968 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7969 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7970 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7971 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7972 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7973 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7974 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7975 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7976 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7977 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7978 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7979 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7980 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7981 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7982 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7983 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7984 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7985 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7986 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7987 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7988 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7989 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7990 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7991 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7992 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7993 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7994 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7995 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7996 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7997 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7998 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7999
8000 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8001
8002 [BZ #20271]
8003 * include/stdio.h (__libc_fatal): Mention newline in comment.
8004 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8005 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8007 * nss/nsswitch.c (__nss_next2): Likewise.
8008 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8009 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8010 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8011 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8012 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8013 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8014 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8015 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8016 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8017 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8018 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8019 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8020 (__netlink_assert_response): Likewise.
8021
8022 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8023
8024 * conform/glibcconform.py: New file.
8025 * conform/list-header-symbols.py: Likewise.
8026 * conform/list-header-symbols.pl: Remove.
8027 * conform/Makefile (tests-special): Only add linknamespace tests
8028 if [PYTHON].
8029 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8030
8031 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8032
8033 [BZ #23597]
8034 * support/Makefile (libsupport-routines): Add
8035 support_copy_file_range and xcopy_file_range.
8036 * support/support.h: Include <sys/types.h>.
8037 (support_copy_file_range): New prototype.
8038 * support/support_copy_file_range.c: New file. Copied and
8039 modified from io/copy_file_range-compat.c.
8040 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8041 instead of copy_file_range.
8042 * support/xcopy_file_range.c: New file.
8043 * support/xunistd.h (xcopy_file_range): New prototype.
8044
8045 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8046
8047 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8048 xpthread_create and xpthread_join.
8049
8050 2018-08-30 Florian Weimer <fweimer@redhat.com>
8051
8052 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8053
8054 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8055
8056 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8057 if malloc fails.
8058
8059 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8060
8061 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8062 and minus_oflow as non-finite.
8063
8064 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8065
8066 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8067 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8068 moved to fenv_private.h except for ...
8069 (TOINT_INTRINSICS): Kept in math_private.h.
8070 (roundtoint): Likewise.
8071 (converttoint): Likewise.
8072 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8073 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8074 * sysdeps/arm/math_private.h: Remove.
8075 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8076 ....
8077 * sysdeps/generic/math_private.h: ... this file. Include
8078 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8079 Include <fenv_private.h>. Remove functions and macros moved to
8080 fenv_private.h.
8081 * sysdeps/i386/fpu/math_private.h: Remove.
8082 * sysdeps/mips/math_private.h: Move to ....
8083 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8084 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8085 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8086 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8087 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8088 * sysdeps/powerpc/fpu/math_private.h: Do not include
8089 <fenv_private.h>.
8090 * sysdeps/riscv/rvf/math_private.h: Move to ....
8091 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8092 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8093 <fenv_private.h>.
8094 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8095 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8096 * sysdeps/sparc/fpu/math_private.h: Remove.
8097 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8098 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8099 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8100 <fenv_private.h>.
8101 * sysdeps/x86_64/fpu/math_private.h: Do not include
8102 <sysdeps/i386/fpu/fenv_private.h>.
8103
8104 2018-08-28 Florian Weimer <fweimer@redhat.com>
8105
8106 [BZ #23578]
8107 * posix/tst-regcomp-truncated.c: New file.
8108 * posix/Makefile (tests): Add it.
8109 (tst-regcomp-truncated.out): Depend on generated locales.
8110
8111 2018-08-28 Florian Weimer <fweimer@redhat.com>
8112
8113 * support/test-container.c (main): Treat unshare failure with
8114 EPERM as an unsupported test.
8115
8116 2018-08-28 Florian Weimer <fweimer@redhat.com>
8117
8118 [BZ #23520]
8119 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8120 * nscd/netgroupcache.c
8121 (addgetnetgrentX): Add tofreep parameter. Do not free
8122 heap-allocated buffer.
8123 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8124 (addgetnetgrentX_ignore): New function.
8125 (addgetnetgrent): Call it.
8126 (readdgetnetgrent): Likewise.
8127
8128 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8129
8130 * string/memmem.c: Use memcmp for first match.
8131
8132 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8133
8134 [BZ #17426]
8135 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8136
8137 2018-08-27 DJ Delorie <dj@redhat.com>
8138
8139 * support/Makefile (others): Don't list programs explicitly as a
8140 dependency of "others".
8141
8142 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8143
8144 * sysdeps/generic/math-tests-trap-force.h: New file.
8145 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8146 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8147 * sysdeps/powerpc/math-tests.h: Remove file.
8148 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8149
8150 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8151 Torvald Riegel <triegel@redhat.com>
8152
8153 [BZ #23538]
8154 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8155 Update r to include the set wake-request flag if waiters are
8156 remaining after spinning.
8157
8158 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8159
8160 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8161
8162 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8163
8164 [BZ #23578]
8165 regex: fix uninitialized memory access
8166 I introduced this bug into gnulib in commit
8167 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8168 eventually it was merged into glibc. The bug was found by
8169 project-repo <bugs@feusi.co> and reported here:
8170 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8171 Diagnosis and draft fix reported by Assaf Gordon here:
8172 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8173 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8174 * posix/regex_internal.c (build_wcs_upper_buffer):
8175 Fix bug when mbrtowc returns 0.
8176
8177 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8178
8179 * po/be.po: Update translation.
8180
8181 2018-08-24 DJ Delorie <dj@delorie.com>
8182
8183 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8184 $(libunwind).
8185
8186 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8187
8188 [BZ #23400]
8189 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8190 create temporary files in source tree.
8191
8192 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8193
8194 * sysdeps/generic/math-tests-trap.h: New file.
8195 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8196 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8197 * sysdeps/aarch64/math-tests.h: Remove file.
8198 * sysdeps/arm/math-tests.h: Likewise.
8199 * sysdeps/riscv/math-tests.h: Likewise.
8200 * sysdeps/aarch64/math-tests-trap.h: New file.
8201 * sysdeps/arm/math-tests-trap.h: Likewise.
8202 * sysdeps/riscv/math-tests-trap.h: Likewise.
8203
8204 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8205
8206 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8207 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8208 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8209 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8210 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8211 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8215 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8216 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8217 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8218 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8219 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8220 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8221 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8222 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8223 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8224
8225 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8226
8227 * sysdeps/generic/math-tests-exceptions.h: New file.
8228 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8229 (EXCEPTION_TESTS_float): Do not define here.
8230 (EXCEPTION_TESTS_double): Likewise.
8231 (EXCEPTION_TESTS_long_double): Likewise.
8232 (EXCEPTION_TESTS_float128): Likewise.
8233 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8234 Likewise.
8235 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8236 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8237 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8238 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8239 * sysdeps/mips/math-tests.h: Likewise.
8240 * sysdeps/nios2/math-tests.h: Likewise.
8241 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8242 (EXCEPTION_TESTS_float): Do not define here.
8243 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8244 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8245 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8246
8247 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8248
8249 * NEWS: Move optimized sinf entry to 2.29.
8250
8251 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8252
8253 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8254
8255 2018-08-22 DJ Delorie <dj@redhat.com>
8256
8257 * Makefile (testroot.pristine): New rules to initialize the
8258 test-in-container "testroot".
8259 * Makerules (all-testsuite): Add tests-container.
8260 * Rules (tests-expected): Add tests-container.
8261 (binaries-all-tests): Likewise.
8262 (tests-container): New, run these tests in the testroot container.
8263 * support/Makefile (others): Add *-container, support_paths.c,
8264 xmkdirp, and links-dso-program.
8265 * support/links-dso-program-c.c: New.
8266 * support/links-dso-program.cc: New.
8267 * support/test-container.c: New.
8268 * support/shell-container.c: New.
8269 * support/echo-container.c: New.
8270 * support/true-container.c: New.
8271 * support/xmkdirp.c: New.
8272 * support/xsymlink.c: New.
8273 * support/support_paths.c: New.
8274 * support/support.h: Add support paths prototypes.
8275 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8276
8277 * nss/tst-nss-test3.c: Convert to test-in-container.
8278 * nss/tst-nss-test3.root/: New.
8279
8280 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8281
8282 regex: port Gnulib code to z/OS POSIX environment
8283 Problem reported by Arnold Robbins in:
8284 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8285 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8286 Undef.
8287
8288 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8289
8290 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8291 (ROUNDING_TESTS_double): Remove.
8292 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8293 (ROUNDING_TESTS_double): Remove.
8294 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8295 (ROUNDING_TESTS_double): Remove.
8296 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8297 (ROUNDING_TESTS_float): Remove.
8298 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8299 (ROUNDING_TESTS_float): Remove.
8300 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8301 (ROUNDING_TESTS_float): Remove.
8302 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8303 !TEST_MATHVEC here.
8304 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8305 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8306
8307 * sysdeps/generic/math-tests-rounding.h: New file.
8308 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8309 (ROUNDING_TESTS_float): Do not define here.
8310 (ROUNDING_TESTS_double): Likewise.
8311 (ROUNDING_TESTS_long_double): Likewise.
8312 (ROUNDING_TESTS_float128): Likewise.
8313 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8314 (ROUNDING_TESTS_double): Undefine before defining.
8315 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8316 (ROUNDING_TESTS_double): Undefine before defining.
8317 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8318 (ROUNDING_TESTS_double): Undefine before defining.
8319 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8320 (ROUNDING_TESTS_float): Undefine before defining.
8321 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8322 (ROUNDING_TESTS_float): Undefine before defining.
8323 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8324 (ROUNDING_TESTS_float): Undefine before defining.
8325 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8326 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8327 not define here.
8328 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8329 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8330 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8331 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8332 (ROUNDING_TESTS_float): Do not define here.
8333 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8334 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8335 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8336 (ROUNDING_TESTS_float): Likewise.
8337 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8338 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8339 * sysdeps/mips/math-tests.h [__mips_soft_float]
8340 (ROUNDING_TESTS_float): Likewise.
8341 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8342 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8343 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8344 (ROUNDING_TESTS_double): Likewise.
8345 (ROUNDING_TESTS_long_double): Likewise.
8346
8347 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8348
8349 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8350 (PF_XDP): New macro.
8351 (AF_XDP): New macro.
8352 (SOL_XDP): New macro.
8353
8354 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8355
8356 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8357 (TCP_INQ): Likewise.
8358 (TCP_CM_INQ): Likewise.
8359 (TCP_REPAIR_ON): Likewise.
8360 (TCP_REPAIR_OFF): Likewise.
8361 (TCP_REPAIR_OFF_NO_WP): Likewise.
8362 (struct tcp_zerocopy_receive): New type.
8363
8364 2018-08-21 Florian Weimer <fweimer@redhat.com>
8365
8366 * support/support.h (support_descriptor_supports_holes): Declare.
8367 * support/Makefile (libsupport-routines): Add
8368 support_descriptor_supports_holes.
8369 * support/support_descriptor_supports_holes.c: New file.
8370 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8371 and stop testing if holes are not supported.
8372 * io/test-lfs.c (do_prepare): Likewise.
8373 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8374 Likewise.
8375 * timezone/tst-tzset.c (create_tz_file): Likewise.
8376 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8377 variable.
8378 (do_prepare): Set it.
8379 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8380
8381 2018-08-21 Florian Weimer <fweimer@redhat.com>
8382
8383 [BZ #17248]
8384 * Makeconfig (+cflags): Do not sort (and deduplicate).
8385
8386 2018-08-21 Florian Weimer <fweimer@redhat.com>
8387
8388 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8389 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8390
8391 2018-08-20 Florian Weimer <fweimer@redhat.com>
8392
8393 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8394 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8395
8396 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8397
8398 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8399 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8400 and ssi_arch members.
8401
8402 * elf/elf.c (NT_VMCOREDD): New macro.
8403 (AT_MINSIGSTKSZ): Likewise.
8404
8405 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8406
8407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8408 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8409 s_cosf-ppc64 and s_cosf-power8.
8410 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8411 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8412 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8413 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8420 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8421 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8422
8423 2018-08-17 Florian Weimer <fweimer@redhat.com>
8424
8425 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8426
8427 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8428
8429 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8430
8431 2018-08-16 Florian Weimer <fweimer@redhat.com>
8432
8433 * configure.ac: Add --with-nonshared-cflags option.
8434 * config.make.in (extra-nonshared-cflags): Set variable.
8435 * Makeconfig (CFLAGS-.oS): Use it.
8436 * manual/install.texi (Configuring and compiling): Document
8437 --with-nonshared-cflags.
8438 * configure: Regenerate.
8439 * INSTALL: Likewise.
8440
8441 2018-08-16 Florian Weimer <fweimer@redhat.com>
8442
8443 * Makeconfig (ASFLAGS): Always append required assembler flags.
8444
8445 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8446
8447 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8448 (malloc_consolidate): Likewise.
8449
8450 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8451
8452 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8453
8454 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8455
8456 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8457 every strlen call.
8458
8459 * benchtests/bench-strlen.c: Print performance numbers in json.
8460
8461 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8462
8463 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8464 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8465 only for little endian.
8466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8467 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8468 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8469 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8470 Add check for little endian.
8471 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8472 (__strcmp_power9): Add check for little endian.
8473 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8474 Add check for little endian.
8475 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8476 (__strncmp_power9): Add check for little endian.
8477 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8478 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8479 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8480 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8481 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8482
8483 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8484
8485 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8486 [!STRLEN](STRLEN): Set to __strlen.
8487 * sysdeps/aarch64/multiarch/strlen.c: New file.
8488 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8489 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8490 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8491 (__libc_ifunc_impl_list): Add strlen.
8492 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8493 strlen_generic and strlen_asimd.
8494
8495 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8496
8497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8498 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8499 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8500
8501 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8502
8503 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8504
8505 2018-08-14 Florian Weimer <fweimer@redhat.com>
8506
8507 [BZ #23519]
8508 * include/stdio.h (__vfxprintf): Declare.
8509 * stdio-common/fxprintf.c (__vfxprintf): New function.
8510 (__fxprintf): Call it.
8511 * misc/err.c (convert_and_print): Remove function.
8512 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8513 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8514 * misc/Makefile (tests): Add tst-warn-wide.
8515 * misc/tst-warn-wide.c: New file.
8516
8517 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8518 Szabolcs Nagy <szabolcs.nagy@arm.com>
8519
8520 * NEWS: Mention sinf, cosf, sincosf.
8521 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8522 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8523 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8524 constants rather than including generic sincosf.h.
8525 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8526 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8527 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8528 (reduced_cos): Remove.
8529 (sinf_poly): New function.
8530 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8531
8532 2018-08-14 Florian Weimer <fweimer@redhat.com>
8533
8534 [BZ #23521]
8535 [BZ #23522]
8536 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8537 processing, bail out if no room, and close the stream before
8538 returning ERANGE.
8539 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8540 (tst-nss-files-alias-leak): Link with libdl.
8541 (tst-nss-files-alias-leak.out): Depend on nss_files.
8542
8543 * nss/tst-nss-files-alias-leak.c: New file.
8544
8545 2018-08-14 Florian Weimer <fweimer@redhat.com>
8546
8547 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8548 server_user, stat_user.
8549
8550 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8551
8552 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8553 version to 4.18.
8554 (io_pgetevents): New syscall.
8555 (rseq): Likewise.
8556
8557 * manual/install.texi (Configuring and compiling): Do not list
8558 tools used for testing pretty printers here.
8559 (Tools for Compilation): List Python, PExpect and GDB here.
8560 Update descriptions of uses of Perl and Python.
8561 * INSTALL: Regenerate.
8562
8563 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8564 version to 4.18.
8565
8566 2018-08-13 Florian Weimer <fweimer@redhat.com>
8567
8568 * misc/error.c (error): Add missing va_end call.
8569 (error_at_line): Likewise.
8570
8571 2018-08-13 Florian Weimer <fweimer@redhat.com>
8572
8573 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8574
8575 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8576
8577 * benchtests/scripts/benchout.schema.json (properties): Add
8578 new properties.
8579
8580 * benchtests/bench-skeleton.c (main): Add duration and
8581 iterations attributes.
8582
8583 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8584
8585 regex: Gnulib unibyte RRI uses bytes not chars
8586 Adjust the non-glibc code to agree with what Gawk needs for
8587 rational range interpretation (RRI) for regular expression ranges.
8588 In unibyte locales, Gawk wants ranges to use the underlying byte
8589 rather than the character code point. This change does not affect
8590 glibc proper.
8591 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8592 In unibyte locales, use the byte value rather than
8593 running it through btowc.
8594
8595 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8596
8597 * sysdeps/generic/math-tests-snan.h: New file.
8598 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8599 (SNAN_TESTS_float): Do not define here.
8600 (SNAN_TESTS_double): Likewise.
8601 (SNAN_TESTS_long_double): Likewise.
8602 (SNAN_TESTS_float128): Likewise.
8603 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8604 * sysdeps/i386/fpu/math-tests.h: Remove file.
8605 * sysdeps/ia64/math-tests-snan.h: New file.
8606 * sysdeps/ia64/math-tests.h: Remove file.
8607 * sysdeps/x86/math-tests.h: Likewise.
8608 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8609
8610 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8611 Szabolcs Nagy <szabolcs.nagy@arm.com>
8612
8613 * math/Makefile: Add s_sincosf_data.c.
8614 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8615 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8616 (sincosf_poly): Likewise.
8617 (reduce_small): Likewise.
8618 (reduce_large): Likewise.
8619 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8620 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8621 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8622 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8623
8624 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8625 Szabolcs Nagy <szabolcs.nagy@arm.com>
8626
8627 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8628 (converttoint): Use lround.
8629 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8630 document the semantics when TOINT_INTRINSICS is set.
8631 (converttoint): Likewise.
8632 (TOINT_RINT): Remove.
8633 (TOINT_SHIFT): Remove.
8634 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8635 path.
8636
8637 2018-08-10 Florian Weimer <fweimer@redhat.com>
8638
8639 [BZ #23497]
8640 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8641 function.
8642 (__old_getdents64): Use getdents64. Convert entries without
8643 moving them.
8644 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8645 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8646 tst-readdir64-compat.
8647
8648 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8649
8650 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8651 Fix unwind.
8652
8653 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8654
8655 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8656 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8657 code to s390x-mcount.h and #include it.
8658 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8659 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8660 (__fentry__): Add.
8661
8662 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8663
8664 * stdlib/Versions: Remove __fentry__.
8665 * sysdeps/i386/Versions: Add __fentry__.
8666 * sysdeps/x86_64/Versions: Add __fentry__.
8667
8668 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8669
8670 * sysdeps/s390/Makefile: Register the new tests.
8671 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8672 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8673 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8674 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8675 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8676 * sysdeps/s390/tst-dl-runtime.c: New file.
8677
8678 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8679
8680 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8681 Do not clobber R0.
8682
8683 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8684
8685 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8686 Do not clobber R0.
8687
8688 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8689
8690 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8691 Do not clobber R0.
8692
8693 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8694
8695 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8696 Do not clobber R0.
8697
8698 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8699
8700 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8701 Use symbolic offsets for stack variables.
8702
8703 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8704
8705 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8706 Use symbolic offsets for stack variables.
8707
8708 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8709
8710 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8711 Use symbolic offsets for stack variables.
8712
8713 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8714
8715 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8716 Use symbolic offsets for stack variables.
8717
8718 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8719
8720 * math/gen-libm-test.py: New file.
8721 * math/gen-libm-test.pl: Remove.
8722 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8723 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8724 gen-libm-test.pl.
8725 ($(libm-test-c-noauto-obj)): Likewise.
8726 ($(libm-test-c-auto-obj)): Likewise.
8727 ($(libm-test-c-narrow-obj)): Likewise.
8728 (regen-ulps): Likewise.
8729 * math/README.libm-test: Update references to gen-libm-test.pl.
8730 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8731 referencing gen-libm-test.pl.
8732 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8733 * math/libm-test-support.c: Likewise.
8734 * math/libm-test-support.h: Likewise.
8735 * sysdeps/generic/libm-test-ulps: Likewise.
8736
8737 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8738
8739 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8740 Fix value.
8741
8742 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8743
8744 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8745 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8746
8747 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8748
8749 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8750 symbols.
8751 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8752 __pthread_setspecific): Add hidden proto.
8753 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8754 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8755
8756 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8757
8758 * benchtests/bench-string.h (buf1_size, buf2_size): New
8759 variables.
8760 (init_sizes): New function.
8761 (test_init): Use it.
8762 (alloc_buf, exit_error): New functions.
8763 (alloc_bufs): Use ALLOC_BUF.
8764 (realloc_bufs): Remove.
8765 * benchtests/bench-memcmp.c (do_test): Adjust.
8766 * benchtests/bench-memset-large.c (do_test): Likewise.
8767 * benchtests/bench-memset-walk.c (do_test): Likewise.
8768 * benchtests/bench-memset.c (do_test): Likewise.
8769 * benchtests/bench-strncmp.c (do_test): Likewise.
8770
8771 2018-08-06 Andreas Schwab <schwab@suse.de>
8772
8773 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8774 of CONST_THREAD_AREA.
8775
8776 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8777
8778 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8779 (STATE_SAVE_MASK): Likewise.
8780 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8781 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8782 (STATE_SAVE_MASK): Likewise.
8783 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8784 instead of <cpu-features.h>.
8785
8786 2018-08-03 DJ Delorie <dj@redhat.com>
8787
8788 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8789 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8790
8791 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8792
8793 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8794
8795 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8796 after TEST_* calls.
8797 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8798 * math/libm-test-logb.inc (logb_test_data): Likewise.
8799
8800 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8801
8802 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8803 * string/strstr.c (AVAILABLE): Likewise.
8804
8805 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8806
8807 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8808 <init-arch.h>.
8809 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8810 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8811 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8812
8813 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8814
8815 * po/be.po: Update translation.
8816
8817 * po/be.po: Update translation.
8818
8819 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8820
8821 * sysdeps/x86/cpu-features-offsets.sym
8822 (rtld_global_ro_offsetof): Removed.
8823 (CPU_FEATURES_SIZE): Likewise.
8824 (CPUID_OFFSET): Likewise.
8825 (CPUID_SIZE): Likewise.
8826 (CPUID_EAX_OFFSET): Likewise.
8827 (CPUID_EBX_OFFSET): Likewise.
8828 (CPUID_ECX_OFFSET): Likewise.
8829 (CPUID_EDX_OFFSET): Likewise.
8830 (FAMILY_OFFSET): Likewise.
8831 (MODEL_OFFSET): Likewise.
8832 (FEATURE_OFFSET): Likewise.
8833 (FEATURE_SIZ): Likewise.
8834 (COMMON_CPUID_INDEX_1): Likewise.
8835 (COMMON_CPUID_INDEX_7): Likewise.
8836 (FEATURE_INDEX_1): Likewise.
8837 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8838
8839 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8840
8841 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8842 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8843 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8844 (install-locales): Depend on install-locale-archive.
8845 (install-locale-archive): Define.
8846 (install-locale-files): Define.
8847 (build-one-locale): Define macro.
8848 * manual/install.texi (Running make install): Document.
8849 * manual/INSTALL: Regenerate.
8850
8851 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8852
8853 * benchtests/scripts/compare_strings.py: Import traceback.
8854 (parse_file): Pretty-print error.
8855
8856 * NEWS: Mention the change.
8857 * elf/dl-tunables.list: Rename tune namespace to cpu.
8858 * sysdeps/powerpc/dl-tunables.list: Likewise.
8859 * sysdeps/x86/dl-tunables.list: Likewise.
8860 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8861 cpu.name.
8862 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8863 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8864 * manual/README.tunables: Likewise.
8865 * manual/tunables.texi: Likewise.
8866 * sysdeps/powerpc/cpu-features.c: Likewise.
8867 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8868 (init_cpu_features): Likewise.
8869 * sysdeps/x86/cpu-features.c: Likewise.
8870 * sysdeps/x86/cpu-features.h: Likewise.
8871 * sysdeps/x86/cpu-tunables.c: Likewise.
8872 * sysdeps/x86_64/Makefile: Likewise.
8873 * sysdeps/x86/dl-cet.c: Likewise.
8874
8875 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8876
8877 [BZ #23479]
8878 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8879 [__mips_hard_float].
8880 (FE_UNDERFLOW): Likewise.
8881 (FE_OVERFLOW): Likewise.
8882 (FE_DIVBYZERO): Likewise.
8883 (FE_INVALID): Likewise.
8884 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8885 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8886 (FE_UPWARD): Likewise.
8887 (FE_DOWNWARD): Likewise.
8888 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8889 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8890 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8891 [__mips_hard_float].
8892 (FP_ROUNDMODE): Likewise.
8893 (FP_RND_NEAREST): Likewise.
8894 (FP_RND_ZERO): Likewise.
8895 (FP_RND_PINF): Likewise.
8896 (FP_RND_MINF): Likewise.
8897 (FP_EX_INVALID): Likewise.
8898 (FP_EX_OVERFLOW): Likewise.
8899 (FP_EX_UNDERFLOW): Likewise.
8900 (FP_EX_DIVZERO): Likewise.
8901 (FP_EX_INEXACT): Likewise.
8902 (FP_INIT_ROUNDMODE): Likewise.
8903 * sysdeps/mips/nofpu/fesetenv.c: New file.
8904 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8905
8906 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8907
8908 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8909 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8910 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8911 conditional on [FE_UPWARD].
8912
8913 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8914
8915 regex: fix memory leak in Gnulib
8916 Problem and fix reported by Assaf Gordon in:
8917 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8918 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8919 range_ends members too, as they are defined in 'struct
8920 re_charset_t' even if not _LIBC. This affects only Gnulib.
8921
8922 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8923
8924 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8925 ...
8926 (get_common_indices): This.
8927 (init_cpu_features): Updated.
8928
8929 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8930
8931 * sysdeps/generic/math-tests-snan-payload.h: New file.
8932 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8933 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8934 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8935 * sysdeps/generic/math-tests.h: Include
8936 <math-tests-snan-payload.h>.
8937 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8938 * sysdeps/hppa/math-tests.h: Remove file.
8939 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8940 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8941 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8942 Likewise.
8943
8944 * sysdeps/generic/math-tests-snan-cast.h: New file.
8945 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8946 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8947 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8948 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8949
8950 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8951
8952 * version.h (RELEASE): Set to "development".
8953 (VERSION): Set to "2.28.9000".
8954 * NEWS (2.29): New section.
8955
8956 * version.h (RELEASE): Set to "stable".
8957 (VERSION): Set to "2.28".
8958 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8959 * NEWS: Add the list of bugs fixed in 2.28.
8960
8961 * po/ca.po: Update to latest version.
8962 * po/cs.po: Likewise
8963 * po/da.po: Likewise
8964 * po/el.po: Likewise
8965 * po/eo.po: Likewise
8966 * po/es.po: Likewise
8967 * po/fi.po: Likewise
8968 * po/fr.po: Likewise
8969 * po/gl.po: Likewise
8970 * po/hu.po: Likewise
8971 * po/ia.po: Likewise
8972 * po/id.po: Likewise
8973 * po/it.po: Likewise
8974 * po/ja.po: Likewise
8975 * po/ko.po: Likewise
8976 * po/lt.po: Likewise
8977 * po/nb.po: Likewise
8978 * po/nl.po: Likewise
8979 * po/pt_BR.po: Likewise
8980 * po/ru.po: Likewise
8981 * po/rw.po: Likewise
8982 * po/sk.po: Likewise
8983 * po/sl.po: Likewise
8984 * po/tr.po: Likewise
8985 * po/zh_CN.po: Likewise
8986 * po/zh_TW.po: Likewise
8987
8988 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8989
8990 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8991 initialization...
8992 (init): ... before initializing libpthread.
8993
8994 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8995 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8996 (__mach_setup_tls): ... new function.
8997 (mach_setup_tls): New alias.
8998 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8999 __mach_setup_thread.
9000 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9001 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9002 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9003 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9004
9005 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9006
9007 * manual/install.texi: Update versions.
9008 * INSTALL: Regenerate.
9009
9010 * manual/contrib.texi (Contributors): Update contributions.
9011
9012 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9013
9014 * po/be.po: Update translations.
9015
9016 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9017
9018 * sysdeps/sh/libm-test-ulps: Update.
9019
9020 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9021
9022 * po/bg.po: Update translations.
9023 * po/de.po: Likewise.
9024 * po/hr.po: Likewise.
9025 * po/pt_BR.po: Likewise.
9026 * po/sv.po: Likewise.
9027 * po/vi.po: Likewise.
9028
9029 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 [BZ #23467]
9032 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9033 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9034 (CFLAGS-tst-cet-property-1.o): New.
9035 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9036 ($(objpfx)tst-cet-property-2): Likewise.
9037 ($(objpfx)tst-cet-property-2.out): Likewise.
9038 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9039 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9040 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9041 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9042 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9043
9044 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9045
9046 [BZ #23458]
9047 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9048
9049 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9050
9051 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9052 __sbrk): Do not set attribute_hidden.
9053 * sysdeps/mach/hurd/not-errno.h: New file.
9054 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9055 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9056
9057 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9058
9059 * po/uk.po: Update translations.
9060 * po/cs.po: Likewise.
9061 * po/pl.po: Likewise.
9062
9063 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9066 parse beyond the note end.
9067
9068 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9069
9070 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9071 kernel does not support OFD locks.
9072 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9073
9074 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9075
9076 * sysdeps/mach/hurd/Versions (libc): Make __access and
9077 __access_noerrno external so they can override the ld symbols.
9078 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9079 __writev, __open64, __access_noerrno extern so they can be overrided.
9080 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9081 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9082
9083 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9084
9085 * po/libc.pot: Regenerate.
9086
9087 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9088
9089 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9090
9091 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9092
9093 [BZ #23459]
9094 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9095 function.
9096 (init_cpu_features): Call get_extended_indices for both Intel
9097 and AMD CPUs.
9098 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9099 Remove "for AMD" comment.
9100
9101 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9102
9103 [BZ # 23456]
9104 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9105 COMMON_CPUID_INDEX_80000001.
9106
9107 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9108
9109 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9110 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9111
9112 2018-07-26 Florian Weimer <fweimer@redhat.com>
9113
9114 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9115 aliases for symbols not in the implementation namespace.
9116
9117 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9118
9119 [BZ #23393]
9120 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9121 lowercase in LATIN script.
9122 * localedata/Makefile (test-input): Add en_US.UTF-8.
9123 * localedata/en_US.UTF-8.in: New file.
9124 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9125 and restore old tests.
9126 * posix/tst-regexloc.c (do_test): Add back range expression test.
9127
9128 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9129
9130 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9131
9132 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9133
9134 * nptl/threads.h: Move to ...
9135 * sysdeps/nptl/threads.h: ... here.
9136 * sysdeps/hurd/stdc-predef.h: New file.
9137
9138 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9139
9140 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9141 tst-cet-setcontext-1 if CET is enabled.
9142 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9143 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9144
9145 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9146
9147 * include/threads.h: Move to ...
9148 * sysdeps/nptl/threads.h: ... here.
9149 * sysdeps/htl/threads.h: New file.
9150 * conform/Makefile (linknamespace-libs-ISO11): Use
9151 static-thread-library instead of linking libpthread.
9152 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9153
9154 2018-07-25 Florian Weimer <fweimer@redhat.com>
9155
9156 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9157 nanoseconds into seconds.
9158 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9159 (do_test): Likewise.
9160 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9161 (do_test): Likewise. Avoid nanosecond overflow and spurious
9162 timeouts due to system load.
9163 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9164 (child_wait): Increment it.
9165 (do_test): Wait as long as necessary until all expected threads
9166 have arrived.
9167
9168 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9169 H.J. Lu <hongjiu.lu@intel.com>
9170
9171 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9172 __ssp.
9173 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9174 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9175 (__push___start_context): New.
9176 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9177 <asm/prctl.h>.
9178 (__getcontext): Record the current shadow stack base. Save the
9179 caller's shadow stack pointer and base.
9180 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9181 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9182 (__push___start_context): New prototype.
9183 (__makecontext): Call __push___start_context to allocate a new
9184 shadow stack, push __start_context onto the new stack as well
9185 as the new shadow stack.
9186 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9187 <asm/prctl.h>.
9188 (__setcontext): Restore the target shadow stack.
9189 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9190 <asm/prctl.h>.
9191 (__swapcontext): Record the current shadow stack base. Save
9192 the caller's shadow stack pointer and base. Restore the target
9193 shadow stack.
9194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9195 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9196 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9197
9198 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9199
9200 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9201 tst-setcontext8 and tst-setcontext9.
9202 * stdlib/tst-setcontext6.c: New file.
9203 * stdlib/tst-setcontext7.c: Likewise.
9204 * stdlib/tst-setcontext8.c: Likewise.
9205 * stdlib/tst-setcontext9.c: Likewise.
9206
9207 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9208
9209 * stdlib/Makefile ((tests): Add tst-setcontext5.
9210 * stdlib/tst-setcontext5.c: New file.
9211
9212 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9213
9214 * stdlib/Makefile (tests): Add tst-setcontext4.
9215 * stdlib/tst-setcontext4.c: New file.
9216
9217 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9218
9219 * stdlib/Makefile (tests): Add tst-swapcontext1.
9220 * stdlib/tst-swapcontext1.c: New test.
9221
9222 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9223
9224 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9225 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9226 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9227 and tst-cet-legacy-4c.
9228 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9229 and tst-cet-legacy-mod-4.
9230 (CFLAGS-tst-cet-legacy-2.c): New.
9231 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9232 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9233 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9234 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9235 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9236 ($(objpfx)tst-cet-legacy-1): Likewise.
9237 ($(objpfx)tst-cet-legacy-2): Likewise.
9238 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9239 ($(objpfx)tst-cet-legacy-2a): Likewise.
9240 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9241 ($(objpfx)tst-cet-legacy-4): Likewise.
9242 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9243 ($(objpfx)tst-cet-legacy-4a): Likewise.
9244 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9245 (tst-cet-legacy-4a-ENV): Likewise.
9246 ($(objpfx)tst-cet-legacy-4b): Likewise.
9247 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9248 (tst-cet-legacy-4b-ENV): Likewise.
9249 ($(objpfx)tst-cet-legacy-4c): Likewise.
9250 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9251 (tst-cet-legacy-4c-ENV): Likewise.
9252 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9253 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9254 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9255 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9256 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9257 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9258 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9259 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9260 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9261 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9262 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9263
9264 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9265
9266 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9267 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9268 with ssp_base.
9269 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9270 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9271 with ssp_base.
9272
9273 2018-07-25 Andreas Schwab <schwab@suse.de>
9274
9275 [BZ #23442]
9276 * locale/weightwc.h (findidx): Handle the case where usrc is a
9277 prefix of cp but one character too short.
9278
9279 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9280
9281 * NEWS: Add ISO C threads addition.
9282
9283 2018-07-24 Florian Weimer <fweimer@redhat.com>
9284
9285 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9286 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9287 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9288 4.13.
9289
9290 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9291
9292 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9293 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9294 <sys/prctl.h> and <asm/prctl.h>.
9295 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9296 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9297 and <asm/prctl.h>.
9298 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9299 ARCH_CET_LEGACY_BITMAP.
9300 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9301 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9302 * sysdeps/x86/libc-start.c: Include <startup.h>.
9303
9304 2018-07-24 Florian Weimer <fweimer@redhat.com>
9305
9306 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9307 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9308
9309 2018-07-24 Rical Jasan <rj@2c3t.io>
9310 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9311 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9312
9313 [BZ #14092]
9314 * manual/debug.texi: Update adjacent chapter name.
9315 * manual/probes.texi: Likewise.
9316 * manual/threads.texi (ISO C Threads): New section.
9317 (POSIX Threads): Convert to a section.
9318
9319 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9320 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9321
9322 [BZ# 14092]
9323 * nptl/Makefile (tests): Add new test files.
9324 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9325 * nptl/tst-cnd-basic.c: Likewise.
9326 * nptl/tst-cnd-broadcast.c: Likewise.
9327 * nptl/tst-cnd-timedwait.c: Likewise.
9328 * nptl/tst-mtx-basic.c: Likewise.
9329 * nptl/tst-mtx-recursive.c: Likewise.
9330 * nptl/tst-mtx-timedlock.c: Likewise.
9331 * nptl/tst-mtx-trylock.c: Likewise.
9332 * nptl/tst-thrd-basic.c: Likewise.
9333 * nptl/tst-thrd-detach.c: Likewise.
9334 * nptl/tst-thrd-sleep.c: Likewise.
9335 * nptl/tst-tss-basic.c: Likewise.
9336
9337 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9338
9339 [BZ #14092]
9340 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9341 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9342 symbols.
9343 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9344 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9345 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9346 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9347 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9348 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9349 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9350 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9351 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9352 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9353 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9354 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9356 Likewise.
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9358 Likewise.
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9360 Likewise.
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9362 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9363 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9364 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9365 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9366 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9367 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9368 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9369 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9370 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9371 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9372 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9373 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9374 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9375 Likewise.
9376 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9377 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9382 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9387 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9388 ikewise.
9389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9391 Likewise.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9393 Likewise.
9394 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9402
9403 [BZ #14092]
9404 * conform/data/threads.h-data (thread_local): New macro.
9405 (TSS_DTOR_ITERATIONS): Likewise.
9406 (tss_t): New type.
9407 (tss_dtor_t): Likewise.
9408 (tss_create): New function.
9409 (tss_get): Likewise.
9410 (tss_set): Likewise.
9411 (tss_delete): Likewise.
9412 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9413 tss_get, and tss_set objects.
9414 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9415 * nptl/tss_create.c: New file.
9416 * nptl/tss_delete.c: Likewise.
9417 * nptl/tss_get.c: Likewise.
9418 * nptl/tss_set.c: Likewise.
9419 * sysdeps/nptl/threads.h (thread_local): New define.
9420 (TSS_DTOR_ITERATIONS): Likewise.
9421 (tss_t): New typedef.
9422 (tss_dtor_t): Likewise.
9423 (tss_create): New prototype.
9424 (tss_get): Likewise.
9425 (tss_set): Likewise.
9426 (tss_delete): Likewise.
9427
9428 [BZ #14092]
9429 * conform/data/threads.h-data (cnd_t): New type.
9430 (cnd_init): New function.
9431 (cnd_signal): Likewise.
9432 (cnd_broadcast): Likewise.
9433 (cnd_wait): Likewise.
9434 (cnd_timedwait): Likewise.
9435 (cnd_destroy): Likewise.
9436 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9437 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9438 object.
9439 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9440 * nptl/cnd_broadcast.c: New file.
9441 * nptl/cnd_destroy.c: Likewise.
9442 * nptl/cnd_init.c: Likewise.
9443 * nptl/cnd_signal.c: Likewise.
9444 * nptl/cnd_timedwait.c: Likewise.
9445 * nptl/cnd_wait.c: Likewise.
9446 * sysdeps/nptl/threads.h (cnd_t): New type.
9447 (cnd_init): New prototype.
9448 (cnd_signa): Likewise.
9449 (cnd_broadcast): Likewise.
9450 (cnd_wait): Likewise.
9451 (cnd_timedwait): Likewise.
9452 (cnd_destroy): Likewise.
9453
9454 [BZ #14092]
9455 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9456 (once_flag): New type.
9457 (call_once): New function.
9458 * nptl/Makefile (libpthread-routines): Add call_once object.
9459 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9460 * nptl/call_once.c: New file.
9461 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9462 (once_flag): New type.
9463 (call_once): New prototype.
9464
9465 [BZ #14092]
9466 * conform/data/threads.h-data (mtx_plain): New constant.
9467 (mtx_recursive): Likewise.
9468 (mtx_timed): Likewise.
9469 (mtx_t): New type.
9470 (mtx_init): New function.
9471 (mtx_lock): Likewise.
9472 (mtx_timedlock): Likewise.
9473 (mtx_trylock): Likewise.
9474 (mtx_unlock): Likewise.
9475 (mtx_destroy): Likewise.
9476 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9477 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9478 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9479 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9480 * nptl/mtx_destroy.c: New file.
9481 * nptl/mtx_init.c: Likewise.
9482 * nptl/mtx_lock.c: Likewise.
9483 * nptl/mtx_timedlock.c: Likewise.
9484 * nptl/mtx_trylock.c: Likewise.
9485 * nptl/mtx_unlock.c: Likewise.
9486 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9487 (mtx_recursive): Likewise.
9488 (mtx_timed): Likewise.
9489 (mtx_t): New type.
9490 (mtx_init): New prototype.
9491 (mtx_lock): Likewise.
9492 (mtx_timedlock): Likewise.
9493 (mtx_trylock): Likewise.
9494 (mtx_unlock): Likewise.
9495 (mtx_destroy): Likewise.
9496
9497 [BZ #14092]
9498 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9499 (linknamespace-libs-ISO11): Add libpthread.a.
9500 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9501 functions.
9502 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9503 * nptl/Makefile (headers): Add threads.h.
9504 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9505 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9506 thrd_yield.
9507 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9508 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9509 thrd_join, thrd_sleep, and thrd_yield symbols.
9510 * nptl/descr.h (struct pthread): Add c11 field.
9511 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9512 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9513 routine with expected function prototype.
9514 (__pthread_create_2_1): Add C11 threads check based on attribute
9515 value.
9516 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9517 * nptl/thrd_create.c: New file.
9518 * nptl/thrd_current.c: Likewise.
9519 * nptl/thrd_detach.c: Likewise.
9520 * nptl/thrd_equal.c: Likewise.
9521 * nptl/thrd_exit.c: Likewise.
9522 * nptl/thrd_join.c: Likewise.
9523 * nptl/thrd_priv.h: Likewise.
9524 * nptl/thrd_sleep.c: Likewise.
9525 * nptl/thrd_yield.c: Likewise.
9526 * include/threads.h: Likewise.
9527
9528 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9529
9530 * bits/indirect-return.h: New file.
9531 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9532 * sysdeps/x86/bits/indirect-return.h: Likewise.
9533 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9534 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9535 (swapcontext): Add __INDIRECT_RETURN.
9536 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9537 (prepare_test_buffer): Use it.
9538
9539 2018-07-24 Andreas Schwab <schwab@suse.de>
9540
9541 [BZ #23448]
9542 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9543 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9544
9545 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9546
9547 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9548 Redefine if shadow stack is enabled.
9549 (SYSCALL_ERROR_LABEL): Likewise.
9550 (__vfork): Pop shadow stack and jump back to to caller directly
9551 when shadow stack is in use.
9552 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9553 Redefine if shadow stack is enabled.
9554 (SYSCALL_ERROR_LABEL): Likewise.
9555 (__vfork): Pop shadow stack and jump back to to caller directly
9556 when shadow stack is in use.
9557
9558 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9559
9560 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9561 enabled.
9562 (foo): Likewise.
9563 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9564 (foo): Likewise.
9565
9566 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9567
9568 * scripts/build-many-glibcs.py (Context.checkout): Default
9569 binutils version to 2.31 branch.
9570
9571 2018-07-20 Zong Li <zong@andestech.com>
9572
9573 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9574 URL of gcc's tarball.
9575
9576 2018-07-20 Florian Weimer <fweimer@redhat.com>
9577
9578 [BZ #23396]
9579 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9580 not compare an extra byte after the end of the weights.
9581
9582 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9583
9584 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9585 to 1.
9586 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9587 hidden prototypes.
9588 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9589 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9590 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9591 list of libraries whose stack executability is expected.
9592 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9593 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9594 variable.
9595 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9596 libc.so libpthread.so.
9597
9598 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9599
9600 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9601 SOCK_NONBLOCK.
9602 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9603 and SOCK_NONBLOCK.
9604 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9605 implement __pipe2.
9606 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9607
9608 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9609
9610 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9611 library to improve command line parsing.
9612 (__main__): make schema file as optional parameter (--schema),
9613 defaulting to benchtests/scripts/benchout.schema.json.
9614 (main): move out of the parsing stuff to __main_  and leave it
9615 only as caller of main comparison functions.
9616
9617 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9618
9619 * NEWS: Add a note for Intel CET status.
9620 * manual/install.texi: Likewise.
9621 * INSTALL: Regenerated.
9622
9623 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9624
9625 [BZ #23140]
9626 * localedata/locales/oc_FR (mon): Rename to...
9627 (alt_mon): This, then update October (typo fix).
9628 (mon): New content (genitive case, month names preceded by
9629 "de" or "d’").
9630
9631 [BZ #23422]
9632 * localedata/locales/oc_FR (abday): Update all items.
9633 (day): Update Wednesday and Saturday (typo fixes).
9634 (abmon): Update all items, except May.
9635 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9636 (LC_IDENTIFICATION): Bump the revision number and date.
9637 Keep the "category" entries in alphabetic order.
9638 (LC_ADDRESS): Remove no longer needed comment.
9639 (LC_COLLATE): Use “copy "ca_ES"”.
9640 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9641 "name_mrs".
9642
9643 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9644
9645 * grp/tst_fgetgrent.c: Include <unistd.h>.
9646 (main): Use mkstemp instead of tmpnam.
9647 * io/test-utime.c (main): Likewise.
9648 * posix/annexc.c (macrofile): Change to modifiable array.
9649 (main): Remove macrofile here.
9650 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9651 macrofile here.
9652 (check_header): Do not remove macrofile here.
9653 * posix/bug-getopt1.c: Include <stdlib.h>.
9654 (do_test): Use mkstemp instead of tmpnam.
9655 * posix/bug-getopt2.c: Include <stdlib.h>.
9656 (do_test): Use mkstemp instead of tmpnam.
9657 * posix/bug-getopt3.c: Include <stdlib.h>.
9658 (do_test): Use mkstemp instead of tmpnam.
9659 * posix/bug-getopt4.c: Include <stdlib.h>.
9660 (do_test): Use mkstemp instead of tmpnam.
9661 * posix/bug-getopt5.c: Include <stdlib.h>.
9662 (do_test): Use mkstemp instead of tmpnam.
9663 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9664 (main): Use mkstemp instead of tmpnam.
9665 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9666 (main): Use mkstemp instead of tmpnam.
9667 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9668 (main): use mkstemp instead of tmpnam.
9669 * stdlib/isomac.c (macrofile): Change to modifiable array.
9670 (main): Remove macrofile here.
9671 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9672 macrofile here.
9673 (check_header): Do not remove macrofile here.
9674
9675 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9676
9677 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9678 glibc.tune.x86_shstk.
9679
9680 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9681
9682 * NEWS: Mention --enable-cet.
9683 * manual/install.texi: Document --enable-cet.
9684 * INSTALL: Regenerated.
9685
9686 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9687
9688 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9689 Add _CET_NOTRACK before indirect jump to jump table.
9690
9691 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9692
9693 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9694 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9695 to jump table.
9696
9697 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9700 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9701 to jump table.
9702
9703 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9704
9705 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9706 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9707 to jump table.
9708
9709 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9710
9711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9712 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9713 to jump table.
9714
9715 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9716
9717 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9718 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9719 to jump table.
9720 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9721
9722 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9723
9724 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9725 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9726 to jump table.
9727
9728 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9729
9730 * sysdeps/i386/i686/multiarch/memset-sse2.S
9731 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9732 to jump table.
9733
9734 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9735
9736 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9737 indirect jump to jump table.
9738
9739 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9742 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9743 to jump table.
9744 (MEMCPY): Likewise.
9745
9746 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9747
9748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9749 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9750 to jump table.
9751 (MEMCPY): Likewise.
9752
9753 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9754
9755 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9756 _CET_NOTRACK before indirect jump to jump table.
9757
9758 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9759
9760 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9761 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9762 to jump table.
9763
9764 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9765
9766 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9767 indirect jump to jump table.
9768
9769 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9770
9771 [BZ #22241]
9772 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9773 (LOCALES): Likewise.
9774 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9775 * localedata/locales/sah_RU: New file.
9776 * localedata/sah_RU.UTF-8.in: New file.
9777
9778 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9779
9780 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9781 "sysdep.h".
9782 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9783 _CET_ENDBR to indirect jump targets and adjust jump destination
9784 for _CET_ENDBR.
9785 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9786 "sysdep.h".
9787 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9788 _CET_ENDBR to indirect jump targets and adjust jump destination
9789 for _CET_ENDBR.
9790 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9791 "sysdep.h".
9792 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9793 _CET_ENDBR to indirect jump targets and adjust jump destination
9794 for _CET_ENDBR.
9795
9796 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9797
9798 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9799 _CET_ENDBR.
9800
9801 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9802
9803 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9804 _CET_ENDBR.
9805 (_dl_tlsdesc_undefweak): Likewise.
9806 (_dl_tlsdesc_dynamic): Likewise.
9807 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9808 (_dl_tlsdesc_resolve_rel): Likewise.
9809 (_dl_tlsdesc_resolve_rela): Likewise.
9810 (_dl_tlsdesc_resolve_hold): Likewise.
9811 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9812 (_dl_tlsdesc_undefweak): Likewise.
9813 (_dl_tlsdesc_dynamic): Likewise.
9814 (_dl_tlsdesc_resolve_rela): Likewise.
9815 (_dl_tlsdesc_resolve_hold): Likewise.
9816
9817 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9818
9819 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9820 (_fini): Likewise.
9821 * sysdeps/x86_64/crti.S (_init): Likewise.
9822 (_fini): Likewise.
9823
9824 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9825
9826 [BZ #23140]
9827 * localedata/locales/os_RU (mon): Rename to...
9828 (alt_mon): This.
9829 (mon): Import from CLDR (genitive case).
9830
9831 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9832
9833 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9834 cet-tunables.h> when CET is enabled.
9835
9836 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9837
9838 [BZ #21598]
9839 * configure.ac: Add --enable-cet.
9840 * configure: Regenerated.
9841 * elf/Makefille (all-built-dso): Add a comment.
9842 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9843 Include <dl-prop.h>.
9844 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9845 segment.
9846 * elf/dl-open.c: Include <dl-prop.h>.
9847 (dl_open_worker): Call _dl_open_check.
9848 * elf/rtld.c: Include <dl-prop.h>.
9849 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9850 _rtld_main_check.
9851 * sysdeps/generic/dl-prop.h: New file.
9852 * sysdeps/i386/dl-cet.c: Likewise.
9853 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9854 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9855 * sysdeps/x86/cet-tunables.h: Likewise.
9856 * sysdeps/x86/check-cet.awk: Likewise.
9857 * sysdeps/x86/configure: Likewise.
9858 * sysdeps/x86/configure.ac: Likewise.
9859 * sysdeps/x86/dl-cet.c: Likewise.
9860 * sysdeps/x86/dl-procruntime.c: Likewise.
9861 * sysdeps/x86/dl-prop.h: Likewise.
9862 * sysdeps/x86/libc-start.h: Likewise.
9863 * sysdeps/x86/link_map.h: Likewise.
9864 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9865 _CET_ENDBR.
9866 (_dl_runtime_profile): Likewise.
9867 (_dl_runtime_resolve_shstk): New.
9868 (_dl_runtime_profile_shstk): Likewise.
9869 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9870 if CET is enabled.
9871 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9872 (CFLAGS-.os): Likewise.
9873 (CFLAGS-.op): Likewise.
9874 (CFLAGS-.oS): Likewise.
9875 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9876 is enabled.
9877 (tests-special): Add $(objpfx)check-cet.out.
9878 (cet-built-dso): New.
9879 (+$(cet-built-dso:=.note)): Likewise.
9880 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9881 ($(objpfx)check-cet.out): New.
9882 (generated): Add check-cet.out.
9883 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9884 <cet-tunables.h>.
9885 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9886 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9887 (init_cpu_features): Call get_cet_status to check CET status
9888 and update dl_x86_feature_1 with CET status. Call
9889 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9890 (set_x86_shstk). Disable and lock CET in libc.a.
9891 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9892 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9893 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9894 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9895 (_CET_ENDBR): Define if not defined.
9896 (ENTRY): Add _CET_ENDBR.
9897 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9898 x86_shstk.
9899 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9900 _CET_ENDBR.
9901 (_dl_runtime_profile): Likewise.
9902
9903 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9904
9905 [BZ #21895]
9906 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9907 restore r2 on longjmp.
9908 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9909 test list.
9910 Added rules to build test tst-setjmp-bug21895-static.
9911 Added module setjmp-bug21895 and rules to build a shared object from it.
9912 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9913 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9914
9915 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9916
9917 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9918 * benchtests/bench-strstr.c: Likewise.
9919 * string/memmem.c (FASTSEARCH): Define.
9920 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9921 Add support for FASTSEARCH.
9922 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9923 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9924 (FASTSEARCH): Define.
9925 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9926 * string/test-strstr.c: Likewise.
9927
9928 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9929
9930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9931 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9932
9933 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9934 H.J. Lu <hongjiu.lu@intel.com>
9935
9936 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9937 (__longjmp): Restore shadow stack pointer if shadow stack is
9938 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9939 isn't defined for __longjmp_cancel.
9940 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9941 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9942 and SHADOW_STACK_POINTER_OFFSET is defined.
9943 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9944 (setjmp): Save shadow stack pointer if shadow stack is enabled
9945 and SHADOW_STACK_POINTER_OFFSET is defined.
9946 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9947 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9948 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9949 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9950 <jmp_buf-ssp.h>.
9951 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9952 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9953 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9954 Remove jmp_buf-ssp.sym.
9955 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9956 <jmp_buf-ssp.h>.
9957 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9958 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9959 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9960 jmp_buf-ssp.sym.
9961 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9962 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9963 (__longjmp): Restore shadow stack pointer if shadow stack is
9964 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9965 isn't defined for __longjmp_cancel.
9966 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9967 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9968 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9969
9970 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9971
9972 [BZ #22563]
9973 * nptl/pthread_create.c: Include <tls-setup.h>.
9974 (__pthread_create_2_1): Call tls_setup_tcbhead.
9975 * sysdeps/generic/tls-setup.h: New file.
9976 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9977 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9978 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9979 Likewise.
9980 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9981 to feature_1.
9982 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9983 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9984 (X86_FEATURE_1_SHSTK): Likewise.
9985 (CET_ENABLED): Likewise.
9986 (IBT_ENABLED): Likewise.
9987 (SHSTK_ENABLED): Likewise.
9988
9989 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9990
9991 [BZ #23208]
9992 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9993 (LOCALES): Likewise.
9994 * localedata/dsb_DE.UTF-8.in: New file.
9995 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9996
9997 2018-07-12 Florian Weimer <fweimer@redhat.com>
9998
9999 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10000 __mprotect, not mprotect.
10001
10002 2018-07-11 Florian Weimer <fweimer@redhat.com>
10003
10004 * io/Makefile (headers): Add bits/statx.h.
10005
10006 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10007
10008 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10009 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10010 and headers.
10011 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10012 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10013 for utf8_gen.py
10014
10015 2018-07-10 Florian Weimer <fweimer@redhat.com>
10016
10017 * io/Makefile (routines): Add statx.
10018 (tests-internal): Add tst-statx.
10019 * io/Versions (GLIBC_2.28): Export statx.
10020 * io/bits/statx.h: New file.
10021 * io/sys/stat.h [__USE_GNU]: Include it.
10022 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10023 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10024 Define.
10025 * io/statx.c: New file.
10026 * io/statx_generic.: Likewise.
10027 * io/tst-statx.: Likewise.
10028 * include/bits/statx.h: Likewise.
10029 * sysdeps/unix/sysv/linux/kernel-features.h
10030 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10031 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10032 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10033 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10034 Undefine.
10035 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10036 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10037 * sysdeps/unix/sysv/linux/statx.c: New file.
10038 * manual/filesys.texi: Note that statx is undocumented.
10039 * sysdeps/**/libc*.abilist: Update.
10040
10041 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10042
10043 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10044 a kernel issue which lead to test failure in some cases.
10045
10046 2018-07-10 Florian Weimer <fweimer@redhat.com>
10047
10048 [BZ #23036]
10049 * posix/regexec.c (check_node_accept_bytes): When comparing
10050 weights, do not compare an extra byte after the end of the
10051 weights.
10052
10053 2018-07-10 Florian Weimer <fweimer@redhat.com>
10054
10055 * libio/readline.c: Fix copyright year.
10056 * libio/tst-readline.c Likewise.
10057 * nss/tst-nss-files-hosts-getent.c: Likewise.
10058
10059 2018-07-06 Florian Weimer <fweimer@redhat.com>
10060
10061 [BZ #18991]
10062 * nss/nss_files/files-XXX.c (internal_getent): Use
10063 __libc_readline_unlocked. Seek back to the start of the line if
10064 parsing failes with ERANGE.
10065 (get_contents_ret, get_contents): Remove.
10066 * nss/tst-nss-files-hosts-getent.c: New file.
10067 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10068 (tst-nss-files-hosts-getent): Link with -ldl.
10069
10070 2018-07-06 Florian Weimer <fweimer@redhat.com>
10071
10072 * include/stdio.h (__libc_readline_unlocked): Declare.
10073 (__ftello64, __fseeko64): Declare aliases.
10074 * libio/readline.c: New file.
10075 * libio/tst-readline.c: Likewise.
10076 (routines): Add readline.
10077 (tests-internal): Add tst-readlime.
10078 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10079 __libc_readline_unlocked.
10080 * libio/fseeko.c (__fseeko): Rename from fseeko.
10081 (fseeko): Add alias.
10082 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10083 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10084 (fseeko64): Add alias.
10085 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10086 * libio/ftello64.c (__ftello64): Rename from ftello64.
10087 (ftello64): Add alias.
10088
10089 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10090
10091 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10092 HWCAP_ATOMICS.
10093
10094 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10095
10096 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10097 Use dl_hwcap without masking.
10098 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10099 Remove HWCAP_CPUID.
10100
10101 2018-07-06 Florian Weimer <fweimer@redhat.com>
10102
10103 * conform/conformtest.pl (checknamespace): Escape literal braces
10104 in regular expressions.
10105
10106 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10107
10108 * sysdeps/x86/cpu-features.c (get_common_indeces):
10109 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10110 * sysdeps/x86/cpu-features.c (init_cpu_features):
10111 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10112
10113 2018-07-05 Florian Weimer <fweimer@redhat.com>
10114
10115 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10116 protector.
10117 (CFLAGS-elf-init.oS): Likewise.
10118
10119 2018-07-05 Florian Weimer <fweimer@redhat.com>
10120 Carlos O'Donell <carlos@redhat.com>
10121
10122 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10123 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10124 with stack protector enabled because there is no risk of infinite
10125 recursion.
10126
10127 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10128
10129 [BZ #19818]
10130 [BZ #23307]
10131 * libc-abis (ABSOLUTE): New ABI.
10132 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10133 * NEWS: Mention the new ABI.
10134
10135 2018-07-05 Florian Weimer <fweimer@redhat.com>
10136
10137 [BZ # 17662]
10138 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10139 (RENAME_WHITEOUT): Define.
10140 [__USE_GNU] (renameat2): Declare.
10141 * stdio-common/Makefile (routines): Add renameat2.
10142 (tests): Add tst-renameat2.
10143 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10144 * stdio-common/renameat2.c: New file.
10145 * stdio-common/tst-renameat2.c: Likewise.
10146 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10147 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10148 undocumented.
10149 * sysdeps/unix/sysv/linux/kernel-features.h
10150 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10151 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10152 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10153 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10154 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10155 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10156 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10157 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10158 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10159 * include/stdio.h (__renameat): Add alias for renameat.
10160 * stdio-common/renameat.c (__renameat): Rename from renameat.
10161 Add hidden definition and alias.
10162 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10163 * sysdeps/mach/hurd/renameat.c: Likewise.
10164 * sysdeps/**/libc*.abilist: Add renameat2.
10165
10166 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10167
10168 * posix/bug-regex33.c: Fix build after regex sync.
10169
10170 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10171
10172 [BZ #23164]
10173 * localedata/tst-langinfo-setlocale.c: New file.
10174 * localedata/tst-langinfo-setlocale-static.c: New file.
10175 * localedata/tst-langinfo-newlocale.c: New file.
10176 * localedata/tst-langinfo-newlocale-static.c: New file.
10177 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10178 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10179 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10180 (tests-static): Remove tst-langinfo-static. Add
10181 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10182 (tests-special): Remove $(objpfx)tst-langinfo.out,
10183 $(objpfx)tst-langinfo-static.out. Add
10184 $(objpfx)tst-langinfo-setlocale.out,
10185 $(objpfx)tst-langinfo-newlocale.out,
10186 $(objpfx)tst-langinfo-setlocale-static.out,
10187 $(objpfx)tst-langinfo-newlocale-static.out.
10188 ($(objpfx)tst-langinfo.out): Remove.
10189 ($(objpfx)tst-langinfo-static.out): Remove.
10190 ($(objpfx)tst-langinfo-newlocale.out): New target.
10191 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10192 (test-xfail-tst-langinfo-newlocale-static): Add.
10193 ($(objpfx)tst-langinfo-setlocale.out): New target.
10194 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10195 * localedata/tst-langinfo.c: Call test_locale.
10196 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10197 data.
10198
10199 2018-07-04 Florian Weimer <fweimer@redhat.com>
10200
10201 testrun.sh: Implement --tool=strace, --tool=valgrind
10202 * Makefile (testrun-script): Define variable.
10203 (testrun.sh): Use variable.
10204 * manual/install.texi (Tools for Compilation): make 4.0 or later
10205 is required.
10206 * configure.ac: Check for make 4.0 or later.
10207 * INSTALL: Regenerate.
10208 * configure: Likewise.
10209
10210 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10211
10212 [BZ #23233]
10213 [BZ #21163]
10214 [BZ #18986]
10215 [BZ #13762]
10216 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10217 * posix/PCRE.tests: Remove invalid test.
10218 * posix/bug-regex28.c: Fix expected values for used syntax.
10219 * posix/bug-regex37.c: New file.
10220 * posix/bug-regex38.c: Likewise.
10221 * posix/regcomp.c: Sync with gnulib.
10222 * posix/regex.c: Likewise.
10223 * posix/regex.h: Likewise.
10224 * posix/regex_internal.c: Likewise.
10225 * posix/regex_internal.h: Likewise.
10226 * posix/regexec.c: Likewise.
10227
10228 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10229
10230 [BZ #23308]
10231 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10232 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10233 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10234 * localedata/unicode-gen/PropList.txt: likewise.
10235 * localedata/unicode-gen/UnicodeData.txt: likewise.
10236 * localedata/charmaps/UTF-8: Regenerate.
10237 * localedata/locales/i18n_ctype: likewise.
10238 * localedata/locales/tr_TR: likewise.
10239 * localedata/locales/translit_circle: likewise.
10240 * localedata/locales/translit_cjk_compat: likewise.
10241 * localedata/locales/translit_combining: likewise.
10242 * localedata/locales/translit_compat: likewise.
10243 * localedata/locales/translit_font: likewise.
10244 * localedata/locales/translit_fraction: likewise.
10245
10246 2018-07-03 Florian Weimer <fweimer@redhat.com>
10247
10248 [BZ #23363]
10249 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10250 * stdio-common/tst-printf.sh: Adjust expected output.
10251 * LICENSES: Update.
10252
10253 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10254
10255 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10256 symbol.
10257
10258 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10259
10260 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10261 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10262 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10263 * stdio-common/tst-printfsz-islongdouble.c: New file.
10264 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10266 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10267 [subdir == stdio-common] (tests-internal): Add
10268 test-printf-size-ieee128, and test-printf-size-ibm128.
10269 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10270 (CFLAGS-test-printf-size-ibm128.c): New variables.
10271 [subdir == stdio-common] (tests-special): Add
10272 $(objpfx)test-printf-size-ieee128.out and
10273 $(objpfx)test-printf-size-ibm128.out.
10274 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10275 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10276 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10277 __printf_sizeieee128.
10278 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10279 New file.
10280 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10281 Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10283 Likewise.
10284
10285 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10286
10287 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10288 (exp2f_inline): Likewise.
10289 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10290 (__math_uflowf): Likewise.
10291 (__math_may_uflowf): Likewise.
10292 (__math_divzerof): Likewise.
10293 (__math_invalidf): Likewise.
10294 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10295 (__math_oflowf): Likewise.
10296 (__math_uflowf): Likewise.
10297 (__math_may_uflowf): Likewise.
10298 (__math_divzerof): Likewise.
10299 (__math_invalidf): Likewise.
10300
10301 2018-06-29 DJ Delorie <dj@redhat.com>
10302 Carlos O'Donell <carlos@redhat.com>
10303
10304 [BZ #23329]
10305 * include/libc-symbols.h: Comment the freeres framework.
10306 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10307 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10308 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10309 * dlfcn/dlerror.c: Include libc-symbols.h
10310 (__dlerror_main_freeres): New function.
10311 * dlfcn/dlfreeres.c: New file.
10312 * dlfcn/sdlfreeres.c: New file.
10313 * include/dlfcn.h: Declare __dlerror_main_freeres.
10314 * malloc/set-freeres.c: Declare __libdl_freeres, and
10315 __libpthread_freeres.
10316 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10317 the releavant libraries are loaded.
10318 * malloc/thread-freeres.c: Add comments.
10319 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10320 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10321 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10322 (__free_stacks): Rename to...
10323 (free_stacks): ...this. Mark static.
10324 (queue_stack): Call free_stacks.
10325 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10326 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10327 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10328 ptr_freeres element from struct.
10329 (pthread_functions): Remove .ptr_freeres from struct initializer.
10330 [SHARED] (nptl_freeres): Remove.
10331 * nptl/nptlfreeres.c: New file.
10332 * nptl/pthreadP.h
10333 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10334 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10335 attribute_hidden.
10336 (__free_stacks): Rename to...
10337 (__nptl_stacks_freeres): ...this.
10338 (__shm_directory_freeres): Declare.
10339 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10340 (__nptl_unwind_freeres): ...this.
10341 * resolv/res-close.c: Add comment.
10342 * resolv/resolv_conf.c: Include libc-symbols.h.
10343 * string/strerror_l.c: Include libc-symbols.h.
10344 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10345 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10346 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10347 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10348
10349 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10350
10351 * stdlib/tst-strfmon_l.c: Add tests for long double.
10352
10353 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10354
10355 [BZ #23208]
10356 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10357 * localedata/locales/dsb_DE: New file.
10358
10359 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10360
10361 [BZ #23140]
10362 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10363 genitive case).
10364 (alt_mon): New entry, import from CLDR (nominative case).
10365
10366 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10367
10368 [BZ #22996]
10369 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10370
10371 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10372
10373 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10374 Use vector registers.
10375
10376 * sysdeps/aarch64/multiarch/memmove_falkor.S
10377 (__memcpy_falkor): Use vector registers.
10378
10379 2018-06-29 Martin Sebor <msebor@redhat.com>
10380
10381 * manual/stdio.texi (Customizing Printf): Mention interaction
10382 with GCC built-ins.
10383
10384 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10385
10386 [BZ #23307]
10387 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10388 `st_value' is 0 if `st_shndx' is SHN_ABS.
10389 * elf/tst-absolute-zero.c: New file.
10390 * elf/tst-absolute-zero-lib.c: New file.
10391 * elf/tst-absolute-zero-lib.lds: New file.
10392 * elf/Makefile (tests): Add `tst-absolute-zero'.
10393 (modules-names): Add `tst-absolute-zero-lib'.
10394 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10395 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10396 ($(objpfx)tst-absolute-zero: New dependency.
10397
10398 2018-06-29 Zack Weinberg <zackw@panix.com>
10399
10400 * configure.ac: New command-line option --disable-crypt.
10401 Force --disable-nss-crypt when --disable-crypt is given, with a
10402 warning if it was explicitly enabled.
10403 * configure: Regenerate.
10404 * config.make.in: New boolean substitution variable $(build-crypt).
10405 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10406 when $(build-crypt).
10407 * manual/install.texi: Document --disable-crypt.
10408 * INSTALL: Regenerate.
10409
10410 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10411 which is never set.
10412 * conform/Makefile: Only include libcrypt.a in
10413 linknamespace-libs-xsi and linknamespace-libs-XPG4
10414 when $(build-crypt).
10415 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10416 USE_CRYPT to 1 when $(build-crypt).
10417 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10418 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10419 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10420
10421 2018-06-29 Zack Weinberg <zackw@panix.com>
10422
10423 * crypt/crypt.h, posix/unistd.h: Update comments and
10424 prototypes for crypt and crypt_r.
10425
10426 * manual/crypt.texi (Cryptographic Functions): New initial
10427 exposition.
10428 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10429 (Unpredictable Bytes): Improve initial exposition. Clarify error
10430 behavior of getentropy and getrandom.
10431 * manual/examples/genpass.c: Generate a salt using getentropy
10432 instead of the current time. Use hash $5$ (SHA-2-256).
10433 * manual/examples/testpass.c: Demonstrate validation against
10434 hashes generated with three different one-way functions.
10435
10436 * manual/intro.texi: crypt.texi does not need an overview
10437 anymore.
10438
10439 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10440 * manual/terminal.texi: Consistently refer to "passphrases"
10441 * instead of "passwords", and to the "user database" instead
10442 * of the "password database".
10443 * manual/users.texi: Similarly. Add notes about how actual
10444 passphrase hashes are now stored in the shadow database.
10445 Remove 20-year-old junk todo note.
10446
10447 2018-06-29 Zack Weinberg <zackw@panix.com>
10448
10449 * manual/crypt.texi: Use a normal top-level @node declaration.
10450 Move most of the introductory text to the 'crypt' section.
10451 Move the example programs below the @deftypefun for 'crypt_r'.
10452 Move the 'getpass' section...
10453 * manual/terminal.texi: ...here.
10454
10455 2018-06-29 Zack Weinberg <zackw@panix.com>
10456 Florian Weimer <fweimer@redhat.com>
10457
10458 * posix/unistd.h: Do not declare encrypt.
10459 (_XOPEN_CRYPT): Remove macro definition.
10460 (crypt): Declare only for _USE_MISC.
10461 * stdlib/stdlib.h: Do not declare setkey.
10462 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10463 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10464
10465 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10466 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10467 into compat symbols. Don't define initial_perm if it's not
10468 going to be used.
10469 * crypt/cert.c: Link explicitly with the expected versions for
10470 setkey and encrypt. If they are not available at all, mark
10471 the test as unsupported.
10472
10473 * sunrpc/des_crypt.c: Unconditionally block linkage with
10474 cbc_crypt and ecb_crypt for new binaries.
10475 * sunrpc/des_soft.c: Unconditionally block linkage with
10476 des_setparity for new binaries.
10477
10478 * manual/crypt.texi: Remove the entire "DES Encryption"
10479 section. Also remove the paragraph talking about FIPS 140-2
10480 from the introduction.
10481 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10482 of libgcrypt for "real" encryption, not DES.
10483 * manual/conf.texi (Constants for Sysconf): Mention that
10484 _XOPEN_CRYPT is no longer impelemented.
10485
10486 * conform/data/unistd.h-data: Remove crypt function declaration.
10487
10488 2018-06-29 Florian Weimer <fweimer@redhat.com>
10489
10490 [BZ #23351]
10491 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10492 (disallow_malloc_check): Remove variable.
10493 (__malloc_check_init): Adjust.
10494 (malloc_set_state): Update comment.
10495 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10496 declarations.
10497
10498 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10499
10500 [BZ #23140]
10501 * localedata/locales/ast_ES (mon): Rename to...
10502 (alt_mon): This.
10503 (mon): Import from CLDR (genitive case).
10504
10505 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10506 Jakub Sitnicki <jkbs@redhat.com>
10507
10508 [BZ #21812]
10509 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10510 on NLM_F_DUMP_INTR.
10511
10512 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10513
10514 * manual/llio.texi: Remove spurious space.
10515
10516 2018-06-28 Florian Weimer <fweimer@redhat.com>
10517
10518 [BZ #23349]
10519 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10520 _STRUCT_TIMESPEC.
10521
10522 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10523
10524 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10525 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10526 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10527 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10528 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10529 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10530 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10531
10532 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10533
10534 [BZ #23266]
10535 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10536 Copy and null-terminate entries that are not terminated, in
10537 addition to empty ones.
10538
10539 2018-06-27 Florian Weimer <fweimer@redhat.com>
10540
10541 [BZ #18023]
10542 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10543 (extend_alloca_account): Remove.
10544 * manual/stdio.texi (Variable Arguments Output): Update comment.
10545
10546 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10547
10548 * nptl/sockperf.c: Remove file.
10549
10550 2018-06-27 Florian Weimer <fweimer@redhat.com>
10551
10552 [BZ #18023]
10553 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10554 scratch_buffer instead of extend_alloca.
10555
10556 2018-06-27 Florian Weimer <fweimer@redhat.com>
10557
10558 [BZ #18023]
10559 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10560 scratch_buffer instead of extend_alloca. Update comments.
10561
10562 2018-06-27 Florian Weimer <fweimer@redhat.com>
10563
10564 [BZ #18023]
10565 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10566 instead of extend_alloca.
10567
10568 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10569
10570 [BZ #13888]
10571 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10572 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10573 /tmp.
10574 * scripts/test-installation.pl: Put temporary files in build
10575 directory, not /tmp.
10576 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10577 (CFLAGS-bug4.c): Likewise.
10578 (CFLAGS-bug5.c): Likewise.
10579 (CFLAGS-test-fseek.c): Likewise.
10580 (CFLAGS-test-popen.c): Likewise.
10581 (CFLAGS-test_rdwr.c): Likewise.
10582 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10583 /tmp.
10584 * stdio-common/bug4.c (main): Likewise.
10585 * stdio-common/bug5.c (main): Likewise.
10586 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10587 * stdio-common/test-popen.c (do_test): Likewise.
10588 * stdio-common/test_rdwr.c (main): Likewise.
10589
10590 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10591
10592 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10593 (sem_open): Set sem.newsem.pad to zero for valgrind.
10594
10595 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10596
10597 [BZ #20251]
10598 * NEWS: Mention fcntl64 addition.
10599 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10600 * login/utmp_file.c: Likewise.
10601 * sysdeps/posix/fdopendir.c: Likewise.
10602 * sysdeps/posix/opendir.c: Likewise.
10603 * sysdeps/unix/pt-fcntl.c: Likewise.
10604 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10605 __fcntl64_nocancel_adjusted): New prototype.
10606 (__fcntl_nocancel_adjusted): Remove prototype.
10607 * io/Makefile (routines): Add fcntl64.
10608 (CFLAGS-fcntl64.c): New rule.
10609 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10610 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10611 * io/fcntl.h (fcntl64): Add prototype and redirect if
10612 __USE_FILE_OFFSET64 is defined.
10613 * io/fcntl64.c: New file.
10614 * manual/llio.text: Add a note for which commands fcntl acts a
10615 cancellation point.
10616 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10617 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10618 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10619 New symbols.
10620 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10621 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10622 non-LFS case.
10623 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10624 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10625 to __fcntl64_nocancel.
10626 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10627 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10628 to __fcntl64_nocancel.
10629 * sysdeps/generic/not-cancel.h: Likewise.
10630 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10631 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10632 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10633 (fcntl64): New symbol.
10634 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10635 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10636 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10639 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10640 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10641 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10642 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10643 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10644 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10645 fcntl64): Likewise.
10646 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10648 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10656 Likewise.
10657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10658 Likewise.
10659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10662
10663 2018-06-26 Florian Weimer <fweimer@redhat.com>
10664
10665 Run thread shutdown functions in an explicit order.
10666 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10667 definition.
10668 (__libc_thread_freeres): Call thread shutdown functions
10669 explicitly.
10670 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10671 * include/string.h (__strerror_thread_freeres): Declare.
10672 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10673 arena_thread_freeres. No longer static. Remove thread shutdown
10674 hook registration.
10675 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10676 Declare.
10677 * resolv/res-close.c (__res_thread_freeres): Renamed from
10678 res_thread_freeres. No longer static. Remove thread shutdown
10679 hook registration.
10680 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10681 * resolv/resolv_conf.c (freeres): Remove incorrect section
10682 attribute and use libc_freeres_fn.
10683 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10684 strerror_thread_freeres. No longer static. Remove thread
10685 shutdown hook registration.
10686 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10687 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10688 shutdown hook registration.
10689 * Makerules (shlib.lds): Do not provide section boundary symbols
10690 for __libc_thread_subfreeres.
10691 * manual/memory.texi (Basic Allocation): Update comment.
10692
10693 2018-06-26 Florian Weimer <fweimer@redhat.com>
10694
10695 Remove always-defined _RPC_THREAD_SAFE_ macro.
10696 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10697 Do not define _RPC_THREAD_SAFE_.
10698 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10699 conditional.
10700 * sunrpc/clnt_perr.c: Likewise.
10701 * sunrpc/clnt_raw.c: Likewise.
10702 * sunrpc/clnt_simp.c: Likewise.
10703 * sunrpc/key_call.c: Likewise.
10704 * sunrpc/rpc_common.c: Likewise.
10705 * sunrpc/rpc_main.c: Likewise.
10706 * sunrpc/rpc_thread.c: Likewise.
10707 * sunrpc/svc.c: Likewise.
10708 * sunrpc/svc_raw.c: Likewise.
10709 * sunrpc/svc_simple.c: Likewise.
10710 * sumrpc/svcauth_des.c: Likewise.
10711
10712 2018-06-26 Florian Weimer <fweimer@redhat.com>
10713
10714 * libio/Makefile (tests-internal): Add tst-vtables,
10715 tst-vtables-interposed.
10716 * libio/tst-vtables.c: New file.
10717 * libio/tst-vtables-common.c: Likewise.
10718 * libio/tst-vtables-interposed.c: Likewise.
10719
10720 2018-06-26 Florian Weimer <fweimer@redhat.com>
10721
10722 * support/support_test_main.c (support_test_main): Only call
10723 setvbuf if not disables.
10724 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10725 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10726
10727 2018-06-26 Florian Weimer <fweimer@redhat.com>
10728
10729 [BZ #23313]
10730 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10731
10732 2018-06-25 Florian Weimer <fweimer@redhat.com>
10733
10734 [BZ #18023]
10735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10736 Use struct scratch_buffer instead of extend_alloca.
10737
10738 2018-06-25 Florian Weimer <fweimer@redhat.com>
10739
10740 [BZ #18023]
10741 * nss/getent.c (initgroups_keys): Use dynarray instead of
10742 extend_alloca.
10743
10744 2018-06-25 Florian Weimer <fweimer@redhat.com>
10745
10746 [BZ #18023]
10747 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10748 Use struct scratch_buffer instead of extend_alloca.
10749
10750 2018-06-25 Florian Weimer <fweimer@redhat.com>
10751
10752 [BZ #18023]
10753 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10754 back to malloc directly, without stack allocations.
10755
10756 2018-06-25 Florian Weimer <fweimer@redhat.com>
10757
10758 [BZ #18023]
10759 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10760 of extend_alloca.
10761
10762 2018-06-25 Florian Weimer <fweimer@redhat.com>
10763
10764 [BZ #18023]
10765 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10766 of extend_alloca.
10767 * nscd/hstcache.c (addhstbyX): Likewise.
10768 * nscd/pwdcache.c (addpwbyX): Likewise.
10769 * nscd/servicescache.c (addservbyX): Likewise.
10770
10771 2018-06-25 Florian Weimer <fweimer@redhat.com>
10772
10773 [BZ #18023]
10774 * nscd/connections.c (read_cmdline): New function.
10775 (restart): Use it. Update comment.
10776
10777 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10778
10779 [BZ #23140]
10780 * localedata/locales/csb_PL (mon): Rename to...
10781 (alt_mon): This.
10782 (abmon): Rename to...
10783 (ab_alt_mon): This.
10784 (mon): Add with proper genitive forms, copy from Wikipedia.
10785 (abmon): Likewise.
10786
10787 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10788
10789 [BZ #19485]
10790 * localedata/locales/csb_PL (mon): Fix typos:
10791 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10792 (yesstr): Add, value is "jo".
10793 (nostr): Add, value is "nié".
10794
10795 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10796
10797 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10798 all log1p and significand functions on m680x0.
10799 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10800 of s_significand.c..
10801 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10802 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10803 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10804 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10805 s_log1p.c and include it..
10806
10807 2018-06-21 Vincent Chen <vincentc@andestech.com>
10808
10809 * elf/elf.h (R_NDS32_NONE): New define.
10810 (R_NDS32_32_RELA): Likewise.
10811 (R_NDS32_COPY): Likewise.
10812 (R_NDS32_GLOB_DAT): Likewise.
10813 (R_NDS32_JUMP_SLOT): Likewise.
10814 (R_NDS32_RELATIVE): Likewise.
10815 (R_NDS32_TLS_TPOFF): Likewise.
10816 (R_NDS32_TLS_DESC): Likewise.
10817
10818 2018-06-21 Mark Wielaard <mark@klomp.org>
10819
10820 * elf/elf.h (R_BPF_MAP_FD): Removed.
10821 (R_BPF_64_64, R_BPF_64_32): New.
10822
10823 2018-06-21 Florian Weimer <fweimer@redhat.com>
10824
10825 [BZ #23253]
10826 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10827 Renamed from libc_feholdsetround_ctx.
10828 (default_libc_feresetround_ctx): Renamed from
10829 libc_feresetround_ctx.
10830 (default_libc_feholdsetround_noex_ctx): Renamed from
10831 libc_feholdsetround_noex_ctx.
10832 (default_libc_feresetround_noex_ctx): Renamed from
10833 libc_feresetround_noex_ctx.
10834 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10835 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10836 forwardning to the old implementations under the new names.
10837 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10838 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10839 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10840 (libc_feresetround_ctx): Forward to default implements for i386
10841 and MATH_SET_BOTH_ROUNDING_MODES.
10842 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10843 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10844
10845 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10846
10847 * string/tst-cmp.c: Include <libc-diag.h>.
10848 (strncmp_max): Disable -Wstringop-overflow= around call to
10849 strncmp.
10850 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10851 strncasecmp.
10852
10853 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10854 (main): Disable -Wunused-value around call to strpbrk.
10855 * string/bug-strspn1.c: Include <libc-diag.h>.
10856 (main): Disable -Wunused-value around call to strspn.
10857
10858 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10859 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10860
10861 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10862 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10863
10864 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10865
10866 * math/Makefile (libm-calls): Move s_significandF to...
10867 (gen-libm-calls): ... here.
10868 * math/s_significand_template.c: New file.
10869 * math/s_significand.c: Removed.
10870 * math/s_significandf.c: Removed.
10871 * math/s_significandl.c: Removed.
10872 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10873 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10874
10875 * math/e_exp2_template.c (declare_mgen_finite_alias,
10876 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10877 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10878 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10879
10880 2018-06-20 Florian Weimer <fweimer@redhat.com>
10881
10882 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10883
10884 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10885
10886 [BZ #23280]
10887 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10888 floating-point number to strtod functions rather than possibly
10889 negating result of those functions.
10890 * stdio-common/tst-scanf-round.c: New file.
10891 * stdio-common/Makefile (tests): Add tst-scanf-round.
10892 ($(objpfx)tst-scanf-round): Depend on $(libm).
10893
10894 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10895
10896 * sysdeps/mach/hurd/localplt.data: Move to...
10897 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10898 R_386_GLOB_DAT like on Linux i386.
10899
10900 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10901
10902 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10903 (SHM_STAT_ANY): New macro.
10904 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10905 (SHM_STAT_ANY): Likewise.
10906 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10907 (SHM_STAT_ANY): Likewise.
10908 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10909 (SHM_STAT_ANY): Likewise.
10910 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10911 (SHM_STAT_ANY): Likewise.
10912 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10913 (SHM_STAT_ANY): Likewise.
10914 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10915 (SHM_STAT_ANY): Likewise.
10916 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10917 (SHM_STAT_ANY): Likewise.
10918 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10919 (SHM_STAT_ANY): Likewise.
10920 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10921 (SHM_STAT_ANY): Likewise.
10922 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10923 (SHM_STAT_ANY): Likewise.
10924 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10925 (SHM_STAT_ANY): Likewise.
10926
10927 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10928 (SEM_STAT_ANY): New macro.
10929 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10930 (SEM_STAT_ANY): Likewise.
10931 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10932 (SEM_STAT_ANY): Likewise.
10933 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10934 (SEM_STAT_ANY): Likewise.
10935 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10936 (SEM_STAT_ANY): Likewise.
10937 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10938 (SEM_STAT_ANY): Likewise.
10939 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10940 (SEM_STAT_ANY): Likewise.
10941 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10942 (SEM_STAT_ANY): Likewise.
10943 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10944 (SEM_STAT_ANY): Likewise.
10945 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10946 (SEM_STAT_ANY): Likewise.
10947
10948 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10949 (MSG_STAT_ANY): New macro.
10950 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10951 (MSG_STAT_ANY): Likewise.
10952 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10953 (MSG_STAT_ANY): Likewise.
10954 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10955 (MSG_STAT_ANY): Likewise.
10956 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10957 (MSG_STAT_ANY): Likewise.
10958 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10959 (MSG_STAT_ANY): Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10961 (MSG_STAT_ANY): Likewise.
10962 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10963 (MSG_STAT_ANY): Likewise.
10964 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10965 (MSG_STAT_ANY): Likewise.
10966 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10967 (MSG_STAT_ANY): Likewise.
10968
10969 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10970 (MAP_TYPE): Change value to 0x2b.
10971
10972 2018-06-18 Florian Weimer <fweimer@redhat.com>
10973
10974 [BZ #15722]
10975 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10976 socket with SOCK_CLOEXEC.
10977
10978 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10979
10980 [BZ #23303]
10981 * sysdeps/powerpc/powerpc64/le/Makefile
10982 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10983 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10984 (gnulib-tests): Also add $(f128-loader-link) for
10985 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10986
10987 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10988
10989 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10990 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10991 of sendfile.
10992 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10993 (sendfile64): New strong alias.
10994 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10995 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10996 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10997 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10998 attribute.
10999 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11000 ___pthread_get_cleanup_stack.
11001 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11002 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11003 * mach/shortcut.awk: Make syscall stubs include
11004 <mach-shortcuts-hidden.h> and add hidden definition.
11005 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11006 (__mach_msg): Add hidden prototype.
11007 * mach/msg.c: Include <mach.h>.
11008 (__mach_msg): Add hidden definition.
11009 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11010 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11011 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11012 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11013 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11014 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11015 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11016 prototype and definition.
11017 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11018 hidden target for _hurd_self_sigstate.
11019
11020 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11021
11022 [BZ #23007]
11023 * stdlib/tst-strtod-nan-sign-main.c: New file.
11024 * stdlib/tst-strtod-nan-sign.c: Likewise.
11025 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11026 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11027 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11028 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11029 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11030
11031 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11032
11033 [BZ #23007]
11034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11035 appropriate sign.
11036
11037 2018-06-14 Florian Weimer <fweimer@redhat.com>
11038
11039 [BZ #23290]
11040 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11041 that the result stays within the ISO-8859-1 range.
11042 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11043 characters are defined in IBM273.
11044
11045 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11046
11047 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11048 __mach_task_self): Remove attribute_hidden.
11049
11050 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11051
11052 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11053 ignore -Wrestrict for one test.
11054
11055 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11056 Szabolcs Nagy <szabolcs.nagy@arm.com>
11057
11058 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11059
11060 2018-06-14 Florian Weimer <fweimer@redhat.com>
11061
11062 * scripts/update-abilist.sh: Accept empty list of files to patch.
11063
11064 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11065
11066 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11067 test-xfail-check-abi-libmachuser): Add.
11068 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11069 __libc_read and __libc_write to __read and __write.
11070 * sysdeps/hurd/include/hurd/port.h: New file.
11071 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11072 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11073 __thread_switch, __evc_wait): Move declarations to...
11074 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11075 attribute_hidden.
11076 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11077 use PLT to call _hurd_self_sigstate.
11078
11079 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11080
11081 [BZ #23279]
11082 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11083 MAX_EXP as overflowing.
11084 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11085 overflow flag.
11086 (round_str): Output also whether result overflows in each rounding
11087 mode.
11088 * stdlib/tst-strtod-round-data: Add more tests.
11089 * stdlib/tst-strtod-round-data.h: Regenerated.
11090 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11091 (TEST): Handle extra arguments for overflow flags.
11092 (struct test_overflow): New type.
11093 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11094 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11095 (test_in_one_mode): Take argument with overflow information.
11096 (do_test): Update calls to test_in_one_mode.
11097
11098 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11099
11100 * elf/dl-load (_dl_dst_substitute): Correct comment.
11101 (_dl_dst_count): Likewise.
11102
11103 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11104 lll_futex_timed_wait.
11105
11106 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11107
11108 [BZ #23277]
11109 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11110 attribute.
11111 * math/test-nan-const.c: New file.
11112 * math/Makefile (tests): Add test-nan-const.
11113 (CFLAGS-test-nan-const.c): New variable.
11114
11115 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 * benchtests/scripts/compare_strings.py (process_results): Add
11118 funcs argument. Compare only functions which are selected.
11119 (main): Check if base function is among selected functions.
11120 Pass selected functions to process_results.
11121 (__main__): Add -f/--functions argument.
11122
11123 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11124 Hongbo Zhang <hongbo.zhang@linaro.org>
11125
11126 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11127 __memcpy_falkor for phecda core.
11128 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11129 __memmove_falkor for phecda core.
11130 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11131 __memset_falkor for phecda core.
11132 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11133 for phecda core.
11134 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11135 macro to identify phecda core.
11136
11137 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11138 Andreas Schwab <schwab@suse.de>
11139 Dmitry V. Levin <ldv@altlinux.org>
11140 Florian Weimer <fweimer@redhat.com>
11141
11142 [BZ #23102]
11143 [BZ #21942]
11144 [BZ #18018]
11145 [BZ #23259]
11146 CVE-2011-0536
11147 * elf/dl-dst.h: Remove DL_DST_COUNT.
11148 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11149 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11150 (is_dst): Comment. Support ELF gABI.
11151 (_dl_dst_count): Comment. Simplify and count DSTs.
11152 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11153 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11154 locals.
11155
11156 2018-06-12 Zack Weinberg <zackw@panix.com>
11157
11158 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11159 * sysdeps/unix/sysv/linux/dl-sysdep.c
11160 Include not-cancel.h. Use __close_nocancel instead of __close,
11161 __open64_nocancel instead of __open, __read_nocancel instead of
11162 __libc_read, and __write_nocancel instead of __libc_write.
11163
11164 * csu/check_fds.c (check_one_fd)
11165 * sysdeps/posix/fdopendir.c (__fdopendir)
11166 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11167 instead of __fcntl and/or __libc_fcntl.
11168
11169 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11170 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11171 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11172 Use __open64_nocancel instead of __open_nocancel.
11173
11174 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11175 hidden_proto declarations to the end and issue them if either
11176 IS_IN(libc) or IS_IN(rtld).
11177 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11178 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11179 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11180 read_nocancel, waitpid_nocancel, write_nocancel.
11181
11182 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11183 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11184 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11185
11186 * nptl/pt-fcntl.c: New file.
11187 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11188 (libpthread-routines): Add pt-fcntl.
11189 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11190 (__libc_fcntl): Remove attribute_hidden.
11191 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11192 __fcntl_nocancel_adjusted, not fcntl_common.
11193 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11194 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11195 to fcntl_nocancel.c.
11196 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11199 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11200
11201 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11202 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11203 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11204 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11205 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11206 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11207 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11208 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11209 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11210 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11211 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11212 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11213 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11214 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11215 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11216 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11217 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11218 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11219 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11220 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11221
11222 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11223 libpthread-routines.
11224 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11225 defines nothing.
11226
11227 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11228 __libc_read, and __write instead of __libc_write. Define
11229 __open64 in addition to __open.
11230
11231 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 [BZ #23250]
11234 [BZ #10686]
11235 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11236 to _private_tm[3] and add __glibc_reserved2.
11237 Add _Static_assert of offset of __private_ss == 0x30.
11238 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11239 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11240
11241 2018-06-12 Florian Weimer <fweimer@redhat.com>
11242
11243 x86: Make strncmp usable from rtld.
11244 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11245 __strncmp_ia32 if in libc (and not in rtld).
11246 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11247 strncmp if not in libc (and not to __strncmp_sse2).
11248
11249 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11250
11251 [BZ #23140]
11252 * localedata/locales/gd_GB (mon): Rename to...
11253 (alt_mon): This.
11254 (mon): Import from CLDR (genitive case).
11255 * localedata/locales/hsb_DE (mon): Rename to...
11256 (alt_mon): This.
11257 (mon): Import from CLDR (genitive case).
11258 * localedata/locales/wa_BE (mon): Rename to...
11259 (alt_mon): This.
11260 (mon): Add, fill with the proper genitive forms, but CLDR data
11261 is incomplete; completed according to the comments in this file.
11262 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11263
11264 * localedata/locales/wa_BE (country_name): Reword
11265 "Beljike" -> "Beldjike".
11266
11267 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11268
11269 [BZ #23272]
11270 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11271 cases of non-finite arguments.
11272 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11273
11274 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11275
11276 [BZ #23174]
11277 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11278
11279 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11280
11281 [BZ #23264]
11282 * include/unistd.h (__execvpex): New prototype.
11283 * posix/Makefile (tests): Add tst-spawn4.
11284 (tests-internal): Add tst-spawn4-compat.
11285 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11286 * posix/tst-spawn4-compat.c: New file.
11287 * posix/tst-spawn4.c: Likewise.
11288 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11289 binaries as shell scripts.
11290 * sysdeps/posix/spawni.c (__spawni): Likewise.
11291
11292 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11293
11294 [BZ #23145]
11295 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11296 ($(all-built-dso:=.dynsym): New target.
11297 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11298 ($(objpfx)check-initfini.out): New target.
11299 (generated): Add check-initfini.out.
11300 * scripts/check-initfini.awk: New file.
11301 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11302 (_fini): Likewise.
11303 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11304 (_fini): Likewise.
11305 * sysdeps/arm/crti.S (_init): Mark as hidden.
11306 (_fini): Likewise.
11307 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11308 (_fini): Likewise.
11309 * sysdeps/i386/crti.S (_init): Mark as hidden.
11310 (_fini): Likewise.
11311 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11312 (_fini): Likewise.
11313 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11314 (_fini): Likewise.
11315 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11316 (_fini): Likewise.
11317 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11318 (_fini): Likewise.
11319 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11320 (_fini): Likewise.
11321 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11322 (_fini): Likewise.
11323 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11324 (_fini): Likewise.
11325 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11326 (_fini): Likewise.
11327 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11328 (_fini): Likewise.
11329 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11330 (_fini): Likewise.
11331 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11332 (_fini): Likewise.
11333 * sysdeps/sh/crti.S (_init): Mark as hidden.
11334 (_fini): Likewise.
11335 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11336 (_fini): Likewise.
11337 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11338 (_fini): Likewise.
11339
11340 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11341
11342 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11343 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11344 and TF redirection to KFtype and KF only when the default
11345 long double type is not the IEEE 128-bit floating point type.
11346
11347 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11348
11349 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11350 macro.
11351 (HWCAP_USCAT): Likewise.
11352 (HWCAP_ILRCPC): Likewise.
11353 (HWCAP_FLAGM): Likewise.
11354 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11355 Increase to 28.
11356 (_dl_aarch64_cap_flags): Add new flag names.
11357
11358 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11359 (MAP_FIXED_NOREPLACE): New macro.
11360 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11361 (MAP_FIXED_NOREPLACE): Likewise.
11362 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11363 (MAP_FIXED_NOREPLACE): Likewise.
11364 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11365 (MAP_FIXED_NOREPLACE): Likewise.
11366 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11367 (MAP_FIXED_NOREPLACE): Likewise.
11368 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11369 (MAP_FIXED_NOREPLACE): Likewise.
11370 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11371 (MAP_FIXED_NOREPLACE): Likewise.
11372 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11373 (MAP_FIXED_NOREPLACE): Likewise.
11374 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11375 (MAP_FIXED_NOREPLACE): Likewise.
11376 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11377 (MAP_FIXED_NOREPLACE): Likewise.
11378 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11379 (MAP_FIXED_NOREPLACE): Likewise.
11380 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11381 (MAP_FIXED_NOREPLACE): Likewise.
11382 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11383 (MAP_FIXED_NOREPLACE): Likewise.
11384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11385 (MAP_FIXED_NOREPLACE): Likewise.
11386 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11387 (MAP_FIXED_NOREPLACE): Likewise.
11388
11389 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11390 version to 4.17.
11391
11392 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11393
11394 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11395 version to 4.17
11396
11397 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11398
11399 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11400 int.
11401 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11402
11403 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11404
11405 * benchtests/scripts/compare_string.py: (process_results) Catch
11406 exception in non-existent base_func and catch exception in
11407 non-existent attribute.
11408 (parse_file) Catch exception if input file does not exist.
11409
11410 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11411
11412 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11413 options to avoid diff calculation and omit header, respectively.
11414 (main): process --no-diff and --no-header
11415
11416 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11417 H.J. Lu <hongjiu.lu@intel.com>
11418
11419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11420 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11421 wcsncmp-sse2.
11422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11423 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11424 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11425 and __wcsncmp_sse2.
11426 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11427 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11428 AVX unaligned load is fast and vzeroupper is preferred.
11429 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11430 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11431 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11432 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11433 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11434 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11435 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11436 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11437 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11438 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11439 is undefined.
11440
11441 2018-06-01 Florian Weimer <fweimer@redhat.com>
11442
11443 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11444 configuring with --disable-multi-arch, building with
11445 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11446 Haswell-era CPU.
11447
11448 2018-06-01 Florian Weimer <fweimer@redhat.com>
11449
11450 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11451 results from building with “-march=x86-64 -mtune=generic
11452 -mfpmath=sse” and running on a Haswell-era CPU.
11453
11454 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11455
11456 [BZ #18473]
11457 * soft-fp/sqrttf2.c: Remove file.
11458 * soft-fp/sqrtdf2.c: Move to ....
11459 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11460 <shlib-compat.h>.
11461 (__sqrtdf2): Make conditional on
11462 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11463 symbol.
11464 * soft-fp/sqrtsf2.c: Move to ....
11465 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11466 <shlib-compat.h>.
11467 (__sqrtsf2): Make conditional on
11468 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11469 symbol.
11470 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11471 (gcc-double-routines): Remove sqrtdf2.
11472 (gcc-quad-routines): Remove sqrttf2.
11473 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11474 Do not filter out sqrtsf2 and sqrtdf2.
11475 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11476 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11477
11478 2018-06-01 Florian Weimer <fweimer@redhat.com>
11479
11480 * sysdeps/generic/libcidn.abilist: Remove file.
11481
11482 2018-06-01 Florian Weimer <fweimer@redhat.com>
11483
11484 [BZ #23236]
11485 * libio/strfile.h (struct _IO_str_fields): Rename members to
11486 discourage their use and add comment.
11487 (_IO_STR_DYNAMIC): Remove unused macro.
11488 * libio/strops.c (_IO_str_init_static_internal): Do not use
11489 callback pointers. Call malloc and free.
11490 (_IO_str_overflow): Do not use callback pointers. Call malloc
11491 and free.
11492 (enlarge_userbuf): Likewise.
11493 (_IO_str_finish): Call free.
11494 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11495 _allocate_buffer_unused.
11496 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11497 and free.
11498 (enlarge_userbuf): Likewise.
11499 (_IO_wstr_finish): Call free.
11500 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11501 _allocate_buffer_unused, _free_buffer_unused.
11502 * libio/memstream.c (__open_memstream): Likewise.
11503 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11504 * libio/wmemstream.c (open_wmemstream): Likewise.
11505
11506 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11507
11508 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11509 AMD Ryzen 7 1800X.
11510
11511 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11512
11513 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11514 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11515 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11516 New file.
11517 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11518 Likewise.
11519 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11520
11521 2018-05-29 Florian Weimer <fweimer@redhat.com>
11522
11523 * support/Makefile (libsupport-routines): Add
11524 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11525 xpthread_barrierattr_setpshared.
11526 * support/xpthread_barrierattr_destroy.c: New file.
11527 * support/xpthread_barrierattr_init.c: Likewise.
11528 * support/xpthread_barrierattr_setpshared.c: Likewise.
11529
11530 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11531
11532 [BZ #23206]
11533 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11534 _r_debug and update DT_DEBUG for debugger.
11535
11536 2018-05-29 Florian Weimer <fweimer@redhat.com>
11537
11538 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11539 (tst-strtod5i.out): Likewise.
11540
11541 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11542
11543 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11544 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11545 (sparc64-quad-routines): New variable. Moved from ....
11546 [$(subdir) = soft-fp] (sysdep_routines): Add
11547 $(sparc64-quad-routines). Moved from ....
11548 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11549 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11550 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11551 moved from ....
11552 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11553 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11554 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11555 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11556 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11557 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11558 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11559 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11560 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11561 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11562 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11563 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11564 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11565 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11566 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11567 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11568 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11569 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11570 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11571 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11572 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11573 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11574 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11575 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11576 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11577 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11578 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11579 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11580 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11581 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11582 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11583 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11584 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11585 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11586 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11587 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11588 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11589 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11590 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11591 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11592 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11593 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11594 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11595 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11596 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11597 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11598 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11599 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11600 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11601 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11602 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11603 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11604 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11605 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11606 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11607 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11608 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11609 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11610
11611 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11612 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11613 (sparc32-quad-routines): New variable. Moved from ....
11614 [$(subdir) = soft-fp] (sysdep_routines): Add
11615 $(sparc32-quad-routines). Moved from ....
11616 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11617 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11618 moved from ....
11619 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11620 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11621 * sysdeps/sparc/sparc32/q_add.c: ... here.
11622 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11623 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11624 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11625 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11626 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11627 * sysdeps/sparc/sparc32/q_div.c: ... here.
11628 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11629 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11630 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11631 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11632 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11633 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11634 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11635 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11636 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11637 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11638 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11639 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11640 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11641 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11642 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11643 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11644 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11645 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11646 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11647 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11648 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11649 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11650 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11651 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11652 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11653 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11654 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11655 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11656 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11657 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11658 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11659 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11660 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11661 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11662 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11663 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11664 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11665 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11666 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11667 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11668 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11669 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11670 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11671 * sysdeps/sparc/sparc32/q_util.c: ... here.
11672 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11673 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11674 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11675 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11676
11677 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11678 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11679
11680 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11681 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11682 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11683 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11684
11685 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11686
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11688 powerpc/soft-fp.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11690 Likewise.
11691 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11692 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11693
11694 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11695
11696 [BZ #23171]
11697 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11698 double version.
11699
11700 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11701
11702 * sysdeps/sh/Implies: Remove sh/soft-fp.
11703 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11704 * sysdeps/sh/sfp-machine.h: ... here.
11705
11706 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11707
11708 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11709 (__mempcpy_erms): Skip zero length.
11710 (__memmove_erms): Likewise.
11711 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11712 (__memset_erms): Likewise.
11713
11714 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11715
11716 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11717 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11718 Add functions moved from ....
11719 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11720 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11721 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11722 from ....
11723 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11724 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11725 * sysdeps/alpha/e_sqrtl.c: ... here.
11726 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11727 * sysdeps/alpha/local-soft-fp.h: ... here.
11728 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11729 * sysdeps/alpha/ots_add.c: ... here.
11730 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11731 * sysdeps/alpha/ots_cmp.c: ... here.
11732 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11733 * sysdeps/alpha/ots_cmpe.c: ... here.
11734 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11735 * sysdeps/alpha/ots_cvtqux.c: ... here.
11736 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11737 * sysdeps/alpha/ots_cvtqx.c: ... here.
11738 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11739 * sysdeps/alpha/ots_cvttx.c: ... here.
11740 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11741 * sysdeps/alpha/ots_cvtxq.c: ... here.
11742 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11743 * sysdeps/alpha/ots_cvtxt.c: ... here.
11744 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11745 * sysdeps/alpha/ots_div.c: ... here.
11746 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11747 * sysdeps/alpha/ots_mul.c: ... here.
11748 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11749 * sysdeps/alpha/ots_nintxq.c: ... here.
11750 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11751 * sysdeps/alpha/ots_sub.c: ... here.
11752 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11753 * sysdeps/alpha/sfp-machine.h: ... here.
11754
11755 2018-05-23 Florian Weimer <fweimer@redhat.com>
11756
11757 [BZ #19728]
11758 [BZ #19729]
11759 [BZ #22247]
11760 CVE-2016-6261
11761 CVE-2016-6263
11762 CVE-2017-14062
11763 Switch to extern IDNA implementation (libidn2).
11764 * libidn: Remove subdirectory.
11765 * LICENSES: Do not mention licensing conditions for the removed
11766 libidn code.
11767 * config.h.in (HAVE_LIBIDN): Remove.
11768 * include/dlfcn.h (__libc_dlopen): Update comment.
11769 * include/idna.h: Remove file.
11770 * inet/Makefile (routines): Add idna.
11771 (tests-static, tests-internal): Add tst-idna_name_classify.
11772 (LOCALES): Generate locales for tests.
11773 (tst-idna_name_classify.out): Depend on generated locales.
11774 * inet/idna_name_classify.c: New file.
11775 * inet/tst-idna_name_classify.c: Likewise.
11776 * inet/net-internal.h (__idna_to_dns_encoding)
11777 (__idna_from_dns_encoding): Declare.
11778 * inet/net-internal.h (enum idna_name_classification): Define.
11779 (__idna_name_classify): Declare.
11780 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11781 __idna_from_dns_encoding.
11782 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11783 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11784 name as a fallback in case of encoding errors.
11785 (getnameinfo): Use DEPRECATED_NI_IDN.
11786 * inet/idna.c: New file.
11787 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11788 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11789 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11790 (modules-names): Add tst-no-libidn2.
11791 (extra-test-objs): Add tst-no-libidn2.os.
11792 (LDFLAGS-tst-no-libidn2.so): Set soname.
11793 (LOCALES): Set, and generate locales.
11794 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11795 (tst-resolv-ai_idn-latin1): Likewise.
11796 (tst-resolv-ai_idn-nolibidn2): Likewise.
11797 (tst-resolv-ai_idn.out): Depend on locales.
11798 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11799 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11800 tst-no-libidn2.so.
11801 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11802 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11803 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11804 * resolv/tst-resolv-ai_idn.c: New file.
11805 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11806 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11807 * resolv/tst-no-libidn2.c: Likewise.
11808 * support/support_format_addrinfo.c (format_ai_flags): Do not
11809 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11810 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11811 (gaih_inet): Call __idna_to_dns_encoding and
11812 __idna_from_dns_encoding, and use the original (punycode) name if
11813 __idna_from_dns_encoding fails due to an encoding error.
11814 (getaddrinfo): Use DEPRECATED_AI_IDN.
11815 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11816 * sysdeps/unix/inet/configure: Remove file.
11817 * sysdeps/unix/inet/configure.ac: Likewise.
11818
11819 2018-05-23 Florian Weimer <fweimer@redhat.com>
11820
11821 Implement allocate_once.
11822 * include/allocate_once.h: New file.
11823 * misc/allocate_once.c: Likewise.
11824 * misc/tst-allocate_once.c: Likewise.
11825 * misc/Makefile (routines): Add allocate_once.
11826 (tests-internal): Add tst-allocate_once.
11827 (generated): Add tst-allocate_once.mtrace,
11828 tst-allocate_once-mem.out.
11829 (tests-special): Add tst-allocate_once-mem.out.
11830 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11831 (tst-allocate_once-mem.out): Call mtrace.
11832 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11833
11834 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 [BZ #23196]
11837 * string/test-memcpy.c (do_test1): New function.
11838 (test_main): Call it.
11839
11840 2018-05-23 Andreas Schwab <schwab@suse.de>
11841
11842 [BZ #23196]
11843 CVE-2018-11237
11844 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11845 (L(preloop_large)): Save initial destination pointer in %r11 and
11846 use it instead of %rax after the loop.
11847 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11848
11849 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11850
11851 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11852 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11853 -I../soft-fp. Moved from ....
11854 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11855 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11856 * sysdeps/aarch64/e_sqrtl.c: ... here.
11857 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11858 * sysdeps/aarch64/sfp-machine.h: ... here.
11859
11860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11861 -Wmaybe-uninitialized around access to fq[0].
11862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11863 Likewise.
11864
11865 [BZ #18471]
11866 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11867 aliases for non-libc case of versioned symbols.
11868 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11869 (llseek): Define as compat symbol if
11870 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11871 with link warning.
11872 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11873 Make into a compat symbol, disabled for minimum symbol version
11874 GLIBC_2.28 and later.
11875 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11876
11877 2018-05-22 Florian Weimer <fweimer@redhat.com>
11878
11879 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11880 not add -mpreferred-stack-boundary=4.
11881 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11882 (stack-align-test-flags): Likewise.
11883 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11884 Likewise.
11885 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11886 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11887 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11888 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11889 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11890 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11891 (CFLAGS-tst-align2.c): Likewise.
11892
11893 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11894
11895 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11896 (index_arch_Prefer_FSRM): Likewise.
11897 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11898 Also check Prefer_FSRM.
11899 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11900 Also return OPTIMIZE (erms) for Prefer_FSRM.
11901
11902 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11903
11904 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11905 (index_cpu_FSRM): Likewise.
11906 (reg_FSRM): Likewise.
11907
11908 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11909
11910 * math/gen-tgmath-tests.py: Import sys.
11911 (Tests.__init__): Initialize macros_seen.
11912 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11913 if requested to do so for this macro.
11914 (Tests.add_all_tests): Take argument for macro for which to
11915 generate tests.
11916 (Tests.check_macro_list): New function.
11917 (main): Handle check-list argument and argument specifying macro
11918 for which to generate tests.
11919 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11920 [PYTHON] (tgmath3-macro-tests): Likewise.
11921 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11922 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11923 not test-tgmath3.c.
11924 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11925 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11926 to CFLAGS.
11927 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11928 [PYTHON] ($(foreach
11929 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11930 rule.
11931 [PYTHON] (tests-special): Add
11932 $(objpfx)test-tgmath3-macro-list.out.
11933 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11934
11935 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11936 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11937 later.
11938
11939 [BZ #22639]
11940 * time/tzset.c (SECSPERDAY): Cast to time_t.
11941 * time/tst-y2039.c: New file.
11942 * time/Makefile (tests): Add tst-y2039.
11943
11944 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11945
11946 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11947 (PREFETCH_ONE_SET): Remove duplicate line.
11948
11949 2018-05-17 Florian Weimer <fweimer@redhat.com>
11950
11951 * sysdeps/generic/math-type-macros-double.h: Include
11952 <math-nan-payload-double.h> after <libm-alias-double.h>.
11953 * sysdeps/generic/math-type-macros-float.h: Include
11954 <math-nan-payload-float.h> after <libm-alias-float.h>.
11955 * sysdeps/generic/math-type-macros-float128.h: Include
11956 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11957 * sysdeps/generic/math-type-macros-ldouble.h: Include
11958 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11959
11960 2018-05-17 Andreas Schwab <schwab@suse.de>
11961
11962 * resolv/res_send.c (__res_context_send): Don't set errno when
11963 returing error after malloc failure.
11964
11965 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11966
11967 * nptl/allocatestack.c (allocate_stack): Remove the
11968 !__ASSUME_PRIVATE_FUTEX paths.
11969 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11970 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11971 Likewise.
11972 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11973 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11974 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11975 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11976 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11977 !__ASSUME_PRIVATE_FUTEX path.
11978 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11979 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11980 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11981 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11982 !__ASSUME_PRIVATE_FUTEX macros.
11983 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11984 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11985 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11986 * sysdeps/unix/sysv/linux/kernel-features.h
11987 (__ASSUME_PRIVATE_FUTEX): Removed.
11988
11989 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11990
11991 * math/Makefile (libm-narrow-fns): Add div.
11992 (libm-test-funcs-narrow): Likewise.
11993 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11994 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11995 * math/gen-auto-libm-tests.c (test_functions): Add div.
11996 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11997 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11998 (NARROW_DIV_TRIVIAL): Likewise.
11999 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12000 macro.
12001 (__ddivl): Likewise.
12002 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12003 ddiv.
12004 (CFLAGS-nldbl-ddiv.c): New variable.
12005 (CFLAGS-nldbl-fdiv.c): Likewise.
12006 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12007 __nldbl_ddivl.
12008 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12009 prototype.
12010 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12011 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12012 * math/auto-libm-test-in: Add tests of div.
12013 * math/auto-libm-test-out-narrow-div: New generated file.
12014 * math/libm-test-narrow-div.inc: New file.
12015 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12018 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12019 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12020 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12021 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12022 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12023 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12024 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12025 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12026 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12027 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12028 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12029 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12030 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12031 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12032 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12034 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12040 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12041 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12042 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12043 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12044 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12045 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12046 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12051 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12052 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12053 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12054 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12055 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12056 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12057 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12058 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12059
12060 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12061
12062 [BZ #23178]
12063 * nscd/nscd-client.h (sendfileall): Remove prototype.
12064 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12065 (handle_request): Use writeall instead of sendfileall.
12066 * nscd/aicache.c (addhstaiX): Likewise.
12067 * nscd/grpcache.c (cache_addgr): Likewise.
12068 * nscd/hstcache.c (cache_addhst): Likewise.
12069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12070 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12071 * nscd/pwdcache.c (cache_addpw): Likewise.
12072 * nscd/servicescache.c (cache_addserv): Likewise.
12073 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12074 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12076 Remove define.
12077
12078 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12079
12080 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12081 Include <string/strncat.c>.
12082 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12083 alias.
12084 (__GI___strncat): New hidden alias.
12085
12086 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12087
12088 * sysdeps/mips/mips32/libm-test-ulps: Update.
12089 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12090
12091 2018-05-16 Florian Weimer <fweimer@redhat.com>
12092
12093 * support/Makefile (libsupport-routines): Add support_quote_blob,
12094 support_test_compare_blob.
12095 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12096 * support/check.h (TEST_COMPARE_BLOB): Define.
12097 (support_test_compare_blob): Declare.
12098 * support/support.h (support_quote_blob): Declare.
12099 * support/support_quote_blob.c: New file.
12100 * support/support_test_compare_blob.c: Likewise.
12101 * support/tst-support_quote_blob.c: Likewise.
12102 * support/tst-test_compare_blob.c: Likewise.
12103
12104 2018-05-16 Florian Weimer <fweimer@redhat.com>
12105
12106 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12107 of <strtod_nan_double.h>.
12108 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12109 instead of SET_MANTISSA.
12110 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12111 of include <strtod_nan_float.h>.
12112 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12113 instead of <strtod_nan_ldouble.h>.
12114 * stdlib/strtod_nan_double.h: Move to ...
12115 * sysdeps/generic/math-nan-payload-double.h: ... here.
12116 (FLOAT): Remove definition.
12117 (SET_MANTISSA): Rename to ...
12118 (SET_NAN_PAYLOAD): ... this.
12119 * stdlib/strtod_nan_float.h: Move to ...
12120 * sysdeps/generic/math-nan-payload-float.h: ... here.
12121 (FLOAT): Remove definition.
12122 (SET_MANTISSA): Rename to ...
12123 (SET_NAN_PAYLOAD): ... this.
12124 * sysdeps/generic/math-type-macros-double.h: Include
12125 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12126 instead of <math-svid-compat.h>.
12127 * sysdeps/generic/math-type-macros-float.h: Include
12128 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12129 instead of <math-svid-compat.h>.
12130 * sysdeps/generic/math-type-macros-float128.h: Include
12131 <math-nan-payload-float128.h>.
12132 * sysdeps/generic/math-type-macros-ldouble.h: Include
12133 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12134 instead of <math-svid-compat.h>.
12135 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12136 check for definition.
12137 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12138 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12139 Include <ieee754_float128.h>.
12140 (FLOAT): Remove definition.
12141 (SET_MANTISSA): Rename to ...
12142 (SET_NAN_PAYLOAD): ... this.
12143 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12144 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12145 Do not include <float128_private.h>.
12146 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12147 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12148 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12149 (FLOAT): Remove definition.
12150 (SET_MANTISSA): Rename to ...
12151 (SET_NAN_PAYLOAD): ... this.
12152 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12153 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12154 (FLOAT): Remove definition.
12155 (SET_MANTISSA): Rename to ...
12156 (SET_NAN_PAYLOAD): ... this.
12157 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12158 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12159 (FLOAT): Remove definition.
12160 (SET_MANTISSA): Rename to ...
12161 (SET_NAN_PAYLOAD): ... this.
12162 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12163 of "../stdlib/strtod_nan_double.h".
12164 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12165 of "../stdlib/strtod_nan_float.h".
12166 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12167 instead of "../stdlib/strtod_nan_ldouble.h".
12168 * manual/arith.texi (Parsing of Floats): Adjust comment.
12169
12170 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12171
12172 * math/Makefile (libm-narrow-fns): Add mul.
12173 (libm-test-funcs-narrow): Likewise.
12174 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12175 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12176 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12177 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12178 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12179 (NARROW_MUL_TRIVIAL): Likewise.
12180 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12181 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12182 macro.
12183 (__dmull): Likewise.
12184 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12185 dmul.
12186 (CFLAGS-nldbl-dmul.c): New variable.
12187 (CFLAGS-nldbl-fmul.c): Likewise.
12188 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12189 __nldbl_dmull.
12190 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12191 prototype.
12192 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12193 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12194 * math/auto-libm-test-in: Add tests of mul.
12195 * math/auto-libm-test-out-narrow-mul: New generated file.
12196 * math/libm-test-narrow-mul.inc: New file.
12197 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12198 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12199 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12200 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12201 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12202 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12208 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12209 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12210 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12211 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12212 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12213 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12214 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12216 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12241
12242 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12243
12244 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12245 with *%eax in call.
12246
12247 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12248
12249 * sysdeps/i386/ldsodefs.h: Removed.
12250 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12251 * sysdeps/x86/ldsodefs.h: This.
12252 (La_i86_regs): New.
12253 (La_i86_retval): Likewise.
12254 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12255 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12256
12257 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12258
12259 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12260 unnecessary testl.
12261
12262 2018-05-13 Alan Modra <amodra@gmail.com>
12263
12264 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12265 R_PARISC_TLS_DTPOFF32 reloc addend.
12266
12267 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12268
12269 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12270 * math/math.h: Restrict the prototype definition for the functions
12271 issignaling(_Float128) and iszero(_Float128); and template
12272 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12273 __HAVE_FLOAT128_UNLIKE_LDBL.
12274 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12275 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12276 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12277 __f128() constants; define the type _Float128 as long double;
12278 and reuse long double in __CFLOAT128.
12279
12280 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12281
12282 * sysdeps/generic/math_private.h: Do not include
12283 <math-barriers.h>.
12284 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12285 <math_private.h>.
12286 * math/fromfp.h: Include <math-barriers.h>.
12287 * math/math-narrow.h: Likewise.
12288 * math/s_nextafter.c: Likewise.
12289 * math/s_nexttowardf.c: Likewise.
12290 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12291 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12292 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12293 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12294 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12295 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12296 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12309 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12310 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12311 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12312 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12313 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12314 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12315 * sysdeps/ieee754/k_standardl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12332 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12333 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12334 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12336 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12337 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12338
12339 2018-05-11 Florian Weimer <fweimer@redhat.com>
12340
12341 Use 64-bit epoch values in the time zone file parser.
12342 * include/time.h (internal_time_t): Define.
12343 (__tzfile_compute): Use it.
12344 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12345 member.
12346 (transitions): Switch to internal_time_t.
12347 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12348 types.
12349 (__tzfile_compute): Use internal_time_t for timer argument. Check
12350 for truncation before calling __offtime.
12351
12352 2018-05-11 Florian Weimer <fweimer@redhat.com>
12353
12354 [BZ #23166]
12355 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12356 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12357 Likewise.
12358 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12359 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12360 export without --enable-obsolete-rpc.
12361 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12362 symbol. This should not have been exported, ever.
12363
12364 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12365
12366 [BZ #23152]
12367 * localedata/locales/gd_GB (abmon): Fix typo in May:
12368 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12369
12370 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12371
12372 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12373 Use multiple registers to copy data in loop tail.
12374
12375 * sysdeps/aarch64/multiarch/memmove_falkor.S
12376 (__memmove_falkor): Use multiple registers to move data in
12377 loop tail.
12378
12379 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12380
12381 * math/math-underflow.h: New file.
12382 * sysdeps/generic/math_private.h: Do not include <float.h>.
12383 (fabs_tg): Remove macro. Moved to math-underflow.h.
12384 (min_of_type_f): Likewise.
12385 (min_of_type_): Likewise.
12386 (min_of_type_l): Likewise.
12387 (min_of_type_f128): Likewise.
12388 (min_of_type): Likewise.
12389 (math_check_force_underflow): Likewise.
12390 (math_check_force_underflow_nonneg): Likewise.
12391 (math_check_force_underflow_complex): Likewise.
12392 * math/e_exp2_template.c: Include <math-underflow.h>.
12393 * math/k_casinh_template.c: Likewise.
12394 * math/s_catan_template.c: Likewise.
12395 * math/s_catanh_template.c: Likewise.
12396 * math/s_ccosh_template.c: Likewise.
12397 * math/s_cexp_template.c: Likewise.
12398 * math/s_clog10_template.c: Likewise.
12399 * math/s_clog_template.c: Likewise.
12400 * math/s_csin_template.c: Likewise.
12401 * math/s_csinh_template.c: Likewise.
12402 * math/s_csqrt_template.c: Likewise.
12403 * math/s_ctan_template.c: Likewise.
12404 * math/s_ctanh_template.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12423 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12425 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12426 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12427 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12428 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12429 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12430 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12431 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12432 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12433 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12434 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12435 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12436 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12442 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12446 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12448 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12452 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12473 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12475 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12482 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12483 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12484 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12485 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12489
12490 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12491
12492 * sysdeps/generic/math-barriers.h: New file.
12493 * sysdeps/generic/math_private.h [!math_opt_barrier]
12494 (math_opt_barrier): Move to math-barriers.h.
12495 [!math_opt_barrier] (math_force_eval): Likewise.
12496 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12497 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12498 math-barriers.h.
12499 (math_force_eval): Likewise.
12500 * sysdeps/alpha/fpu/math-barriers.h: New file.
12501 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12502 math-barriers.h.
12503 (math_force_eval): Likewise.
12504 * sysdeps/x86/fpu/math-barriers.h: New file.
12505 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12506 math-barriers.h.
12507 (math_force_eval): Likewise.
12508 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12509 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12510 multiple-include guard for rename.
12511 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12512 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12513 math-barriers.h.
12514 (math_force_eval): Likewise.
12515
12516 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12517
12518 [BZ #22786]
12519 CVE-2018-11236
12520 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12521 computation.
12522 * stdlib/Makefile (test-bz22786): New test.
12523 * stdlib/test-bz22786.c: New test.
12524
12525 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12526
12527 * include/math-narrow-eval.h: New file. Contents moved from ....
12528 * sysdeps/generic/math_private.h: ... here.
12529 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12530 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12531 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12532 * stdlib/strtod_l.c: Likewise.
12533 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12534 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12535 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12536 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12539 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12540 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12541 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12542 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12544 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12545 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12546 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12547 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12548 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12549 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12550 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12551 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12552 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12553 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12554 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12555 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12557 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12558 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12559 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12560 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12561 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12562
12563 2018-05-08 Andreas Schwab <schwab@suse.de>
12564
12565 * sysdeps/nptl/internaltypes.h: Fix comment.
12566
12567 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12568
12569 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12570 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12571 hidden.
12572
12573 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12574
12575 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12576 of I into loop header.
12577 * benchtests/bench-memmove-walk.c
12578 (test_main): Likewise.
12579
12580 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12581
12582 Revert:
12583 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12584 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12585
12586 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12587
12588 [BZ #20419]
12589 * elf/dl-load.c (open_verify): Fix stack overflow.
12590 * elf/Makefile (tst-big-note): New test.
12591 * elf/tst-big-note-lib.S: New.
12592 * elf/tst-big-note.c: New.
12593
12594 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12595
12596 * scripts/abilist.awk: Ignore absolute symbols.
12597 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12598 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12599 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12600 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12601 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12602 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12603 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12604 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12605 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12606 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12607 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12608 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12689 Likewise.
12690 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12703 Likewise.
12704 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12731 Likewise.
12732 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12746 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12752 Likewise.
12753 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12770 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12771 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12785 Likewise.
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12791 Likewise.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12793 Likewise.
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12796 Likewise.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12799 Likewise.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12801 Likewise.
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12805 Likewise.
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12807 Likewise.
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12809 Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12814 Likewise.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12821 Likewise.
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12824 Likewise.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12826 Likewise.
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12828 Likewise.
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12830 Likewise.
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12834 Likewise.
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12836 Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12838 Likewise.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12842 Likewise.
12843 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12852 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12856 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12857 Likewise.
12858 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12859 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12870 Likewise.
12871 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12896 Likewise.
12897 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12899 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12906 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12910 Likewise.
12911 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12914 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12915 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12916 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12922 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12929 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12949
12950 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12951
12952 [BZ #23137]
12953 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12954 Use atomic_load_acquire to load __tid.
12955
12956 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12957
12958 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12959 Restore the pointer into %rdx, after syscall and use %rdx,
12960 instead of %rsi, to restore context.
12961
12962 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12965 Pop the pointer into %rdx after syscall and use %rdx, instead
12966 of %rsi, to restore context.
12967
12968 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12969
12970 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12971 handlers after setjmp.
12972 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12973 defined.
12974 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12975 <libc-pointer-arith.h>.
12976 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12977 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12978 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12979 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12980 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12981 * sysdeps/x86/__longjmp_cancel.S: New file.
12982 * sysdeps/x86/longjmp.c: Likewise.
12983 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12984
12985 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12986
12987 * NEWS: Add ustat.h deprecation entry.
12988 * bits/ustat.h: Remove file.
12989 * misc/sys/ustat.h: Likewise.
12990 * misc/ustat.h: Likewise.
12991 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12992 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12993 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12994 compatibility mode.
12995 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12996 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12997 generic Linux implementation.
12998
12999 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13000
13001 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13002 * math/w_expl_compat.c: Likewise.
13003 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13004
13005 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13006
13007 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13008
13009 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13010
13011 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13012 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13013 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13014 Remove.
13015 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13018 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13019 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13020 and SYSCALL_LL64.
13021
13022 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13023
13024 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13025
13026 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13027 * math/w_asin_template.c: Likewise.
13028 * math/w_atanh_template.c: Likewise.
13029
13030 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13031
13032 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13033 to powerpc/powerpc64/be for big-endian.
13034 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13035 little-endian.
13036
13037 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13038 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13039 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13040 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13041 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13042 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13043 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13044 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13045 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13046 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13047 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13048 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13049 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13050 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13051 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13052 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13053 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13054 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13055 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13056 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13057 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13058 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13059 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13060 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13061 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13062 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13063 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13064 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13065 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13066 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13067 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13068 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13069
13070 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13071 adjusted to imply powerpc64 and older processors on powerpc64/be.
13072 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13073 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13074 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13075 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13076 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13077 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13078 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13079 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13080 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13081 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13082 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13083 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13084 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13085 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13086 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13087 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13088 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13089 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13090 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13091 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13092 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13093 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13094 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13095 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13096 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13097 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13099 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13100 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13101 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13102 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13103
13104 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13105 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13106 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13107 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13108
13109 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13110 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13111 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13112 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13113
13114 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13115 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13116 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13117 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13118 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13119 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13120 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13121 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13122 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13123 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13124 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13125
13126 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13127 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13128 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13129 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13130 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13131 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13132 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13133 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13134 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13135 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13136 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13137
13138 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13139 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13140 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13141 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13142 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13143 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13144 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13145 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13146 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13147 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13148 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13149 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13150
13151 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13152 and adjusted to imply olders processors.
13153 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13154 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13155 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13156 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13158 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13159 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13160 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13161 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13162 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13163 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13164
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13166 powerpc64/le.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13168 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13169
13170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13171 powerpc64le.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13174
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13176 powerpc64/be.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13180
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13182 powerpc64 and adjusted.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13186 Likewise.
13187
13188 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13189
13190 * sysdeps/tile: Remove.
13191 * sysdeps/unix/sysv/linux/tile: Likewise.
13192 * README (tilegx-*-linux-gnu): Remove from list of supported
13193 configurations.
13194 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13195 contribution of support for generic Linux kernel syscall
13196 interface.
13197 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13198 tilegx configurations.
13199 (Config.install_linux_headers): Do not handle tile.
13200 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13201 in comment.
13202 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13203 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13204 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13205 conditional undefine and redefine.
13206 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13207 in comment.
13208 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13209 conditional undefine and redefine.
13210
13211 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13212
13213 * signal/tst-sigaction.c: New file to test BZ #23069.
13214 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13215
13216 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13217
13218 [BZ #22766]
13219 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13220 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13221 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13222 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13223
13224 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13225
13226 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13227 _DIRENT_MATCHES_DIRENT64 is not defined.
13228 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13229 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13230 is defined.
13231 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13232 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13233
13234 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13235
13236 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13237 version to GCC 8 branch.
13238
13239 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13240
13241 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13242 (check_no_hidden): Use type of original function when declaring
13243 alias.
13244
13245 * sysdeps/unix/sysv/linux/sys/ptrace.h
13246 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13247 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13248 (struct __ptrace_seccomp_metadata): New type.
13249 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13250 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13251 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13252 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13253 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13254 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13256 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13257 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13258 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13259 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13260 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13261 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13262 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13263 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13264 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13265
13266 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13267
13268 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13269 defined.
13270 * dirent/versionsort.c (versionsort): Likewise.
13271 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13272 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13273 * dirent/versionsort64.c (versionsort64): Likewise.
13274 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13275 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13276 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13277 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13278 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13279 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13280 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13281 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13282 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13283 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13286 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13287 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13288
13289 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13290
13291 * elf/elf.h (NT_PPC_PKEY): New macro.
13292
13293 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13294
13295 [BZ #23094]
13296 * localedata/locales/hr_HR: fix thousands_sep and
13297 mon_thousands_sep
13298
13299 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13300
13301 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13302 (XTABS): Define to TAB3.
13303
13304 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13305
13306 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13307
13308 * dirent/scandir-tail-common.c: New file.
13309 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13310 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13311 * dirent/scandir.c: Use scandir-tail-common.c.
13312 * dirent/scandirat.c: Likewise.
13313 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13314 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13315 if _DIRENT_MATCHES_DIRENT64 is defined.
13316 * dirent/scandirat64.c (scandirat64): Likewise.
13317 * include/dirent.h (__scandir_tail): Only define iff
13318 _DIRENT_MATCHES_DIRENT64 is not defined.
13319 (__scandir64_tail): Define regardless.
13320 (__scandirat, scandirat64): Remove libc_hidden_proto.
13321 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13322 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13324 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13325 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13326 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13327 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13328
13329 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13330
13331 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13332 New macro.
13333 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13334 Increase to 24.
13335 (_dl_aarch64_cap_flags): Add asimdfhm.
13336
13337 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13338
13339 * sysdeps/nios2/libm-test-ulps: Update.
13340
13341 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13342
13343 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13344 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13345
13346 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13347 requirements.
13348 (_DIRENT_MATCHES_DIRENT64): Undef
13349 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13350 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13351 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13352 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13353 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13354 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13355 use getdents64 syscalls as base.
13356 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13357 symbol if required.
13358 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13359 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13360 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13361 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13362 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13363 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13364 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13365 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13367 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13368 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13369
13370 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13371
13372 * scripts/test_printers_common.py (init_test): Disable lock elision.
13373
13374 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13375
13376 * math/test-tgmath.c (count_double, count_float,
13377 count_ldouble, count_cdouble, count_cfloat,
13378 count_cldouble): Use volatile int.
13379
13380 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13381
13382 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13383 (conformtest-xfail-conds): Add i386-gnu.
13384 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13385 i386-gnu.
13386 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13387 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13388 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13389 msqid_ds.msg_lrpid): Likewise.
13390 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13391 Likewise.
13392 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13393 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13394 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13395 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13396 unsigned int.
13397 (struct statvfs64): Likewise.
13398 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13399 Likewise.
13400 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13401 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13402 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13403 instead of wait_queue.
13404 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13405 instead of vm_area_struct.
13406 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13407 struct sched_param definition to it.
13408 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13409 * bits/types/struct_sched_param.h: New file.
13410 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13411 <bits/types/struct_sched_param.h> instead of <sched.h>.
13412 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13413 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13414 generic version but include <bits/pthreadtypes.h> to make struct
13415 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13416 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13417 non-compliant.
13418 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13419 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13420 [__USE_XOPEN] (OFDEL): New macro.
13421 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13422 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13423 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13424 prototypes.
13425 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13426 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13427 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13428 non-compliant.
13429 * sysdeps/i386/sys/ucontext.h: Likewise.
13430 * sysdeps/m68k/sys/ucontext.h: Likewise.
13431 * sysdeps/mips/sys/ucontext.h: Likewise.
13432 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13433 * sysdeps/mach/hurd/i386/Makefile
13434 (test-xfail-POSIX/fcntl.h/conform): Add.
13435 (test-xfail-POSIX/signal.h/conform): Add.
13436 (test-xfail-POSIX/semaphore.h/conform): Add.
13437 (test-xfail-POSIX/regex.h/conform): Add.
13438 (test-xfail-POSIX/aio.h/conform): Add.
13439 (test-xfail-POSIX/mqueue.h/conform): Add.
13440 (test-xfail-POSIX/sys/types.h/conform): Add.
13441 (test-xfail-UNIX98/fcntl.h/conform): Add.
13442 (test-xfail-UNIX98/netdb.h/conform): Add.
13443 (test-xfail-UNIX98/signal.h/conform): Add.
13444 (test-xfail-UNIX98/semaphore.h/conform): Add.
13445 (test-xfail-UNIX98/regex.h/conform): Add.
13446 (test-xfail-UNIX98/aio.h/conform): Add.
13447 (test-xfail-UNIX98/ftw.h/conform): Add.
13448 (test-xfail-UNIX98/mqueue.h/conform): Add.
13449 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13450 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13451 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13452 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13453 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13454 (test-xfail-UNIX98/sys/types.h/conform): Add.
13455 (test-xfail-UNIX98/stdlib.h/conform): Add.
13456 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13457 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13458 (test-xfail-POSIX2008/netdb.h/conform): Add.
13459 (test-xfail-POSIX2008/signal.h/conform): Add.
13460 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13461 (test-xfail-POSIX2008/regex.h/conform): Add.
13462 (test-xfail-POSIX2008/aio.h/conform): Add.
13463 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13464 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13465 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13466 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13467 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13468 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13469 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13470 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13471 (test-xfail-XOPEN2K/signal.h/conform): Add.
13472 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13473 (test-xfail-XOPEN2K/regex.h/conform): Add.
13474 (test-xfail-XOPEN2K/aio.h/conform): Add.
13475 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13476 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13477 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13478 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13479 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13480 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13481 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13482 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13483 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13484 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13485 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13486 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13487 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13488 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13489 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13490 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13491 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13492 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13493 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13494 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13495 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13496 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13497 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13498 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13499 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13500 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13501 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13502 i386-gnu.
13503 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13504 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13505
13506 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13507
13508 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13509 --enable-obsolete for powerpc-linux-gnuspe.
13510
13511 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13512
13513 * conform/data/sys/un.h-data: Allow sun_ prefix.
13514 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13515 prototypes.
13516 * sysdeps/mach/include/mach.h: Likewise.
13517 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13518 * sysdeps/mach/include/mach_error.h: Likewise.
13519
13520 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13521
13522 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13523 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13524 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13525 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13526
13527 2018-04-16 Andreas Schwab <schwab@suse.de>
13528
13529 [BZ #19527]
13530 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13531
13532 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13533
13534 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13535 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13536
13537 2018-04-12 DJ Delorie <dj@redhat.com>
13538
13539 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13540 version to 4.16.
13541
13542 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13543
13544 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13545 (struct kernel_sigaction): Use the same definition on 31bit as is used
13546 on 64bit.
13547
13548 2018-04-09 Florian Weimer <fweimer@redhat.com>
13549
13550 [BZ #23037]
13551 * resolv/res_send.c (send_dg): Use designated initializers instead
13552 of assignment to zero-initialize other fields of struct mmsghdr.
13553
13554 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13555
13556 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13557 __READDIR_ALIAS): Undefine after usage.
13558 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13559 __READDIR_R_ALIAS): Likewise.
13560 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13561 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13562 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13563 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13564 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13565 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13566 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13567 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13568 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13569 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13570 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13571 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13572 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13573 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13574 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13575 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13576 * sysdeps/unix/sysv/linux/readdir.c: New file.
13577 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13578 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13579 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13580
13581 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13582
13583 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13584
13585 * manual/charset.texi (Converting a Character): Fix typo.
13586
13587 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13588
13589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13590
13591 * sysdeps/arm/libm-test-ulps: Update.
13592
13593 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13594 as base implementation.
13595 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13596 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13597 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13599 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13600 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13601 remove unrequired definitions and update comments.
13602 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13603 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13604 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13605 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13606 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13607 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13608 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13609 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13610 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13611 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13612 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13613 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13614 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13615 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13616 and RESET_SA_RESTORER hooks.
13617
13618 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13619
13620 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13621
13622 2018-04-05 Florian Weimer <fweimer@redhat.com>
13623
13624 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13625 integer overflow, memory leak on error, and indeterminate errno
13626 value. Add a null wide character to terminate the result string.
13627 * manual/charset.texi (Converting a Character): Mention embedded
13628 null bytes in the mbrtowc input string. Explain what happens in
13629 the -2 result case. Do not claim that mbrtowc is simple or
13630 obvious to use. Adjust the description of the code example. Use
13631 @code, not @var, for concrete variables.
13632
13633 2018-04-05 Florian Weimer <fweimer@redhat.com>
13634
13635 * manual/examples/mbstouwcs.c: New file.
13636 * manual/charset.texi (Converting a Character): Include it.
13637
13638 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13639
13640 * include/dirent.h (dirfd): Add hidden proto.
13641 * dirent/dirfd.c (dirfd): Add hidden def.
13642 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13643 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13644
13645 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13646
13647 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13648 sin, cos and sincos to 1 ULP.
13649
13650 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13651
13652 [BZ #19818]
13653 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13654 symbols.
13655 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13656 * elf/tst-absolute-sym.c: New file.
13657 * elf/tst-absolute-sym-lib.c: New file.
13658 * elf/tst-absolute-sym-lib.lds: New file.
13659 * elf/Makefile (tests): Add `tst-absolute-sym'.
13660 (modules-names): Add `tst-absolute-sym-lib'.
13661 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13662 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13663 ($(objpfx)tst-absolute-sym): New dependency.
13664
13665 [BZ #19818]
13666 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13667 parameter.
13668 (SYMBOL_ADDRESS): New macro.
13669 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13670 SYMBOL_ADDRESS for symbol address calculation.
13671 * elf/dl-runtime.c (_dl_fixup): Likewise.
13672 (_dl_profile_fixup): Likewise.
13673 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13674 * elf/rtld.c (dl_main): Likewise.
13675 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13676 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13677 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13678 (elf_machine_rela): Likewise.
13679 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13680 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13681 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13682 (elf_machine_rela): Likewise.
13683 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13684 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13685 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13686 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13687 Likewise.
13688 (elf_machine_reloc): Likewise.
13689 (elf_machine_got_rel): Likewise.
13690 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13691 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13692 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13693 Likewise.
13694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13695 Likewise.
13696 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13698 Likewise.
13699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13700 Likewise.
13701 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13703 Likewise.
13704 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13705 Likewise.
13706 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13708
13709 2018-04-04 Zack Weinberg <zackw@panix.com>
13710
13711 * sysdeps/generic/internal-signals.h: Include signal.h,
13712 sigsetops.h, and stdbool.h.
13713 (__libc_signal_block_all): Actually block all signals.
13714 (__libc_signal_block_app): Likewise.
13715 (__libc_signal_restore_set): Actually restore the signal mask.
13716
13717 2018-04-04 Florian Weimer <fweimer@redhat.com>
13718
13719 inet: Actually build and run tst-deadline.
13720 * inet/Makefile (tests-internal): Add tst-deadline and do not
13721 overwrite the variable.
13722 (tests-static-internal): Remove variable.
13723
13724 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13725
13726 [BZ #22947]
13727 * bits/uio-ext.h (RWF_APPEND): New.
13728 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13729 * manual/llio.texi: Document RWF_APPEND.
13730 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13731 (RWF_SUPPORTED): Add RWF_APPEND.
13732
13733 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13734
13735 [BZ #22391]
13736 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13737 check for internal nptl signals.
13738 * nptl/sigaction.c (__sigaction): Likewise.
13739 * signal/sigaddset.c (sigaddset): Likewise.
13740 * signal/sigdelset.c (sigdelset): Likewise.
13741 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13742 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13743 value.
13744 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13745 to filter out internal nptl signals.
13746 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13747 also check realtime signals using standard macros.
13748 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13749 __is_internal_signal, __libc_signal_block_all,
13750 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13751 * sysdeps/nptl/sigfillset.c: Remove file.
13752 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13753 Change return to bool.
13754 (__clear_internal_signals): Remove SIGTIMER clean since it is
13755 equal to SIGCANEL on Linux.
13756 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13757 signal set was constructed using standard functions.
13758
13759 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13760
13761 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13762 ifname is too long.
13763 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13764 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13765 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13766 hidden def.
13767 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13768 * signal/sigaddset.c: Include <sigsetopts.h>.
13769 * signal/sigdelset.c: Likewise.
13770
13771 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13772
13773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13774 (__cos): Likewise.
13775 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13776 logic as sin and cos.
13777
13778 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13779
13780 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13781 inputs. Return correct sign.
13782 (do_sincos): Remove small input check before do_sin, let do_sin set
13783 the sign.
13784 (__sin): Likewise.
13785 (__cos): Likewise.
13786
13787 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13788
13789 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13790 (do_cos_slow): Likewise.
13791 (do_sin_slow): Likewise.
13792 (reduce_and_compute): Likewise.
13793 (slow): Likewise.
13794 (slow1): Likewise.
13795 (slow2): Likewise.
13796 (sloww): Likewise.
13797 (sloww1): Likewise.
13798 (sloww2): Likewise.
13799 (bslow): Likewise.
13800 (bslow1): Likewise.
13801 (bslow2): Likewise.
13802 (cslow2): Likewise.
13803
13804 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13805
13806 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13807 (do_cos): Remove corp parameter and calculations.
13808 (do_sin): Likewise.
13809 (do_sincos): Remove cor variable.
13810 (__sin): Use do_sincos for huge inputs.
13811 (__cos): Likewise.
13812 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13813 (reduce_and_compute_sincos): Remove unused function.
13814
13815 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13816
13817 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13818 reduce_sincos, improve accuracy to 136 bits.
13819 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13820 (__sin): Use improved reduction and simplified do_sincos calculation.
13821 (__cos): Likewise.
13822 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13823
13824 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13825
13826 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13827 (do_sincos_2): Likewise.
13828 (__sin): Remove middle range reduction case.
13829 (__cos): Likewise.
13830 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13831 reduction case.
13832
13833 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13834
13835 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13837 inputs.
13838 (__cos): Likewise.
13839 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13840
13841 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13842
13843 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13844 version to 4.16
13845
13846 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13847
13848 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13849 Remove definitions.
13850 (opendir_oflags): Use O_DIRECTORY regardless.
13851 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13852 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13853
13854 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13855
13856 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13857 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13858 macros.
13859 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13860 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13861 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13862 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13863 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13864 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13865
13866 * htl/Makefile: Bump licence to LGPL 2.1+.
13867 * htl/alloca_cutoff.c: Likewise.
13868 * htl/cthreads-compat.c: Likewise.
13869 * htl/lockfile.c: Likewise.
13870 * htl/pt-alloc.c: Likewise.
13871 * htl/pt-cancel.c: Likewise.
13872 * htl/pt-cleanup.c: Likewise.
13873 * htl/pt-create.c: Likewise.
13874 * htl/pt-dealloc.c: Likewise.
13875 * htl/pt-detach.c: Likewise.
13876 * htl/pt-exit.c: Likewise.
13877 * htl/pt-getattr.c: Likewise.
13878 * htl/pt-initialize.c: Likewise.
13879 * htl/pt-internal.h: Likewise.
13880 * htl/pt-join.c: Likewise.
13881 * htl/pt-self.c: Likewise.
13882 * htl/pt-setcancelstate.c: Likewise.
13883 * htl/pt-setcanceltype.c: Likewise.
13884 * htl/pt-sigmask.c: Likewise.
13885 * htl/pt-spin-inlines.c: Likewise.
13886 * htl/pt-testcancel.c: Likewise.
13887 * htl/pt-yield.c: Likewise.
13888 * htl/tests/test-1.c: Likewise.
13889 * htl/tests/test-10.c: Likewise.
13890 * htl/tests/test-11.c: Likewise.
13891 * htl/tests/test-12.c: Likewise.
13892 * htl/tests/test-13.c: Likewise.
13893 * htl/tests/test-14.c: Likewise.
13894 * htl/tests/test-15.c: Likewise.
13895 * htl/tests/test-16.c: Likewise.
13896 * htl/tests/test-17.c: Likewise.
13897 * htl/tests/test-2.c: Likewise.
13898 * htl/tests/test-3.c: Likewise.
13899 * htl/tests/test-4.c: Likewise.
13900 * htl/tests/test-5.c: Likewise.
13901 * htl/tests/test-6.c: Likewise.
13902 * htl/tests/test-7.c: Likewise.
13903 * htl/tests/test-8.c: Likewise.
13904 * htl/tests/test-9.c: Likewise.
13905 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13906 * sysdeps/htl/bits/cancelation.h: Likewise.
13907 * sysdeps/htl/bits/pthread-np.h: Likewise.
13908 * sysdeps/htl/bits/pthread.h: Likewise.
13909 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13910 * sysdeps/htl/bits/semaphore.h: Likewise.
13911 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13912 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13913 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13914 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13915 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13916 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13917 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13918 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13919 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13920 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13921 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13922 * sysdeps/htl/old_pt-atfork.c: Likewise.
13923 * sysdeps/htl/pt-atfork.c: Likewise.
13924 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13925 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13926 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13927 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13928 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13929 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13930 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13931 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13932 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13933 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13934 * sysdeps/htl/pt-attr-init.c: Likewise.
13935 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13936 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13937 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13938 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13939 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13940 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13941 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13942 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13943 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13944 * sysdeps/htl/pt-attr.c: Likewise.
13945 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13946 * sysdeps/htl/pt-barrier-init.c: Likewise.
13947 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13948 * sysdeps/htl/pt-barrier.c: Likewise.
13949 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13950 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13951 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13952 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13953 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13954 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13955 * sysdeps/htl/pt-cond-init.c: Likewise.
13956 * sysdeps/htl/pt-cond-signal.c: Likewise.
13957 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13958 * sysdeps/htl/pt-cond-wait.c: Likewise.
13959 * sysdeps/htl/pt-cond.c: Likewise.
13960 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13961 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13962 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13963 * sysdeps/htl/pt-condattr-init.c: Likewise.
13964 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13965 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13966 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13967 * sysdeps/htl/pt-equal.c: Likewise.
13968 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13969 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13970 * sysdeps/htl/pt-getschedparam.c: Likewise.
13971 * sysdeps/htl/pt-getspecific.c: Likewise.
13972 * sysdeps/htl/pt-init-specific.c: Likewise.
13973 * sysdeps/htl/pt-key-create.c: Likewise.
13974 * sysdeps/htl/pt-key-delete.c: Likewise.
13975 * sysdeps/htl/pt-key.h: Likewise.
13976 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13977 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13978 * sysdeps/htl/pt-mutex-init.c: Likewise.
13979 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13980 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13981 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13982 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13983 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13984 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13985 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13986 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13987 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13988 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13989 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13990 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13991 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13992 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13993 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13994 * sysdeps/htl/pt-mutexattr.c: Likewise.
13995 * sysdeps/htl/pt-once.c: Likewise.
13996 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13997 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13998 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13999 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14000 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14001 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14002 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14003 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14004 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14005 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14006 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14007 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14008 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14009 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14010 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14011 * sysdeps/htl/pt-setschedparam.c: Likewise.
14012 * sysdeps/htl/pt-setschedprio.c: Likewise.
14013 * sysdeps/htl/pt-setspecific.c: Likewise.
14014 * sysdeps/htl/pt-spin.c: Likewise.
14015 * sysdeps/htl/pt-startup.c: Likewise.
14016 * sysdeps/htl/pthread.h: Likewise.
14017 * sysdeps/htl/sem-close.c: Likewise.
14018 * sysdeps/htl/sem-destroy.c: Likewise.
14019 * sysdeps/htl/sem-getvalue.c: Likewise.
14020 * sysdeps/htl/sem-init.c: Likewise.
14021 * sysdeps/htl/sem-open.c: Likewise.
14022 * sysdeps/htl/sem-post.c: Likewise.
14023 * sysdeps/htl/sem-timedwait.c: Likewise.
14024 * sysdeps/htl/sem-trywait.c: Likewise.
14025 * sysdeps/htl/sem-unlink.c: Likewise.
14026 * sysdeps/htl/sem-wait.c: Likewise.
14027 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14028 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14029 * sysdeps/mach/htl/pt-block.c: Likewise.
14030 * sysdeps/mach/htl/pt-spin.c: Likewise.
14031 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14032 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14033 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14034 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14035 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14036 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14037 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14038 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14039 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14040 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14041 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14042 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14043 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14044 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14045 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14046 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14047 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14048 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14049 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14050 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14051 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14052 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14053 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14054 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14055 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14056 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14057 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14058 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14059 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14060 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14061 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14062 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14063 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14064 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14065 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14066 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14067 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14068 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14069 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14070 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14071 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14072 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14073 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14074
14075 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14076 * README: Remove the mention of out-of-tree patches needed for
14077 GNU/Hurd.
14078
14079 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14080 (UTIME_NOW, UTIME_OMIT): Define macros.
14081
14082 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14083 instead of pthread_detach.
14084 (__cthread_fork): Call __pthread_create instead of pthread_create.
14085 (__cthread_keycreate): Call __pthread_key_create instead of
14086 pthread_key_create.
14087 (__cthread_getspecific): Call __pthread_getspecific instead of
14088 pthread_getspecific.
14089 (__cthread_setspecific): Call __pthread_setspecific instead of
14090 pthread_setspecific.
14091 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14092 __pthread_mutex_unlock instead of pthread_mutex_lock and
14093 pthread_mutex_unlock.
14094 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14095 ___pthread_get_cleanup_stack.
14096 (__pthread_get_cleanup_stack): New strong alias.
14097 * htl/pt-create.c: Include <pthreadP.h>.
14098 (entry_point): Call __pthread_exit instead of pthread_exit.
14099 (pthread_create): Rename to __pthread_create.
14100 (pthread_create): New strong alias.
14101 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14102 (pthread_detach): New strong alias.
14103 (__pthread_detach): Call __pthread_cond_broadcast instead of
14104 pthread_cond_broadcast.
14105 * htl/pt-exit.c: Include <pthreadP.h>.
14106 (__pthread_exit): Call __pthread_setcancelstate and
14107 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14108 __pthread_get_cleanup_stack.
14109 * htl/pt-testcancel.c: Include <pthreadP.h>.
14110 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14111 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14112 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14113 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14114 pthread_attr_getstacksize.
14115 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14116 Rename to __pthread_attr_getstackaddr.
14117 (pthread_attr_getstackaddr): New strong alias.
14118 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14119 Rename to __pthread_attr_getstacksize.
14120 (pthread_attr_getstacksize): New strong alias.
14121 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14122 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14123 (pthread_attr_setstack): New strong alias.
14124 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14125 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14126 pthread_attr_getstacksize, pthread_attr_setstacksize and
14127 pthread_attr_setstackaddr.
14128 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14129 Rename to __pthread_attr_setstackaddr.
14130 (pthread_attr_setstackaddr): New strong alias.
14131 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14132 Rename to __pthread_attr_setstacksize.
14133 (pthread_attr_setstacksize): New strong alias.
14134 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14135 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14136 pthread_exit.
14137 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14138 (__pthread_key_create): New hidden def.
14139 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14140 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14141 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14142 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14143 __pthread_setspecific, __pthread_setcancelstate,
14144 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14145 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14146 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14147 declarations.
14148 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14149 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14150 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14151 (pthread_attr_setstackaddr): New strong alias.
14152 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14153 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14154 (pthread_attr_setstacksize): New strong alias.
14155 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14156 (call_exit): Call __pthread_exit instead of pthread_exit.
14157 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14158 (_pthread_mutex_init): New hidden definition.
14159 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14160 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14161 instead of pthread_attr_init and pthread_attr_setstack.
14162
14163 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14164 __vm_deallocate instead of vm_allocate and vm_deallocate.
14165 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14166 setenv.
14167 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14168 of geteuid.
14169 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14170 strdup.
14171 * hurd/siginfo.c: Include <libioP.h>.
14172 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14173 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14174 munmap.
14175 * mach/devstream.c: Include <libioP.h>.
14176 (dealloc_ref): Call __mach_port_deallocate instead of
14177 mach_port_deallocate.
14178 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14179 Call __mach_port_deallocate instead of mach_port_deallocate.
14180 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14181 pathconf.
14182 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14183 munmap.
14184 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14185 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14186 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14187 of munmap.
14188 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14189 of close.
14190 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14191 instead of sysconf.
14192 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14193 __clock_gettime instead of clock_gettime.
14194 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14195 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14196 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14197 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14198 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14199 tcgetattr.
14200 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14201 __clock_gettime and __nanosleep instead of clock_gettime and
14202 nanosleep.
14203 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14204 __hurd_catch_signal.
14205 (hurd_catch_signal): New strong alias.
14206 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14207 __hurd_catch_signal instead of hurd_catch_signal.
14208 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14209 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14210 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14211 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14212 (_hurd_thread_sigstate): Add hidden def.
14213 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14214 mutex_unlock.
14215 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14216 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14217 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14218 __hurd_file_name_path_lookup.
14219 (hurd_file_name_path_lookup): New strong alias.
14220 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14221 hurd_file_name_path_lookup.
14222 * mach/errstring.c (mach_error_type): Add hidden def.
14223 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14224 * mach/mutex-init.c (__mutex_init): Add hidden def.
14225 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14226 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14227 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14228 * sysdeps/mach/hurd/getcwd.c
14229 (_hurd_canonicalize_directory_name_internal): Rename to
14230 __hurd_canonicalize_directory_name_internal.
14231 (_hurd_canonicalize_directory_name_internal): New strong alias.
14232 (__canonicalize_directory_name_internal, __getcwd): Call
14233 __hurd_canonicalize_directory_name_internal instead of
14234 _hurd_canonicalize_directory_name_internal.
14235 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14236 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14237 hidden defs.
14238 * sysdeps/hurd/include/hurd.h: New file.
14239 * sysdeps/hurd/include/hurd/fd.h: New file.
14240 * sysdeps/hurd/include/hurd/signal.h: New file.
14241 * sysdeps/mach/include/lock-intern.h: New file.
14242 * sysdeps/mach/include/mach.h: New file.
14243 * sysdeps/mach/include/mach/mig_support.h: New file.
14244 * sysdeps/mach/include/mach_error.h: New file.
14245 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14246 prototype.
14247 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14248 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14249 _HEADER_H_HIDDEN_DEF macro.
14250 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14251 _hurd_fd_error_signal): Add hidden prototype.
14252 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14253 hidden def.
14254 * libio/iolibio.h (_IO_puts): New hidden prototype.
14255 * libio/ioputs.c (_IO_puts): New hidden def.
14256 * sysdeps/mach/hurd/localplt.data: New file.
14257
14258 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14259 Amos Jeffries <squid3@treenet.co.nz>
14260 David Michael <fedora.dm0@gmail.com>
14261 Marco Gerards <marco@gnu.org>
14262 Marcus Brinkmann <marcus@gnu.org>
14263 Neal H. Walfield <neal@gnu.org>
14264 Pino Toscano <toscano.pino@tiscali.it>
14265 Richard Braun <rbraun@sceen.net>
14266 Roland McGrath <roland@gnu.org>
14267 Samuel Thibault <samuel.thibault@ens-lyon.org>
14268 Thomas DiModica <ricinwich@yahoo.com>
14269 Thomas Schwinge <tschwinge@gnu.org>
14270
14271 * htl: New directory.
14272 * sysdeps/htl: New directory.
14273 * sysdeps/hurd/htl: New directory.
14274 * sysdeps/i386/htl: New directory.
14275 * sysdeps/mach/htl: New directory.
14276 * sysdeps/mach/hurd/htl: New directory.
14277 * sysdeps/mach/hurd/i386/htl: New directory.
14278 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14279 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14280 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14281
14282 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14283
14284 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14285 signals in thread created for runing timers.
14286
14287 2018-04-01 Florian Weimer <fweimer@redhat.com>
14288
14289 * support/support_format_addrinfo.c (support_format_addrinfo):
14290 Include unknown error number in formatted result.
14291
14292 2018-03-29 Florian Weimer <fweimer@redhat.com>
14293
14294 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14295 capture SIGBUS.
14296
14297 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14298
14299 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14300 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14301 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14302 (__ASSUME_CLONE_BACKWARDS): Define.
14303
14304 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14305
14306 [BZ #23024]
14307 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14308 early when linux sentinel value is set.
14309
14310 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14311
14312 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14313
14314 2018-03-27 Andreas Schwab <schwab@suse.de>
14315
14316 [BZ #23005]
14317 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14318 allocation of private copy of nsaddr_list fails.
14319
14320 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14321
14322 [BZ #16552]
14323 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14324 * sysdeps/unix/sysv/linux/umount.c: ... here.
14325 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14326 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14327 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14328 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14330 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14331 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14332
14333 2018-03-26 Andreas Schwab <schwab@suse.de>
14334
14335 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14336 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14337 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14338 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14339 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14340 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14341 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14342 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14343 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14344 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14345 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14346 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14347 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14348 (R_RISCV_NUM): Define.
14349
14350 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14351
14352 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14353 TLS declaration of errno.
14354 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14355 __libc_setup_tls.
14356 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14357 (ARCH_SETUP_TLS): Likewise.
14358 * sysdeps/mach/hurd/libc-start.h: New file copied from
14359 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14360 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14361 instead of __libc_setup_tls.
14362 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14363 __libc_setup_tls before initializing libpthread and running _hurd_init
14364 which starts the signal thread.
14365 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14366 Declare function.
14367 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14368
14369 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14370
14371 [BZ #22998]
14372 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14373 after it is defined.
14374
14375 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14376 Max Horn <max@quendi.de>
14377
14378 [BZ #22644]
14379 CVE-2017-18269
14380 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14381 branch conditions.
14382 * string/test-memmove.c (do_test2): New testcase.
14383
14384 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14385
14386 * sysdeps/generic/frame.h: Remove file.
14387 * sysdeps/arm/frame.h: Likewise.
14388 * sysdeps/hppa/frame.h: Likewise.
14389 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14390 macro.
14391 (GET_FRAME): Likewise.
14392 (GET_STACK): Likewise.
14393 (CALL_SIGHANDLER): Likewise.
14394 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14395 Likewise.
14396 (GET_FRAME): Likewise.
14397 (GET_STACK): Likewise.
14398 (CALL_SIGHANDLER): Likewise.
14399 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14400 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14401 (GET_FRAME): Likewise.
14402 (GET_STACK): Likewise.
14403 (CALL_SIGHANDLER): Likewise.
14404 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14405 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14406 (GET_FRAME): Likewise.
14407 (GET_STACK): Likewise.
14408 (ADVANCE_STACK_FRAME): Likewise.
14409 (CALL_SIGHANDLER): Likewise.
14410 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14411 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14412 (GET_FRAME): Likewise.
14413 (GET_STACK): Likewise.
14414 (CALL_SIGHANDLER): Likewise.
14415 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14416 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14417 (GET_FRAME): Likewise.
14418 (GET_STACK): Likewise.
14419 (CALL_SIGHANDLER): Likewise.
14420 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14421 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14422 (GET_FRAME): Likewise.
14423 (GET_STACK): Likewise.
14424 (CALL_SIGHANDLER): Likewise.
14425 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14426 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14427 (GET_FRAME): Likewise.
14428 (GET_STACK): Likewise.
14429 (CALL_SIGHANDLER): Likewise.
14430 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14431 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14432 (GET_FRAME): Likewise.
14433 (GET_STACK): Likewise.
14434 (CALL_SIGHANDLER): Likewise.
14435 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14436 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14437 (GET_FRAME): Likewise.
14438 (GET_STACK): Likewise.
14439 (CALL_SIGHANDLER): Likewise.
14440 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14441 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14442 (GET_FRAME): Likewise.
14443 (GET_STACK): Likewise.
14444 (CALL_SIGHANDLER): Likewise.
14445 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14446 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14447 (GET_FRAME): Likewise.
14448 (GET_STACK): Likewise.
14449 (CALL_SIGHANDLER): Likewise.
14450 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14451 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14452 (GET_FRAME): Likewise.
14453 (GET_STACK): Likewise.
14454 (CALL_SIGHANDLER): Likewise.
14455 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14456 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14457 (FIRST_FRAME_POINTER): Likewise.
14458 (ADVANCE_STACK_FRAME): Likewise.
14459 (GET_STACK): Likewise.
14460 (GET_FRAME): Likewise.
14461 (CALL_SIGHANDLER): Likewise.
14462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14463 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14464 (ADVANCE_STACK_FRAME): Likewise.
14465 (GET_STACK): Likewise.
14466 (GET_FRAME): Likewise.
14467 (CALL_SIGHANDLER): Likewise.
14468 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14469 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14470 (GET_FRAME): Likewise.
14471 (GET_STACK): Likewise.
14472 (CALL_SIGHANDLER): Likewise.
14473 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14474 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14475 (GET_FRAME): Likewise.
14476 (GET_STACK): Likewise.
14477 (CALL_SIGHANDLER): Likewise.
14478
14479 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14480
14481 * sysdeps/x86_64/backtrace.c: Move to ....
14482 * debug/backtrace.c: ... here.
14483 * sysdeps/aarch64/backtrace.c: Remove file.
14484 * sysdeps/alpha/backtrace.c: Likewise.
14485 * sysdeps/hppa/backtrace.c: Likewise.
14486 * sysdeps/ia64/backtrace.c: Likewise.
14487 * sysdeps/mips/backtrace.c: Likewise.
14488 * sysdeps/nios2/backtrace.c: Likewise.
14489 * sysdeps/riscv/backtrace.c: Likewise.
14490 * sysdeps/sh/backtrace.c: Likewise.
14491 * sysdeps/tile/backtrace.c: Likewise.
14492
14493 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14494
14495 [BZ #22987]
14496 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14497 function.
14498 (fdimf): Likewise.
14499 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14500
14501 [BZ #17343]
14502 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14503 possibly overflowing computations.
14504
14505 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14506
14507 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14508 values from Linux-specific section now that it is in the GNU section.
14509 * sysdeps/gnu/errlist.c: Regenerate.
14510
14511 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14512
14513 * math/Makefile (libm-narrow-fns): Add sub.
14514 (libm-test-funcs-narrow): Likewise.
14515 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14516 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14517 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14518 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14519 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14520 (NARROW_SUB_TRIVIAL): Likewise.
14521 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14522 macro.
14523 (__dsubl): Likewise.
14524 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14525 dsub.
14526 (CFLAGS-nldbl-dsub.c): New variable.
14527 (CFLAGS-nldbl-fsub.c): Likewise.
14528 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14529 __nldbl_dsubl.
14530 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14531 prototype.
14532 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14533 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14534 * math/auto-libm-test-in: Add tests of sub.
14535 * math/auto-libm-test-out-narrow-sub: New generated file.
14536 * math/libm-test-narrow-sub.inc: New file.
14537 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14540 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14541 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14542 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14545 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14549 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14551 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14552 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14553 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14554 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14556 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14583
14584 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14585
14586 [BZ #20079]
14587 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14588
14589 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14590
14591 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14592
14593 2018-03-18 Richard Braun <rbraun@sceen.net>
14594
14595 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14596 thread reference.
14597
14598 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14599
14600 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14601 (__libc_cleanup_fct): Define function.
14602 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14603 __libc_cleanup_end): Rewrite implementation using
14604 __attribute__ ((__cleanup__)).
14605 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14606 * hurd/Makefile (routines): Add hurdlock.
14607 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14608 interface.
14609 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14610 * hurd/hurdpid.c: Include <lowlevellock.h>
14611 (_S_msg_proc_newids): Use lll_wait to synchronize.
14612 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14613 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14614 * mach/Makefile (lock-headers): Remove machine-lock.h.
14615 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14616 <machine-lock.h>.
14617 (__spin_lock_t): New type.
14618 (__SPIN_LOCK_INITIALIZER): New macro.
14619 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14620 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14621 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14622 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14623 (__mutex_init): Initialize with lll.
14624 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14625 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14626 needing lll.
14627 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14628 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14629 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14630 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14631 (__setpgid): Use lll for synchronization.
14632 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14633 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14634 instead of <cthreads.h>.
14635 (_IO_lock_inexpensive): New macro
14636 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14637 (__libc_lock_self0): New declaration.
14638 (__libc_lock_owner_self): New macro.
14639 (__libc_key_t): Remove type.
14640 (_LIBC_LOCK_INITIALIZER): New macro.
14641 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14642 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14643 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14644 __libc_lock_define_initialized_recursive,
14645 __rtld_lock_define_initialized_recursive,
14646 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14647 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14648 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14649 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14650 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14651 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14652 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14653 New macros.
14654 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14655 * hurd/hurdlock.c: New file.
14656 * hurd/hurdlock.h: New file.
14657 * mach/lowlevellock.h: New file
14658
14659 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14660
14661 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14662 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14663 when opening a symlink with O_NOFOLLOW.
14664 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14665 path when flags contains O_NOFOLLOW.
14666 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14667 if flags contains O_DIRECTORY and the result is a directory.
14668 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14669 oneself when the pointer given in D is nul (as set by ext2fs).
14670 * sysdeps/mach/hurd/mlockall.c: New file.
14671 * sysdeps/mach/hurd/munlockall.c: New file.
14672
14673 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14674
14675 * hurd/hurdsig.c: Include <pthread.h>.
14676 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14677 get the signal thread stack layout.
14678 * hurd/Makefile (headers): Remove threadvar.h.
14679 (inline-headers): Remove threadvar.h.
14680 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14681 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14682 __hurd_threadvar_max, __hurd_errno_location.
14683 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14684 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14685 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14686 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14687 unless TLS is not initialized yet, in which case we do not need a
14688 critical section yet anyway.
14689 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14690 <machine-sp.h>.
14691 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14692 declarations.
14693 (__hurd_threadvar_index): Remove enum.
14694 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14695 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14696 inlines.
14697 (__hurd_reply_port0): New variable declaration.
14698 (__hurd_local_reply_port): New macro.
14699 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14700 (interrupted_reply_port_location): Add thread_t parameter. Use it
14701 with THREAD_TCB to access thread-local variables.
14702 (_hurdsig_abort_rpcs): Pass ss->thread to
14703 interrupted_reply_port_location.
14704 (_hurd_internal_post_signal): Likewise.
14705 (_hurdsig_init): Use presence of cthread_fork instead of
14706 __hurd_threadvar_stack_mask to start signal thread by hand.
14707 Remove signal thread threadvar initialization.
14708 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14709 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14710 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14711 of threadvar.
14712 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14713 __libc_lock_self0.
14714 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14715 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14716 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14717 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14718 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14719 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14720 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14721 define variables.
14722 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14723 <hurd/threadvar.h>.
14724 [IS_IN(rtld)] (rtld_errno): New variable.
14725 [IS_IN(rtld)] (__errno_location): New weak function.
14726 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14727 * sysdeps/mach/hurd/errno.c: Remove file.
14728 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14729 (__fork): Remove THREADVAR_SPACE macro and its use.
14730 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14731 variable.
14732 (init): Do not initialize threadvar.
14733 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14734 symbol.
14735 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14736 __hurd_local_reply_port instead of threadvar.
14737 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14738 _hurd_sigstate fields.
14739 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14740 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14741 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14742 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14743 instead of threadvar.
14744 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14745 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14746 (use_threadvar, global_reply_port): Remove variables.
14747 (__hurd_reply_port0): New variable.
14748 (__mig_get_reply_port): Use __hurd_local_reply_port and
14749 __hurd_reply_port0 instead of threadvar.
14750 (__mig_dealloc_reply_port): Likewise.
14751 (__mig_init): Do not initialize threadvar.
14752 * sysdeps/mach/hurd/profil.c: Fix comment.
14753 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14754 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14755 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14756 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14757 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14758 __cthread_setspecific.
14759 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14760 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14761 __cthread_t instead of cthread_fork, cthread_detach,
14762 pthread_getattr_np, pthread_attr_getstack.
14763 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14764 __cthread_keycreate.
14765 (cthread_getspecific): Rename to __cthread_getspecific.
14766 (cthread_setspecific): Rename to __cthread_setspecific.
14767 (__libc_getspecific): Use __cthread_getspecific instead of
14768 cthread_getspecific.
14769 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14770 __cthread_keycreate instead of cthread_keycreate.
14771 (__libc_setspecific): Use __cthread_setspecific instead of
14772 cthread_setspecific.
14773 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14774 Likewise.
14775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14776 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14777 testing whether it is defined.
14778
14779 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14780
14781 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14782 Define macro.
14783 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14784 * sysdeps/mach/i386/thread_state.h
14785 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14786 i386_THREAD_STATE.
14787 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14788 i386_THREAD_STATE.
14789 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14790
14791 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14792 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14793
14794 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14795 macros.
14796 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14797 descriptor instead of creating a new one.
14798 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14799
14800 * mach/setup-thread.c: Include <ldsodefs.h>.
14801 (__mach_setup_thread): Call _dl_allocate_tls, pass
14802 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14803 MACHINE_THREAD_STATE_FLAVOR, before getting
14804 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14805 MACHINE_THREAD_STATE_FLAVOR with the result.
14806 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14807 MACHINE_THREAD_STATE_FIX_NEW.
14808 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14809 too. Add original thread parameter.
14810
14811 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14812
14813 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14814 Remove inline function.
14815
14816 * sysdeps/i386/fpu/libm-test-ulps: Update.
14817 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14818
14819 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14820
14821 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14822 commit.
14823
14824 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14825
14826 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14827 (__sincos_code): Remove define and undefine.
14828 [__FAST_MATH__] (__sincos): Remove inline function.
14829 [__FAST_MATH__] (__sincosf): Remove inline function.
14830 [__FAST_MATH__] (__sincosl): Remove inline function.
14831 (__atan2l): Remove inline functions.
14832 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14833 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14834 function.
14835 (floor): Remove inline function.
14836 (ceil): Likewise.
14837 [__FAST_MATH__] (__ldexp_code): Remove macro.
14838 [__FAST_MATH__] (ldexp): Remove inline function.
14839 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14840 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14841 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14842 [__USE_ISOC99] (__lrint_code): Remove macro.
14843 [__USE_ISOC99] (__llrint_code): Likewise.
14844 [__USE_ISOC99] (lrintf): Remove inline function.
14845 [__USE_ISOC99] (lrint): Likewise.
14846 [__USE_ISOC99] (lrintl): Likewise.
14847 [__USE_ISOC99] (llrint): Likewise.
14848 [__USE_ISOC99] (llrintf): Likewise.
14849 [__USE_ISOC99] (llrintl): Likewise.
14850
14851 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14852
14853 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14854 (__ieee754_sqrtf): Remove.
14855 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14856 (__ieee754_sqrtf): Remove.
14857 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14858 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14859 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14860 (__ieee754_sqrtf): Remove.
14861 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14862 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14863 (sqrtf): Remove.
14864 (sqrtl): Remove.
14865 (__ieee754_sqrt): Remove.
14866 (__ieee754_sqrtf): Remove.
14867 (__ieee754_sqrtl): Remove.
14868 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14869 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14870 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14871 (__ieee754_sqrtf): Remove.
14872 (__ieee754_sqrtl): Remove.
14873
14874 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14875
14876 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14877 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14878 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14879 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14880 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14881 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14882 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14883 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14884 Likewise.
14885 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14886 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14887 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14888 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14889 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14890 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14891 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14892 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14893 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14894 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14895 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14896 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14897 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14898 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14899 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14900 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14901 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14902 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14903 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14904 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14906 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14907 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14908 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14909 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14910 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14913 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14914 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14915 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14916 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14917 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14918 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14919 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14921 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14922 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14923 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14924 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14925
14926 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14927
14928 * include/math.h (sqrt): Declare with asm redirect.
14929 (sqrtf): Likewise.
14930 (sqrtl): Likewise.
14931 (sqrtf128): Likewise.
14932 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14933 nonlib and libnldbl with -fmath-errno.
14934 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14935 * math/w_sqrt_template.c: Likewise.
14936 * math/w_sqrtf_compat.c: Likewise.
14937 * math/w_sqrtl_compat.c: Likewise.
14938 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14939 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14940 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14941 complex.h.
14942
14943 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14944
14945 * benchtests/Makefile: Define _ISOMAC.
14946 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14947 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14948 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14949 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14950 * benchtests/bench-timing.h: Define attribute_hidden.
14951
14952 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14953
14954 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14955 mov + lsr.
14956
14957 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14958
14959 [BZ #22963]
14960 * localedata/locales/cs_CZ (mon): Rename to...
14961 (alt_mon): This.
14962 (mon): Import from CLDR (genitive case).
14963
14964 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14965
14966 [BZ #22937]
14967 * localedata/locales/el_CY (abmon): Rename to...
14968 (ab_alt_mon): This.
14969 (abmon): Import from CLDR (abbreviated genitive case).
14970 * localedata/locales/el_GR (abmon): Rename to...
14971 (ab_alt_mon): This.
14972 (abmon): Import from CLDR (abbreviated genitive case).
14973
14974 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14975
14976 [BZ #22932]
14977 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14978
14979 2018-03-15 Robert Buj <robert.buj@gmail.com>
14980
14981 [BZ #22848]
14982 * localedata/locales/ca_ES (abmon): Rename to...
14983 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14984 (mon): Rename to...
14985 (alt_mon): This.
14986 (abmon): Import from CLDR (genitive case, month names preceded by
14987 "de" or "d’").
14988 (mon): Likewise.
14989 (abday): Synchronize with CLDR.
14990 (d_t_fmt): Likewise.
14991 (d_fmt): Likewise.
14992 (am_pm): Likewise.
14993
14994 (LC_TIME): Improve indentation.
14995 (LC_TELEPHONE): Likewise.
14996 (LC_NAME): Likewise.
14997 (LC_ADDRESS): Likewise.
14998
14999 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15000
15001 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15002 (lrintf): Remove definitions used only with old GCC.
15003 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15004 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15005 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15006 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15007 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15008 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15009 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15010 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15011 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15012 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15013 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15014 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15015 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15016 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15017 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15018 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15019 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15020 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15021 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15022 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15023 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15024 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15025 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15026 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15027 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15028 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15029 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15030 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15031
15032 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15033
15034 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15035 instruction to unbreak builds with binutils 2.26 and older.
15036
15037 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15038
15039 * sysdeps/aarch64/strncmp.S (count): New macro.
15040 (strncmp): Store misaligned length in SRC1 in COUNT.
15041 (mutual_align): Adjust.
15042 (misaligned8): Load dword at a time when it is safe.
15043
15044 2018-03-12 Zack Weinberg <zackw@panix.com>
15045
15046 [BZ #1190]
15047 [BZ #19476]
15048 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15049 if the _IO_EOF_SEEN bit is already set; update commentary.
15050 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15051 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15052
15053 * support/support_openpty.c, support/tty.h: New files.
15054 * support/Makefile (libsupport-routines): Add support_openpty.
15055
15056 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15057 New test cases.
15058 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15059 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15060
15061 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15062
15063 * po/pt_BR.po: Update translations.
15064
15065 2018-03-12 David Michael <fedora.dm0@gmail.com>
15066
15067 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15068 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15069 get a port to the startup server.
15070
15071 2018-03-11 Zack Weinberg <zackw@panix.com>
15072
15073 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15074 before nldbl-compat.h.
15075
15076 2018-03-10 Zack Weinberg <zackw@panix.com>
15077
15078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15079 math.h or math_private.h.
15080
15081 * sysdeps/alpha/fpu/s_isnan.c
15082 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15083 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15084 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15085 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15086 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15087 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15088 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15089 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15096 Include math_private.h.
15097
15098 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15099 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15100 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15101 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15102 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15103 * sysdeps/powerpc/power7/fpu/s_logb.c:
15104 Include math.h and math_private.h.
15105
15106 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15107 uses of $at in .set noat / .set at.
15108
15109 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15110
15111 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15112 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15113 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15115 Likewise.
15116
15117 2018-03-09 Florian Weimer <fweimer@redhat.com>
15118
15119 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15120 in comment.
15121
15122 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15123
15124 [BZ #22919]
15125 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15126 Add nop before __startcontext, add explaining comments.
15127
15128 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15129
15130 [BZ #22926]
15131 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15132 empty for __SPE__.
15133 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15135 Do not build hardware transactional code for __SPE__.
15136 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15137 (__lll_trylock_elision): Likewise.
15138 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15139 (__lll_unlock_elision): Likewise.
15140
15141 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15142 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15143 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15144 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15145 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15146 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15147 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15148 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15149 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15150 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15151 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15152 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15153 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15154 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15155 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15156 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15157 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15158 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15159 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15160 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15161 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15162 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15163 (__ASSUME_CLONE_BACKWARDS): Define.
15164 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15165 __clone2 if __NR_clone2 is defined.
15166 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15167 (__ASSUME_CLONE_BACKWARDS): Likewise.
15168 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15169 (__ASSUME_CLONE_BACKWARDS): Likewise.
15170 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15171 (__ASSUME_CLONE2): Likewise.
15172 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15173 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15174 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15175 variants and the define architecture can use.
15176 (__ASSUME_CLONE_DEFAULT): Define as default.
15177 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15178 (__ASSUME_CLONE_BACKWARDS): Likewise.
15179 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15180 (__ASSUME_CLONE_BACKWARDS): Likewise.
15181 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15182 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15183
15184 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15185
15186 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15187
15188 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15189 time.
15190
15191 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15192 (do_test_limit): Likewise.
15193
15194 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15195 for every implementation.
15196 (do_test): Likewise.
15197
15198 * benchtests/bench-strncmp.c: Convert output to json.
15199
15200 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15201
15202 * io/futimens.c: Add missing start-of-file descriptive comment.
15203 * io/utime.c: Likewise.
15204 * misc/futimesat.c: Likewise.
15205 * misc/utimes.c: Likewise.
15206 * sysdeps/mach/hurd/futimesat.c: Likewise.
15207 * sysdeps/mach/hurd/utimes.c: Likewise.
15208 * sysdeps/posix/utime.c: Likewise.
15209 * sysdeps/posix/utimes.c: Likewise.
15210 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15211 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15212 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15213 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15214
15215 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15216
15217 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15218 hurd_futimes.
15219 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15220 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15221 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15222 (__futimens): Move implementation to...
15223 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15224 utime_tvalue_from_tspec): ... new helper functions.
15225 (hurd_futimens): New function.
15226 * sysdeps/mach/hurd/futimesat.c: New file.
15227 * sysdeps/mach/hurd/utimensat.c: New file.
15228
15229 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15230
15231 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15232 UTIME_OMIT): New macros.
15233 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15234 before reverting to converting time spec to time value and calling
15235 __file_utimes.
15236 * sysdeps/mach/hurd/utime-helper.c: New file.
15237 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15238 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15239 reverting to utime_tvalue_from_tval and __file_utimes.
15240 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15241 (__lutimes): Just call hurd_futimens after lookup.
15242 * sysdeps/mach/hurd/utimes.c: Likewise.
15243
15244 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15245
15246 * bits/sigaction.h: Add include guard.
15247 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15248 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15249 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15250 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15251 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15252 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15253 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15254 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15255 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15256
15257 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15258
15259 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15260 -Wmaybe-uninitialized for -Os.
15261 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15262 this disabling.
15263
15264 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15265
15266 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15267 __INO_T_MATCHES_INO64_T is defined.
15268 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15269 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15270 of definition.
15271 * dirent/alphasort64.c: Likewise.
15272 * dirent/scandir.c: Likewise.
15273 * dirent/scandir64-tail.c: Likewise.
15274 * dirent/scandir64.c: Likewise.
15275 * dirent/scandirat.c: Likewise.
15276 * dirent/scandirat64.c: Likewise.
15277 * dirent/versionsort.c: Likewise.
15278 * dirent/versionsort64.c: Likewise.
15279 * include/dirent.h: Likewise.
15280
15281 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15282 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15283 for socketpair endpoint.
15284 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15285 WRITE_BUFFER_SIZE as buffer size for sending socket.
15286 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15287 issue on system where send is implemented with sendto syscall.
15288 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15289 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15290 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15291 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15292
15293 [BZ #21269]
15294 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15295 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15296 sa_restorer for vDSO case.
15297 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15298
15299 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15300
15301 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15302 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15303 * hurd/hurd/ioctl.h: Include <mach/port.h>
15304 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15305 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15306 <mach/mach_types.h> and <mach/message.h>.
15307 (headers): Move mach/param.h to bits/mach/param.h.
15308 * sysdeps/mach/i386/mach/param.h: Move file to ...
15309 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15310 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15311 of <mach/param.h>.
15312 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15313 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15314 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15315 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15316 trivial, for C++ conformity.
15317 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15318 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15319 Process mig output through $(migheadersed).
15320 * hurd/Makefile (migheadersed): Define variable.
15321 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15322 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15323 headers.
15324 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15325 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15326 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15327 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15328 <bits/types/sigset_t.h>.
15329 [!defined __USE_GNU]: Do not #error out.
15330 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15331 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15332 Include <stddef.h> and <bits/types/sigset_t.h>
15333 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15334 instead of sighandler_t.
15335 * stdlib/errno.h (error_t): Move definition to...
15336 * bits/types/error_t.h: ... new header.
15337 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15338 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15339 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15340 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15341 * hurd/hurd.h: Include <bits/types/error_t.h>
15342 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15343 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15344 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15345 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15346 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15347 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15348 * sysdeps/mach/hurd/futimens.c: New file.
15349
15350 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15351
15352 [BZ #22918]
15353 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15354 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15355 * nscd/gai.c (__nss_hosts_database): Readd definition.
15356 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15357 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15358 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15359
15360 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15361
15362 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15363 (ifunc_one): Likewise.
15364
15365 2018-03-01 DJ Delorie <dj@delorie.com>
15366
15367 [BZ #22342]
15368 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15369 key value.
15370
15371 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15372
15373 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15374 `match_pid' parameter.
15375 (td_ta_thr_iter): Update accordingly.
15376
15377 2018-03-01 Florian Weimer <fweimer@redhat.com>
15378
15379 * nptl/Makefile (install-lib-ldscripts): Remove.
15380 (install): Remove rule.
15381 ($(inst_libdir)/libpthread.so): Likewise.
15382
15383 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15384
15385 [BZ #22896]
15386 * localedata/locales/an_ES: update month and day names,
15387 improve d_fmt, improve postal_fmt, add country_post,
15388 add country_isbn
15389
15390 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15391
15392 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15393 Ukrainian instead of Bulgarian.
15394
15395 2018-03-01 Florian Weimer <fweimer@redhat.com>
15396
15397 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15398 reference.
15399
15400 2018-03-01 Florian Weimer <fweimer@redhat.com>
15401
15402 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15403 * nptl/Makefile (routines): Add pthread_atfork.
15404 (static-only-routines): Set to pthread_atfork.
15405 (libpthread-routines): Remove pthread_atfork.
15406 (libpthread-static-only-routines): Remove.
15407 (install): Update comment.
15408 (libpthread.so): Do not install libpthread_nonshared.a.
15409 (tests): Do not link with libpthread_nonshared.a.
15410 (generated): Remove libpthread_nonshared.a.
15411 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15412 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15413 with libpthread_nonshared.a.
15414
15415 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15416
15417 [BZ #22902]
15418 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15419 (libc_feholdexcept_setroundf128): New macro.
15420 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15421
15422 [BZ #15105]
15423 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15424 libc_hidden_def.
15425 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15426 * include/inttypes.h: New file.
15427
15428 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15429
15430 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15431 -Os in two more places.
15432
15433 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15434
15435 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15436 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15437 be sorted correctly at the moment because of a bug.
15438
15439 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15440
15441 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15442 treat ñ as a primary different character, sync the collation
15443 for Spanish with CLDR.
15444 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15445 * localedata/Makefile: Add new test files.
15446 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15447 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15448 collation order.
15449 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15450 * localedata/am_ET.UTF-8.in: New test file.
15451 * localedata/az_AZ.UTF-8.in: Likewise.
15452 * localedata/be_BY.UTF-8.in: Likewise.
15453 * localedata/ber_DZ.UTF-8.in: Likewise.
15454 * localedata/ber_MA.UTF-8.in: Likewise.
15455 * localedata/bg_BG.UTF-8.in: Likewise.
15456 * localedata/br_FR.UTF-8.in: Likewise.
15457 * localedata/cmn_TW.UTF-8.in: Likewise.
15458 * localedata/crh_UA.UTF-8.in: Likewise.
15459 * localedata/csb_PL.UTF-8.in: Likewise.
15460 * localedata/cv_RU.UTF-8.in: Likewise.
15461 * localedata/cy_GB.UTF-8.in: Likewise.
15462 * localedata/dz_BT.UTF-8.in: Likewise.
15463 * localedata/eo.UTF-8.in: Likewise.
15464 * localedata/es_ES.UTF-8.in: Likewise.
15465 * localedata/fa_IR.UTF-8.in: Likewise.
15466 * localedata/fi_FI.UTF-8.in: Likewise.
15467 * localedata/fil_PH.UTF-8.in: Likewise.
15468 * localedata/fur_IT.UTF-8.in: Likewise.
15469 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15470 * localedata/ha_NG.UTF-8.in: Likewise.
15471 * localedata/ig_NG.UTF-8.in: Likewise.
15472 * localedata/ik_CA.UTF-8.in: Likewise.
15473 * localedata/kk_KZ.UTF-8.in: Likewise.
15474 * localedata/ku_TR.UTF-8.in: Likewise.
15475 * localedata/ky_KG.UTF-8.in: Likewise.
15476 * localedata/ln_CD.UTF-8.in: Likewise.
15477 * localedata/mi_NZ.UTF-8.in: Likewise.
15478 * localedata/ml_IN.UTF-8.in: Likewise.
15479 * localedata/mn_MN.UTF-8.in: Likewise.
15480 * localedata/mr_IN.UTF-8.in: Likewise.
15481 * localedata/mt_MT.UTF-8.in: Likewise.
15482 * localedata/nb_NO.UTF-8.in: Likewise.
15483 * localedata/om_KE.UTF-8.in: Likewise.
15484 * localedata/os_RU.UTF-8.in: Likewise.
15485 * localedata/ps_AF.UTF-8.in: Likewise.
15486 * localedata/ro_RO.UTF-8.in: Likewise.
15487 * localedata/ru_RU.UTF-8.in: Likewise.
15488 * localedata/sc_IT.UTF-8.in: Likewise.
15489 * localedata/se_NO.UTF-8.in: Likewise.
15490 * localedata/sq_AL.UTF-8.in: Likewise.
15491 * localedata/sv_SE.UTF-8.in: Likewise.
15492 * localedata/szl_PL.UTF-8.in: Likewise.
15493 * localedata/tg_TJ.UTF-8.in: Likewise.
15494 * localedata/tk_TM.UTF-8.in: Likewise.
15495 * localedata/tt_RU.UTF-8.in: Likewise.
15496 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15497 * localedata/ug_CN.UTF-8.in: Likewise.
15498 * localedata/uz_UZ.UTF-8.in: Likewise.
15499 * localedata/vi_VN.UTF-8.in: Likewise.
15500 * localedata/yi_US.UTF-8.in: Likewise.
15501 * localedata/yo_NG.UTF-8.in: Likewise.
15502 * localedata/zh_CN.UTF-8.in: Likewise.
15503 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15504 file and fix bugs in the collation.
15505 * localedata/locales/az_AZ: Likewise.
15506 * localedata/locales/be_BY: Likewise.
15507 * localedata/locales/ber_DZ: Likewise.
15508 * localedata/locales/ber_MA: Likewise.
15509 * localedata/locales/bg_BG: Likewise.
15510 * localedata/locales/br_FR: Likewise.
15511 * localedata/locales/br_FR@euro: Likewise.
15512 * localedata/locales/ca_ES: Likewise.
15513 * localedata/locales/cns11643_stroke: Likewise.
15514 * localedata/locales/crh_UA: Likewise.
15515 * localedata/locales/cs_CZ: Likewise.
15516 * localedata/locales/csb_PL: Likewise.
15517 * localedata/locales/cv_RU: Likewise.
15518 * localedata/locales/cy_GB: Likewise.
15519 * localedata/locales/da_DK: Likewise.
15520 * localedata/locales/dz_BT: Likewise.
15521 * localedata/locales/en_CA: Likewise.
15522 * localedata/locales/eo: Likewise.
15523 * localedata/locales/es_CU: Likewise.
15524 * localedata/locales/es_EC: Likewise.
15525 * localedata/locales/es_ES: Likewise.
15526 * localedata/locales/es_US: Likewise.
15527 * localedata/locales/et_EE: Likewise.
15528 * localedata/locales/fa_IR: Likewise.
15529 * localedata/locales/fi_FI: Likewise.
15530 * localedata/locales/fil_PH: Likewise.
15531 * localedata/locales/fur_IT: Likewise.
15532 * localedata/locales/gez_ER@abegede: Likewise.
15533 * localedata/locales/ha_NG: Likewise.
15534 * localedata/locales/hr_HR: Likewise.
15535 * localedata/locales/hsb_DE: Likewise.
15536 * localedata/locales/hu_HU: Likewise.
15537 * localedata/locales/ig_NG: Likewise.
15538 * localedata/locales/ik_CA: Likewise.
15539 * localedata/locales/is_IS: Likewise.
15540 * localedata/locales/iso14651_t1_pinyin: Likewise.
15541 * localedata/locales/kk_KZ: Likewise.
15542 * localedata/locales/ku_TR: Likewise.
15543 * localedata/locales/ky_KG: Likewise.
15544 * localedata/locales/ln_CD: Likewise.
15545 * localedata/locales/lt_LT: Likewise.
15546 * localedata/locales/lv_LV: Likewise.
15547 * localedata/locales/mi_NZ: Likewise.
15548 * localedata/locales/ml_IN: Likewise.
15549 * localedata/locales/mn_MN: Likewise.
15550 * localedata/locales/mr_IN: Likewise.
15551 * localedata/locales/mt_MT: Likewise.
15552 * localedata/locales/nb_NO: Likewise.
15553 * localedata/locales/om_KE: Likewise.
15554 * localedata/locales/os_RU: Likewise.
15555 * localedata/locales/pl_PL: Likewise.
15556 * localedata/locales/ps_AF: Likewise.
15557 * localedata/locales/ro_RO: Likewise.
15558 * localedata/locales/ru_RU: Likewise.
15559 * localedata/locales/ru_UA: Likewise.
15560 * localedata/locales/sc_IT: Likewise.
15561 * localedata/locales/se_NO: Likewise.
15562 * localedata/locales/si_LK: Likewise.
15563 * localedata/locales/sq_AL: Likewise.
15564 * localedata/locales/sv_FI: Likewise.
15565 * localedata/locales/sv_FI@euro: Likewise.
15566 * localedata/locales/sv_SE: Likewise.
15567 * localedata/locales/szl_PL: Likewise.
15568 * localedata/locales/tg_TJ: Likewise.
15569 * localedata/locales/ti_ER: Likewise.
15570 * localedata/locales/tk_TM: Likewise.
15571 * localedata/locales/tl_PH: Likewise.
15572 * localedata/locales/tr_TR: Likewise.
15573 * localedata/locales/tt_RU: Likewise.
15574 * localedata/locales/tt_RU@iqtelif: Likewise.
15575 * localedata/locales/ug_CN: Likewise.
15576 * localedata/locales/uk_UA: Likewise.
15577 * localedata/locales/uz_UZ: Likewise.
15578 * localedata/locales/uz_UZ@cyrillic: Likewise.
15579 * localedata/locales/vi_VN: Likewise.
15580 * localedata/locales/yi_US: Likewise.
15581 * localedata/locales/yo_NG: Likewise.
15582
15583 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15584
15585 * gen-locales.mk: Make test files which contain @ modifiers in their
15586 name work.
15587 * localedata/gen-locale.sh: Likewise.
15588
15589 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15590
15591 * posix/tst-fnmatch.input: Fix results for range expressions
15592 for non C locales.
15593 * posix/tst-regexloc.c: Do not use a range expression for
15594 de_DE.ISO-8859-1 locale.
15595
15596 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15597
15598 * posix/bug-regex5.c: Fix test case because with the new
15599 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15600 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15601 file.
15602
15603 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15604
15605 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15606 downloaded from ISO, the collation order of @-. and space has changed.
15607 Therefore, this test file needed to be adapted.
15608 * localedata/fr_CA.UTF-8.in: Likewise.
15609 * localedata/fr_FR.UTF-8.in: Likewise.
15610 * localedata/uk_UA.UTF-8.in: Likewise.
15611
15612 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15613
15614 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15615 order of ȥ in the new iso14651_t1_common file.
15616 * localedata/pl_PL.UTF-8.in: Likewise.
15617
15618 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15619
15620 * localedata/locales/iso14651_t1_common: Add sections for various
15621 scripts to the iso14651_t1_common file.
15622
15623 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15624
15625 * localedata/locales/iso14651_t1_common: Use the code point of a
15626 character in the fourth collation level instead of IGNORE for all
15627 entries which have IGNORE on all 4 levels.
15628
15629 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15630
15631 * localedata/locales/iso14651_t1_common: Add some convenient collation
15632 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15633 rules similar to those in CLDR.
15634
15635 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15636
15637 * localedata/locales/iso14651_t1_common: The new version of this
15638 file downloaded from ISO contained several syntax errors which
15639 are fixed by this patch.
15640
15641 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15642
15643 * localedata/locales/iso14651_t1_common: replace all <U.....>
15644 with <U000.....> because glibc understands only 4 digit or 8 digit
15645
15646 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15647
15648 * localedata/locales/iso14651_t1_common: Necessary changes
15649 to make the file downloaded from ISO usable by glibc.
15650
15651 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15652
15653 [BZ #14095]
15654 * localedata/locales/iso14651_t1_common: Update file to
15655 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15656
15657 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15658
15659 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15660 of <nptl/pthreadP.h>
15661 (thread_attr_compare): Move function to...
15662 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15663 * sysdeps/nptl/timer_routines.h: ... new header.
15664 * sysdeps/mach/hurd/gai_misc.h: New file.
15665
15666 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15667
15668 * string/strcoll_l.c: Include <libc-diag.h>.
15669 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15670 declarations of seq1 and seq2.
15671
15672 [BZ #15105]
15673 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15674 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15675
15676 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15677
15678 [BZ #22433]
15679 [BZ #22807]
15680 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15681 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15682 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15683 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15684 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15685 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15686
15687 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15688
15689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15690 macros used in __ptrace_request.
15691
15692 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15693
15694 [BZ #22792]
15695 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15696 to $(CC).
15697 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15698 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15699 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15700 <tcb-offsets.h>.
15701
15702 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15703
15704 [BZ #15105]
15705 * ctype/ctype.c (tolower): Use libc_hidden_def.
15706 (toupper): Likewise.
15707 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15708 [!_ISOMAC] (toupper): Likewise.
15709
15710 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15711
15712 * localedata/Makefile: Remove --quiet argument when
15713 installing locales
15714
15715 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15716
15717 [BZ #17438]
15718 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15719 in d_fmt.
15720 * localedata/locales/pt_PT (LC_TIME): likewise
15721
15722 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15723
15724 [BZ #22646]
15725 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15726 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15727 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15728
15729 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15730
15731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15732
15733 * nptl/Makefile (routines): Remove unregister-atfork.
15734 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15735 (fork_handler_alloc): Remove function.
15736 (fork_handlers, fork_handler_init): New variables.
15737 (__fork_lock): Rename to atfork_lock.
15738 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15739 to use a dynamic array to add/remove atfork handlers.
15740 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15741 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15742 Remove declaration.
15743 (fork_handler): Remove next, refcntr, and need_signal member.
15744 (__run_fork_handler_type): New enum.
15745 (__run_fork_handlers): New prototype.
15746 * nptl/register-atfork.c: Remove file.
15747 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15748
15749 * sysdeps/nptl/nptl-signals.h: Move to ...
15750 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15751 comments.
15752 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15753 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15754 unnecessary check for SIGTIMER.
15755 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15756 remove unnecessary removal of SIGTIMER.
15757 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15758 include-signals.h rename.
15759 * nptl/pthreadP.h: Likewise.
15760 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15761 __is_internal_signal instead of __nptl_is_internal_signal.
15762
15763 2018-02-22 Andrew Waterman <andrew@sifive.com>
15764
15765 [BZ # 22884]
15766 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15767 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15768 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15769 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15770
15771 2018-02-22 DJ Delorie <dj@delorie.com>
15772
15773 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15774
15775 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15776
15777 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15778 do_misaligned, not misaligned8.
15779
15780 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15781
15782 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15783 Add memcpy_thunderx2.
15784 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15785 Increment to 4.
15786 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15787 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15788 and IS_THUNDERX2PA checks.
15789 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15790 Use macro to set name appropriately.
15791 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15792 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15793 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15794 New macro.
15795 (IS_THUNDERX2): New macro.
15796
15797 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15798
15799 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15800
15801 2018-02-21 Zack Weinberg <zackw@panix.com>
15802
15803 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15804 Define here, unconditionally.
15805 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15806 * libio/libioP.h: Remove #if 0 blocks.
15807 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15808 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15809 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15810
15811 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15812 Assume weak_alias is always defined.
15813
15814 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15815 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15816 Remove #if 0 and #ifdef TODO blocks.
15817 Assume text_set_element is always defined.
15818
15819 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15820 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15821 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15822
15823 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15824 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15825 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15826 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15827 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15828 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15829 Reformat bit flags for _flags field to make occupancy clearer.
15830 Update commentary.
15831 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15832 Keep definitions consistent with those in libio/libio.h.
15833
15834 * libio/libio.h (_IO_file_flags): Remove macro.
15835 All uses changed to _flags.
15836
15837 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15838 (__HAVE_COLUMN, _IO_BE): Don't define.
15839 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15840 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15841 * libio/libioP.h (EOF): Don't define.
15842 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15843 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15844 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15845 testing _IO_UNIFIED_JUMPTABLES.
15846
15847 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15848 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15849 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15850 (_IO_size_t): Delete; all uses changed to size_t.
15851 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15852 (_IO_off_t): Delete; all uses changed to off_t.
15853 (_IO_off64_t): Delete; all uses changed to off64_t.
15854 (_IO_pid_t): Delete; all uses changed to pid_t.
15855 (_IO_uid_t): Delete; all uses changed to uid_t.
15856 (_IO_wint_t): Delete; all uses changed to wint_t.
15857 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15858 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15859 (_IO_cookie_io_functions_t): Delete; all uses changed to
15860 cookie_io_functions_t.
15861 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15862 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15863 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15864 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15865
15866 * libio/iofopncook.c: Remove unnecessary forward declarations.
15867 * libio/iolibio.h: Correct outdated commentary.
15868 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15869 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15870 Remove unnecessary casts.
15871 * stdio-common/getline.c: Use _IO_getdelim directly.
15872 Don't redefine ssize_t.
15873 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15874 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15875 Remove outdated comments.
15876 * stdio-common/vfscanf.c: Don't redefine va_list.
15877
15878 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15879 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15880 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15881 which are always true, and __cplusplus, which is always false.
15882
15883 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15884
15885 [BZ #15105]
15886 [BZ #19463]
15887 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15888 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15889 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15890 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15891 libc_hidden_proto.
15892 [!_ISOMAC] (putc_unlocked): Likewise.
15893 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15894 define inline if [__USE_EXTERN_INLINES].
15895 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15896 putc_unlocked.
15897
15898 [BZ #15105]
15899 [BZ #19463]
15900 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15901 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15902 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15903 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15904 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15905 getc_unlocked.
15906 * time/tzfile.c (__tzfile_read): Likewise.
15907
15908 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15909
15910 [BZ #22517]
15911 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15912
15913 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15914
15915 * io/fcntl.h: Fix a typo in a comment.
15916
15917 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15918
15919 [BZ #22862]
15920 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15921 define _DEFAULT_SOURCE.
15922 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15923
15924 2018-02-21 Florian Weimer <fweimer@redhat.com>
15925
15926 [BZ #20890]
15927 * elf/cache.c (save_cache): Call fsync on temporary file before
15928 renaming it.
15929 (save_aux_cache): Call fdatasync on temporary file before renaming
15930 it.
15931
15932 2018-02-21 Florian Weimer <fweimer@redhat.com>
15933
15934 [BZ #22787]
15935 * include/caller.h: Remove file.
15936 * elf/dl-caller.c: Likewise.
15937 * elf/Makefile (dl-routines): Remove dl-caller.
15938 (shared-only-routines): Do not add dl-caller.
15939 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15940 __check_caller.
15941 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15942 member.
15943 (dl_open_worker): Do not call __check_caller.
15944 (_dl_open): Do not set caller_dl_open member.
15945 * elf/rtld.c (_rtld_global_ro): Do not initialize
15946 _dl_check_caller member.
15947 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15948 _dl_check_caller member.
15949 (_dl_check_caller): Remove declaration.
15950 * sysdeps/unix/sysv/linux/dl-execstack.c
15951 (_dl_make_stack_executable): Do not call __check_caller.
15952
15953 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15954
15955 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15956 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15957
15958 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15959
15960 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15961 description.
15962
15963 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15964
15965 [BZ #16335]
15966 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15967 of 199606L, 200112L, and 200809L.
15968 (_XOPEN_SOURCE): Document special values of 600 and 700.
15969 (_ISOC11_SOURCE): Document macro.
15970 (_ATFILE_SOURCE): Likewise.
15971 (_FORTIFY_SOURCE): Likewise.
15972
15973 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15974
15975 [BZ #15105]
15976 [BZ #19463]
15977 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15978 and define as weak alias of __ferror_unlocked. Use
15979 libc_hidden_weak.
15980 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15981 libc_hidden_proto.
15982 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15983 function if [__USE_EXTERN_INLINES].
15984 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15985 ferror_unlocked.
15986
15987 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15988
15989 [BZ #6889]
15990 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15991
15992 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15993
15994 [BZ #22818]
15995 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15996 the GLIBC_2.1 version.
15997
15998 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15999
16000 [BZ #21508]
16001 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16002 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16003 intl/tst-gettext-de.po from po/de.po by removing the
16004 POT-Creation-Date line.
16005 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16006 ../po/de.po.
16007 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16008 ../po/de.po.
16009
16010 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16011
16012 * mach/Makefile (headers): Add mach/param.h.
16013 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16014 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16015 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16016 (__ptsname_r): Move implementation to...
16017 (__ptsname_internal): ... new function. Add filling the STP
16018 structure.
16019
16020 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16021
16022 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16023 idouble to 1 ULP.
16024
16025 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16026
16027 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16028 syntax.
16029
16030 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16031
16032 * nptl/Makefile (tst-mutex8-ENV): Delete.
16033 * nptl/tst-mutex8.c (check_type):
16034 Add runtime check if mutex will be elided.
16035
16036 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16037
16038 [BZ #20980]
16039 [BZ #21234]
16040 * manual/install.texi (Configuring and compiling): Describe
16041 passing CC and CFLAGS on configure command line, not as
16042 environment variables. Use @code markup on those variables.
16043 Specify what options go in CC and what go in CFLAGS. Note the
16044 requirement to compile with optimization.
16045 * INSTALL: Regenerated.
16046
16047 [BZ #18124]
16048 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16049 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16050 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16051 __sigprocmask instead of sigprocmask.
16052 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16053 Likewise.
16054 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16055 __sigsetjmp and sigprocmask.
16056
16057 [BZ #15105]
16058 * include/argz.h (argz_next): Use libc_hidden_proto.
16059 (__argz_next): Likewise.
16060 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16061 (argz_next): Use libc_hidden_weak.
16062
16063 [BZ #15105]
16064 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16065 libc_hidden_proto.
16066 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16067 libc_hidden_def.
16068
16069 [BZ #15105]
16070 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16071 libc_hidden_proto.
16072 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16073
16074 [BZ #15105]
16075 [BZ #19463]
16076 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16077 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16078 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16079 (__feof_unlocked): New declaration, and inline function if
16080 [__USE_EXTERN_INLINES].
16081 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16082 instead of feof_unlocked.
16083 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16084 * nss/nsswitch.c (nss_parse_file): Likewise.
16085 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16086 Likewise.
16087 * time/getdate.c (__getdate_r): Likewise.
16088 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16089 Define as macro to call __feof_unlocked.
16090
16091 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16092
16093 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16094
16095 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16096
16097 * math/Makefile: Remove mpexp.c and mplog.c
16098 * sysdeps/i386/fpu/mpexp.c: Delete file.
16099 * sysdeps/i386/fpu/mplog.c: Likewise.
16100 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16101 * sysdeps/ia64/fpu/mplog.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16103 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16104 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16105 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16106 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16107 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16108 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16109 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16110 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16111 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16112 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16113 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16114 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16115 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16116 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16117 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16118
16119 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16120
16121 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16122
16123 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16124
16125 * sysdeps/sh/libm-test-ulps: Update.
16126
16127 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16128
16129 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16130 idouble to 1 ULP.
16131
16132 2018-02-12 Zack Weinberg <zackw@panix.com>
16133
16134 [BZ #19239]
16135 * posix/sys/types.h: Don't include sys/sysmacros.h.
16136 * misc/sys/sysmacros.h: Remove the conditional deprecation
16137 warnings for the macros defined by this header.
16138
16139 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16140
16141 * manual/probes.texi: Remove slowexp probes.
16142 * math/Makefile: Remove slowexp.
16143 * sysdeps/generic/math_private.h (__slowexp): Remove.
16144 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16145 document error bounds.
16146 * sysdeps/i386/fpu/slowexp.c: Remove.
16147 * sysdeps/ia64/fpu/slowexp.c: Remove.
16148 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16149 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16150 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16151 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16152 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16153 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16154 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16155 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16156 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16157 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16158 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16159
16160 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16161
16162 [BZ #13932]
16163 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16164 * benchtests/pow-inputs: Update comment for slow path cases.
16165 * manual/probes.texi (slowpow_p10): Delete removed probe.
16166 (slowpow_p10): Likewise.
16167 * math/Makefile: Remove halfulp.c and slowpow.c.
16168 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16169 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16170 (__halfulp): Remove.
16171 (__slowpow): Remove.
16172 * sysdeps/i386/fpu/halfulp.c: Delete file.
16173 * sysdeps/i386/fpu/slowpow.c: Likewise.
16174 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16175 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16177 improve comments and add error analysis.
16178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16179 (power1): Remove function:
16180 (log1): Remove error argument, add error analysis.
16181 (my_log2): Remove function.
16182 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16183 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16184 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16185 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16186 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16187 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16188 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16189 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16190 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16191 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16192 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16193 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16194 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16195 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16196
16197 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16198
16199 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16200 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16201
16202 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16203
16204 [BZ #22433]
16205 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16206 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16207 and PTRACE_SETHBPREGS.
16208
16209 2018-02-10 Zack Weinberg <zackw@panix.com>
16210
16211 [BZ #22830]
16212 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16213 correctly.
16214 * malloc/tst-malloc-stats-cancellation.c: New test case.
16215 * malloc/Makefile: Add new test case.
16216
16217 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16218
16219 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16220
16221 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16222
16223 * math/Makefile (libm-narrow-fns): Add add.
16224 (libm-test-funcs-narrow): Likewise.
16225 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16226 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16227 * math/gen-auto-libm-tests.c (test_functions): Add add.
16228 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16229 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16230 (NARROW_ADD_TRIVIAL): Likewise.
16231 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16232 macro.
16233 (__daddl): Likewise.
16234 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16235 dadd.
16236 (CFLAGS-nldbl-dadd.c): New variable.
16237 (CFLAGS-nldbl-fadd.c): Likewise.
16238 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16239 __nldbl_daddl.
16240 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16241 prototype.
16242 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16243 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16244 * math/auto-libm-test-in: Add tests of add.
16245 * math/auto-libm-test-out-narrow-add: New generated file.
16246 * math/libm-test-narrow-add.inc: New file.
16247 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16248 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16249 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16250 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16251 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16252 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16261 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16262 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16263 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16264 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16266 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16267 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16287 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16288 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16289 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16290 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16292 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16293
16294 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16295 (f128-pairs): New variable.
16296 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16297 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16298 to CFLAGS.
16299 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16300 Also make tests add $(f128-loader-link) to gnulib-tests.
16301
16302 2018-02-09 DJ Delorie <dj@redhat.com>
16303
16304 [BZ #22827]
16305 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16306 64-bit ELF type for 64-bit ELF objects.
16307
16308 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16309
16310 * math/libm-test-driver.c (snan_tests_arg): New variable.
16311 * math/libm-test-support.h (snan_tests_arg): New declaration.
16312 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16313
16314 * math/Makefile (test-type-pairs): New variable.
16315 (test-type-pairs-f64xf128-yes): Likewise.
16316 (tests): Add test-narrow-macros.
16317 (libm-test-funcs-narrow): New variable.
16318 (libm-test-c-narrow): Likewise.
16319 (generated): Add $(libm-test-c-narrow).
16320 (libm-tests-base-narrow): New variable.
16321 (libm-tests-narrow): Likewise.
16322 (libm-tests): Add $(libm-tests-narrow).
16323 (libm-tests-for-type): Handle $(libm-tests-narrow).
16324 (libm-test-c-narrow-obj): New variable.
16325 ($(libm-test-c-narrow-obj)): New rule.
16326 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16327 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16328 $(o-iterator) to set dependencies and CFLAGS.
16329 * math/gen-auto-libm-tests.c: Document use for narrowing
16330 functions.
16331 (output_for_one_input_case): Take argument NARROW.
16332 (generate_output): Likewise. Update call to
16333 output_for_one_input_case.
16334 (main): Take --narrow option. Update call to generate_output.
16335 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16336 (apply_lit): Update call to _apply_lit.
16337 (apply_arglit): New function.
16338 (parse_args): Handle "a" arguments.
16339 (parse_auto_input): Handle format names using ":".
16340 * math/README.libm-test: Document "a" parameter type.
16341 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16342 (ARG_TYPE_TRUE_MIN): Likewise.
16343 (ARG_TYPE_MAX): Likwise.
16344 (ARG_MIN_EXP): Likewise.
16345 (ARG_MAX_EXP): Likewise.
16346 (ARG_MANT_DIG): Likewise.
16347 (TEST_COND_arg_ibm128): Likewise.
16348 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16349 (TEST_COND_arg_fmt): New macro.
16350 (init_max_error): Update prototype.
16351 * math/libm-test-support.c (test_ibm128): New variable.
16352 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16353 instead of using [TEST_COND_ibm128] conditional.
16354 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16355 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16356 [TEST_NARROW] (TEST_MSG): New definition.
16357 (arg_plus_zero): New macro.
16358 (arg_minus_zero): Likewise.
16359 (arg_plus_infty): Likewise.
16360 (arg_minus_infty): Likewise.
16361 (arg_qnan_value_pl): Likewise.
16362 (arg_qnan_value): Likewise.
16363 (arg_snan_value_pl): Likewise.
16364 (arg_snan_value): Likewise.
16365 (arg_max_value): Likewise.
16366 (arg_min_value): Likewise.
16367 (arg_min_subnorm_value): Likewise.
16368 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16369 (RUN_TEST_LOOP_aa_f): New macro.
16370 (TEST_SUFF): New macro.
16371 (TEST_SUFF_STR): Likewise.
16372 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16373 (TEST_COND_any_ibm128): New macro.
16374 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16375 this_func. Update call to init_max_error.
16376 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16377 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16378 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16379 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16380 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16381 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16382 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16383 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16384 * math/test-math-vector.h (TEST_NARROW): Likewise.
16385 * math/test-arg-double.h: New file.
16386 * math/test-arg-float128.h: Likewise.
16387 * math/test-arg-float32x.h: Likewise.
16388 * math/test-arg-float64.h: Likewise.
16389 * math/test-arg-float64x.h: Likewise.
16390 * math/test-arg-ldouble.h: Likewise.
16391 * math/test-math-narrow.h: Likewise.
16392 * math/test-narrow-macros.c: Likewise.
16393 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16394 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16395 test-narrow-macros-ldbl-64.
16396 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16397
16398 * math/bits/mathcalls-narrow.h: New file.
16399 * include/bits/mathcalls-narrow.h: Likewise.
16400 * math/math-narrow.h: Likewise.
16401 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16402 (__MATHCALL_NARROW_ARGS_2): Likewise.
16403 (__MATHCALL_NARROW_ARGS_3): Likewise.
16404 (__MATHCALL_NARROW_NORMAL): Likewise.
16405 (__MATHCALL_NARROW_REDIR): Likewise.
16406 (__MATHCALL_NARROW): Likewise.
16407 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16408 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16409 defined.
16410 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16411 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16412 (libm-narrow-fns): New variable.
16413 (libm-narrow-types-basic): Likewise.
16414 (libm-narrow-types-ldouble-yes): Likewise.
16415 (libm-narrow-types-float128-yes): Likewise.
16416 (libm-narrow-types-float128-alias-yes): Likewise.
16417 (libm-narrow-types): Likewise.
16418 (libm-routines): Add narrowing functions.
16419 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16420 (libc_feholdexcept_setroundf128): New macro.
16421 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16422 * sysdeps/ieee754/float128/float128_private.h: Include
16423 <math/math-narrow.h>.
16424 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16425 Undefine and redefine.
16426 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16427 (libm_alias_float_ldouble): Undefine and redefine.
16428 (libm_alias_double_ldouble): Likewise.
16429
16430 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16431
16432 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16433
16434 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16435 FPCR/FPSR.
16436
16437 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16438
16439 * manual/creature.texi: Convert references to gcc.info to gcc.
16440 * manual/stdio.texi: Likewise.
16441 * manual/string.texi: Likewise.
16442
16443 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16444
16445 [BZ #17979]
16446 * posix/bits/types.h (__int_least8_t): New typedef.
16447 (__uint_least8_t): Likewise.
16448 (__int_least16_t): Likewise.
16449 (__uint_least16_t): Likewise.
16450 (__int_least32_t): Likewise.
16451 (__uint_least32_t): Likewise.
16452 (__int_least64_t): Likewise.
16453 (__uint_least64_t): Likewise.
16454 * sysdeps/generic/stdint.h (int_least8_t): Define using
16455 __int_least8_t.
16456 (int_least16_t): Define using __int_least16_t.
16457 (int_least32_t): Define using __int_least32_t.
16458 (int_least64_t): Define using __int_least64_t.
16459 (uint_least8_t): Define using __uint_least8_t.
16460 (uint_least16_t): Define using __uint_least16_t.
16461 (uint_least32_t): Define using __uint_least32_t.
16462 (uint_least64_t): Define using __uint_least64_t.
16463 * wcsmbs/uchar.h: Include <bits/types.h>.
16464 (char16_t): Define using __uint_least16_t conditional only on
16465 [!__USE_ISOCXX11].
16466 (char32_t): Define using __uint_least32_t conditional only on
16467 [!__USE_ISOCXX11].
16468 * wcsmbs/test-char-types.c: New file.
16469 * wcsmbs/Makefile (tests): Add test-char-types.
16470
16471 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16472 version to 4.0.1.
16473
16474 2018-02-07 Zack Weinberg <zackw@panix.com>
16475
16476 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16477 Delete all contents except for definitions of _G_HAVE_MMAP and
16478 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16479 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16480 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16481 change as above.
16482
16483 * libio/libio.h: Don't include bits/_G_config.h here.
16484 Include stddef.h with __need_wchar_t defined. Include
16485 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16486 Define _IO_iconv_t here, directly.
16487 Don't define _IO_HAVE_ST_BLKSIZE.
16488 * libio/libioP.h: Include _G_config.h here. Move include of
16489 shlib-compat.h up with rest of includes. Simplify conditionals
16490 controlling definition of _IO_JUMPS_OFFSET.
16491
16492 * csu/init.c: Remove always-true #if around entire file.
16493 Don't include stdio.h. Set _IO_stdin_used to hardwired
16494 constant 0x20001, and update commentary.
16495 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16496 Replace all uses of _G_va_list with __gnuc_va_list.
16497 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16498 instead of #if _IO_HAVE_ST_BLKSIZE.
16499 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16500 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16501 not #ifdef.
16502
16503 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16504 multiple-include guard to match.
16505 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16506 into this file.
16507 Remove preprocessor conditionals that are always true and/or
16508 redundant to other preprocessor conditionals in the same nest.
16509 Include shlib-compat.h unconditionally.
16510 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16511 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16512 defined after including stdio.h.
16513 Use __BEGIN_DECLS/__END_DECLS.
16514
16515 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16516 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16517 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16518
16519 2018-02-07 Zack Weinberg <zackw@panix.com>
16520
16521 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16522 New single-type headers split from _G_config.h.
16523 * libio/bits/types/cookie_io_functions_t.h
16524 * libio/bits/types/struct_FILE.h
16525 New single-type headers split from libio.h.
16526
16527 * libio/Makefile: Install the above new headers. Don't install
16528 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16529 bits/libio-ldbl.h.
16530 * libio/_G_config.h, libio/libio.h: Delete file.
16531
16532 * libio/bits/libio.h: Remove improper-inclusion guard.
16533 Include stdio.h and don't repeat anything that it does.
16534 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16535 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16536 __io_read_fn as cookie_read_function_t,
16537 __io_write_fn as cookie_write_function_t,
16538 __io_seek_fn as cookie_seek_function_t,
16539 __io_close_fn as cookie_close_function_t,
16540 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16541 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16542 here, in the "compatibility defines" section. Remove an #if 0
16543 block. Use the "body" macros from bits/types/struct_FILE.h to
16544 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16545 and _IO_ferror_unlocked.
16546 Move prototypes of __uflow and __overflow...
16547
16548 * libio/stdio.h: ...here. Don't include bits/libio.h.
16549 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16550 directly from stdarg.h. Include bits/types/__fpos_t.h,
16551 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16552 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16553 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16554 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16555 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16556 __ssize_t, not _IO_ssize_t. Unconditionally define
16557 BUFSIZ as 8192 and EOF as (-1).
16558
16559 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16560 macros from bits/types/struct_FILE.h instead of _IO_* macros
16561 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16562 instead of _IO_ssize_t.
16563 * libio/bits/stdio2.h: Similarly.
16564
16565 * libio/iolibio.h: Add multiple-include guard.
16566 Include bits/libio.h after stdio.h.
16567 * libio/libioP.h: Add multiple-include guard.
16568 Include stdio.h and bits/libio.h before iolibio.h.
16569
16570 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16571 * include/bits/types/cookie_io_functions_t.h
16572 * include/bits/types/struct_FILE.h: New wrappers.
16573
16574 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16575 Get definitions of _G_fpos_t and _G_fpos64_t from
16576 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16577 respectively. Remove improper-inclusion guards.
16578
16579 * conform/data/stdio.h-data: Update expectations of va_list.
16580 * scripts/check-installed-headers.sh: Remove special case for
16581 libio.h and _G_config.h.
16582
16583 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16584
16585 [BZ #15105]
16586 [BZ #19463]
16587 * include/sys/sysmacros.h [!_ISOMAC]
16588 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16589 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16590 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16591 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16592 libc_hidden_proto.
16593 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16594 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16595 Likewise.
16596 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16597 Undefine and redefine to add use __gnu_dev_ prefix.
16598 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16599 Likewise.
16600 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16601 and define as hidden inline function.
16602 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16603 Likewise.
16604 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16605 Likewise.
16606 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16607 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16608 (gnu_dev_minor): Likewise.
16609 (gnu_dev_makedev): Likewise.
16610 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16611 makedev.
16612 * posix/wordexp.c (exec_comm_child): Likewise.
16613 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16614 instead of minor and __gnu_dev_major instead of major.
16615 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16616 __gnu_dev_major instead of major.
16617 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16618 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16619 instead of gnu_dev_minor.
16620 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16621 (SLAVE_P): Likewise.
16622 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16623 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16624 instead of major.
16625
16626 [BZ #21313]
16627 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16628 in another place.
16629 * locale/weightwc.h (findidx): Likewise.
16630
16631 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16632
16633 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16634 (slowlog_inexact): Likewise
16635 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16636 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16637
16638 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16639
16640 [BZ #22797]
16641 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16642 missing second underscore to parameter name.
16643
16644 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16645
16646 [BZ #14508]
16647 [BZ #15512]
16648 [BZ #17082]
16649 [BZ #20530]
16650 * bits/byteswap.h: Update file comment. Do not include
16651 <bits/byteswap-16.h>.
16652 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16653 constant.
16654 (__bswap_16): Define as inline function.
16655 (__bswap_constant_32): Reformat definition.
16656 (__bswap_32): Always define as inline function, not macro, using
16657 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16658 otherwise __bswap_constant_32.
16659 (__bswap_constant_64): Reformat definition. Do not use
16660 __extension__ here.
16661 (__bswap_64): Always define as inline function, not macro. Use
16662 __extension__ on function definition. Use __builtin_bswap64 if
16663 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16664 * string/test-endian-file-scope.c: New file.
16665 * string/test-endian-sign-conversion.c: Likewise.
16666 * string/Makefile (headers): Remove bits/byteswap-16.h.
16667 (tests): Add test-endian-file-scope and
16668 test-endian-sign-conversion.
16669 (CFLAGS-test-endian-sign-conversion.c): New variable.
16670 * bits/byteswap-16.h: Remove file.
16671 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16672 * sysdeps/ia64/bits/byteswap.h: Likewise.
16673 * sysdeps/m68k/bits/byteswap.h: Likewise.
16674 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16675 * sysdeps/s390/bits/byteswap.h: Likewise.
16676 * sysdeps/tile/bits/byteswap.h: Likewise.
16677 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16678 * sysdeps/x86/bits/byteswap.h: Likewise.
16679
16680 [BZ #17721]
16681 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16682 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16683 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16684 199901L] (__restrict): Define to restrict.
16685
16686 [BZ #19667]
16687 * string/testcopy.c: Include <support/support.h>. Do not include
16688 <malloc.h>. Use <support/test-driver.c>.
16689 (main): Rename to do_test. Make static. Use xmalloc instead of
16690 malloc.
16691
16692 [BZ #13575]
16693 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16694 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16695 (SSIZE_MAX): Define to INT_MAX.
16696 * posix/test-ssize-max.c: New file.
16697 * posix/Makefile (tests): Add test-ssize-max.
16698
16699 [BZ #19668]
16700 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16701 <support/support.h>. Do not include <malloc.h>.
16702 (query_auxv): Use xmalloc instead of malloc.
16703
16704 [BZ #14553]
16705 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16706 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16707 instead of loff_t.
16708
16709 2018-02-06 Florian Weimer <fweimer@redhat.com>
16710
16711 [BZ #18023]
16712 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16713 Use scratch_buffer instead of extend_alloca.
16714
16715 2018-02-06 Zack Weinberg <zackw@panix.com>
16716
16717 * libio/stdio.h: Don't define getc or putc as macros.
16718 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16719 not _IO_getc and _IO_putc.
16720
16721 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16722 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16723
16724 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16725
16726 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16727 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16728
16729 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16730
16731 [BZ #14890]
16732 * elf/elf.h (NT_PRFPREG): New macro.
16733 (NT_S390_VXRS_LOW): Likewise.
16734 (NT_S390_VXRS_HIGH): Likewise.
16735 (NT_S390_GS_CB): Likewise.
16736 (NT_S390_GS_BC): Likewise.
16737 (NT_S390_RI_CB): Likewise.
16738
16739 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16740 (MAP_SYNC): New macro.
16741 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16742 Likewise.
16743 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16744 (MAP_SYNC): Likewise.
16745 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16746 (MAP_SYNC): Likewise.
16747 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16748 (MAP_SYNC): Likewise.
16749 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16750 (MAP_SYNC): Likewise.
16751 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16752 (MAP_SYNC): Likewise.
16753 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16754 (MAP_SYNC): Likewise.
16755 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16756 Likewise.
16757 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16758 Likewise.
16759
16760 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16761 (MAP_SHARED_VALIDATE): New macro.
16762 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16763 (MAP_SHARED_VALIDATE): Likewise.
16764
16765 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16766
16767 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16768 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16769 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16770
16771 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16772
16773 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16774 (DT_NUM): Updated to 35.
16775
16776 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16777
16778 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16779 __builtin_expect with __glibc_likely and __glibc_unlikely.
16780 (elf_machine_rela): Likewise.
16781 (elf_machine_lazy_rel): Likewise.
16782
16783 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16784
16785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16786 __builtin_expect with __glibc_likely and __glibc_unlikely.
16787 (elf_machine_lazy_rel): Likewise.
16788
16789 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16790
16791 [BZ #22638]
16792 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16793 SHARED.
16794 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16795
16796 2018-02-05 Andreas Schwab <schwab@suse.de>
16797
16798 [BZ #22761]
16799 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16800 string.
16801
16802 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16803
16804 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16805 not check against PTHREAD_STACK_MIN.
16806
16807 2018-02-02 Sean McKean <smckean83@gmail.com>
16808
16809 [BZ #22735]
16810 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16811
16812 2018-02-02 Florian Weimer <fweimer@redhat.com>
16813
16814 [BZ #22753]
16815 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16816 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16817 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16818 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16819 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16820 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16821 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16822 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16823 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16824 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16825 * misc/tst-preadvwritev2.c (do_test): Call it.
16826 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16827
16828 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16829
16830 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16831
16832 * benchtests/bench-memcmp.c: Print json instead of plain text.
16833
16834 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16835 every test run.
16836
16837 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16838
16839 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16840 version to 4.15.
16841 (s390_sthyi): New syscall.
16842
16843 * sysdeps/generic/ldbl-classify-compat.h: New file.
16844 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16845 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16846 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16847 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16848 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16849 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16850 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16851 <ldbl-classify-compat.h>.
16852 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16853 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16854 <ldbl-classify-compat.h>.
16855 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16856 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16857 <ldbl-classify-compat.h>.
16858 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16859 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16860 <ldbl-classify-compat.h>.
16861 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16863 <ldbl-classify-compat.h>.
16864 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16866 <ldbl-classify-compat.h>.
16867 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16868 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16869 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16870 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16871 * sysdeps/microblaze/math_private.h: Likewise.
16872 * sysdeps/nios2/math_private.h: Likewise.
16873 * sysdeps/sh/math_private.h: Likewise.
16874
16875 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16876 * sysdeps/m68k/coldfire/math_private.h: ... here.
16877 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16878 * sysdeps/tile/math_private.h: Likewise.
16879 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16880 Remove macro.
16881 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16882 Likewise.
16883
16884 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16885 Remove macro.
16886 (libc_fetestexcept): Likewise.
16887 (libc_feupdateenv_test): Likewise.
16888 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16889 (libc_fetestexcept): Likewise.
16890 (libc_feupdateenv_test): Likewise.
16891 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16892 (libc_fetestexcept): Likewise.
16893 (libc_feupdateenv_test): Likewise.
16894 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16895 (libc_fetestexcept): Likewise.
16896 (libc_feupdateenv_test): Likewise.
16897
16898 * sysdeps/generic/math_private.h
16899 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16900 New inline function.
16901 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16902 Likewise.
16903
16904 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16905 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16906 * sysdeps/generic/math_private.h
16907 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16908 inline function.
16909 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16910 Likewise.
16911 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16912 Likewise.
16913 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16914 Likewise.
16915 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16916 Likewise.
16917 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16918 Likewise.
16919 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16920 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16921 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16922 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16923 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16924 (__fegetenv): Likewise.
16925 (fesetenv): Likewise.
16926 (__fesetenv): Likewise.
16927 (feupdateenv): Likewise.
16928 (__feupdateenv): Likewise.
16929 (fegetround): Likewise.
16930 (__fegetround): Likewise.
16931 (fesetround): Likewise.
16932 (__fesetround): Likewise.
16933
16934 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16935 (feraiseexcept): New macro.
16936 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16937 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16938 Remove macro.
16939 (__feraiseexcept): Likewise.
16940 (feclearexcept): Likewise.
16941 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16942 (__feraiseexcept): Likewise.
16943 (feclearexcept): Likewise.
16944 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16945 (__feraiseexcept): Likewise.
16946 (feclearexcept): Likewise.
16947 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16948 (__feraiseexcept): Likewise.
16949 (feclearexcept): Likewise.
16950 (fetestexcept): Likewise.
16951
16952 * sysdeps/m68k/coldfire/math-tests.h: New file.
16953
16954 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16955 * sysdeps/m68k/bits/fenv.h: ... here.
16956 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16957 not define.
16958 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16959 Likewise.
16960 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16961 Likewise.
16962 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16963 Likewise.
16964 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16965 Likewise.
16966 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16967 Define to 0.
16968 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16969 (__FE_UNDEFINED): New enum constant.
16970 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16971 Do not define.
16972 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16973 Likewise.
16974 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16975 Likewise.
16976 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16977 to match generic bits/fenv.h.
16978 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16979 Do not define.
16980
16981 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16982 packed on bits.
16983 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16984 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16985 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16986 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16987
16988 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16989 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16990 Joseph Myers <joseph@codesourcery.com>
16991
16992 [BZ #21314]
16993 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16994 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16995 computation using c.
16996 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16997 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16998 computation using c.
16999
17000 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17001
17002 * version.h (RELEASE): Set to "development".
17003 (VERSION): Set to "2.27.9000".
17004 * NEWS (2.28): New section.
17005
17006 * version.h (RELEASE): Set to "stable".
17007 (VERSION): Set to "2.27".
17008 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17009
17010 * NEWS: Add the list of bugs fixed in 2.27.
17011
17012 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17013
17014 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17015 against PTHREAD_STACK_MIN.
17016
17017 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17018
17019 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17020 New entries.
17021 (Rafal Luzynski, Andreas Schwab): Update.
17022
17023 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17024
17025 [BZ #10871]
17026 * NEWS: List the languages which actually use the alternative
17027 months feature in this release. Also explain that "alt_mon" and
17028 "ab_alt_mon" are optional.
17029
17030 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17031
17032 [BZ #22765]
17033 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17034
17035 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17036
17037 * manual/install.texi (Tools for Compilation): Update the newest
17038 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17039 * INSTALL: Regenerated.
17040
17041 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17042
17043 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17044 instead of __builtin_expect.
17045
17046 2018-01-30 Florian Weimer <fweimer@redhat.com>
17047
17048 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17049 data.
17050 * nss/tst-nss-getpwent.c (do_test): Likewise.
17051
17052 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17053
17054 [BZ #10871]
17055 * localedata/locales/hr_HR (mon): Rename to...
17056 (alt_mon): This.
17057 (mon): Import from CLDR (genitive case).
17058 (d_t_fmt): Update the comment.
17059
17060 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17061
17062 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17063 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17064 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17065
17066 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17067
17068 * mach/Versions: Fix version when __mach_host_self_ was added.
17069 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17070 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17071 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17072 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17073 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17074 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17075 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17076 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17077 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17078 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17079 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17080 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17081 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17082 || to respect codestyle.
17083 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17084 (do_test_bz20181): Rename accordingly.
17085 * malloc/malloc.c: Include <assert.h>.
17086 (assert): Do not define.
17087 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17088 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17089 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17090 * sysdeps/mach/hurd/hp-timing.h: New file.
17091 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17092
17093 2018-01-29 Darius Rad <darius@bluespec.com>
17094
17095 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17096
17097 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17098
17099 * sysdeps/init_array/crti.S (.section .init_array): Add
17100 PREINIT_FUNCTION when defined.
17101 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17102 * config.h.in: Regenerate.
17103 * manual/platform.texi: Add RISC-V documenation for
17104 __riscv_flush_icache.
17105 * sysdeps/riscv/__longjmp.S: New file.
17106 * sysdeps/riscv/backtrace.c: Likewise.
17107 * sysdeps/riscv/bits/endian.h: Likewise.
17108 * sysdeps/riscv/bits/setjmp.h: Likewise.
17109 * sysdeps/riscv/bits/wordsize.h: Likewise.
17110 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17111 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17112 * sysdeps/riscv/dl-trampoline.S: Likewise.
17113 * sysdeps/riscv/gccframe.h: Likewise.
17114 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17115 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17116 * sysdeps/riscv/machine-gmon.h: Likewise.
17117 * sysdeps/riscv/memusage.h: Likewise.
17118 * sysdeps/riscv/setjmp.S: Likewise.
17119 * sysdeps/riscv/sys/asm.h: Likewise.
17120 * sysdeps/riscv/tls-macros.h: Likewise.
17121 * sysdeps/riscv/dl-tls.h: New file.
17122 * sysdeps/riscv/libc-tls.c: Likewise.
17123 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17124 * sysdeps/riscv/nptl/tls.h: Likewise.
17125 * sysdeps/riscv/stackinfo.h: Likewise.
17126 * sysdeps/riscv/bits/fenv.h: New file.
17127 * sysdeps/riscv/e_sqrtl.c: Likewise.
17128 * sysdeps/riscv/fpu_control.h: Likewise.
17129 * sysdeps/riscv/math-tests.h: Likewise.
17130 * sysdeps/riscv/nofpu/Implies: Likewise.
17131 * sysdeps/riscv/sfp-machine.h: Likewise.
17132 * sysdeps/riscv/tininess.h: Likewise.
17133 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17134 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17135 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17136 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17137 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17138 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17139 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17140 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17141 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17142 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17143 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17144 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17145 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17146 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17147 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17148 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17149 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17150 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17151 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17152 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17153 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17154 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17155 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17156 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17157 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17158 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17159 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17160 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17161 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17162 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17163 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17164 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17165 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17166 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17167 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17168 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17169 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17170 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17171 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17172 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17173 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17174 * sysdeps/riscv/rvf/math_private.h: Likewise.
17175 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17176 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17177 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17178 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17179 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17180 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17181 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17182 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17183 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17184 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17185 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17186 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17187 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17188 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17189 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17190 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17191 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17192 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17193 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17194 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17195 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17196 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17197 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17198 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17199 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17200 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17201 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17202 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17203 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17204 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17205 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17206 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17207 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17208 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17209 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17210 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17211 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17212 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17213 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17214 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17215 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17216 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17217 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17218 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17219 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17220 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17221 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17222 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17223 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17224 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17225 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17226 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17227 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17228 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17229 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17230 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17231 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17232 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17233 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17234 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17235 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17236 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17239 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17240 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17241 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17242 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17243 * sysdeps/riscv/Implies: New file.
17244 * sysdeps/riscv/Makefile: Likewise.
17245 * sysdeps/riscv/configure: Likewise.
17246 * sysdeps/riscv/configure.ac: Likewise.
17247 * sysdeps/riscv/nptl/Makefile: Likewise.
17248 * sysdeps/riscv/preconfigure: Likewise.
17249 * sysdeps/riscv/rv64/Implies-after: Likewise.
17250 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17251 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17252 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17253 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17254 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17255 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17256 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17257 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17258 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17259 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17260 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17261 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17262 (Config): Likewise.
17263
17264 2018-01-29 Florian Weimer <fweimer@redhat.com>
17265
17266 [BZ #22701]
17267 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17268 libnsl_hidden_proto.
17269 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17270 libnsl_hidden_proto.
17271 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17272 * nis/Makefile (libnsl-routines): Add nss-default only for
17273 build-obsolete-nsl.
17274 * nis/nis_defaults.c (__nis_default_ttl): Add
17275 libnsl_hidden_nolink_def.
17276 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17277 declaration.
17278 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17279 * nis/ypclnt.c (yp_maplist): Likewise.
17280
17281 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17282
17283 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17284 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17285
17286 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17287
17288 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17289 clean -dxfq for git updates when replacing sources.
17290
17291 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17292 --disable-libcilkrts unconditionally, not just for the final GCC
17293 build for Hurd.
17294
17295 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17296 version to 4.15.
17297
17298 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17299
17300 [BZ #10871]
17301 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17302 case).
17303
17304 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17305
17306 [BZ #10871]
17307 * localedata/locales/be_BY (mon): Rename to...
17308 (alt_mon): This, then synchronize with CLDR (nominative case).
17309 (abmon): Rename to...
17310 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17311 (mon): Import from CLDR (genitive case).
17312 (abmon): Likewise.
17313 * localedata/locales/be_BY@latin (mon): Rename to...
17314 (alt_mon): This.
17315 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17316
17317 * localedata/locales/be_BY@latin (lang_name): Reworded to
17318 "biełaruskaja mova".
17319
17320 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17321
17322 [BZ #10871]
17323 * localedata/locales/el_CY (mon): Renamed to...
17324 (alt_mon): This.
17325 (mon): Import from CLDR (genitive case).
17326 * localedata/locales/el_GR: Likewise.
17327
17328 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17329
17330 [BZ #10871]
17331 * localedata/locales/ru_RU (mon): Rename to...
17332 (alt_mon): This.
17333 (abmon): Rename to...
17334 (ab_alt_mon): This.
17335 (mon): Import from CLDR (genitive case).
17336 (abmon): Copy from the old content except the 5th month which is
17337 now in the genitive case, even when abbreviated.
17338 * localedata/locales/ru_UA: Likewise.
17339 * time/tst-strptime.c (day_tests): Add an actual example of
17340 a difference between %b and %Ob in Russian.
17341
17342 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17343
17344 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17345 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17346 a `c' variable.
17347 * resolv/res-close.c: Include <stdlib.h>.
17348 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17349 <sys/wait.h>, <time.h>, <sys/uio.h>.
17350 (NOT_CANCEL_H): Add inclusion guard.
17351 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17352 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17353 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17354 return 0.
17355 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17356 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17357 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17358 instead of void *.
17359 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17360 timer_ptr2id to cast struct timer_node * to void *.
17361 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17362 --disable-libcilkrts to gcc configure.
17363 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17364 and make them the default for now.
17365 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17366 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17367 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17368 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17369 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17370 MACH_IPC_COMPAT.
17371 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17372 __task_terminate would ever return successfully.
17373 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17374 to global scope.
17375 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17376 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17377 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17378 critical section to make code simpler and avoid warning.
17379 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17380 critical section to make code simpler and avoid warning.
17381 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17382 const char * instead of char *.
17383 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17384 __hurd_file_name_split, hurd_file_name_split,
17385 __hurd_directory_name_split, hurd_directory_name_split,
17386 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17387 hurd_file_name_path_lookup): Make lookup function parameter take a
17388 const char *name instead of char *name.
17389 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17390 __hurd_directory_name_split): Likewise.
17391 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17392 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17393 * sysdeps/mach/hurd/check_native.c: New file.
17394 * sysdeps/mach/hurd/check_pf.c: New file.
17395 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17396 (__freeifaddrs): Define macro to freeifaddrs.
17397 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17398 * sysdeps/mach/libmachuser.abilist: New file.
17399 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17400 (do_test_bz20181): Rename accordingly.
17401 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17402 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17403 <sys/mount.h>.
17404 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17405 version only if __USE_EXTERN_INLINES is defined.
17406 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17407 __hurd_sockfail): Likewise.
17408 (_hurd_fd_get): Always declare functions, and provide inline versions
17409 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17410 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17411 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17412 _hurd_port_set): Always declare functions, and provide inline versions
17413 only if __USE_EXTERN_INLINES and _LIBC are defined and
17414 IS_IN(libc).
17415 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17416 _hurd_critical_section_unlock): Likewise.
17417 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17418 * __hurd_threadvar_location): Likewise.
17419 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17420 _hurd_userlink_clear): Likewise.
17421 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17422 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17423 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17424 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17425 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17426 __spin_lock_locked): Likewise.
17427 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17428 __spin_lock_locked): Likewise.
17429 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17430 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17431 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17432 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17433 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17434 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17435 _POSIX_NO_TRUNC): Define to 0.
17436 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17437 check size against PTHREAD_STACK_MIN.
17438 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17439 IS_IN(libpthread)]: Include <sigsetops.h>.
17440 * mach/Makefile (user-interfaces): Add mach/gnumach.
17441 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17442 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17443 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17444 instead of invalid -1.
17445 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17446 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17447 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17448 <net/ppp_defs.h>.
17449
17450 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17451
17452 * hurd/fcntl-internal.h: New file.
17453
17454 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17455
17456 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17457
17458 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17459
17460 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17461
17462 [BZ #22701]
17463 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17464 Build only shared objects.
17465
17466 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17467
17468 * README: Update for hppa.
17469
17470 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17471
17472 * sysdeps/sparc/fpu/libm-test-ulps: Update
17473 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17474
17475 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17476
17477 Revert:
17478
17479 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 [BZ #22563]
17482 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17483 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17484 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17485 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17486 to feature_1.
17487
17488 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17489
17490 [BZ #22563]
17491 * bits/types/__cancel_jmp_buf_tag.h: New file.
17492 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17493 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17494 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17495 * nptl/Makefile (headers): Add
17496 bits/types/__cancel_jmp_buf_tag.h.
17497 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17498 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17499 * sysdeps/nptl/pthread.h: Include
17500 <bits/types/__cancel_jmp_buf_tag.h>.
17501 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17502 __cancel_jmp_buf.
17503 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17504
17505 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17506
17507 [BZ #10871]
17508 * localedata/locales/uk_UA (mon): Renamed to...
17509 (alt_mon): This.
17510 (alt_digits): "0" removed and then renamed to...
17511 (mon): This.
17512 (date_fmt): Definition changed not to use the alternative
17513 digits hack.
17514
17515 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17516
17517 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17518 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17519 * elf/elf.h (EF_RISCV_RVC): New define.
17520 (EF_RISCV_FLOAT_ABI): Likewise.
17521 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17522 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17523 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17524 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17525 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17526 define.
17527 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17528
17529 2018-01-25 Andreas Schwab <schwab@suse.de>
17530
17531 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17532 single quotes.
17533 * sysdeps/gnu/configure: Regenerate.
17534 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17535 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17537 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17538 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17539 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17540 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17541 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17542
17543 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17544
17545 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17546 URL, and run autoconf, make it the default for now.
17547
17548 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17549
17550 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17551 soft-float ColdFire configuration.
17552
17553 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17554 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17555 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17556
17557 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17558 MicroBlaze file.
17559
17560 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17561 ....
17562 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17563 ... here.
17564 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17565 New file.
17566
17567 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17568 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17569 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17570 file.
17571
17572 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17573
17574 [BZ #22742]
17575 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17576 Rename to __reserved and add comment.
17577 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17578 Rename to __reserved.
17579
17580 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17581
17582 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17583 i686-gnu configurations.
17584 (Context.run_builds): Include mig, gnumach and hurd in components
17585 considered.
17586 (Context.checkout): Add mig, gnumach and hurd to components.
17587 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17588 hurd.
17589 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17590 (Config.build): Install gnumach headers, build mig and install
17591 hurd headers for 'gnu' OS.
17592 (Config.install_gnumach_headers): New function.
17593 (Config.install_hurd_headers): Likewise.
17594 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17595 when building for 'gnu' OS.
17596
17597 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17598
17599 * manual/tunables.texi (Hardware Capability Tunables): Fix
17600 spelling.
17601
17602 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17603
17604 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17605 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17606 (ALTMON_11, ALTMON_12): Improve documentation.
17607 * manual/time.texi (strftime): Likewise.
17608
17609 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17610
17611 [BZ #10871]
17612 * localedata/locales/pl_PL: Alternative month names added,
17613 primary month names are genitive now.
17614 * time/tst-strptime.c (day_tests): Actually use a genitive case
17615 of a month name in Polish language.
17616
17617 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17618
17619 [BZ #10871]
17620 * manual/locale.texi: Document ALTMON_1..12 constants for
17621 nl_langinfo. Specify when to use ALTMON instead of MON.
17622 * manual/time.texi (strftime, strptime): Document GNU extension
17623 permitting O modifier with %B and %b. Specify when to use
17624 %OB instead of %B.
17625
17626 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17627
17628 [BZ #10871]
17629 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17630 names, define them as the same as abbreviated month names explicitly.
17631 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17632 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17633 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17634 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17635 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17636 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17637 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17638 _NL_WABALTMON_12): New enum constants.
17639 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17640 wab_alt_mon, and ab_alt_mon_defined members.
17641 (time_output): Output ab_alt_mon and wab_alt_mon members.
17642 (time_read): Read them, initialize them as copies of abmon and wabmon
17643 respectively if they are missing, initialize ab_alt_mon_defined.
17644 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17645 * locale/programs/locfile-kw.h: Regenerate.
17646 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17647 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17648 and ru_RU.UTF-8.
17649 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17650 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17651 (__strftime_internal): Handle %Ob and %Oh formats.
17652 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17653 (__strptime_internal): Handle %Ob and %Oh formats.
17654 * time/tst-strptime.c (day_tests): Add more tests to parse different
17655 forms of month names including the new %Ob format specifier.
17656
17657 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17658
17659 [BZ #10871]
17660 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17661 define them as the same as primary full month names explicitly.
17662 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17663 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17664 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17665 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17666 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17667 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17668 _NL_WALTMON_12): New enum constants.
17669 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17670 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17671 macros.
17672 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17673 walt_mon, and alt_mon_defined members.
17674 (time_output): Output alt_mon and walt_mon members.
17675 (time_read): Read them, initialize them as copies of mon and wmon
17676 respectively if they are missing, initialize alt_mon_defined.
17677 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17678 * locale/programs/locfile-kw.h: Regenerate.
17679 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17680 * localedata/tst-langinfo.c (map): Add tests for the new constants
17681 ALTMON_1 .. ALTMON_12.
17682 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17683 and pl_PL.UTF-8.
17684 * time/strftime_l.c (f_altmonth): New macro.
17685 (__strftime_internal): Handle %OB format.
17686 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17687 (__strptime_internal): Handle %OB format.
17688 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17689 of month names including the new %OB format specifier.
17690
17691 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17692
17693 [BZ #22685]
17694 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17695 from ABORT_TRANSACTION.
17696 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17697 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17698 ABORT_TRANSACTION_IMPL): Likewise.
17699 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17700 Linux code, but remove the code that aborts transactions.
17701
17702 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17703
17704 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17705
17706 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17707
17708 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17709 in date: "2004-14-09" should be "2004-09-14".
17710 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17711 "2003-15-09" should be "2003-09-15".
17712
17713 2018-01-18 Arjun Shankar <arjun@redhat.com>
17714
17715 [BZ #22343]
17716 [BZ #22774]
17717 CVE-2018-6485
17718 CVE-2018-6551
17719 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17720 after padding.
17721 (_int_memalign): check for integer overflow before calling
17722 _int_malloc.
17723 * malloc/tst-malloc-too-large.c: New test.
17724 * malloc/Makefile: Add tst-malloc-too-large.
17725
17726 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17727
17728 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17729 in date: "2017-24-07" should be "2017-07-24".
17730 * localedata/locales/mai_IN: Likewise.
17731 * localedata/locales/mai_NP: Likewise.
17732
17733 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17734
17735 * po/ru.po: Update translations.
17736
17737 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17738
17739 [BZ #22719]
17740 * sysdeps/hppa/backtrace.c: New file.
17741
17742 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17743
17744 [BZ #22715]
17745 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17746 align La_x86_64_retval to VEC_SIZE.
17747
17748 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17749
17750 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17751 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17752
17753 2018-01-16 Florian Weimer <fweimer@redhat.com>
17754
17755 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17756 Move tst-thread-exit-clobber ...
17757 [$(CXX)] (tests-unsupported): ... to here.
17758
17759 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17760
17761 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17762 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17763 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17764 (_dl_aarch64_cap_flags): Update.
17765 (_DL_HWCAP_COUNT): Update.
17766
17767 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17768
17769 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17770 (_DL_HWCAP_LAST): Remove.
17771 (_DL_HWCAP_COUNT): Move to ...
17772 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17773 (_DL_HWCAP_COUNT): ... here.
17774
17775 2018-01-16 Florian Weimer <fweimer@redhat.com>
17776
17777 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17778 mode with GNU extensions.
17779
17780 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17781
17782 * elf/elf.h (NT_ARM_SVE): Define.
17783
17784 2018-01-15 Florian Weimer <fweimer@redhat.com>
17785
17786 [BZ #22636]
17787 * nptl/tst-minstack-throw.cc: New file.
17788 * nptl/Makefile (tests): Add tst-minstack-throw.
17789 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17790 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17791
17792 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17793
17794 * scripts/build-many-glibcs.py (Context.checkout): Default
17795 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17796 version to 1.1.0.
17797
17798 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17799
17800 [BZ #22707]
17801 * elf/elf.h (DF_1_STUB): Define.
17802 (DF_1_PIE): Define.
17803
17804 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17805
17806 [BZ #22697]
17807 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17808 Do not add 0.5 to integer or out-of-range arguments.
17809
17810 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17811
17812 * po/bg.po: Update translations.
17813 * po/cs.po: Likewise.
17814 * po/de.po: Likewise.
17815 * po/ko.po: Likewise.
17816 * po/pl.po: Likewise.
17817 * po/sv.po: Likewise.
17818 * po/uk.po: Likewise.
17819 * po/vi.po: Likewise.
17820
17821 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17822
17823 * aarch64/start.S (_start): Use __wrap_main.
17824 (__wrap_main): New local symbol.
17825
17826 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17827
17828 [BZ #22679]
17829 CVE-2018-1000001
17830 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17831 generic_getcwd if the path returned by getcwd syscall is not absolute.
17832 * io/tst-getcwd-abspath.c: New test.
17833 * io/Makefile (tests): Add tst-getcwd-abspath.
17834
17835 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17836
17837 * malloc/malloc.c (malloc_consolidate): Add size check.
17838
17839 2018-01-12 Florian Weimer <fweimer@redhat.com>
17840
17841 * support/write_message.c (write_message): Preserve errno.
17842 * support/check.c (print_failure): Likewise.
17843 * support/support_test_verify_impl.c (support_test_verify_impl):
17844 Likewise.
17845 * support/support_test_compare_failure.c
17846 (support_test_compare_failure): Likewise.
17847
17848 2018-01-12 Florian Weimer <fweimer@redhat.com>
17849
17850 [BZ #22701]
17851 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17852 Prevent installation of libnsl.so.
17853 (libnsl-inhibit-o): Do not build (or install) static libraries.
17854
17855 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17856
17857 [BZ #22657]
17858 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17859 before the day number which may produce a double space.
17860 (date_fmt): Likewise.
17861
17862 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17863
17864 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17865 instead of fegetenv.
17866
17867 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17868
17869 [BZ #22702]
17870 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17871 comment to say exceptions are discarded.
17872 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17873 __fegetenv.
17874 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17875 be enabled.
17876
17877 2018-01-11 Florian Weimer <fweimer@redhat.com>
17878
17879 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17880 and error message.
17881
17882 2018-01-11 Florian Weimer <fweimer@redhat.com>
17883
17884 [BZ #22636]
17885 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17886 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17887
17888 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17889
17890 [BZ #22693]
17891 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17892 negative arguments in test for NaN or infinity argument.
17893
17894 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17895
17896 * po/libc.pot: Regenerate.
17897
17898 2018-01-10 Florian Weimer <fweimer@redhat.com>
17899
17900 [BZ #22636]
17901 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17902 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17903
17904 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17905
17906 * hurd/hurd/fd.h: Include <fcntl.h>
17907 (__hurd_at_flags): New function.
17908 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17909 with call to __hurd_at_flags.
17910 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17911 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17912 __faccessat
17913 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17914 (__access_noerrno): Use __faccessat_common instead of access_common.
17915 (__access): Likewise.
17916 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17917 with a call to __faccessat.
17918 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17919 (__faccessat_common): ... this. Move implementation of __access into it when
17920 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17921 reauthenticate_cwdir_at helper to implement AT mechanism.
17922 (__faccessat_noerrno): New function, just calls __faccessat_common.
17923 (__faccessat): New function, just calls __faccessat_common.
17924 (faccessat): Define weak alias.
17925
17926 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17927
17928 [BZ #22691]
17929 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17930 (CFLAGS-s_fmaxmagl.c): New variable.
17931 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17932
17933 [BZ #22690]
17934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17935 long int for arguments of possibly overflowing addition or
17936 subtraction.
17937 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17938
17939 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17940
17941 [BZ #22688]
17942 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17943 (CFLAGS-e_remainderl.c): New variable.
17944
17945 [BZ #22687]
17946 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17947 variable.
17948 (CFLAGS-s_cacoshl.c): Likewise.
17949 (CFLAGS-s_casinhl.c): Likewise.
17950 (CFLAGS-s_catanl.c): Likewise.
17951 (CFLAGS-s_catanhl.c): Likewise.
17952 (CFLAGS-s_cexpl.c): Likewise.
17953 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17954 (CFLAGS-s_csinhl.c): Likewise.
17955 (CFLAGS-s_clogl.c): Likewise.
17956 (CFLAGS-s_clog10l.c): Likewise.
17957 (CFLAGS-s_csinl.c): Likewise.
17958 (CFLAGS-s_csqrtl.c): Likewise.
17959
17960 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17961 2017-01-09 Svante Signell <svante.signell@gmail.com>
17962
17963 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17964 (_hurd_exec_paths): New function.
17965 * hurd/hurd.h (_hurd_exec): Deprecate function.
17966 (_hurd_exec_paths): Declare function.
17967 * hurd/Versions: Export _hurd_exec_paths.
17968 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17969 (__execve): Use __getcwd to build absolute path, and use
17970 _hurd_exec_paths instead of _hurd_exec.
17971 * sysdeps/mach/hurd/spawni.c: Likewise.
17972 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17973 _hurd_exec.
17974
17975 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17976
17977 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17978 test instead of failing in case of ENOENT returned by posix_openpt.
17979
17980 2018-01-08 Florian Weimer <fweimer@redhat.com>
17981
17982 resolv: Support binary labels in test framework.
17983 * support/resolv_test.c (struct to_be_freed): Remove.
17984 (struct compressed_name): New.
17985 (allocate_compressed_name, ascii_tolower)
17986 (compare_compressed_name): New functions.
17987 (struct resolv_response_builder): Update type of
17988 compression_offsets for use with tsearch. Rempve to_be_freed.
17989 (response_push_pointer_to_free): Remove function.
17990 (resolv_response_add_name): Rewrite using struct compressed_name
17991 and tsearch instead of hsearch_r.
17992 (response_builder_allocate): Remove initialization of
17993 compression_offsets.
17994 (response_builder_free): Update for removal of to_be_freed. Use
17995 tdestroy instead of hdestroy_r.
17996 * resolv/Makefile (tests): Add tst-resolv-binary.
17997 (tst-resolv-binary): Link with -lresolv -lpthread.
17998
17999 2018-01-08 Florian Weimer <fweimer@redhat.com>
18000
18001 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18002 time. Pass positive flag instead of negative flag to
18003 support_test_compare_failure.
18004 (support_test_compare_failure): Change negative parameter to
18005 positive.
18006 * support/support_test_compare_failure.c (report)
18007 (support_test_compare_failure): Likewise.
18008 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18009 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18010
18011 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18012
18013 [BZ #22637]
18014 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18015 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18016 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18017 stacksize.
18018 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18019
18020 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18021
18022 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18023 Add s_sincosf-sse2 and s_sincosf-fma.
18024 (CFLAGS-s_sincosf-fma.c): New.
18025 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18026 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18027 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18028 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18029 __sincosf is defined.
18030
18031 2018-01-08 Florian Weimer <fweimer@redhat.com>
18032
18033 * nptl/tst-thread-exit-clobber.cc: New file.
18034 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18035 C++11 mode.
18036 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18037 (tests): Add tst-thread-exit-clobber.
18038 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18039
18040 2018-01-08 Florian Weimer <fweimer@redhat.com>
18041
18042 * support/check.h (support_static_assert): Define.
18043 (TEST_COMPARE): Use it.
18044
18045 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18046
18047 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18048 [!__RLIM_T_MATCHES_RLIM64_T]
18049 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18050 __getrlimit64. Add libc_hidden_weak.
18051
18052 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18053
18054 * elf/elf.h (R_RISCV_NONE): New define.
18055 (R_RISCV_32): Likewise.
18056 (R_RISCV_64): Likewise.
18057 (R_RISCV_RELATIVE): Likewise.
18058 (R_RISCV_COPY): Likewise.
18059 (R_RISCV_JUMP_SLOT): Likewise.
18060 (R_RISCV_TLS_DTPMOD32): Likewise.
18061 (R_RISCV_TLS_DTPMOD64): Likewise.
18062 (R_RISCV_TLS_DTPREL32): Likewise.
18063 (R_RISCV_TLS_DTPREL64): Likewise.
18064 (R_RISCV_TLS_TPREL32): Likewise.
18065 (R_RISCV_TLS_TPREL64): Likewise.
18066 * Makerules (make-link-multidir): Make directories before linking into
18067 them.
18068 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18069 define.
18070 (VDSO_HASH_LINUX_4_15): Likewise.
18071 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18072 in subdirectories of lib.
18073 * nptl/Makefile (/librt.so): Always depend on
18074 "$(shared-thread-library)".
18075
18076 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18077
18078 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18079 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18080 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18081 (___tls_get_addr).
18082 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18083 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18084 "-O2 -march=i686".
18085 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18086 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18087 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18088 * sysdeps/gnu/glob-lstat-compat.c: New file.
18089 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18090 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18091
18092 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18093
18094 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18095 Reserve 16 chars to reloc_addr before calling _itoa_word.
18096
18097 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18098
18099 [BZ #22678]
18100 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18101 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18102
18103 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18104 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18105
18106 * resource/tst-getrlimit.c: Add copyright header.
18107
18108 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18109 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18110
18111 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18112 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18113 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18114 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18115 instead.
18116 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18117 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18118 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18119 RLIM64_INFINITY): Fix values to match the kernel ones.
18120 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18121 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18122 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18123 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18124 getrlimit64@@GLIBC_2_27.
18125 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18126 and setrlimit64.
18127 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18128 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18129 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18130 setrlimit, getrlimit64 and setrlimit64.
18131
18132 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18133
18134 [BZ #22648]
18135 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18136 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18137
18138 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18139
18140 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18141 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18142 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18143
18144 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18145
18146 [BZ #15479]
18147 [BZ #22666]
18148 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18149 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18150
18151 [BZ #15479]
18152 [BZ #22665]
18153 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18154 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18155 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18156 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18157
18158 2018-01-04 Florian Weimer <fweimer@redhat.com>
18159
18160 [BZ #22667]
18161 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18162 Align the stack before calling exit.
18163 * stdlib/tst-makecontext-align.c: New file.
18164 * stdlib/Makefile (tests): Add tst-makecontext-align.
18165
18166 2018-01-04 Florian Weimer <fweimer@redhat.com>
18167
18168 Add support for calling dlvsym from libc.so.
18169 * include/dlfcn.h (__libc_dlvsym): Declare.
18170 * elf/Makefile (tests-static-internal): Add
18171 tst-libc_dlvsym-static.
18172 (tests-internal): Add tst-libc_dlvsym.
18173 (modules-names): Add tst-libc_dlvsym-dso.
18174 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18175 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18176 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18177 object tst-libc_dlvsym-dso.so needs to be built before running
18178 these tests.
18179 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18180 * elf/Versions: Export __libc_dlvsym.
18181 * elf/dl-libc.c (struct do_dlvsym_args): New.
18182 (do_dlvsym, __libc_dlvsym): New functions.
18183 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18184 (_dl_open_hook2): New variable.
18185 (__libc_register_dl_open_hook): Set it.
18186 * elf/tst-libc_dlvsym-dso.c: New file.
18187 * elf/tst-libc_dlvsym-static.c: Likewise.
18188 * elf/tst-libc_dlvsym.c: Likewise.
18189 * elf/tst-libc_dlvsym.h: Likewise.
18190
18191 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18192
18193 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18194 include <sys/mount.h>.
18195
18196 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18197
18198 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18199 Add __NO_MATH_ERRNO__ check.
18200
18201 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18202
18203 * sysdeps/mips/mips32/libm-test-ulps: Update.
18204 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18205
18206 2018-01-02 Florian Weimer <fweimer@redhat.com>
18207
18208 * misc/tst-pselect.c: Add copyright header.
18209
18210 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18211
18212 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18213 comment.
18214 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18215 comment.
18216 (settrlimit): Rename into setrlimit.
18217 (__sttrlimit): Rename into __setrlimit.
18218
18219 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18220 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18221 never defined in that case.
18222
18223 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18224
18225 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18226
18227 * sysdeps/arm/libm-test-ulps: Update.
18228
18229 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18230 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18231
18232 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18233
18234 * NEWS: Add cosf and sincosf to list of optimized functions.
18235
18236 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18237
18238 [BZ #22660]
18239 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18240 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18241 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18242 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18243
18244 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18245
18246 [BZ #22433]
18247 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18248
18249 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18250 making a copy of it.
18251
18252 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18253
18254 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18255 trailing whitespace removed.
18256 * scripts/config.guess: Update to version 2018-01-01.
18257 * scripts/config.sub: Update to version 2018-01-01.
18258 * scripts/move-if-change: Update from gnulib.
18259
18260 * NEWS: Update copyright dates.
18261 * catgets/gencat.c (print_version): Likewise.
18262 * csu/version.c (banner): Likewise.
18263 * debug/catchsegv.sh: Likewise.
18264 * debug/pcprofiledump.c (print_version): Likewise.
18265 * debug/xtrace.sh (do_version): Likewise.
18266 * elf/ldconfig.c (print_version): Likewise.
18267 * elf/ldd.bash.in: Likewise.
18268 * elf/pldd.c (print_version): Likewise.
18269 * elf/sotruss.sh: Likewise.
18270 * elf/sprof.c (print_version): Likewise.
18271 * iconv/iconv_prog.c (print_version): Likewise.
18272 * iconv/iconvconfig.c (print_version): Likewise.
18273 * locale/programs/locale.c (print_version): Likewise.
18274 * locale/programs/localedef.c (print_version): Likewise.
18275 * login/programs/pt_chown.c (print_version): Likewise.
18276 * malloc/memusage.sh (do_version): Likewise.
18277 * malloc/memusagestat.c (print_version): Likewise.
18278 * malloc/mtrace.pl: Likewise.
18279 * manual/libc.texinfo: Likewise.
18280 * nptl/version.c (banner): Likewise.
18281 * nscd/nscd.c (print_version): Likewise.
18282 * nss/getent.c (print_version): Likewise.
18283 * nss/makedb.c (print_version): Likewise.
18284 * posix/getconf.c (main): Likewise.
18285 * scripts/test-installation.pl: Likewise.
18286 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18287
18288 * All files with FSF copyright notices: Update copyright dates
18289 using scripts/update-copyrights.
18290 * locale/programs/charmap-kw.h: Regenerated.
18291 * locale/programs/locfile-kw.h: Likewise.
18292
18293 2017-12-31 Zack Weinberg <zackw@panix.com>
18294
18295 * libio/bits/libio-ldbl.h: Correct check for improper
18296 inclusion. Add own multiple include guard.
18297
18298 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18299 Dmitry V. Levin <ldv@altlinux.org>
18300
18301 [BZ #22625]
18302 CVE-2017-16997
18303 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18304 string token expansion. Check for NULL pointer or empty string possibly
18305 returned by expand_dynamic_string_token.
18306 (decompose_rpath): Check for empty path after dynamic string
18307 token expansion.
18308
18309 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18310
18311 [BZ #22433]
18312 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18313
18314 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18315 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18316 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18317 and PTRACE_SYSCALL.
18318 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18323 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18324
18325 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18326 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18327 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18328 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18330 bits/ptrace-shared.h.
18331 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18332 <bits/ptrace-shared.h>.
18333 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18334 __ptrace_peeksiginfo_flags, ptrace): Remove.
18335 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18339 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18340
18341 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18342
18343 [BZ #17804]
18344 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18345 end of the loop. Improve comments.
18346
18347 2017-12-29 Zack Weinberg <zackw@panix.com>
18348
18349 [BZ #22615]
18350 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18351 might be set on success.
18352
18353 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18354
18355 [BZ #22611]
18356 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18357 is unchanged on success.
18358
18359 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18360
18361 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18362 updated.
18363 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18364 expand_dynamic_string_token): Likewise.
18365 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18366 is_path argument.
18367
18368 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18369 contains ':'.
18370
18371 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18372 is set and name contains ':', and all code depending on these checks.
18373
18374 2017-12-24 Zack Weinberg <zackw@panix.com>
18375
18376 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18377 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18378 respectively.
18379 * libio/libio.h: Rename the original version of this file to
18380 libio/bits/libio.h. Error out if not included by stdio.h or the
18381 stub libio.h.
18382 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18383 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18384 if not included by bits/libio.h or the stub _G_config.h.
18385 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18386 sysdeps/unix/sysv/linux/bits. Error out if not included by
18387 bits/libio.h or the stub _G_config.h.
18388 * libio/stdio.h: Include bits/libio.h, not libio.h.
18389 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18390 well as libio.h and _G_config.h.
18391
18392 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18393 * libio/strfile.h, stdio-common/vfscanf.c
18394 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18395 Include stdio.h, not _G_config.h nor libio.h.
18396 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18397 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18398
18399 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18400
18401 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18402
18403 [BZ #22347]
18404 * stdlib/getrandom.c (getrandom): Fix comment.
18405 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18406
18407 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18408
18409 [BZ #21161]
18410 * manual/arith.texi (strtoul): Fix a typo.
18411
18412 [BZ #22596]
18413 * manual/arith.texi (finite): Fix the description of the return
18414 value.
18415
18416 2017-12-22 Eric Blake <ebb9@byu.net>
18417
18418 Avoid gcc warnings on cygwin
18419 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18420 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18421 Avoid unused variable.
18422
18423 2017-12-22 Florian Weimer <fweimer@redhat.com>
18424
18425 * io/Makefile (routines): Add copy_file_range.
18426 (tests): Add tst-copy_file_range.
18427 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18428 * io/Versions (GLIBC_2.27): Export copy_file_range.
18429 * io/copy_file_range-compat.c: New file.
18430 * io/copy_file_range.c: Likewise.
18431 * io/tst-copy_file_range-compat.c: Likewise.
18432 * io/tst-copy_file_range.c: Likewise.
18433 * manual/llio.texi (Copying File Data): New section.
18434 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18435 * support/Makefile (libsupport-routines): Add support-xfstat,
18436 xftruncate, xlseek.
18437 * support/support-xfstat.c: New file.
18438 * support/xftruncate.c: Likewise.
18439 * support/xlseek.c: Likewise.
18440 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18441 * sysdeps/unix/sysv/linux/**.abilist: Update.
18442 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18443
18444 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18445
18446 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18447 disable-multi-arch variant to aarch64-linux-gnu.
18448
18449 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18450
18451 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18452 trailing whitespace removed.
18453 * scripts/config.guess: Update to version 2017-12-17.
18454 * scripts/config.sub: Update to version 2017-11-23.
18455 * scripts/install-sh: Update to version 2017-09-23.17.
18456 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18457
18458 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18459
18460 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18461 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18462 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18463 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18464 * sysdeps/tile/crtn.S: Likewise.
18465 * sysdeps/tile/dl-start.S (_start): Likewise.
18466 * sysdeps/tile/dl-trampoline.S: Likewise.
18467 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18468 * sysdeps/tile/start.S (_start): Likewise.
18469 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18470 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18471 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18472 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18473 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18474 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18475 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18476
18477 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18478 comment.
18479 * sysdeps/tile/preconfigure: Remove tilegx folder.
18480 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18481 * sysdeps/tile/Implies: ... here.
18482 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18483 * sysdeps/tile/Makefile: ... here.
18484 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18485 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18486 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18487 * sysdeps/tile/bits/wordsize.h: ... here.
18488 * sysdeps/tile/tilegx/*: Move to ...
18489 * sysdeps/tile/*: ... here.
18490 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18491 * sysdeps/tile/tilegx32/Implies: ... here.
18492 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18493 * sysdeps/tile/tilegx64/Implies: ... here.
18494 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18495 to ...
18496 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18497 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18498 * sysdeps/unix/sysv/linux/tile/*: ... here.
18499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18500 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18502 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18503
18504 * README: Remove tilepro-*-linux-gnu from supported architecture.
18505 * scripts/build-many-glibcs.py: Likewise.
18506 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18507 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18508 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18509 elf_machine_matches_host, elf_machine_dynamic,
18510 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18511 howto, elf_machine_rela): Likewise.
18512 * sysdeps/tile/dl-start.S (_start): Likewise.
18513 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18514 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18515 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18516 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18517 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18518 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18519 Likewise.
18520 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18521 * sysdeps/tile/preconfigure: Likewise.
18522 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18523 POINTER_CHK_GUARD): Likewise.
18524 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18525 * sysdeps/tile/start.S (_start): Likewise.
18526 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18527 Likewise.
18528 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18529 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18530 CMOVNEZ): Remove.
18531 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18532 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18533 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18534 Likewise.
18535 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18536 * sysdeps/tile/tilepro/Implies: Remove file.
18537 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18538 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18539 * sysdeps/tile/tilepro/memchr.c: Likewise.
18540 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18541 * sysdeps/tile/tilepro/memset.c: Likewise.
18542 * sysdeps/tile/tilepro/memusage.h: Likewise.
18543 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18544 * sysdeps/tile/tilepro/strchr.c: Likewise.
18545 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18546 * sysdeps/tile/tilepro/strlen.c: Likewise.
18547 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18548 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18549 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18550 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18551 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18553 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18554 Likewise.
18555 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18567 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18568 tilepro mention in comment.
18569
18570 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18571 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18572 * nptl/pthread_join_common.c: New file: common function used on
18573 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18574 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18575 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18576 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18577 (cleanup): Move definition to pthread_join_common.c.
18578 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18579 Remove superflous checks.
18580 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18581 Likewise.
18582
18583 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18584
18585 * sysdeps/aarch64/libm-test-ulps: Update.
18586
18587 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18588
18589 * sysdeps/aarch64/memset.S (MEMSET): Define.
18590
18591 2017-12-20 Florian Weimer <fweimer@redhat.com>
18592
18593 [BZ #22635]
18594 nptl: Provide full implementation of pthread_self in libc.so.
18595 * nptl/Makefile (routines): Add pthread_self.
18596 (libpthread-routines): Replace pthread_self with
18597 compat-pthread_self.
18598 * nptl/forward.c (pthread_self): Remove.
18599 * nptl/nptl-init.c (pthread_functions): Do not initialize
18600 ptr_pthread_self.
18601 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18602 * nptl/compat-pthread_self.c: New file.
18603 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18604 Remove ptr_pthread_self.
18605
18606 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18607
18608 * posix/regcomp.c: Fix spelling in comments.
18609 * posix/regex.h: Likewise.
18610 * posix/regex_internal.c: Likewise.
18611 * posix/regexec.c: Likewise.
18612
18613 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18614
18615 [BZ #22377]
18616 * math/Makefile [C++] (tests): Add test for iseqsig.
18617 * math/math.h [C++] (iseqsig): New implementation, which does
18618 not rely on __MATH_TG/__builtin_types_compatible_p.
18619 * math/test-math-iseqsig.cc: New file.
18620 * sysdeps/powerpc/powerpc64le/Makefile
18621 (CFLAGS-test-math-iseqsig.cc): New variable.
18622
18623 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18624
18625 * elf/dl-load.c (is_trusted_path): Remove.
18626 (fillin_rpath): Remove check_trusted argument and its use,
18627 all callers changed.
18628
18629 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18630
18631 [BZ #22630]
18632 * Makeconfig (link-pie-before-libc): Replace -pie with
18633 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18634 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18635 (tst-dlopen-aout-no-pie): New.
18636 (LDFLAGS-tst-prelink): Removed.
18637 (tst-prelink-no-pie): New.
18638 (LDFLAGS-tst-main1): Removed.
18639 (tst-main1-no-pie): New.
18640 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18641 (tst-gmon-no-pie): New.
18642
18643 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18644
18645 * manual/install.texi: Document that --enable-static-pie
18646 implies PIE.
18647 * INSTALL: Regenerated.
18648
18649 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18650
18651 [BZ #21309]
18652 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18653 unsigned.
18654
18655 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18656
18657 Revert:
18658
18659 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18660
18661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18662
18663 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18664
18665 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18666 <errno.h>. Include "eexp.tbl".
18667 (half): New constant.
18668 (one): Likewise.
18669 (__ieee754_exp): Rewrite.
18670 (__slowexp): Remove prototype.
18671 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18672 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18673 * sysdeps/i386/fpu/slowexp.c: Likewise.
18674 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18675 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18676 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18677 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18678 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18679 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18680 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18681 comment.
18682 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18683 (CPPFLAGS-slowexp.c): Remove variable.
18684 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18685 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18686 (CFLAGS-slowexp-fma.c): Remove variable.
18687 (CFLAGS-slowexp-fma4.c): Likewise.
18688 (CFLAGS-slowexp-avx.c): Likewise.
18689 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18690 define as macro.
18691 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18692 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18693 * math/Makefile (type-double-routines): Remove slowexp.
18694 * manual/probes.texi (slowexp_p6): Remove.
18695 (slowexp_p32): Likewise.
18696
18697 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18698
18699 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18700 arithmetic.
18701
18702 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18703
18704 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18705
18706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18707
18708 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18709
18710 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18711 <errno.h>. Include "eexp.tbl".
18712 (half): New constant.
18713 (one): Likewise.
18714 (__ieee754_exp): Rewrite.
18715 (__slowexp): Remove prototype.
18716 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18717 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18718 * sysdeps/i386/fpu/slowexp.c: Likewise.
18719 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18720 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18721 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18722 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18723 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18724 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18725 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18726 comment.
18727 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18728 (CPPFLAGS-slowexp.c): Remove variable.
18729 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18730 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18731 (CFLAGS-slowexp-fma.c): Remove variable.
18732 (CFLAGS-slowexp-fma4.c): Likewise.
18733 (CFLAGS-slowexp-avx.c): Likewise.
18734 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18735 define as macro.
18736 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18737 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18738 * math/Makefile (type-double-routines): Remove slowexp.
18739 * manual/probes.texi (slowexp_p6): Remove.
18740 (slowexp_p32): Likewise.
18741
18742 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18743 James Clarke <jrtc27@jrtc27.com>
18744
18745 [BZ #22603]
18746 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18747 addition.
18748
18749 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18750
18751 [BZ #22605]
18752 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18753 code.
18754
18755 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18756
18757 [BZ #22563]
18758 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18759 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18760 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18761 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18762 to feature_1.
18763
18764 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18765
18766 [BZ #22563]
18767 * bits/types/__cancel_jmp_buf_tag.h: New file.
18768 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18769 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18770 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18771 * nptl/Makefile (headers): Add
18772 bits/types/__cancel_jmp_buf_tag.h.
18773 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18774 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18775 * sysdeps/nptl/pthread.h: Include
18776 <bits/types/__cancel_jmp_buf_tag.h>.
18777 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18778 __cancel_jmp_buf.
18779 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18780
18781 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18782
18783 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18784 --enable-static-pie variants to x86_64, x32 and i686.
18785
18786 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18787
18788 [BZ #22631]
18789 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18790 argument for attrubutes. All callers changed.
18791 (__inline_mathop1): Likewise. All callers changed.
18792 (__inline_mathop): Likewise. All callers changed.
18793 [__USE_MISC] (scalbn): Use __inline_forward instead of
18794 __inline_forward_c.
18795 [__USE_ISOC99] (scalbln): Likewise.
18796 [__USE_ISOC99] (nearbyint): Likewise.
18797 [__USE_ISOC99] (lrint): Likewise.
18798 [__USE_MISC] (scalbnf): Likewise.
18799 [__USE_ISOC99] (scalblnf): Likewise.
18800 [__USE_ISOC99] (nearbyintf): Likewise.
18801 [__USE_ISOC99] (lrintf): Likewise.
18802 [__USE_MISC] (scalbnl): Likewise.
18803 [__USE_ISOC99] (scalblnl): Likewise.
18804 [__USE_ISOC99] (nearbyintl): Likewise.
18805 [__USE_ISOC99] (lrintl): Likewise.
18806 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18807 __inline_mathop and __m81_defun changed.
18808
18809 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18810 CPU or FPU for ARM hard-float configurations.
18811
18812 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18813
18814 * nptl/tst-attr3.c: Include <libc-diag.h>.
18815 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18816
18817 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18818
18819 * string/tester.c (test_strncat): Also disable -Warray-bounds
18820 warnings for two tests.
18821
18822 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18823
18824 [BZ #22614]
18825 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18826 $(cc-pie-default) == yes.
18827 * config.make.in (cc-pie-default): New.
18828 * configure.ac (libc_cv_pie_default): Renamed to ...
18829 (libc_cv_cc_pie_default): This.
18830 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18831 * configure: Regenerated.
18832
18833 2017-12-18 Florian Weimer <fweimer@redhat.com>
18834
18835 [BZ #20204]
18836 ld.so: Harden dl-libc/libdl hooks.
18837 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18838 (rtld_active): New function.
18839 * dlfcn/dladdr.c (__dladdr): Call it.
18840 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18841 * dlfcn/dlclose.c (__dlcose): Likewise.
18842 * dlfcn/dlerror.c (__dlerror): Likewise.
18843 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18844 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18845 * dlfcn/dlopen.c (__dlopen): Likewise.
18846 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18847 * dlfcn/dlsym.c (__dlsym): Likewise.
18848 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18849 * libio/vtables.c (_IO_vtable_check): Likewise.
18850 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18851 (__libc_dlclose): Likewise.
18852 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18853 assignment.
18854
18855 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18856
18857 [BZ #22446]
18858 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18859 buffers for readlink input and output.
18860
18861 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18862
18863 [BZ #22624]
18864 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18865 inhibit_stack_protector.
18866
18867 [BZ #22624]
18868 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18869 inhibit_stack_protector.
18870
18871 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18872
18873 [BZ #22627]
18874 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18875 code and invocation.
18876
18877 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18878
18879 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18880
18881 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18882
18883 [BZ #22505]
18884 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18885
18886 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18887
18888 * sysdeps/s390/fpu/libm-test-ulps: Update.
18889
18890 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18891
18892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18893
18894 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18895
18896 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18897 constants to s_sincosf.h file.
18898 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18900 implementation.
18901 * sysdeps/ieee754/flt-32/s_sincosf.h:
18902 New file.
18903
18904 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18905
18906 [BZ #14681]
18907 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18908 before mtrace.
18909
18910 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18911
18912 [BZ #19574]
18913 * INSTALL: Regenerated.
18914 * Makeconfig (real-static-start-installed-name): New.
18915 (pic-default): Updated for --enable-static-pie.
18916 (pie-default): New for --enable-static-pie.
18917 (default-pie-ldflag): Likewise.
18918 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18919 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18920 Replace $(static-start-installed-name) with
18921 $(real-static-start-installed-name).
18922 (+prectorT): Updated for --enable-static-pie.
18923 (+postctorT): Likewise.
18924 (CFLAGS-.o): Add $(pie-default).
18925 (CFLAGS-.op): Likewise.
18926 * NEWS: Mention --enable-static-pie.
18927 * config.h.in (ENABLE_STATIC_PIE): New.
18928 * configure.ac (--enable-static-pie): New configure option.
18929 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18930 (have-static-pie): Likewise.
18931 Enable static PIE if linker supports --no-dynamic-linker.
18932 (ENABLE_STATIC_PIE): New AC_DEFINE.
18933 (enable-static-pie): New LIBC_CONFIG_VAR.
18934 * configure: Regenerated.
18935 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18936 gr$(start-installed-name) for --enable-static-pie.
18937 (extra-objs): Likewise.
18938 (install-lib): Likewise.
18939 (extra-objs): Add static-reloc.o and static-reloc.os
18940 ($(objpfx)$(start-installed-name)): Also depend on
18941 $(objpfx)static-reloc.o.
18942 ($(objpfx)r$(start-installed-name)): New.
18943 ($(objpfx)g$(start-installed-name)): Also depend on
18944 $(objpfx)static-reloc.os.
18945 ($(objpfx)gr$(start-installed-name)): New.
18946 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18947 in libc.a.
18948 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18949 initimage.
18950 * csu/static-reloc.c: New file.
18951 * elf/Makefile (routines): Add dl-reloc-static-pie.
18952 (elide-routines.os): Likewise.
18953 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18954 (tst-tls1-static-non-pie-no-pie): New.
18955 * elf/dl-reloc-static-pie.c: New file.
18956 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18957 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18958 STATIC_PIE_BOOTSTRAP.
18959 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18960 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18961 (tests-static): Likewise.
18962 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18963 (tst-gmon-static-no-pie): New.
18964 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18965 (CRT-tst-gmon-static-pie): Likewise.
18966 (tst-gmon-static-pie-ENV): Likewise.
18967 (tests-special): Likewise.
18968 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18969 (clean-tst-gmon-static-pie-data): Likewise.
18970 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18971 * gmon/tst-gmon-static-pie.c: New file.
18972 * manual/install.texi: Document --enable-static-pie.
18973 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18974 (_dl_get_dl_main_map): Likewise.
18975 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18976 * sysdeps/x86_64/configure.ac: Likewise.
18977 * sysdeps/i386/configure: Regenerated.
18978 * sysdeps/x86_64/configure: Likewise.
18979 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18980 (ASFLAGS-.op): Likewise.
18981
18982 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18983
18984 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18985 * posix/tst-mmap-offset.c (fname): Use /tmp.
18986 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18987
18988 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18989
18990 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18991
18992 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18993
18994 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18995 errno.
18996
18997 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18998
18999 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19000 --with-float=hard for arm-linux-gnueabihf configurations.
19001
19002 [BZ #14121]
19003 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19004 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19005 ($(mo-installed)): Use $(objpfx)%.mo.
19006 (realclean): Remove rule.
19007
19008 * po/Makefile (linguas): Remove rule and dependencies.
19009 (linguas.mo): Likewise.
19010 (.PHONY): Do not depend on linguas and linguas.mo.
19011 (podir): Remove variable.
19012 (pofiles): Likewise.
19013 [$(pofiles)] (%.po): Remove rule.
19014
19015 * sysdeps/sparc/sparc32/Makefile
19016 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19017 start-of-line whitespace in argument of echo.
19018 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19019 with whitespace. Generate __wrap_.udiv alias.
19020 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19021 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19022 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19023 * sysdeps/sparc/sparc32/urem.S: Likewise.
19024
19025 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19026
19027 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19028 for aligned inputs.
19029
19030 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19031
19032 * benchtests/bench-strcmp.c: Print output in JSON format.
19033
19034 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19035
19036 2017-12-14 Florian Weimer <fweimer@redhat.com>
19037
19038 [BZ #22607]
19039 CVE-2017-1000409
19040 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19041 the expanded path string.
19042
19043 2017-12-14 Florian Weimer <fweimer@redhat.com>
19044
19045 [BZ #22606]
19046 CVE-2017-1000408
19047 * elf/dl-load.c (system_dirs): Update comment.
19048 (nsystem_dirs_len): Use array_length.
19049 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19050
19051 2017-12-14 Florian Weimer <fweimer@redhat.com>
19052
19053 Simplify compiling most of support/ outside of glibc.
19054 * support/check_addrinfo.c: Include <string.h>.
19055 * support/check_dns_packet.c: Likewise.
19056 * support/check_hostent.c: Likewise.
19057 * support/support_can_chroot.c: Include <support/xunistd.h>.
19058 * support/support_format_addrinfo.c: Include <stdlib.h>
19059 * support/support_format_dns_packet.c: Include <stdbool.h>.
19060 * support/support_format_hostent.c: Include <stdlib.h>.
19061 * support/support_format_netent.c: Likewise.
19062 * support/support_write_string.c: Include <support/xunistd.h>.
19063 * support/xdlfcn.c: Include <stddef.h>.
19064
19065 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19066
19067 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19068
19069 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19070 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19071
19072 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19073 (sysdeps_routines): Add memset-niagara7.
19074 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19075 Likewise.
19076 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19077 file.
19078 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19079 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19080 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19081 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19082 Add niagara7 option.
19083 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19084 memset.
19085
19086 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19087 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19088 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19089 Likewise.
19090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19091 New file.
19092 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19093 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19094 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19095 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19096 and __memmove_niagara7.
19097 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19098 Add niagara7 option.
19099 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19100 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19101 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19102 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19103 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19104
19105 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19106
19107 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19108 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19109 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19110 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19111
19112 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19113 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19114 _dl_sparc_cap_flags array.
19115 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19116
19117 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19118
19119 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19120 time whenever possible.
19121
19122 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19123
19124 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19125 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19126
19127 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19128
19129 * soft-fp/fmadf4.c: Move to ....
19130 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19131 * soft-fp/fmasf4.c: Move to ....
19132 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19133 * soft-fp/fmatf4.c: Move to ....
19134 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19135 * sysdeps/ieee754/soft-fp/Makefile: New file.
19136 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19137 * sysdeps/arm/preconfigure: Regenerated.
19138 * sysdeps/arm/nofpu/Implies: New file.
19139 * sysdeps/arm/s_fma.c: Remove file.
19140 * sysdeps/arm/s_fmaf.c: Likewise.
19141 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19142 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19143 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19144 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19145 * sysdeps/microblaze/s_fma.c: Remove file.
19146 * sysdeps/microblaze/s_fmaf.c: Likewise.
19147 * sysdeps/mips/mips32/nofpu/Implies: New file.
19148 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19149 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19150 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19151 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19152 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19153 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19154 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19155 implementation.
19156 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19157 * sysdeps/nios2/s_fma.c: Remove file.
19158 * sysdeps/nios2/s_fmaf.c: Likewise.
19159 * sysdeps/sh/nofpu/Implies: New file.
19160 * sysdeps/sh/s_fma.c: Remove file.
19161 * sysdeps/sh/s_fmaf.c: Likewise.
19162 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19163 * sysdeps/tile/s_fma.c: Remove file.
19164 * sysdeps/tile/s_fmaf.c: Likewise.
19165
19166 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19167
19168 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19169 Add s_cosf-sse2 and s_cosf-fma.
19170 (CFLAGS-s_cosf-fma.c): New.
19171 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19172 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19173 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19174
19175 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19176
19177 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19178
19179 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19180
19181 * libio/Makefile (tests): Add tst-bz22415.
19182 (tst-bz22415-ENV): New rule.
19183 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19184 (tests-special): Add tst-bz22415-mem.out.
19185 ($(objpfx)tst-bz22415-mem.out): New rule.
19186 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19187 in case of a successful seek operation.
19188 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19189 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19190 buffer is required.
19191 * libio/tst-bz22415.c: New test.
19192
19193 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19194
19195 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19196
19197 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19198 __IPC_64 to 0 to avoid IPC_64 being set.
19199
19200 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19201
19202 [BZ #22593]
19203 * math/bits/mathcalls.h (nextafter): Remove const.
19204 (nexttoward): Likewise.
19205
19206 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19207
19208 * configure.ac (--with-fp): Remove configure option.
19209 (with_fp_cond): New variable.
19210 (libc_cv_with_fp): New configure test. Use this variable instead
19211 of with_fp.
19212 * configure: Regenerated.
19213 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19214 * manual/install.texi (Configuring and compiling): Remove
19215 --without-fp.
19216 * INSTALL: Regenerated.
19217 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19218 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19219 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19220 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19221 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19222 use --without-fp to configure glibc.
19223
19224 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19225
19226 * manual/locale.texi (nl_langinfo): Fix a typo.
19227
19228 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19229
19230 [BZ #22588]
19231 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19232
19233 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19234
19235 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19236 (CFLAGS-argp-parse.c): Likewise.
19237 (CFLAGS-argp-fmtstream.c): Likewise.
19238 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19239 (CPPFLAGS-sha512-crypt.c): Likewise.
19240 (CPPFLAGS-md5-crypt.c): Likewise.
19241 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19242 (CFLAGS-stack_chk_fail_local.c): Likewise.
19243 (CFLAGS-backtrace.c): Likewise.
19244 (CFLAGS-sprintf_chk.c): Likewise.
19245 (CFLAGS-snprintf_chk.c): Likewise.
19246 (CFLAGS-vsprintf_chk.c): Likewise.
19247 (CFLAGS-vsnprintf_chk.c): Likewise.
19248 (CFLAGS-asprintf_chk.c): Likewise.
19249 (CFLAGS-vasprintf_chk.c): Likewise.
19250 (CFLAGS-obprintf_chk.c): Likewise.
19251 (CFLAGS-dprintf_chk.c): Likewise.
19252 (CFLAGS-vdprintf_chk.c): Likewise.
19253 (CFLAGS-printf_chk.c): Likewise.
19254 (CFLAGS-fprintf_chk.c): Likewise.
19255 (CFLAGS-vprintf_chk.c): Likewise.
19256 (CFLAGS-vfprintf_chk.c): Likewise.
19257 (CFLAGS-gets_chk.c): Likewise.
19258 (CFLAGS-fgets_chk.c): Likewise.
19259 (CFLAGS-fgets_u_chk.c): Likewise.
19260 (CFLAGS-fread_chk.c): Likewise.
19261 (CFLAGS-fread_u_chk.c): Likewise.
19262 (CFLAGS-swprintf_chk.c): Likewise.
19263 (CFLAGS-vswprintf_chk.c): Likewise.
19264 (CFLAGS-wprintf_chk.c): Likewise.
19265 (CFLAGS-fwprintf_chk.c): Likewise.
19266 (CFLAGS-vwprintf_chk.c): Likewise.
19267 (CFLAGS-vfwprintf_chk.c): Likewise.
19268 (CFLAGS-fgetws_chk.c): Likewise.
19269 (CFLAGS-fgetws_u_chk.c): Likewise.
19270 (CFLAGS-read_chk.c): Likewise.
19271 (CFLAGS-pread_chk.c): Likewise.
19272 (CFLAGS-pread64_chk.c): Likewise.
19273 (CFLAGS-recv_chk.c): Likewise.
19274 (CFLAGS-recvfrom_chk.c): Likewise.
19275 (CFLAGS-tst-longjmp_chk.c): Likewise.
19276 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19277 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19278 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19279 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19280 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19281 (CFLAGS-tst-chk1.c): Likewise.
19282 (CFLAGS-tst-chk2.c): Likewise.
19283 (CFLAGS-tst-chk3.c): Likewise.
19284 (CFLAGS-tst-chk4.cc): Likewise.
19285 (CFLAGS-tst-chk5.cc): Likewise.
19286 (CFLAGS-tst-chk6.cc): Likewise.
19287 (CFLAGS-tst-lfschk1.c): Likewise.
19288 (CFLAGS-tst-lfschk2.c): Likewise.
19289 (CFLAGS-tst-lfschk3.c): Likewise.
19290 (CFLAGS-tst-lfschk4.cc): Likewise.
19291 (CFLAGS-tst-lfschk5.cc): Likewise.
19292 (CFLAGS-tst-lfschk6.cc): Likewise.
19293 (CFLAGS-tst-ssp-1.c): Likewise.
19294 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19295 (CFLAGS-scandir64.c): Likewise.
19296 (CFLAGS-scandir-tail.c): Likewise.
19297 (CFLAGS-scandir64-tail.c): Likewise.
19298 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19299 (CFLAGS-dl-tunables.c): Likewise.
19300 (CFLAGS-dl-runtime.c): Likewise.
19301 (CFLAGS-dl-lookup.c): Likewise.
19302 (CFLAGS-dl-iterate-phdr.c): Likewise.
19303 (CFLAGS-vismain.c): Likewise.
19304 (CFLAGS-tst-linkall-static.c): Likewise.
19305 (CFLAGS-tst-linkall-static.c): Likewise.
19306 (CPPFLAGS-dl-load.c): Likewise.
19307 (CFLAGS-ldconfig.c): Likewise.
19308 (CFLAGS-dl-cache.c): Likewise.
19309 (CFLAGS-cache.c): Likewise.
19310 (CFLAGS-rtld.c): Likewise.
19311 (CFLAGS-multiload.c): Likewise.
19312 (CFLAGS-filtmod1.c): Likewise.
19313 (CFLAGS-tst-align.c): Likewise.
19314 (CFLAGS-tst-align2.c): Likewise.
19315 (CFLAGS-tst-alignmod.c): Likewise.
19316 (CFLAGS-tst-alignmod2.c): Likewise.
19317 (CPPFLAGS-tst-execstack.c): Likewise.
19318 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19319 (CFLAGS-tst-latepthreadmod.c): Likewise.
19320 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19321 (CFLAGS-getgrnam_r.c): Likewise.
19322 (CFLAGS-getgrent_r.c): Likewise.
19323 (CFLAGS-getgrent.c): Likewise.
19324 (CFLAGS-fgetgrent.c): Likewise.
19325 (CFLAGS-fgetgrent_r.c): Likewise.
19326 (CFLAGS-putgrent.c): Likewise.
19327 (CFLAGS-initgroups.c): Likewise.
19328 (CFLAGS-getgrgid.c): Likewise.
19329 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19330 (CFLAGS-getsgent.c): Likewise.
19331 (CFLAGS-fgetsgent.c): Likewise.
19332 (CFLAGS-fgetsgent_r.c): Likewise.
19333 (CFLAGS-putsgent.c): Likewise.
19334 (CFLAGS-getsgnam.c): Likewise.
19335 (CFLAGS-getsgnam_r.c): Likewise.
19336 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19337 (CFLAGS-iconv_charmap.c): Likewise.
19338 (CFLAGS-dummy-repertoire.c): Likewise.
19339 (CFLAGS-charmap.c): Likewise.
19340 (CFLAGS-linereader.c): Likewise.
19341 (CFLAGS-simple-hash.c): Likewise.
19342 (CFLAGS-gconv_conf.c): Likewise.
19343 (CFLAGS-iconvconfig.c): Likewise.
19344 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19345 (CFLAGS-gethstbyad.c): Likewise.
19346 (CFLAGS-gethstbynm_r.c): Likewise.
19347 (CFLAGS-gethstbynm.c): Likewise.
19348 (CFLAGS-gethstbynm2_r.c): Likewise.
19349 (CFLAGS-gethstbynm2.c): Likewise.
19350 (CFLAGS-gethstent_r.c): Likewise.
19351 (CFLAGS-gethstent.c): Likewise.
19352 (CFLAGS-rcmd.c): Likewise.
19353 (CFLAGS-getnetbynm_r.c): Likewise.
19354 (CFLAGS-getnetbynm.c): Likewise.
19355 (CFLAGS-getnetbyad_r.c): Likewise.
19356 (CFLAGS-getnetbyad.c): Likewise.
19357 (CFLAGS-getnetent_r.c): Likewise.
19358 (CFLAGS-getnetent.c): Likewise.
19359 (CFLAGS-getaliasent_r.c): Likewise.
19360 (CFLAGS-getaliasent.c): Likewise.
19361 (CFLAGS-getrpcent_r.c): Likewise.
19362 (CFLAGS-getrpcent.c): Likewise.
19363 (CFLAGS-getservent_r.c): Likewise.
19364 (CFLAGS-getservent.c): Likewise.
19365 (CFLAGS-getprtent_r.c): Likewise.
19366 (CFLAGS-getprtent.c): Likewise.
19367 (CFLAGS-either_ntoh.c): Likewise.
19368 (CFLAGS-either_hton.c): Likewise.
19369 (CFLAGS-getnetgrent.c): Likewise.
19370 (CFLAGS-getnetgrent_r.c): Likewise.
19371 (CFLAGS-tst-checks-posix.c): Likewise.
19372 (CFLAGS-tst-sockaddr.c): Likewise.
19373 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19374 (CFLAGS-tst-translit.c): Likewise.
19375 (CFLAGS-tst-gettext2.c): Likewise.
19376 (CFLAGS-tst-codeset.c): Likewise.
19377 (CFLAGS-tst-gettext3.c): Likewise.
19378 (CFLAGS-tst-gettext4.c): Likewise.
19379 (CFLAGS-tst-gettext5.c): Likewise.
19380 (CFLAGS-tst-gettext6.c): Likewise.
19381 * io/Makefile (CFLAGS-open.c): Likewise.
19382 (CFLAGS-open64.c): Likewise.
19383 (CFLAGS-creat.c): Likewise.
19384 (CFLAGS-creat64.c): Likewise.
19385 (CFLAGS-fcntl.c): Likewise.
19386 (CFLAGS-poll.c): Likewise.
19387 (CFLAGS-ppoll.c): Likewise.
19388 (CFLAGS-lockf.c): Likewise.
19389 (CFLAGS-statfs.c): Likewise.
19390 (CFLAGS-fstatfs.c): Likewise.
19391 (CFLAGS-statvfs.c): Likewise.
19392 (CFLAGS-fstatvfs.c): Likewise.
19393 (CFLAGS-fts.c): Likewise.
19394 (CFLAGS-fts64.c): Likewise.
19395 (CFLAGS-ftw.c): Likewise.
19396 (CFLAGS-ftw64.c): Likewise.
19397 (CFLAGS-lockf.c): Likewise.
19398 (CFLAGS-posix_fallocate.c): Likewise.
19399 (CFLAGS-posix_fallocate64.c): Likewise.
19400 (CFLAGS-fallocate.c): Likewise.
19401 (CFLAGS-fallocate64.c): Likewise.
19402 (CFLAGS-read.c): Likewise.
19403 (CFLAGS-write.c): Likewise.
19404 (CFLAGS-test-stat.c): Likewise.
19405 (CFLAGS-test-lfs.c): Likewise.
19406 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19407 (CFLAGS-fputc.c): Likewise.
19408 (CFLAGS-fputwc.c): Likewise.
19409 (CFLAGS-freopen64.c): Likewise.
19410 (CFLAGS-freopen.c): Likewise.
19411 (CFLAGS-fseek.c): Likewise.
19412 (CFLAGS-fseeko64.c): Likewise.
19413 (CFLAGS-fseeko.c): Likewise.
19414 (CFLAGS-ftello64.c): Likewise.
19415 (CFLAGS-ftello.c): Likewise.
19416 (CFLAGS-fwide.c): Likewise.
19417 (CFLAGS-genops.c): Likewise.
19418 (CFLAGS-getc.c): Likewise.
19419 (CFLAGS-getchar.c): Likewise.
19420 (CFLAGS-getwc.c): Likewise.
19421 (CFLAGS-getwchar.c): Likewise.
19422 (CFLAGS-iofclose.c): Likewise.
19423 (CFLAGS-iofflush.c): Likewise.
19424 (CFLAGS-iofgetpos64.c): Likewise.
19425 (CFLAGS-iofgetpos.c): Likewise.
19426 (CFLAGS-iofgets.c): Likewise.
19427 (CFLAGS-iofgetws.c): Likewise.
19428 (CFLAGS-iofputs.c): Likewise.
19429 (CFLAGS-iofputws.c): Likewise.
19430 (CFLAGS-iofread.c): Likewise.
19431 (CFLAGS-iofsetpos64.c): Likewise.
19432 (CFLAGS-iofsetpos.c): Likewise.
19433 (CFLAGS-ioftell.c): Likewise.
19434 (CFLAGS-iofwrite.c): Likewise.
19435 (CFLAGS-iogetdelim.c): Likewise.
19436 (CFLAGS-iogetline.c): Likewise.
19437 (CFLAGS-iogets.c): Likewise.
19438 (CFLAGS-iogetwline.c): Likewise.
19439 (CFLAGS-ioputs.c): Likewise.
19440 (CFLAGS-ioseekoff.c): Likewise.
19441 (CFLAGS-ioseekpos.c): Likewise.
19442 (CFLAGS-iosetbuffer.c): Likewise.
19443 (CFLAGS-iosetvbuf.c): Likewise.
19444 (CFLAGS-ioungetc.c): Likewise.
19445 (CFLAGS-ioungetwc.c): Likewise.
19446 (CFLAGS-oldfileops.c): Likewise.
19447 (CFLAGS-oldiofclose.c): Likewise.
19448 (CFLAGS-oldiofgetpos64.c): Likewise.
19449 (CFLAGS-oldiofgetpos.c): Likewise.
19450 (CFLAGS-oldiofsetpos64.c): Likewise.
19451 (CFLAGS-oldiofsetpos.c): Likewise.
19452 (CFLAGS-peekc.c): Likewise.
19453 (CFLAGS-putc.c): Likewise.
19454 (CFLAGS-putchar.c): Likewise.
19455 (CFLAGS-putwc.c): Likewise.
19456 (CFLAGS-putwchar.c): Likewise.
19457 (CFLAGS-rewind.c): Likewise.
19458 (CFLAGS-wfileops.c): Likewise.
19459 (CFLAGS-wgenops.c): Likewise.
19460 (CFLAGS-oldiofopen.c): Likewise.
19461 (CFLAGS-iofopen.c): Likewise.
19462 (CFLAGS-iofopen64.c): Likewise.
19463 (CFLAGS-oldtmpfile.c): Likewise.
19464 (CFLAGS-tst_putwc.c): Likewise.
19465 * locale/Makefile (CFLAGS-md5.c): Likewise.
19466 (CFLAGS-charmap.c): Likewise.
19467 (CFLAGS-locfile.c): Likewise.
19468 (CFLAGS-charmap-dir.c): Likewise.
19469 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19470 (CFLAGS-getpt.c): Likewise.
19471 (CFLAGS-pt_chown.c): Likewise.
19472 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19473 (CFLAGS-obstack.c): Likewise.
19474 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19475 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19476 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19477 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19478 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19479 (CFLAGS-test-tgmath.c): Likewise.
19480 (CFLAGS-test-tgmath2.c): Likewise.
19481 (CFLAGS-test-tgmath-ret.c): Likewise.
19482 (CFLAGS-test-powl.c): Likewise.
19483 (CFLAGS-test-snan.c): Likewise.
19484 (CFLAGS-test-signgam-finite.c): Likewise.
19485 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19486 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19487 (CFLAGS-test-signgam-uchar.c): Likewise.
19488 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19489 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19490 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19491 (CFLAGS-test-signgam-uint.c): Likewise.
19492 (CFLAGS-test-signgam-uint-init.c): Likewise.
19493 (CFLAGS-test-signgam-uint-static.c): Likewise.
19494 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19495 (CFLAGS-test-signgam-ullong.c): Likewise.
19496 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19497 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19498 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19499 (CFLAGS-test-math-cxx11.cc): Likewise.
19500 (CFLAGS-test-math-isinff.cc): Likewise.
19501 (CFLAGS-test-math-iszero.cc): Likewise.
19502 (CFLAGS-test-math-issignaling.cc): Likewise.
19503 (CFLAGS-test-math-iscanonical.cc): Likewise.
19504 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19505 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19506 (CFLAGS-test-flt-eval-method.c): Likewise.
19507 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19508 (CFLAGS-test-finite-macros.c): Likewise.
19509 * misc/Makefile (CFLAGS-select.c): Likewise.
19510 (CFLAGS-tsearch.c): Likewise.
19511 (CFLAGS-lsearch.c): Likewise.
19512 (CFLAGS-pselect.c): Likewise.
19513 (CFLAGS-readv.c): Likewise.
19514 (CFLAGS-writev.c): Likewise.
19515 (CFLAGS-preadv.c): Likewise.
19516 (CFLAGS-preadv64.c): Likewise.
19517 (CFLAGS-pwritev.c): Likewise.
19518 (CFLAGS-pwritev64.c): Likewise.
19519 (CFLAGS-preadv2.c): Likewise.
19520 (CFLAGS-preadv64v2.c): Likewise.
19521 (CFLAGS-pwritev2.c): Likewise.
19522 (CFLAGS-pwritev64v2.c): Likewise.
19523 (CFLAGS-usleep.c): Likewise.
19524 (CFLAGS-syslog.c): Likewise.
19525 (CFLAGS-error.c): Likewise.
19526 (CFLAGS-getpass.c): Likewise.
19527 (CFLAGS-mkstemp.c): Likewise.
19528 (CFLAGS-mkstemp64.c): Likewise.
19529 (CFLAGS-getsysstats.c): Likewise.
19530 (CFLAGS-getusershell.c): Likewise.
19531 (CFLAGS-err.c): Likewise.
19532 (CFLAGS-tst-tsearch.c): Likewise.
19533 (CFLAGS-msync.c): Likewise.
19534 (CFLAGS-fdatasync.c): Likewise.
19535 (CFLAGS-fsync.c): Likewise.
19536 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19537 (CFLAGS-unwind.c): Likewise.
19538 (CFLAGS-unwind-forcedunwind.c): Likewise.
19539 (CFLAGS-pthread_cancel.c): Likewise.
19540 (CFLAGS-pthread_setcancelstate.c): Likewise.
19541 (CFLAGS-pthread_setcanceltype.c): Likewise.
19542 (CFLAGS-cancellation.c): Likewise.
19543 (CFLAGS-libc-cancellation.c): Likewise.
19544 (CFLAGS-pthread_exit.c): Likewise.
19545 (CFLAGS-forward.c): Likewise.
19546 (CFLAGS-pthread_testcancel.c): Likewise.
19547 (CFLAGS-pthread_join.c): Likewise.
19548 (CFLAGS-pthread_timedjoin.c): Likewise.
19549 (CFLAGS-pthread_once.c): Likewise.
19550 (CFLAGS-pthread_cond_wait.c): Likewise.
19551 (CFLAGS-sem_wait.c): Likewise.
19552 (CFLAGS-sem_timedwait.c): Likewise.
19553 (CFLAGS-fcntl.c): Likewise.
19554 (CFLAGS-lockf.c): Likewise.
19555 (CFLAGS-pread.c): Likewise.
19556 (CFLAGS-pread64.c): Likewise.
19557 (CFLAGS-pwrite.c): Likewise.
19558 (CFLAGS-pwrite64.c): Likewise.
19559 (CFLAGS-wait.c): Likewise.
19560 (CFLAGS-waitpid.c): Likewise.
19561 (CFLAGS-sigwait.c): Likewise.
19562 (CFLAGS-msgrcv.c): Likewise.
19563 (CFLAGS-msgsnd.c): Likewise.
19564 (CFLAGS-tcdrain.c): Likewise.
19565 (CFLAGS-open.c): Likewise.
19566 (CFLAGS-open64.c): Likewise.
19567 (CFLAGS-pause.c): Likewise.
19568 (CFLAGS-recv.c): Likewise.
19569 (CFLAGS-send.c): Likewise.
19570 (CFLAGS-accept.c): Likewise.
19571 (CFLAGS-sendto.c): Likewise.
19572 (CFLAGS-connect.c): Likewise.
19573 (CFLAGS-recvfrom.c): Likewise.
19574 (CFLAGS-recvmsg.c): Likewise.
19575 (CFLAGS-sendmsg.c): Likewise.
19576 (CFLAGS-close.c): Likewise.
19577 (CFLAGS-read.c): Likewise.
19578 (CFLAGS-write.c): Likewise.
19579 (CFLAGS-nanosleep.c): Likewise.
19580 (CFLAGS-sigsuspend.c): Likewise.
19581 (CFLAGS-msync.c): Likewise.
19582 (CFLAGS-fdatasync.c): Likewise.
19583 (CFLAGS-fsync.c): Likewise.
19584 (CFLAGS-pt-system.c): Likewise.
19585 (CFLAGS-tst-cleanup2.c): Likewise.
19586 (CFLAGS-tst-cleanupx2.c): Likewise.
19587 (CFLAGS-flockfile.c): Likewise.
19588 (CFLAGS-ftrylockfile.c): Likewise.
19589 (CFLAGS-funlockfile.c): Likewise.
19590 (CFLAGS-tst-initializers1.c): Likewise.
19591 (CFLAGS-tst-initializers1-c89.c): Likewise.
19592 (CFLAGS-tst-initializers1-c99.c): Likewise.
19593 (CFLAGS-tst-initializers1-c11.c): Likewise.
19594 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19595 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19596 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19597 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19598 (CFLAGS-nscd_getgr_r.c): Likewise.
19599 (CFLAGS-nscd_gethst_r.c): Likewise.
19600 (CFLAGS-nscd_getai.c): Likewise.
19601 (CFLAGS-nscd_initgroups.c): Likewise.
19602 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19603 (CFLAGS-pause.c): Likewise.
19604 (CFLAGS-pread.c): Likewise.
19605 (CFLAGS-pread64.c): Likewise.
19606 (CFLAGS-pwrite.c): Likewise.
19607 (CFLAGS-pwrite64.c): Likewise.
19608 (CFLAGS-sleep.c): Likewise.
19609 (CFLAGS-wait.c): Likewise.
19610 (CFLAGS-waitid.c): Likewise.
19611 (CFLAGS-waitpid.c): Likewise.
19612 (CFLAGS-getopt.c): Likewise.
19613 (CFLAGS-wordexp.c): Likewise.
19614 (CFLAGS-sysconf.c): Likewise.
19615 (CFLAGS-pathconf.c): Likewise.
19616 (CFLAGS-fpathconf.c): Likewise.
19617 (CFLAGS-spawn.c): Likewise.
19618 (CFLAGS-spawnp.c): Likewise.
19619 (CFLAGS-spawni.c): Likewise.
19620 (CFLAGS-glob.c): Likewise.
19621 (CFLAGS-glob64.c): Likewise.
19622 (CFLAGS-getconf.c): Likewise.
19623 (CFLAGS-nanosleep.c): Likewise.
19624 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19625 (CFLAGS-getpwent.c): Likewise.
19626 (CFLAGS-getpw.c): Likewise.
19627 (CFLAGS-fgetpwent_r.c): Likewise.
19628 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19629 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19630 (CFLAGS-mq_timedreceive.c): Likewise.
19631 (CFLAGS-mq_timedsend.c): Likewise.
19632 (CFLAGS-clock_nanosleep.c): Likewise.
19633 (CFLAGS-librt-cancellation.c): Likewise.
19634 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19635 (CFLAGS-getspent.c): Likewise.
19636 (CFLAGS-fgetspent.c): Likewise.
19637 (CFLAGS-fgetspent_r.c): Likewise.
19638 (CFLAGS-putspent.c): Likewise.
19639 (CFLAGS-getspnam.c): Likewise.
19640 (CFLAGS-getspnam_r.c): Likewise.
19641 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19642 (CFLAGS-sigsuspend.c): Likewise.
19643 (CFLAGS-sigtimedwait.c): Likewise.
19644 (CFLAGS-sigwait.c): Likewise.
19645 (CFLAGS-sigwaitinfo.c): Likewise.
19646 (CFLAGS-sigreturn.c): Likewise.
19647 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19648 (CFLAGS-vfwprintf.c): Likewise.
19649 (CFLAGS-tmpfile.c): Likewise.
19650 (CFLAGS-tmpfile64.c): Likewise.
19651 (CFLAGS-tempname.c): Likewise.
19652 (CFLAGS-psignal.c): Likewise.
19653 (CFLAGS-vprintf.c): Likewise.
19654 (CFLAGS-cuserid.c): Likewise.
19655 (CFLAGS-errlist.c): Likewise.
19656 (CFLAGS-siglist.c): Likewise.
19657 (CFLAGS-scanf15.c): Likewise.
19658 (CFLAGS-scanf17.c): Likewise.
19659 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19660 (CFLAGS-msort.c): Likewise.
19661 (CFLAGS-qsort.c): Likewise.
19662 (CFLAGS-system.c): Likewise.
19663 (CFLAGS-fmtmsg.c): Likewise.
19664 (CFLAGS-strfmon.c): Likewise.
19665 (CFLAGS-strfmon_l.c): Likewise.
19666 (CFLAGS-strfromd.c): Likewise.
19667 (CFLAGS-strfromf.c): Likewise.
19668 (CFLAGS-strfroml.c): Likewise.
19669 (CFLAGS-tst-bsearch.c): Likewise.
19670 (CFLAGS-tst-qsort.c): Likewise.
19671 (CFLAGS-tst-makecontext2.c): Likewise.
19672 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19673 (CFLAGS-xnlm_prot.c): Likewise.
19674 (CFLAGS-xrstat.c): Likewise.
19675 (CFLAGS-xyppasswd.c): Likewise.
19676 (CFLAGS-xklm_prot.c): Likewise.
19677 (CFLAGS-xrex.c): Likewise.
19678 (CFLAGS-xsm_inter.c): Likewise.
19679 (CFLAGS-xmount.c): Likewise.
19680 (CFLAGS-xrusers.c): Likewise.
19681 (CFLAGS-xspray.c): Likewise.
19682 (CFLAGS-xnfs_prot.c): Likewise.
19683 (CFLAGS-xrquota.c): Likewise.
19684 (CFLAGS-xkey_prot.c): Likewise.
19685 (CFLAGS-auth_unix.c): Likewise.
19686 (CFLAGS-key_call.c): Likewise.
19687 (CFLAGS-pmap_rmt.c): Likewise.
19688 (CFLAGS-clnt_perr.c): Likewise.
19689 (CFLAGS-openchild.c): Likewise.
19690 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19691 (CFLAGS-msgsnd.c): Likewise.
19692 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19693 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19694 (CFLAGS-tzset.c): Likewise.
19695 (CFLAGS-getdate.c): Likewise.
19696 (CFLAGS-test_time.c): Likewise.
19697 (CPPFLAGS-tst-tzname.c): Likewise.
19698 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19699 (CFLAGS-zic.c): Likewise.
19700 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19701 (CFLAGS-wcswidth.c): Likewise.
19702 (CFLAGS-wcstol.c): Likewise.
19703 (CFLAGS-wcstoul.c): Likewise.
19704 (CFLAGS-wcstoll.c): Likewise.
19705 (CFLAGS-wcstoull.c): Likewise.
19706 (CFLAGS-wcstod.c): Likewise.
19707 (CFLAGS-wcstold.c): Likewise.
19708 (CFLAGS-wcstof128.c): Likewise.
19709 (CFLAGS-wcstof.c): Likewise.
19710 (CFLAGS-wcstol_l.c): Likewise.
19711 (CFLAGS-wcstoul_l.c): Likewise.
19712 (CFLAGS-wcstoll_l.c): Likewise.
19713 (CFLAGS-wcstoull_l.c): Likewise.
19714 (CFLAGS-wcstod_l.c): Likewise.
19715 (CFLAGS-wcstold_l.c): Likewise.
19716 (CFLAGS-wcstof128_l.c): Likewise.
19717 (CFLAGS-wcstof_l.c): Likewise.
19718 (CPPFLAGS-tst-wchar-h.c): Likewise.
19719 (CPPFLAGS-wcstold_l.c): Likewise.
19720
19721 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19722
19723 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19724
19725 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19726 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19727
19728 * manual/tunables.texi (Hardware Capability Tunables): Document
19729 glibc.tune.cached_memopt.
19730 * sysdeps/powerpc/cpu-features.c: New file.
19731 * sysdeps/powerpc/cpu-features.h: New file.
19732 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19733 _dl_powerpc_cpu_features.
19734 * sysdeps/powerpc/dl-tunables.list: New file.
19735 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19736 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19737 (INIT_ARCH): Initialize use_aligned_memopt.
19738 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19739 IS_IN(rtld))]: Restrict dl_platform_init availability and
19740 initialize CPU features used by tunables.
19741 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19742 Add memcpy-power8-cached.
19743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19744 __memcpy_power8_cached.
19745 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19747 New file.
19748
19749 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19750
19751 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19752 (CFLAGS-noinl-tester.c): Likewise.
19753 (CFLAGS-tst-strlen.c): Likewise.
19754 (CFLAGS-stratcliff.c): Likewise.
19755 (CFLAGS-test-ffs.c): Likewise.
19756 (CFLAGS-tst-inlcall.c): Likewise.
19757 (CFLAGS-tst-xbzero-opt.c): Likewise.
19758 (CFLAGS-memcpy.c): Likewise.
19759 (CFLAGS-wordcopy.c): Likewise.
19760
19761 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19762
19763 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19764 Store r15 on stack and add cfi rule.
19765 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19766 Likewise.
19767
19768 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19769
19770 [BZ #22577]
19771 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19772 call.
19773
19774 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19775
19776 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19777 Add s_sinf-sse2 and s_sinf-fma.
19778 (CFLAGS-s_sinf-fma.c): New.
19779 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19780 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19781 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19782
19783 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19784
19785 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19786
19787 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19788
19789 [BZ #22568]
19790 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19791 part of result to imaginary part of argument if it is zero and the
19792 real part of the argument is not finite.
19793 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19794 of result to real part of argument if it is zero and the imaginary
19795 part of the argument is not finite.
19796
19797 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19798
19799 [BZ #22524]
19800 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19801 and to the list of locales to be built for testing.
19802 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19803 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19804 and build the collation rules upon that.
19805
19806 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19807
19808 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19809 * manual/math.texi (Mathematics): Document support for _Float32.
19810 * math/Makefile (test-types): Add float32.
19811 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19812 * stdlib/Versions (GLIBC_2.27): Likewise.
19813 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19814 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19815 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19816 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19817 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19818 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19819 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19820 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19821 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19822 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19823 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19824 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19835 Likewise.
19836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19837 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19842 Likewise.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19844 Likewise.
19845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19846 Likewise.
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19848 Likewise.
19849
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19851 Likewise.
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19853 Likewise.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19855 Likewise.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19857 Likewise.
19858 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19859 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19860 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19861 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19862 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19863 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19864 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19865 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19866 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19867 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19869 Likewise.
19870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19871 Likewise.
19872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19873 Likewise.
19874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19875 Likewise.
19876 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19878 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19879 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19880 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19882 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19883 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19884
19885 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19886
19887 * stdlib/strtof.c: Include <bits/floatn.h>
19888 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19889 and later undefine as macro. Define as weak alias if
19890 [!USE_WIDE_CHAR].
19891 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19892 and later undefine as macro. Define as weak alias if
19893 [USE_WIDE_CHAR].
19894 * stdlib/strtof_l.c: Include <bits/floatn.h>
19895 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19896 and later undefine as macro. Define as weak alias if
19897 [!USE_WIDE_CHAR].
19898 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19899 and later undefine as macro. Define as weak alias if
19900 [USE_WIDE_CHAR].
19901
19902 * stdlib/strfromf.c: Include <bits/floatn.h>.
19903 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19904 and later undefine as macro and define as weak alias.
19905
19906 * math/test-float32.h: New file.
19907
19908 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19909 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19910 (libm_alias_float_other_r): Create f32 alias.
19911 (libm_alias_float_r): Use semicolon before call to
19912 libm_alias_float_other_r.
19913
19914 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19915 second argument to libm_alias_float_other.
19916 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19917 second argument to libm_alias_float_other.
19918 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19919 argument to libm_alias_float_other.
19920
19921 [BZ #22561]
19922 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19923 real part of result for argument 0 + i * NaN.
19924 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19925 results for tests of 0 + i * NaN.
19926
19927 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19928
19929 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19930
19931 2017-12-06 David S. Miller <davem@davemloft.net>
19932
19933 * sysdeps/sparc/fpu/libm-test-ulps: Update
19934 exp_{downward,towardzero,upward} ulps.
19935
19936 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19937
19938 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19939 variables static.
19940
19941 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19942 (Y0_2D): Likewise.
19943 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19944 (Y0_2D): Likewise.
19945 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19946 (Y0_2D): Likewise.
19947 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19948 (Y0_2D): Likewise.
19949
19950 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19951
19952 [BZ #22515]
19953 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19954 and to the list of locales to be built for testing.
19955 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19956 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19957 and build the collation rules upon that.
19958
19959 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19960
19961 * NEWS: Add sinf to list of optimized functions.
19962
19963 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19964
19965 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19966 (__HAVE_FLOAT32X): Likewise.
19967 * manual/math.texi (Mathematics): Document support for _Float64
19968 and _Float32x.
19969 * math/Makefile (test-types): Add float64 and float32x.
19970 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19971 functions.
19972 * stdlib/Versions (GLIBC_2.27): Likewise.
19973 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19974 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19975 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19976 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19977 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19978 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19979 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19980 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19981 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19982 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19983 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19984 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19985 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19986 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19987 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19988 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19989 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19990 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19991 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19992 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19993 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19994 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19995 Likewise.
19996 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19997 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19998 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19999 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20000 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20002 Likewise.
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20004 Likewise.
20005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20006 Likewise.
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20008 Likewise.
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20010 Likewise.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20012 Likewise.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20014 Likewise.
20015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20016 Likewise.
20017 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20018 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20019 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20020 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20021 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20022 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20024 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20025 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20026 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20028 Likewise.
20029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20030 Likewise.
20031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20032 Likewise.
20033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20034 Likewise.
20035 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20037 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20038 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20039 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20040 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20041 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20042 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20043
20044 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20045
20046 * bits/floatn-common.h: Include <bits/long-double.h>.
20047 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20048 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20049 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20050 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20051 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20052 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20053 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20054 (__builtin_huge_valf64): Use __builtin_huge_vall.
20055 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20056 (__builtin_inff64): Use __builtin_infl.
20057 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20058 (__builtin_nanf64): Use __builtin_nanl.
20059 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20060 (__builtin_nansf64): Use __builtin_nansl.
20061
20062 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20063 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20064 Carlos O'Donnell <carlos@redhat.com>
20065
20066 * elf/dl-tunables.list: Add elision parameters.
20067 * manual/tunables.texi: Add entries about elision tunable.
20068 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20069 Add callback functions to dynamically enable/disable elision.
20070 Add multiple callbacks functions to set elision parameters.
20071 Deleted __libc_enable_secure check.
20072 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20073 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20074 * configure: Regenerated.
20075 * configure.ac: Option enable_lock_elision was deleted.
20076 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20077 * config.make.in: Remove references to enable_lock_elision.
20078 * manual/install.texi: Elision configure option was removed.
20079 * INSTALL: Regenerated to remove enable_lock_elision.
20080 * nptl/Makefile:
20081 Disable elision so it can verify error case for destroying a mutex.
20082 * sysdeps/powerpc/nptl/elide.h:
20083 Cleanup ENABLE_LOCK_ELISION check.
20084 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20085 * sysdeps/s390/configure: Regenerated.
20086 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20087 * nptl/tst-mutex8.c:
20088 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20089 * sysdeps/powerpc/powerpc32/sysdep.h:
20090 Deleted all ENABLE_LOCK_ELISION checks.
20091 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20092 * sysdeps/powerpc/sysdep.h: Likewise.
20093 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20094 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20095 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20096 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20097 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20098 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20099 enable-lock-elision.
20100
20101 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20102
20103 * stdlib/strtod.c: Include <bits/floatn.h>.
20104 (BUILD_DOUBLE): New macro.
20105 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20106 (strtof64): Define and later undefine as macro. Define as weak
20107 alias if [!USE_WIDE_CHAR].
20108 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20109 (wcstof64): Define and later undefine as macro. Define as weak
20110 alias if [USE_WIDE_CHAR].
20111 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20112 (strtof32x): Define and later undefine as macro. Define as weak
20113 alias if [!USE_WIDE_CHAR].
20114 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20115 (wcstof32x): Define and later undefine as macro. Define as weak
20116 alias if [USE_WIDE_CHAR].
20117 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20118 (BUILD_DOUBLE): New macro.
20119 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20120 (strtof64_l): Define and later undefine as macro. Define as weak
20121 alias if [!USE_WIDE_CHAR].
20122 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20123 (wcstof64_l): Define and later undefine as macro. Define as weak
20124 alias if [USE_WIDE_CHAR].
20125 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20126 (strtof32x_l): Define and later undefine as macro. Define as weak
20127 alias if [!USE_WIDE_CHAR].
20128 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20129 (wcstof32x_l): Define and later undefine as macro. Define as weak
20130 alias if [USE_WIDE_CHAR].
20131
20132 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20133
20134 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20135 (reduced): Use ones as double instead of integer.
20136
20137 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20138
20139 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20140
20141 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20142
20143 * stdlib/strfromd.c: Include <bits/floatn.h>.
20144 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20145 and later undefine as macro and define as weak alias.
20146 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20147 Likewise.
20148
20149 * math/test-float32x.h: New file.
20150 * math/test-float64.h: Likewise.
20151
20152 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20153 (libm_alias_double_other_r_f64): New macro.
20154 (libm_alias_double_other_r_f32x): Likewise.
20155 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20156 libm_alias_double_other_r_f32x.
20157 (libm_alias_double_r): Use semicolon before call to
20158 libm_alias_double_other_r.
20159 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20160 <bits/floatn.h>.
20161 (libm_alias_double_other_r_f64): New macro.
20162 (libm_alias_double_other_r_f32x): Likewise.
20163 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20164 libm_alias_double_other_r_f32x.
20165
20166 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20167
20168 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20169 int.
20170 (SINF_FUNC): Likewise. Replace floor with simple casts.
20171
20172 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20173
20174 [BZ #22517]
20175 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20176 and to the list of locales to be built for testing.
20177 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20178 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20179 and build the collation rules upon that.
20180
20181 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20182
20183 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20184 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20185 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20186 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20187 instead of __insn__xxx.
20188 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20189 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20190 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20191 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20192 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20193 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20194
20195 2017-12-05 Florian Weimer <fweimer@redhat.com>
20196
20197 Linux: Implement interfaces for memory protection keys
20198 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20199 xsignal, xsysconf.
20200 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20201 * support/xunistd.h (xsysconf): Declare.
20202 * support/xraise.c: New file.
20203 * support/xsigaction.c: Likewise.
20204 * support/xsignal.c: Likewise.
20205 * support/xsysconf.c: Likewise.
20206 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20207 pkey_set, pkey_get, pkey_mprotect.
20208 [misc] (tests): Add tst-pkey.
20209 (tst-pkey): Link with -lpthread.
20210 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20211 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20212 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20213 (PKEY_DISABLE_WRITE): Define.
20214 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20215 Declare.
20216 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20217 (SEGV_PKUERR): Add.
20218 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20219 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20220 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20221 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20222 Add.
20223 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20224 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20225 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20226 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20227 * sysdeps/unix/sysv/linux/**.abilist: Update.
20228
20229 2017-12-05 Florian Weimer <fweimer@redhat.com>
20230
20231 * support/tst-test_compare.c (subprocess): Use long long instead
20232 of long argument for consistent type width across 32-bit and
20233 64-bit architectures.
20234 (do_test): Adjust expected output.
20235
20236 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20237
20238 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20239 (cosf): Define using libm_alias_float.
20240 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20241 (fabsf): Define using libm_alias_float.
20242 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20243 (fmaf): Define using libm_alias_float.
20244 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20245 (rintf): Define using libm_alias_float.
20246 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20247 (sinf): Define using libm_alias_float.
20248 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20249 <libm-alias-float.h>.
20250 (modff): Define using libm_alias_float.
20251 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20252 <libm-alias-float.h>.
20253 (logbf): Define using libm_alias_float.
20254 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20255 <libm-alias-float.h>.
20256 (ceilf): Define using libm_alias_float.
20257 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20258 <libm-alias-float.h>.
20259 (copysignf): Define using libm_alias_float.
20260 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20261 <libm-alias-float.h>.
20262 (floorf): Define using libm_alias_float.
20263 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20264 <libm-alias-float.h>.
20265 (llrintf): Define using libm_alias_float.
20266 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20267 <libm-alias-float.h>.
20268 (llroundf): Define using libm_alias_float.
20269 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20270 <libm-alias-float.h>.
20271 (lrintf): Define using libm_alias_float.
20272 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20273 <libm-alias-float.h>.
20274 (lroundf): Define using libm_alias_float.
20275 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20276 <libm-alias-float.h>.
20277 (nearbyintf): Define using libm_alias_float.
20278 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20279 <libm-alias-float.h>.
20280 (rintf): Define using libm_alias_float.
20281 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20282 <libm-alias-float.h>.
20283 (roundf): Define using libm_alias_float.
20284 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20285 <libm-alias-float.h>.
20286 (truncf): Define using libm_alias_float.
20287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20288 Include <libm-alias-float.h>.
20289 (ceilf): Define using libm_alias_float.
20290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20291 Include <libm-alias-float.h>.
20292 (copysignf): Define using libm_alias_float.
20293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20294 Include <libm-alias-float.h>.
20295 (floorf): Define using libm_alias_float.
20296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20297 Include <libm-alias-float.h>.
20298 (llrintf): Define using libm_alias_float.
20299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20300 Include <libm-alias-float.h>.
20301 (llroundf): Define using libm_alias_float.
20302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20303 Include <libm-alias-float.h>.
20304 (logbf): Define using libm_alias_float.
20305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20306 Include <libm-alias-float.h>.
20307 (lrintf): Define using libm_alias_float.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20309 Include <libm-alias-float.h>.
20310 (lroundf): Define using libm_alias_float.
20311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20312 Include <libm-alias-float.h>.
20313 (modff): Define using libm_alias_float.
20314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20315 Include <libm-alias-float.h>.
20316 (roundf): Define using libm_alias_float.
20317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20318 Include <libm-alias-float.h>.
20319 (truncf): Define using libm_alias_float.
20320 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20321 <libm-alias-float.h>.
20322 (llrintf): Define using libm_alias_float.
20323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20324 <libm-alias-float.h>.
20325 (llroundf): Define using libm_alias_float.
20326 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20327 <libm-alias-float.h>.
20328 (ceilf): Define using libm_alias_float.
20329 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20330 <libm-alias-float.h>.
20331 (floorf): Define using libm_alias_float.
20332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20333 <libm-alias-float.h>.
20334 (llroundf): Define using libm_alias_float.
20335 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20336 <libm-alias-float.h>.
20337 (lroundf): Define using libm_alias_float.
20338 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20339 <libm-alias-float.h>.
20340 (roundf): Define using libm_alias_float.
20341 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20342 <libm-alias-float.h>.
20343 (truncf): Define using libm_alias_float.
20344 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20345 <libm-alias-float.h>.
20346 (copysignf): Define using libm_alias_float.
20347 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20348 <libm-alias-float.h>.
20349 (llrintf): Define using libm_alias_float.
20350 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20351 <libm-alias-float.h>.
20352 (llroundf): Define using libm_alias_float.
20353 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20354 <libm-alias-float.h>.
20355 (lrintf): Define using libm_alias_float.
20356 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20357 <libm-alias-float.h>.
20358 (lroundf): Define using libm_alias_float.
20359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20360 <libm-alias-float.h>.
20361 (ceilf): Define using libm_alias_float.
20362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20363 <libm-alias-float.h>.
20364 (copysignf): Define using libm_alias_float.
20365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20366 <libm-alias-float.h>.
20367 (cosf): Define using libm_alias_float.
20368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20369 <libm-alias-float.h>.
20370 (floorf): Define using libm_alias_float.
20371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20372 <libm-alias-float.h>.
20373 (llrintf): Define using libm_alias_float.
20374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20375 <libm-alias-float.h>.
20376 (llroundf): Define using libm_alias_float.
20377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20378 <libm-alias-float.h>.
20379 (logbf): Define using libm_alias_float.
20380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20381 <libm-alias-float.h>.
20382 (modff): Define using libm_alias_float.
20383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20384 <libm-alias-float.h>.
20385 (roundf): Define using libm_alias_float.
20386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20387 <libm-alias-float.h>.
20388 (sinf): Define using libm_alias_float.
20389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20390 <libm-alias-float.h>.
20391 (truncf): Define using libm_alias_float.
20392 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20393 <libm-alias-float.h>.
20394 (ceilf): Define using libm_alias_float.
20395 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20396 <libm-alias-float.h>.
20397 (copysignf): Define using libm_alias_float.
20398 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20399 <libm-alias-float.h>.
20400 (floorf): Define using libm_alias_float.
20401 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20402 <libm-alias-float.h>.
20403 (llrintf): Define using libm_alias_float.
20404 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20405 <libm-alias-float.h>.
20406 (llroundf): Define using libm_alias_float.
20407 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20408 <libm-alias-float.h>.
20409 (nearbyintf): Define using libm_alias_float.
20410 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20411 <libm-alias-float.h>.
20412 (rintf): Define using libm_alias_float.
20413 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20414 <libm-alias-float.h>.
20415 (roundf): Define using libm_alias_float.
20416 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20417 <libm-alias-float.h>.
20418 (truncf): Define using libm_alias_float.
20419 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20420 <libm-alias-float.h>.
20421 (ceilf): Define using libm_alias_float.
20422 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20423 <libm-alias-float.h>.
20424 (floorf): Define using libm_alias_float.
20425 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20426 <libm-alias-float.h>.
20427 (llroundf): Define using libm_alias_float.
20428 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20429 <libm-alias-float.h>.
20430 (roundf): Define using libm_alias_float.
20431 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20432 <libm-alias-float.h>.
20433 (truncf): Define using libm_alias_float.
20434 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20435 <libm-alias-float.h>.
20436 (copysignf): Define using libm_alias_float.
20437 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20438 <libm-alias-float.h>.
20439 (llrintf): Define using libm_alias_float.
20440 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20441 <libm-alias-float.h>.
20442 (llroundf): Define using libm_alias_float.
20443 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20444 <libm-alias-float.h>.
20445 (cosf): Define using libm_alias_float.
20446 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20447 <libm-alias-float.h>.
20448 (llrintf): Define using libm_alias_float.
20449 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20450 <libm-alias-float.h>.
20451 (llroundf): Define using libm_alias_float.
20452 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20453 <libm-alias-float.h>.
20454 (sinf): Define using libm_alias_float.
20455
20456 2017-12-04 Florian Weimer <fweimer@redhat.com>
20457
20458 * support/check.h (TEST_COMPARE): Define.
20459 (support_test_compare_failure): Declare.
20460 * support/Makefile (libsupport-routines): Add
20461 support_test_compare_failure.
20462 (tests): Add tst-test_compare.
20463 * support /support_test_compare_failure.c: New file.
20464 * support/tst-test_compare.c: Likewise.
20465
20466 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20467
20468 [BZ #22527]
20469 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20470 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20471 available, this rewrite of the collation rules does reproduce
20472 the test file in the same order.
20473
20474 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20475
20476 [BZ #10580]
20477 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20478 digraphs in the month and day names. Using single code points for
20479 digraphs is deprecated. While there are dedicated Unicode
20480 codepoints, for the digraphs, these are included for backwards
20481 compatibility and modern texts use a sequence of Basic Latin
20482 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20483 This makes the month and day names agree exactly with CLDR now,
20484 CLDR does not use the single code points for the digraphs either.
20485
20486 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20487
20488 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20489
20490 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20491
20492 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20493 of floor.
20494
20495 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20496
20497 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20498 Define only for libc.so.
20499
20500 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20501
20502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20503 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20504 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20505 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20507
20508 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20509
20510 [BZ #5997]
20511 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20512
20513 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20514
20515 [BZ libc/19170]
20516 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20517 PREINIT_FUNCTION_WEAK is nonzero.
20518 (gmon_initializer): New function. Put procedure label for it in
20519 .init_array section.
20520 (_init): Don't call PREINIT_FUNCTION.
20521 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20522 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20523 value when map argument is null.
20524
20525 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20526 depi instruction from PIC pc-relative sequence.
20527 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20528 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20529 (elf_machine_load_address): Likewise.
20530 (elf_machine_runtime_setup): Likewise.
20531
20532 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20533
20534 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20535 <libm-alias-double.h>.
20536 (logb): Define using libm_alias_double.
20537 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20538 <libm-alias-double.h>.
20539 (copysign): Define using libm_alias_double.
20540 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20541 <libm-alias-double.h>.
20542 (llrint): Define using libm_alias_double.
20543 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20544 <libm-alias-double.h>.
20545 (llround): Define using libm_alias_double.
20546 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20547 <libm-alias-double.h>.
20548 (lrint): Define using libm_alias_double.
20549 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20550 <libm-alias-double.h>.
20551 (lround): Define using libm_alias_double.
20552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20553 Include <libm-alias-double.h>.
20554 (copysign): Define using libm_alias_double.
20555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20556 Include <libm-alias-double.h>.
20557 (llrint): Define using libm_alias_double.
20558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20559 Include <libm-alias-double.h>.
20560 (llround): Define using libm_alias_double.
20561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20562 <libm-alias-double.h>.
20563 (logb): Define using libm_alias_double.
20564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20565 Include <libm-alias-double.h>.
20566 (lrint): Define using libm_alias_double.
20567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20568 Include <libm-alias-double.h>.
20569 (lround): Define using libm_alias_double.
20570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20571 <libm-alias-double.h>.
20572 (llrint): Define using libm_alias_double.
20573 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20574 <libm-alias-double.h>.
20575 (llround): Define using libm_alias_double.
20576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20577 <libm-alias-double.h>.
20578 (llround): Define using libm_alias_double.
20579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20580 <libm-alias-double.h>.
20581 (lround): Define using libm_alias_double.
20582 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20583 <libm-alias-double.h>.
20584 (copysign): Define using libm_alias_double.
20585 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20586 <libm-alias-double.h>.
20587 (llrint): Define using libm_alias_double.
20588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20589 <libm-alias-double.h>.
20590 (llround): Define using libm_alias_double.
20591 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20592 <libm-alias-double.h>.
20593 (lrint): Define using libm_alias_double.
20594 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20595 <libm-alias-double.h>.
20596 (lround): Define using libm_alias_double.
20597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20598 <libm-alias-double.h>.
20599 (copysign): Define using libm_alias_double.
20600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20601 <libm-alias-double.h>.
20602 (llrint): Define using libm_alias_double.
20603 (lrint): Likewise.
20604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20605 <libm-alias-double.h>.
20606 (llround): Define using libm_alias_double.
20607 (lround): Likewise.
20608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20609 <libm-alias-double.h>.
20610 (logb): Define using libm_alias_double.
20611 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20612 <libm-alias-double.h>.
20613 (copysign): Define using libm_alias_double.
20614 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20615 <libm-alias-double.h>.
20616 (llrint): Define using libm_alias_double.
20617 (lrint): Likewise.
20618 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20619 <libm-alias-double.h>.
20620 (llround): Define using libm_alias_double.
20621 (lround): Likewise.
20622 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20623 <libm-alias-double.h>.
20624 (llround): Define using libm_alias_double.
20625 (lround): Likewise.
20626 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20627 <libm-alias-double.h>.
20628 (copysign): Define using libm_alias_double.
20629 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20630 <libm-alias-double.h>.
20631 (llrint): Define using libm_alias_double.
20632 (lrint): Likewise.
20633 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20634 <libm-alias-double.h>.
20635 (llround): Define using libm_alias_double.
20636 (lround): Likewise.
20637 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20638 <libm-alias-double.h>.
20639 (llrint): Define using libm_alias_double.
20640 (lrint): Likewise.
20641 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20642 <libm-alias-double.h>.
20643 (llround): Define using libm_alias_double.
20644 (lround): Likewise.
20645
20646 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20647
20648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20649 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20650 compat symbol based on llround.
20651
20652 * sysdeps/powerpc/power7/fpu/s_logb.c
20653 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20654 symbol based on __logb, not on logb.
20655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20656 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20658 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20659
20660 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20661 (rint): Define using libm_alias_double.
20662 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20663 <libm-alias-double.h>.
20664 (modf): Define using libm_alias_double.
20665 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20666 <libm-alias-double.h>.
20667 (ceil): Define using libm_alias_double.
20668 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20669 <libm-alias-double.h>.
20670 (floor): Define using libm_alias_double.
20671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20672 <libm-alias-double.h>.
20673 (nearbyint): Define using libm_alias_double.
20674 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20675 <libm-alias-double.h>.
20676 (rint): Define using libm_alias_double.
20677 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20678 <libm-alias-double.h>.
20679 (round): Define using libm_alias_double.
20680 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20681 <libm-alias-double.h>.
20682 (trunc): Define using libm_alias_double.
20683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20684 <libm-alias-double.h>.
20685 (ceil): Define using libm_alias_double.
20686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20687 Include <libm-alias-double.h>.
20688 (floor): Define using libm_alias_double.
20689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20690 <libm-alias-double.h>.
20691 (modf): Define using libm_alias_double.
20692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20693 Include <libm-alias-double.h>.
20694 (round): Define using libm_alias_double.
20695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20696 Include <libm-alias-double.h>.
20697 (trunc): Define using libm_alias_double.
20698 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20699 <libm-alias-double.h>.
20700 (ceil): Define using libm_alias_double.
20701 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20702 <libm-alias-double.h>.
20703 (floor): Define using libm_alias_double.
20704 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20705 <libm-alias-double.h>.
20706 (round): Define using libm_alias_double.
20707 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20708 <libm-alias-double.h>.
20709 (trunc): Define using libm_alias_double.
20710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20711 <libm-alias-double.h>.
20712 (ceil): Define using libm_alias_double.
20713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20714 <libm-alias-double.h>.
20715 (floor): Define using libm_alias_double.
20716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20717 <libm-alias-double.h>.
20718 (modf): Define using libm_alias_double.
20719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20720 <libm-alias-double.h>.
20721 (round): Define using libm_alias_double.
20722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20723 <libm-alias-double.h>.
20724 (trunc): Define using libm_alias_double.
20725 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20726 <libm-alias-double.h>.
20727 (ceil): Define using libm_alias_double.
20728 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20729 <libm-alias-double.h>.
20730 (floor): Define using libm_alias_double.
20731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20732 <libm-alias-double.h>.
20733 (nearbyint): Define using libm_alias_double.
20734 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20735 <libm-alias-double.h>.
20736 (rint): Define using libm_alias_double.
20737 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20738 <libm-alias-double.h>.
20739 (round): Define using libm_alias_double.
20740 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20741 <libm-alias-double.h>.
20742 (trunc): Define using libm_alias_double.
20743 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20744 <libm-alias-double.h>.
20745 (ceil): Define using libm_alias_double.
20746 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20747 <libm-alias-double.h>.
20748 (floor): Define using libm_alias_double.
20749 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20750 <libm-alias-double.h>.
20751 (round): Define using libm_alias_double.
20752 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20753 <libm-alias-double.h>.
20754 (trunc): Define using libm_alias_double.
20755
20756 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20757 (fabs): Define using libm_alias_double.
20758 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20759 (fma): Define using libm_alias_double.
20760 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20761 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20762 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20763 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20764
20765 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20766
20767 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20768
20769 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20770 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20771 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20772
20773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20774 due redirect macro.
20775
20776 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20777
20778 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20779
20780 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20781
20782 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20783 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20784 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20785 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20786
20787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20788 (libm-sysdep_routines): Add s_nearbyintf-generic and
20789 s_nearbyint-generic.
20790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20791 New file.
20792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20794 Likewise.
20795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20796 Likewise.
20797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20798 file.
20799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20800 Likewise.
20801
20802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20803 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20805 file.
20806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20808 Likewise.
20809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20812
20813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20814 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20816 file.
20817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20819 Likewise.
20820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20823
20824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20825 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20827 file.
20828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20830 Likewise.
20831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20834
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20836 (sysdep_calls): New rule.
20837 (sysdep_routines): Use sysdep_calls as base.
20838 (libm-sysdep_routines): Add generic rule for symbols shared with
20839 libc. Add s_copysign-generic and s_copysign-generic objects.
20840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20841 New file.
20842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20844 Likewise.
20845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20848
20849 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20850
20851 [BZ #22519]
20852 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20853 the list of locales to be built for testing.
20854 * localedata/is_IS.UTF-8.in: New file.
20855 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20856 on iso14651_t1.
20857
20858 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20859
20860 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20861 <libm-alias-float.h>.
20862 (fabsf): Define using libm_alias_float.
20863
20864 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20865
20866 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20867
20868 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20869
20870 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20871 <libm-alias-float.h>.
20872 (fabsf): Define using libm_alias_float.
20873 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20874 <libm-alias-float.h>.
20875 (lrintf): Define using libm_alias_float.
20876 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20877 <libm-alias-float.h>.
20878 (rintf): Define using libm_alias_float.
20879
20880 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20881 <libm-alias-double.h>.
20882 (fabs): Define using libm_alias_double.
20883 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20884 <libm-alias-double.h>.
20885 (lrint): Define using libm_alias_double.
20886 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20887 <libm-alias-double.h>.
20888 (rint): Define using libm_alias_double.
20889
20890 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20891 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20892 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20893 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20894 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20895 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20896 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20897 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20898 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20899 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20900 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20901 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20902 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20903 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20904 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20905 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20906 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20907 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20908 s_atan_template.c.
20909 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20910 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20911 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20912 s_ceil_template.c.
20913 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20914 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20915 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20916 s_cos_template.c.
20917 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20918 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20919 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20920 s_expm1_template.c.
20921 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20922 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20923 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20924 s_fabs_template.c.
20925 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20926 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20927 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20928 s_floor_template.c.
20929 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20930 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20931 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20932 s_frexp_template.c.
20933 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20934 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20935 s_lrint_template.c.
20936 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20937 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20938 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20939 s_modf_template.c.
20940 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20941 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20942 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20943 s_nearbyint_template.c.
20944 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20945 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20946 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20947 s_remquo_template.c.
20948 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20949 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20950 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20951 s_rint_template.c.
20952 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20953 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20954 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20955 s_sin_template.c.
20956 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20957 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20958 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20959 s_sincos_template.c.
20960 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20961 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20962 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20963 s_tan_template.c.
20964 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20965 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20966 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20967 s_tanh_template.c.
20968 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20969 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20970 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20971 s_trunc_template.c.
20972 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20973 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20974 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20975 s_atan.c instead of including s_atan.c.
20976 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20977 s_atanf.c instead of including s_atanf.c.
20978 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20979 s_atanl.c instead of including s_atanl.c.
20980 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20981 instead of s_atan.c.
20982 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20983 instead of s_atanf.c.
20984 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20985 instead of s_atanl.c.
20986
20987 * scripts/update-copyrights: Do not handle intl/plural.c
20988 specially.
20989
20990 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20991
20992 [BZ #22432]
20993 * configure.ac (BISON): Require to be present.
20994 * configure: Regenerated.
20995 * intl/Makefile (generated): Add plural.c.
20996 [$(BISON) != no]: Make code unconditional.
20997 (plural.c): Change rule to $(objpfx)plural.c.
20998 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20999 * intl/plural.c: Remove.
21000 * manual/install.texi (Tools for Compilation): Document bison as
21001 required.
21002 * INSTALL: Regenerated.
21003
21004 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21005
21006 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21007 <libm-alias-double.h>.
21008 (llrint): Define using libm_alias_double.
21009 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21010 <libm-alias-float.h>.
21011 (llrintf): Define using libm_alias_float.
21012 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21013 <libm-alias-ldouble.h>.
21014 (llrintl): Define using libm_alias_ldouble.
21015
21016 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21017 declare_mgen_alias instead of weak_alias.
21018 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21019 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21020 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21021
21022 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21023
21024 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21025 Add add_n-generic.
21026 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21027 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21028 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21029
21030 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21031 Add submul_1-generic.
21032 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21033 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21034 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21035
21036 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21037 Add addmul_1-generic.
21038 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21039 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21040 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21041
21042 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21043 Add sub_n-generic.
21044 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21045 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21046 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21047
21048 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21049 Add mul_1-generic.
21050 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21051 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21052 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21053
21054 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21055
21056 According to CLDR, collation rules for Serbian and Bosnian
21057 should be the same as for Croatian.
21058
21059 [BZ #22534]
21060 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21061 and to the list of locales to be built for testing.
21062 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21063 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21064 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21065 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21066
21067 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21068
21069 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21070 to make test case pass.
21071 * localedata/hr_HR.UTF-8.in: Add more test strings.
21072
21073 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21074
21075 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21076
21077 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21078
21079 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21080 the list of locales to built for testing.
21081 * localedata/hr_HR.UTF-8.in: New file.
21082
21083 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21084
21085 [BZ #10580]
21086 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21087 iso14651_t1.
21088 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21089 CLDR (except use ligatures for the digraphs, CLDR does not use
21090 the ligatures), add first_workday, some fixes in the date and time
21091 formats.
21092 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21093 for Đ and đ.
21094 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21095 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21096 Add int_p_cs_precedes and int_n_cs_precedes.
21097 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21098 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21099 LC_MONETARY now).
21100 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21101 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21102 name_miss.
21103 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21104 and lang_lib. Change postal_fmt.
21105
21106 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21107
21108 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21109 <setjmp.h>.
21110 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21111 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21112 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21113 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21114 * sysdeps/generic/setjmpP.h: New file.
21115 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21116 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21117 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21118 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21119 Add jmp_buf-ssp.sym.
21120 (tests): Add tst-saved_mask-1.
21121
21122 2017-11-30 Arjun Shankar <arjun@redhat.com>
21123
21124 [BZ #22375]
21125 CVE-2017-17426
21126 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21127 instead of request2size.
21128
21129 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21130
21131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21132 (__lllrint): Remove alias.
21133 (lllrint): Likewise.
21134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21135 (__lllrintf): Likewise.
21136 (lllrintf): Likewise.
21137
21138 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21139 <libm-alias-float.h>.
21140 (copysignf): Define using libm_alias_float.
21141 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21142 <libm-alias-float.h>.
21143 (fabsf): Define using libm_alias_float.
21144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21145 Include <libm-alias-float.h>.
21146 (copysignf): Define using libm_alias_float.
21147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21148 <libm-alias-float.h>.
21149 (fabsf): Define using libm_alias_float.
21150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21151 <libm-alias-float.h>.
21152 (fdimf): Define using libm_alias_float.
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21154 <libm-alias-float.h>.
21155 (fmaf): Define using libm_alias_float.
21156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21157 <libm-alias-float.h>.
21158 (llrintf): Define using libm_alias_float.
21159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21160 Include <libm-alias-float.h>.
21161 (nearbyintf): Define using libm_alias_float.
21162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21163 <libm-alias-float.h>.
21164 (rintf): Define using libm_alias_float.
21165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21166 <libm-alias-float.h>.
21167 (llrintf): Define using libm_alias_float.
21168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21169 <libm-alias-float.h>.
21170 (lrintf): Define using libm_alias_float.
21171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21172 <libm-alias-float.h>.
21173 (nearbyintf): Define using libm_alias_float.
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21175 <libm-alias-float.h>.
21176 (rintf): Define using libm_alias_float.
21177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21178 <libm-alias-float.h>.
21179 (ceilf): Define using libm_alias_float.
21180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21181 <libm-alias-float.h>.
21182 (floorf): Define using libm_alias_float.
21183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21184 <libm-alias-float.h>.
21185 (fmaf): Define using libm_alias_float.
21186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21187 <libm-alias-float.h>.
21188 (lrintf): Define using libm_alias_float.
21189 (llrintf): Likewise.
21190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21191 <libm-alias-float.h>.
21192 (nearbyintf): Define using libm_alias_float.
21193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21194 <libm-alias-float.h>.
21195 (rintf): Define using libm_alias_float.
21196 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21197 <libm-alias-float.h>.
21198 (truncf): Define using libm_alias_float.
21199 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21200 <libm-alias-float.h>.
21201 (copysignf): Define using libm_alias_float.
21202 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21203 <libm-alias-float.h>.
21204 (fabsf): Define using libm_alias_float.
21205 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21206 <libm-alias-float.h>.
21207 (lrintf): Define using libm_alias_float.
21208 (llrintf): Likewise.
21209 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21210 <libm-alias-float.h>.
21211 (nearbyintf): Define using libm_alias_float.
21212 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21213 <libm-alias-float.h>.
21214 (rintf): Define using libm_alias_float.
21215
21216 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21217
21218 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21219 <libm-alias-double.h>.
21220 (copysign): Define using libm_alias_double.
21221 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21222 <libm-alias-double.h>.
21223 (fabs): Define using libm_alias_double.
21224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21225 Include <libm-alias-double.h>.
21226 (copysign): Define using libm_alias_double.
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21228 <libm-alias-double.h>.
21229 (fabs): Define using libm_alias_double.
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21231 <libm-alias-double.h>.
21232 (fdim): Define using libm_alias_double.
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21234 <libm-alias-double.h>.
21235 (fma): Define using libm_alias_double.
21236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21237 <libm-alias-double.h>.
21238 (llrint): Define using libm_alias_double.
21239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21240 Include <libm-alias-double.h>.
21241 (nearbyint): Define using libm_alias_double.
21242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21243 <libm-alias-double.h>.
21244 (rint): Define using libm_alias_double.
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21246 <libm-alias-double.h>.
21247 (fabs): Define using libm_alias_double.
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21249 <libm-alias-double.h>.
21250 (llrint): Define using libm_alias_double.
21251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21252 <libm-alias-double.h>.
21253 (nearbyint): Define using libm_alias_double.
21254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21255 <libm-alias-double.h>.
21256 (rint): Define using libm_alias_double.
21257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21258 <libm-alias-double.h>.
21259 (ceil): Define using libm_alias_double.
21260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21261 <libm-alias-double.h>.
21262 (floor): Define using libm_alias_double.
21263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21264 <libm-alias-double.h>.
21265 (fma): Define using libm_alias_double.
21266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21267 <libm-alias-double.h>.
21268 (lrint): Define using libm_alias_double.
21269 (llrint): Likewise.
21270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21271 <libm-alias-double.h>.
21272 (nearbyint): Define using libm_alias_double.
21273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21274 <libm-alias-double.h>.
21275 (rint): Define using libm_alias_double.
21276 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21277 <libm-alias-double.h>.
21278 (trunc): Define using libm_alias_double.
21279 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21280 <libm-alias-double.h>.
21281 (copysign): Define using libm_alias_double.
21282 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21283 <libm-alias-double.h>.
21284 (fabs): Define using libm_alias_double.
21285 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21286 <libm-alias-double.h>.
21287 (lrint): Define using libm_alias_double.
21288 (llrint): Likewise.
21289 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21290 <libm-alias-double.h>.
21291 (nearbyint): Define using libm_alias_double.
21292 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21293 <libm-alias-double.h>.
21294 (rint): Define using libm_alias_double.
21295
21296 [BZ #22229]
21297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21298 <math_ldbl_opt.h>.
21299 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21300
21301 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21302 SPARC --disable-multi-arch glibc variants.
21303
21304 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21305 <libm-alias-float.h>.
21306 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21307 if [SHARED].
21308 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21309 <libm-alias-float.h>.
21310 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21311 if [SHARED].
21312 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21313 <libm-alias-float.h>.
21314 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21315 if [SHARED].
21316 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21317 <libm-alias-float.h>.
21318 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21319 if [SHARED].
21320 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21321 <libm-alias-float.h>.
21322 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21323 if [SHARED].
21324 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21325 <libm-alias-float.h>.
21326 (ceilf): Define using libm_alias_float.
21327 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21328 <libm-alias-float.h>.
21329 (floorf): Define using libm_alias_float.
21330 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21331 <libm-alias-float.h>.
21332 (fmaf): Define using libm_alias_float.
21333 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21334 <libm-alias-float.h>.
21335 (nearbyintf): Define using libm_alias_float.
21336 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21337 <libm-alias-float.h>.
21338 (rintf): Define using libm_alias_float.
21339 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21340 <libm-alias-float.h>.
21341 (truncf): Define using libm_alias_float.
21342 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21343 (copysignf): Define using libm_alias_float.
21344 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21345 (cosf): Define using libm_alias_float.
21346 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21347 (fabsf): Define using libm_alias_float.
21348 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21349 (fmaxf): Define using libm_alias_float.
21350 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21351 (fminf): Define using libm_alias_float.
21352 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21353 (llrintf): Define using libm_alias_float.
21354 [!__ILP32__] (lrintf): Likewise.
21355 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21356 (sincosf): Define using libm_alias_float.
21357 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21358 (sinf): Define using libm_alias_float.
21359 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21360 (lrintf): Define using libm_alias_float.
21361
21362 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21363 <libm-alias-double.h>.
21364 (atan): Define using libm_alias_double.
21365 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21366 <libm-alias-double.h>.
21367 (ceil): Define using libm_alias_double.
21368 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21369 <libm-alias-double.h>.
21370 (floor): Define using libm_alias_double.
21371 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21372 <libm-alias-double.h>.
21373 (fma): Define using libm_alias_double.
21374 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21375 <libm-alias-double.h>.
21376 (nearbyint): Define using libm_alias_double.
21377 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21378 <libm-alias-double.h>.
21379 (rint): Define using libm_alias_double.
21380 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21381 <libm-alias-double.h>.
21382 (sin): Define using libm_alias_double.
21383 (cos): Likewise.
21384 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21385 <libm-alias-double.h>.
21386 (tan): Define using libm_alias_double.
21387 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21388 <libm-alias-double.h>.
21389 (trunc): Define using libm_alias_double.
21390 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21391 (copysign): Define using libm_alias_double.
21392 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21393 (fabs): Define using libm_alias_double.
21394 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21395 (fmax): Define using libm_alias_double.
21396 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21397 (fmin): Define using libm_alias_double.
21398 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21399 (llrint): Define using libm_alias_double.
21400 [!__ILP32__] (lrint): Likewise.
21401 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21402 (lrint): Define using libm_alias_double.
21403
21404 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21405
21406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21407 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21408 objects.
21409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21415
21416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21417 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21418 objects.
21419 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21420 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21425
21426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21427 (libm-sysdep_routines): Add s_nearbyint-generic and
21428 s_nearbyintf-generic objects.
21429 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21430 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21431 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21432 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21433 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21434 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21435
21436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21437 Add s_finitef-generic and s_finite-generic objects.
21438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21439 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21440 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21442 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21443 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21444
21445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21446 Add s_isinff-generic and s_isinf-generic objects.
21447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21453
21454 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21455 Add s_isnanf-generic and s_isnan-generic objects.
21456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21462
21463 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21464 macro.
21465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21466 rule.
21467 (sysdep_routines): Use sysdep_calls as base.
21468 (libm-sysdep_routines): Add generic rule for symbols shared with
21469 libc. Add s_signbit-generic and s_signbitf-generic objects.
21470 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21471 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21473 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21476
21477 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21478
21479 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21480 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21481 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21482 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21483 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21484 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21485 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21486 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21487 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21488 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21489 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21490 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21491 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21492 libm_alias_float_r.
21493 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21494 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21495 (logf): Likewise.
21496 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21497 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21498 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21499 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21500 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21501 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21502 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21503 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21504 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21505 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21506 libm_alias_float.
21507 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21508 (cosf): Likewise.
21509 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21510 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21511 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21512 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21513 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21514 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21515 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21516 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21517 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21518 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21519 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21520 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21521 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21522 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21523 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21524 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21525 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21526 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21527 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21528 libm_alias_float.
21529 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21530 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21531 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21532 * sysdeps/ia64/fpu/w_lgammaf_main.c
21533 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21534 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21535
21536 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21537 Alexandre Oliva <aoliva@redhat.com>
21538
21539 [BZ #17750]
21540 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21541 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21542 accents sorting.
21543 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21544 sorting.
21545 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21546 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21547 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21548 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21549 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21550 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21551 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21552 instead of “ifdef DIACRIT_BACKWARD”.
21553
21554 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21555
21556 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21557 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21558 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21559 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21560 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21561 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21569 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21570 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21571 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21572 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21573 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21575 ($(have-as-vis3) == yes): Remove conditional.
21576 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21577 Likewise.
21578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21579 file.
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21581 file.
21582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21583 file.
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21585 file.
21586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21592 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21593 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21594
21595 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21596
21597 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21598 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21599 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21600 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21601 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21602 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21603 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21604 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21605 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21606 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21607 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21608 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21609 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21610 libm_alias_double_r.
21611 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21612 (log): Likewise.
21613 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21614 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21615 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21616 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21617 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21618 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21619 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21620 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21621 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21622 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21623 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21624 libm_alias_double.
21625 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21626 (cos): Likewise.
21627 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21628 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21629 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21630 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21631 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21632 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21633 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21634 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21635 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21636 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21637 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21638 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21639 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21640 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21641 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21642 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21643 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21644 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21645 libm_alias_double.
21646 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21647 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21648 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21649 * sysdeps/ia64/fpu/w_lgamma_main.c
21650 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21651 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21652
21653 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21654
21655 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21656 address of $global$ into %dp register earlier. Use pc-relative
21657 instruction sequence for PIC case.
21658
21659 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21660
21661 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21662 (asinhf): Define using libm_alias_float.
21663 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21664 (atanf): Define using libm_alias_float.
21665 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21666 (cbrtf): Define using libm_alias_float.
21667 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21668 (ceilf): Define using libm_alias_float.
21669 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21670 (copysignf): Define using libm_alias_float.
21671 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21672 (expm1f): Define using libm_alias_float.
21673 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21674 (fabsf): Define using libm_alias_float.
21675 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21676 (floorf): Define using libm_alias_float.
21677 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21678 (fmaxf): Define using libm_alias_float.
21679 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21680 (fminf): Define using libm_alias_float.
21681 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21682 (frexpf): Define using libm_alias_float.
21683 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21684 (llrintf): Define using libm_alias_float.
21685 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21686 (logbf): Define using libm_alias_float.
21687 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21688 (lrintf): Define using libm_alias_float.
21689 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21690 (nearbyintf): Define using libm_alias_float.
21691 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21692 (remquof): Define using libm_alias_float.
21693 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21694 (rintf): Define using libm_alias_float.
21695 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21696 (truncf): Define using libm_alias_float.
21697 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21698 <libm-alias-float.h>.
21699 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21700 if [SHARED].
21701 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21702 <libm-alias-float.h>.
21703 (expf): Define using libm_alias_float, or libm_alias_float_other
21704 if [SHARED].
21705 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21706 <libm-alias-float.h>.
21707 (log2f): Define using libm_alias_float, or libm_alias_float_other
21708 if [SHARED].
21709 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21710 <libm-alias-float.h>.
21711 (logf): Define using libm_alias_float, or libm_alias_float_other
21712 if [SHARED].
21713 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21714 <libm-alias-float.h>.
21715 (powf): Define using libm_alias_float, or libm_alias_float_other
21716 if [SHARED].
21717 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21718 <libm-alias-float.h>.
21719 (cosf): Define using libm_alias_float.
21720 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21721 <libm-alias-float.h>.
21722 (sincosf): Define using libm_alias_float.
21723 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21724 <libm-alias-float.h>.
21725 (sinf): Define using libm_alias_float.
21726 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21727 (fmaxf): Define using libm_alias_float.
21728 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21729 (fminf): Define using libm_alias_float.
21730 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21731 <libm-alias-float.h>.
21732 (fmaf): Define using libm_alias_float.
21733
21734 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21735 (asinh): Define using libm_alias_double.
21736 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21737 (atan): Define using libm_alias_double.
21738 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21739 (cbrt): Define using libm_alias_double.
21740 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21741 (ceil): Define using libm_alias_double.
21742 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21743 (copysign): Define using libm_alias_double.
21744 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21745 (expm1): Define using libm_alias_double.
21746 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21747 (fabs): Define using libm_alias_double.
21748 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21749 (fdim): Define using libm_alias_double.
21750 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21751 (floor): Define using libm_alias_double.
21752 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21753 (fmax): Define using libm_alias_double.
21754 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21755 (fmin): Define using libm_alias_double.
21756 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21757 (frexp): Define using libm_alias_double.
21758 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21759 (llrint): Define using libm_alias_double.
21760 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21761 (logb): Define using libm_alias_double.
21762 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21763 (lrint): Define using libm_alias_double.
21764 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21765 (nearbyint): Define using libm_alias_double.
21766 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21767 (remquo): Define using libm_alias_double.
21768 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21769 (rint): Define using libm_alias_double.
21770 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21771 (trunc): Define using libm_alias_double.
21772 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21773 (fmax): Define using libm_alias_double.
21774 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21775 (fmin): Define using libm_alias_double.
21776 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21777 (fma): Define using libm_alias_double.
21778
21779 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21780
21781 [BZ #22370]
21782 * elf/dl-hwcaps.c (ROUND): Removed.
21783 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21784 and ELF_NOTE_NEXT_OFFSET.
21785 * elf/dl-load.c (ROUND): Removed.
21786 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21787 * elf/readelflib.c (ROUND): Removed.
21788 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21789 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21790 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21791 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21792
21793 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21794
21795 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21796 [!__fmaf] (fmaf): Define using libm_alias_float.
21797
21798 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21799 [!__fma] (fma): Define using libm_alias_double.
21800 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21801
21802 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21803
21804 [BZ #22336]
21805 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21806 and implement the collation rules for cs from CLDR on top of that.
21807 * Makefile: Add cs_CZ.UTF-8 to test-input.
21808 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21809
21810 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21811
21812 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21813
21814 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21815 Icarus Sparry <icarus.w.sparry@intel.com>
21816
21817 * benchtests/Makefile:Add BENCHSET to allow subsets of
21818 benchmarks to be run.
21819 * benchtests/README: Add documentation for: Running subsets of
21820 benchmarks.
21821
21822 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21823
21824 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21825 range of tests names.
21826
21827 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21828 result from property and remove "max", min" and "mean" from
21829 required properties based on benchtests/bench-skeleton.c.
21830
21831 2017-11-28 Florian Weimer <fweimer@redhat.com>
21832
21833 [BZ #20826]
21834 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21835 due to Internet requirement.
21836 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21837 tst-getaddrinfo5.
21838 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21839
21840 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21841
21842 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21843 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21844 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21845 (sysdep_routines): Add memset-ultra1.
21846 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21847 file.
21848 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21849 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21850 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21851 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21852 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21853 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21855 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21856
21857 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21858 file.
21859 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21860 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21861 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21862 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21863 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21864 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21865 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21866 macro.
21867 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21868 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21869 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21870 (sysdep_routines): Add memcpy-ultra1.
21871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21872 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21873
21874 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21875
21876 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21877 (cfloat_versions): Take function argument without trailing 'f'.
21878 Call libm_alias_float_other.
21879 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21880 * sysdeps/alpha/fpu/cargf.c: Likewise.
21881 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21882 * sysdeps/alpha/fpu/conjf.c: Likewise.
21883 * sysdeps/alpha/fpu/crealf.c: Likewise.
21884 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21885 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21886 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21887 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21888 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21889 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21890 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21891 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21892 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21893 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21894 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21895 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21896 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21897 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21898 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21899 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21900 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21901 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21902 (clog10f): Use libm_alias_float_other.
21903 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21904 (ceilf): Define using libm_alias_float.
21905 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21906 (copysignf): Define using libm_alias_float.
21907 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21908 (fabsf): Define using libm_alias_float.
21909 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21910 (floorf): Define using libm_alias_float.
21911 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21912 (fmaxf): Define using libm_alias_float.
21913 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21914 (fminf): Define using libm_alias_float.
21915 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21916 (lrintf): Define using libm_alias_float.
21917 (llrintf): Likewise.
21918 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21919 (lroundf): Define using libm_alias_float.
21920 (llroundf): Likewise.
21921 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21922 (rintf): Define using libm_alias_float.
21923 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21924 (truncf): Define using libm_alias_float.
21925
21926 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21927 (ceilf): Define using libm_alias_float.
21928 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21929 (floorf): Define using libm_alias_float.
21930 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21931 (fmaf): Define using libm_alias_float.
21932 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21933 (fmaxf): Define using libm_alias_float.
21934 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21935 (fminf): Define using libm_alias_float.
21936 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21937 (llrintf): Define using libm_alias_float.
21938 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21939 (llroundf): Define using libm_alias_float.
21940 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21941 (lrintf): Define using libm_alias_float.
21942 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21943 (lroundf): Define using libm_alias_float.
21944 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21945 <libm-alias-float.h>.
21946 (nearbyintf): Define using libm_alias_float.
21947 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21948 (rintf): Define using libm_alias_float.
21949 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21950 (roundf): Define using libm_alias_float.
21951 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21952 (truncf): Define using libm_alias_float.
21953
21954 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21955 (ceil): Define using libm_alias_double.
21956 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21957 (copysign): Define using libm_alias_double.
21958 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21959 (fabs): Define using libm_alias_double.
21960 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21961 (floor): Define using libm_alias_double.
21962 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21963 (fmax): Define using libm_alias_double.
21964 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21965 (fmin): Define using libm_alias_double.
21966 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21967 (lrint): Define using libm_alias_double.
21968 (llrint): Likewise.
21969 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21970 (lround): Define using libm_alias_double.
21971 (llround): Likewise.
21972 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21973 (rint): Define using libm_alias_double.
21974 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21975 (trunc): Define using libm_alias_double.
21976
21977 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21978 (libm_alias_double_r): Add semicolon after weak_alias call.
21979
21980 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21981
21982 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21983 (ceil): Define using libm_alias_double.
21984 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21985 (floor): Define using libm_alias_double.
21986 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21987 (fma): Define using libm_alias_double.
21988 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21989 (fmax): Define using libm_alias_double.
21990 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21991 (fmin): Define using libm_alias_double.
21992 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21993 (llrint): Define using libm_alias_double.
21994 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21995 (llround): Define using libm_alias_double.
21996 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21997 (lrint): Define using libm_alias_double.
21998 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21999 (lround): Define using libm_alias_double.
22000 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22001 (nearbyint): Define using libm_alias_double.
22002 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22003 (rint): Define using libm_alias_double.
22004 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22005 (round): Define using libm_alias_double.
22006 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22007 (trunc): Define using libm_alias_double.
22008
22009 2017-11-27 Florian Weimer <fweimer@redhat.com>
22010
22011 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22012 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22013 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22014 (tests): Add tst-mlock2.
22015 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22016 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22017 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22018 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22019 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22020 for mlock. Document mlock2.
22021
22022 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22023
22024 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22025 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22026 Likewise.
22027 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22028 Likewise.
22029 * sysdeps/x86/Makeconfig: New file.
22030 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22031 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22032 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22033 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22034 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22035 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22036 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22037 Likewise.
22038 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22039 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22040 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22041 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22042 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22043 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22044 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22045 * manual/math.texi (Mathematics): Document support for _Float64x.
22046 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22047 * stdlib/Versions (GLIBC_2.27): Likewise.
22048 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22049 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22050 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22051 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22052 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22053 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22054 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22055 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22056 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22057 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22058 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22059 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22061 Likewise.
22062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22063 Likewise.
22064 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22065 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22066 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22067 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22068 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22069 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22070 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22071 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22072 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22073 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22074 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22075 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22076 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22077 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22078
22079 2017-11-27 Andreas Schwab <schwab@suse.de>
22080
22081 * elf/Makefile (dl-routines): Add dl-sort-maps.
22082 * elf/dl-sort-maps.c: New file.
22083 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22084 (_dl_sort_maps): Declare.
22085 * elf/dl-fini.c (_dl_sort_fini): Remove.
22086 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22087 * elf/dl-close.c (_dl_close_worker): Likewise.
22088 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22089 open-coding it.
22090 * elf/dl-open.c (dl_open_worker): Likewise.
22091
22092 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22093
22094 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22095 using libm_alias_float128.
22096 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22097 Likewise.
22098 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22099 Likewise.
22100 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22101 (setpayloadsigf128): Likewise.
22102 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22103 Likewise.
22104 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22105 Likewise.
22106
22107 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22108 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22109 -mfloat128 to CFLAGS.
22110 ($(foreach
22111 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22112 Likewise.
22113 (CFLAGS-libm-test-support-float64x.c): New variable.
22114 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22115 $(f128-loader-link) to gnulib-tests.
22116
22117 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22118 (libm_alias_float128_other_r): If
22119 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22120 alias.
22121 (libm_alias_float128_r): Add semicolon after weak_alias call.
22122 * sysdeps/generic/libm-alias-ldouble.h
22123 (libm_alias_ldouble_other_r_f128): New macro.
22124 (libm_alias_ldouble_other_r_f64x): Likewise.
22125 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22126 and libm_alias_ldouble_other_r_f64x.
22127 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22128 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22129 (libm_alias_ldouble_other_r_f128): New macro.
22130 (libm_alias_ldouble_other_r_f64x): Likewise.
22131 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22132 and libm_alias_ldouble_other_r_f64x.
22133
22134 * stdlib/strfroml.c: Always include <stdlib.h>.
22135 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22136 undefine as macro and define as weak alias.
22137 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22138 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22139 <stdlib.h>.
22140 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22141 Define and later undefine as macro and define as weak alias.
22142
22143 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22144 Define and later undefine as macro. Define as weak alias if
22145 [!USE_WIDE_CHAR].
22146 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22147 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22148 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22149 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22150 Define and later undefine as macro. Define as weak alias if
22151 [!USE_WIDE_CHAR].
22152 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22153 Define and later undefine as macro. Define as weak alias if
22154 [USE_WIDE_CHAR].
22155 * sysdeps/ieee754/float128/strtof128_l.c
22156 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22157 Define and later undefine as macro. Define as weak alias if
22158 [!USE_WIDE_CHAR].
22159 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22160 Define and later undefine as macro. Define as weak alias if
22161 [USE_WIDE_CHAR].
22162 * sysdeps/ieee754/ldbl-128/strtold_l.c
22163 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22164 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22165 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22166 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22167 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22168 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22169 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22170 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22171 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22172 * sysdeps/ieee754/ldbl-96/strtold_l.c
22173 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22174 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22175 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22176 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22177
22178 * math/test-float64x.h: New file.
22179 * math/Makefile (type-float64x-yes): New variable.
22180 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22181
22182 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22183 function-like macro.
22184 (min_of_type_): Likewise.
22185 (min_of_type_l): Likewise.
22186 (min_of_type_f128): Likewise.
22187 (min_of_type): Pass () as last argument of __MATH_TG.
22188
22189 * stdlib/tst-strtod-round-skeleton.c
22190 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22191 headers.
22192
22193 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22194 for combinations of long double with _Float64 and _Float64x.
22195
22196 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22197 (__DECL_SIMD_cosf32): Likewise.
22198 (__DECL_SIMD_cosf64): Likewise.
22199 (__DECL_SIMD_cosf32x): Likewise.
22200 (__DECL_SIMD_cosf64x): Likewise.
22201 (__DECL_SIMD_cosf128x): Likewise.
22202 (__DECL_SIMD_sinf16): Likewise.
22203 (__DECL_SIMD_sinf32): Likewise.
22204 (__DECL_SIMD_sinf64): Likewise.
22205 (__DECL_SIMD_sinf32x): Likewise.
22206 (__DECL_SIMD_sinf64x): Likewise.
22207 (__DECL_SIMD_sinf128x): Likewise.
22208 (__DECL_SIMD_sincosf16): Likewise.
22209 (__DECL_SIMD_sincosf32): Likewise.
22210 (__DECL_SIMD_sincosf64): Likewise.
22211 (__DECL_SIMD_sincosf32x): Likewise.
22212 (__DECL_SIMD_sincosf64x): Likewise.
22213 (__DECL_SIMD_sincosf128x): Likewise.
22214 (__DECL_SIMD_logf16): Likewise.
22215 (__DECL_SIMD_logf32): Likewise.
22216 (__DECL_SIMD_logf64): Likewise.
22217 (__DECL_SIMD_logf32x): Likewise.
22218 (__DECL_SIMD_logf64x): Likewise.
22219 (__DECL_SIMD_logf128x): Likewise.
22220 (__DECL_SIMD_expf16): Likewise.
22221 (__DECL_SIMD_expf32): Likewise.
22222 (__DECL_SIMD_expf64): Likewise.
22223 (__DECL_SIMD_expf32x): Likewise.
22224 (__DECL_SIMD_expf64x): Likewise.
22225 (__DECL_SIMD_expf128x): Likewise.
22226 (__DECL_SIMD_powf16): Likewise.
22227 (__DECL_SIMD_powf32): Likewise.
22228 (__DECL_SIMD_powf64): Likewise.
22229 (__DECL_SIMD_powf32x): Likewise.
22230 (__DECL_SIMD_powf64x): Likewise.
22231 (__DECL_SIMD_powf128x): Likewise.
22232
22233 * stdlib/Versions (libc): Move entries for wcstof128 and
22234 wcstof128_l to ....
22235 * wcsmbs/Versions (libc): ... here.
22236 Include <float128-abi.h>.
22237
22238 2017-11-24 Florian Weimer <fweimer@redhat.com>
22239
22240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22241 bits/mman-shared.h.
22242 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22243 <bits/mman-shared.h>.
22244 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22245 to ...
22246 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22247 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22248 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22249 <bits/mman-shared.h>.
22250
22251 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22252
22253 [BZ #22457]
22254 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22255 posix_memalign/free.
22256 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22257
22258 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22259
22260 [BZ #22469]
22261 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22262 and implement the collation rules for pl from CLDR on top of that.
22263 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22264 of locales to be built for testing.
22265 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22266
22267 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22268
22269 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22270 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22271 libm_alias_ldouble_other.
22272 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22273 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22274 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22275 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22276 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22277 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22278 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22279 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22280 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22281 libm_alias_ldouble_r.
22282 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22283 libm_alias_ldouble_other.
22284 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22285 (log10l): Likewise.
22286 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22287 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22288 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22289 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22290 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22291 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22292 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22293 (atan2l): Likewise.
22294 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22295 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22296 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22297 libm_alias_ldouble.
22298 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22299 (cosl): Likewise.
22300 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22301 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22302 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22303 (expl): Likewise.
22304 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22305 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22306 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22307 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22308 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22309 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22310 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22311 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22312 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22313 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22314 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22315 libm_alias_ldouble.
22316 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22317 libm_alias_ldouble_other.
22318 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22319 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22320 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22321 libm_alias_ldouble.
22322 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22323 libm_alias_ldouble_other.
22324 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22325 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22326 * sysdeps/ia64/fpu/w_lgammal_main.c
22327 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22328 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22329
22330 2017-11-23 Florian Weimer <fweimer@redhat.com>
22331
22332 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22333 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22334 alike. Remove freeres marker.
22335 * malloc/arena.c (arena_thread_freeres): Call
22336 tcache_thread_shutdown.
22337
22338 2017-11-23 Florian Weimer <fweimer@redhat.com>
22339
22340 [BZ #22459]
22341 Export nscd hash function as __nss_hash.
22342 * include/nss.h (__nss_hash): Declare.
22343 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22344 symbol.
22345 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22346 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22347 of __nscd_hash.
22348 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22349 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22350 * nss/Makefiles (routines): Add nss_hash.
22351 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22352 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22353 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22354 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22355
22356 2017-11-23 Florian Weimer <fweimer@redhat.com>
22357
22358 [BZ #22478]
22359 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22360 Return error code, not -1.
22361 * signal/tst-sigwait-eintr.c: New file.
22362 * signal/Makefile (tests): Add tst-sigwait-eintr.
22363
22364 2017-11-23 Florian Weimer <fweimer@redhat.com>
22365
22366 Linux: Add memfd_create system call wrapper
22367 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22368 tst-memfd_create.
22369 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22370 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22371 [__USE_GNU] (memfd_create): Declare.
22372 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22373 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22374 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22375 * sysdeps/unix/sysv/linux/**.abilist: Update.
22376 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22377
22378 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22379
22380 * localedata/gen-locale.sh: Fix typo in variable name.
22381
22382 * resolv/res_debug.c (p_secstodate): Condition definition on
22383 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22384 directly as __p_secstodate, and as a compat symbol. Do not use
22385 libresolv_hidden_def.
22386 * resolv/resolv.h (p_secstodate): Remove macro and function
22387 declaration.
22388 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22389 using p_secstodate.
22390 * include/resolv.h (__p_secstodate): Do not use
22391 libresolv_hidden_proto.
22392 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22393 (tests-internal): ... here.
22394 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22395 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22396 and declare and use __p_secstodate and use compat_symbol_reference
22397 in that case.
22398 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22399 implementation returning 77.
22400
22401 [BZ #22463]
22402 * resolv/res_debug.c: Include <libc-diag.h>.
22403 (p_secstodate): Assert time_t at least as wide as u_long. On
22404 overflow, use integer seconds since the epoch as output, or use
22405 "<overflow>" as output and set errno to EOVERFLOW if integer
22406 seconds since the epoch would be 14 or more characters.
22407 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22408 for sprintf call.
22409 * resolv/tst-p_secstodate.c: New file.
22410 * resolv/Makefile (tests): Add tst-p_secstodate.
22411 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22412
22413 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22414 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22415 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22416
22417 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22418
22419 * posix/regcomp.c (init_word_char): Add comments.
22420
22421 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22422
22423 [BZ #22447]
22424 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22425 strlen to compute length of ut_user and set trailing NUL byte of
22426 result explicitly.
22427
22428 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22429
22430 [BZ #15537]
22431 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22432 using “copy "iso14651_t1"” and then implementing the
22433 collation rules for lv from CLDR on top of that.
22434 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22435 of locales to be built for testing.
22436 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22437 sorting.
22438
22439 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22440
22441 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22442 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22443 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22444 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22445 [__USE_MISC] (MADV_HWPOISON): New macro.
22446 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22447
22448 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22449
22450 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22451 -Wmissing-braces on GCC 4.9.
22452
22453 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22454
22455 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22456 * sysdeps/s390/s390-32/start.S (_start): Likewise
22457 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22458 (thread_start): Likewise.
22459 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22460 (thread_start): Likewise.
22461 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22462 (__makecontext_ret): Likewise.
22463 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22464 (__makecontext_ret): Likewise.
22465
22466 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22467
22468 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22469 __wcschrnul): Remove attribute_hidden.
22470
22471 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22472
22473 regex: don't assume uint64_t or uint32_t
22474 This avoids -Werror=overflow errors for 32-bit systems in
22475 the 64-bit case. Problem reported by Joseph Myers in:
22476 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22477 Also, when this code is used in Gnulib it ports to platforms
22478 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22479 them, and on some 32-bit compilers there is no uint64_t.
22480 Problem reported by Gianluigi Tiesi in:
22481 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22482 * posix/regcomp.c (init_word_char): Don't assume that the types
22483 uint64_t and uint32_t exist. Adapted from Gnulib patch
22484 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22485 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22486
22487 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22488
22489 * sysdeps/aarch64/memset-reg.h: New file.
22490 * sysdeps/aarch64/memset.S: Use it.
22491 (__memset): Rename to MEMSET macro.
22492 [ZVA_MACRO]: Use zva_macro.
22493 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22494 Add memset_generic and memset_falkor.
22495 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22496 (__libc_ifunc_impl_list): Add memset ifuncs.
22497 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22498 local variable zva_size.
22499 * sysdeps/aarch64/multiarch/memset.c: New file.
22500 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22501 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22502 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22503 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22504 (DCZID_DZP_MASK): New macro.
22505 (DCZID_BS_MASK): Likewise.
22506 (init_cpu_features): Read and set zva_size.
22507 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22508 (struct cpu_features): New member zva_size.
22509
22510 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22511 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22512 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22513
22514 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22515 backwards. Fix timing computation.
22516 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22517 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22518 on memset by N at a time. Fix timing computation.
22519
22520 2017-11-20 Florian Weimer <fweimer@redhat.com>
22521
22522 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22523 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22524
22525 2017-11-19 Florian Weimer <fweimer@redhat.com>
22526
22527 manual: Document mprotect
22528 * manual/memory.texi (Memory Protection): New section.
22529 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22530 documentation of PROT_* flags and reference the Memory Protection
22531 section instead.
22532
22533 2017-11-19 Florian Weimer <fweimer@redhat.com>
22534
22535 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22536 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22537 (Scatter-Gather): ... to here. Remove misleading comment.
22538
22539 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22540
22541 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22542 style.
22543
22544 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22545 when /proc/<pid>/setgroups does not exist.
22546
22547 2017-11-18 Florian Weimer <fweimer@redhat.com>
22548
22549 * sysdeps/unix/sysv/linux/tst-ttyname.c
22550 (become_root_in_mount_ns): Remove.
22551 (do_in_chroot_1): Call support_enter_mount_namespace.
22552 (do_in_chroot_2): Likewise.
22553 (do_test): Call support_become_root early.
22554
22555 2017-11-18 Florian Weimer <fweimer@redhat.com>
22556
22557 * support/namespace.h (support_enter_mount_namespace): Declare.
22558 * support/support_enter_mount_namespace.c: New file.
22559 * support/Makefile (libsupport-routines): Add
22560 support_enter_mount_namespace.
22561
22562 2017-11-18 Florian Weimer <fweimer@redhat.com>
22563
22564 * support/temp_file.c (support_create_temp_directory): Use
22565 test_dir and do not rely on the presence of the XXXXXX suffix.
22566 * support/temp_file.h (support_create_temp_directory): Update
22567 comment.
22568 * support/tst-xreadlink.c (do_test): Adjust.
22569 * support/support_chroot.c (support_chroot_create): Likewise.
22570
22571 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22572
22573 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22574 macro.
22575 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22576 htm-no-suspend.
22577
22578 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22579
22580 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22581 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22582 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22583 (ceill): Define using libm_alias_ldouble.
22584 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22585 <libm-alias-ldouble.h>.
22586 (copysignl): Define using libm_alias_ldouble.
22587 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22588 (fabsl): Define using libm_alias_ldouble.
22589 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22590 (floorl): Define using libm_alias_ldouble.
22591 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22592 (fmaxl): Define using libm_alias_ldouble.
22593 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22594 (fminl): Define using libm_alias_ldouble.
22595 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22596 (llrintl): Define using libm_alias_ldouble.
22597 (lrintl): Likewise.
22598 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22599 <libm-alias-ldouble.h>.
22600 (nearbyintl): Define using libm_alias_ldouble.
22601 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22602 (truncl): Define using libm_alias_ldouble.
22603 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22604 <libm-alias-ldouble.h>.
22605 (lrintl): Define using libm_alias_ldouble.
22606
22607 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22608 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22609 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22610 (asinhl): Define using libm_alias_ldouble.
22611 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22612 (atanl): Define using libm_alias_ldouble.
22613 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22614 (cbrtl): Define using libm_alias_ldouble.
22615 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22616 (ceill): Define using libm_alias_ldouble.
22617 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22618 (copysignl): Define using libm_alias_ldouble.
22619 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22620 (fabsl): Define using libm_alias_ldouble.
22621 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22622 (floorl): Define using libm_alias_ldouble.
22623 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22624 (fmaxl): Define using libm_alias_ldouble.
22625 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22626 (fminl): Define using libm_alias_ldouble.
22627 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22628 (frexpl): Define using libm_alias_ldouble.
22629 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22630 (llrintl): Define using libm_alias_ldouble.
22631 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22632 (logbl): Define using libm_alias_ldouble.
22633 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22634 (lrintl): Define using libm_alias_ldouble.
22635 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22636 (nearbyintl): Define using libm_alias_ldouble.
22637 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22638 (nextafterl): Define using libm_alias_ldouble.
22639 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22640 (remquol): Define using libm_alias_ldouble.
22641 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22642 (rintl): Define using libm_alias_ldouble.
22643 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22644 (truncl): Define using libm_alias_ldouble.
22645 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22646 (fmaxl): Define using libm_alias_ldouble.
22647 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22648 (fminl): Define using libm_alias_ldouble.
22649
22650 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22651 to C syntax instead of availability and properties of types.
22652 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22653 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22654 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22655 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22656 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22657 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22658
22659 2017-11-17 Florian Weimer <fweimer@redhat.com>
22660
22661 support_become_root: Enable file creation in namespaces.
22662 * support/support_become_root.c (setup_mapping): New function.
22663 (support_become_root): Call it.
22664
22665 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22666
22667 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22668 macro.
22669
22670 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22671
22672 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22673 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22674
22675 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22676
22677 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22678
22679 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22680 version to 4.14.
22681
22682 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22683
22684 * INSTALL: Fix botched up regeneration.
22685
22686 * NEWS: Update sourceare link to https.
22687 * configure.ac: Likewise.
22688 * crypt/md5test-giant.c: Likewise.
22689 * dlfcn/bug-atexit1.c: Likewise.
22690 * dlfcn/bug-atexit2.c: Likewise.
22691 * localedata/README: Likewise.
22692 * malloc/tst-mallocfork.c: Likewise.
22693 * manual/install.texi: Likewise.
22694 * nptl/tst-pthread-getattr.c: Likewise.
22695 * stdio-common/tst-fgets.c: Likewise.
22696 * stdio-common/tst-fwrite.c: Likewise.
22697 * sunrpc/Makefile: Likewise.
22698 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22699 * wcsmbs/tst-mbrtowc2.c: Likewise.
22700 * configure: Regenerate.
22701 * INSTALL: Regenerate.
22702
22703 2017-11-15 Martin Sebor <msebor@redhat.com>
22704
22705 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22706 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22707 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22708
22709 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22710
22711 [BZ #22145]
22712 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22713 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22714
22715 [BZ #22145]
22716 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22717 Defer is_pty check until end of the function.
22718 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22719
22720 [BZ #22145]
22721 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22722 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22723 (ttyname): Likewise.
22724 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22725 (__ttyname_r): Likewise.
22726
22727 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22728 int to bool.
22729
22730 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22731
22732 * manual/terminal.texi (Is It a Terminal):
22733 Mention ENODEV for ttyname and ttyname_r.
22734
22735 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22736
22737 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22738 constant and macro.
22739
22740 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22741 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22742 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22743 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22744 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22745 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22746
22747 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22748
22749 * signal/sigrelse.c (sigrelse): Optimize implementation.
22750
22751 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22752 (__sigpause): Rely on __sigsuspend to implement single thread
22753 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22754
22755 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22756
22757 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22758 kernel version to 4.14.
22759
22760 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22761
22762 [BZ #22442]
22763 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22764 Check if ifname is too long.
22765
22766 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22767
22768 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22769
22770 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22771
22772 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22773 was accidentally lost.
22774
22775 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22776
22777 * localedata/locales/az_IR: Add standard copyright header.
22778
22779 2017-11-15 Florian Weimer <fweimer@redhat.com>
22780
22781 [BZ #22439]
22782 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22783 not just the top one. Output a new "subheaps" statistic.
22784
22785 2017-11-15 Florian Weimer <fweimer@redhat.com>
22786
22787 [BZ #22408]
22788 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22789 under the per-arena lock.
22790 * malloc/Makefile (tests): Add tst-malloc_info.
22791 (tst-malloc_info): Link with libpthread.
22792 * malloc/tst-malloc_info.c: New file.
22793
22794 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22795
22796 [BZ #21660]
22797 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22798 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22799 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22800 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22801 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22802 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22803 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22804 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22805 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22806 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22807 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22808 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22809 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22810 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22811 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22812 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22813 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22814 (__floating_type): Likewise.
22815 (__real_integer_type): Likewise.
22816 (__complex_integer_type): Likewise.
22817 (__expr_is_real): Likewise.
22818 (__tgmath_real_type_sub): Likewise.
22819 (__tgmath_real_type): Likewise.
22820 (__tgmath_complex_type_sub): Likewise.
22821 (__tgmath_complex_type): Likewise.
22822 (__TGMATH_F128): Likewise.
22823 (__TGMATH_CF128): Likewise.
22824 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22825 new macros.
22826 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22827 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22828 Likewise.
22829 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22830 Likewise.
22831 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22832 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22833 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22834 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22835 Likewise.
22836 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22837 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22838 Likewise.
22839 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22840 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22841 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22842 Likewise.
22843 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22844 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22845 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22846 (cimag): Likewise.
22847 (creal): Likewise.
22848
22849 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22850
22851 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22852 for stpncpy calls for GCC 8.
22853 (test_strncat): Disable -Wstringop-truncation warning for strncat
22854 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22855 strncat call for GCC 7.
22856 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22857 calls for GCC 8.
22858 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22859 trailing NUL.
22860
22861 * string/bug-strncat1.c: Include <libc-diag.h>.
22862 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22863
22864 2017-11-13 Claude Paroz <claude@2xlibre.net>
22865
22866 [BZ #22387]
22867 * localedata/locales/aa_DJ: Improved readibility by replacing
22868 <Uxxxx> sequences in the ASCII printable range by their ASCII
22869 character equivalents.
22870 * localedata/locales/aa_ER: Likewise.
22871 * localedata/locales/aa_ER@saaho: Likewise.
22872 * localedata/locales/aa_ET: Likewise.
22873 * localedata/locales/af_ZA: Likewise.
22874 * localedata/locales/agr_PE: Likewise.
22875 * localedata/locales/ak_GH: Likewise.
22876 * localedata/locales/am_ET: Likewise.
22877 * localedata/locales/anp_IN: Likewise.
22878 * localedata/locales/ar_AE: Likewise.
22879 * localedata/locales/ar_BH: Likewise.
22880 * localedata/locales/ar_DZ: Likewise.
22881 * localedata/locales/ar_EG: Likewise.
22882 * localedata/locales/ar_IN: Likewise.
22883 * localedata/locales/ar_IQ: Likewise.
22884 * localedata/locales/ar_JO: Likewise.
22885 * localedata/locales/ar_KW: Likewise.
22886 * localedata/locales/ar_LB: Likewise.
22887 * localedata/locales/ar_LY: Likewise.
22888 * localedata/locales/ar_MA: Likewise.
22889 * localedata/locales/ar_OM: Likewise.
22890 * localedata/locales/ar_QA: Likewise.
22891 * localedata/locales/ar_SA: Likewise.
22892 * localedata/locales/ar_SD: Likewise.
22893 * localedata/locales/ar_SS: Likewise.
22894 * localedata/locales/ar_SY: Likewise.
22895 * localedata/locales/ar_TN: Likewise.
22896 * localedata/locales/ar_YE: Likewise.
22897 * localedata/locales/as_IN: Likewise.
22898 * localedata/locales/ast_ES: Likewise.
22899 * localedata/locales/ayc_PE: Likewise.
22900 * localedata/locales/az_AZ: Likewise.
22901 * localedata/locales/az_IR: Likewise.
22902 * localedata/locales/be_BY: Likewise.
22903 * localedata/locales/be_BY@latin: Likewise.
22904 * localedata/locales/bem_ZM: Likewise.
22905 * localedata/locales/ber_DZ: Likewise.
22906 * localedata/locales/ber_MA: Likewise.
22907 * localedata/locales/bg_BG: Likewise.
22908 * localedata/locales/bhb_IN: Likewise.
22909 * localedata/locales/bho_IN: Likewise.
22910 * localedata/locales/bi_VU: Likewise.
22911 * localedata/locales/bn_BD: Likewise.
22912 * localedata/locales/bn_IN: Likewise.
22913 * localedata/locales/bo_CN: Likewise.
22914 * localedata/locales/bo_IN: Likewise.
22915 * localedata/locales/br_FR: Likewise.
22916 * localedata/locales/brx_IN: Likewise.
22917 * localedata/locales/bs_BA: Likewise.
22918 * localedata/locales/byn_ER: Likewise.
22919 * localedata/locales/ca_AD: Likewise.
22920 * localedata/locales/ca_ES: Likewise.
22921 * localedata/locales/ca_FR: Likewise.
22922 * localedata/locales/ca_IT: Likewise.
22923 * localedata/locales/ce_RU: Likewise.
22924 * localedata/locales/chr_US: Likewise.
22925 * localedata/locales/cmn_TW: Likewise.
22926 * localedata/locales/crh_UA: Likewise.
22927 * localedata/locales/cs_CZ: Likewise.
22928 * localedata/locales/csb_PL: Likewise.
22929 * localedata/locales/cv_RU: Likewise.
22930 * localedata/locales/cy_GB: Likewise.
22931 * localedata/locales/da_DK: Likewise.
22932 * localedata/locales/de_AT: Likewise.
22933 * localedata/locales/de_BE: Likewise.
22934 * localedata/locales/de_CH: Likewise.
22935 * localedata/locales/de_DE: Likewise.
22936 * localedata/locales/de_IT: Likewise.
22937 * localedata/locales/de_LI: Likewise.
22938 * localedata/locales/de_LU: Likewise.
22939 * localedata/locales/doi_IN: Likewise.
22940 * localedata/locales/dv_MV: Likewise.
22941 * localedata/locales/dz_BT: Likewise.
22942 * localedata/locales/el_CY: Likewise.
22943 * localedata/locales/el_GR: Likewise.
22944 * localedata/locales/en_AG: Likewise.
22945 * localedata/locales/en_AU: Likewise.
22946 * localedata/locales/en_BW: Likewise.
22947 * localedata/locales/en_CA: Likewise.
22948 * localedata/locales/en_DK: Likewise.
22949 * localedata/locales/en_GB: Likewise.
22950 * localedata/locales/en_HK: Likewise.
22951 * localedata/locales/en_IE: Likewise.
22952 * localedata/locales/en_IL: Likewise.
22953 * localedata/locales/en_IN: Likewise.
22954 * localedata/locales/en_NG: Likewise.
22955 * localedata/locales/en_NZ: Likewise.
22956 * localedata/locales/en_PH: Likewise.
22957 * localedata/locales/en_SG: Likewise.
22958 * localedata/locales/en_US: Likewise.
22959 * localedata/locales/en_ZA: Likewise.
22960 * localedata/locales/en_ZM: Likewise.
22961 * localedata/locales/en_ZW: Likewise.
22962 * localedata/locales/eo: Likewise.
22963 * localedata/locales/es_AR: Likewise.
22964 * localedata/locales/es_BO: Likewise.
22965 * localedata/locales/es_CL: Likewise.
22966 * localedata/locales/es_CO: Likewise.
22967 * localedata/locales/es_CR: Likewise.
22968 * localedata/locales/es_CU: Likewise.
22969 * localedata/locales/es_DO: Likewise.
22970 * localedata/locales/es_EC: Likewise.
22971 * localedata/locales/es_ES: Likewise.
22972 * localedata/locales/es_GT: Likewise.
22973 * localedata/locales/es_HN: Likewise.
22974 * localedata/locales/es_MX: Likewise.
22975 * localedata/locales/es_NI: Likewise.
22976 * localedata/locales/es_PA: Likewise.
22977 * localedata/locales/es_PE: Likewise.
22978 * localedata/locales/es_PR: Likewise.
22979 * localedata/locales/es_PY: Likewise.
22980 * localedata/locales/es_SV: Likewise.
22981 * localedata/locales/es_US: Likewise.
22982 * localedata/locales/es_UY: Likewise.
22983 * localedata/locales/es_VE: Likewise.
22984 * localedata/locales/et_EE: Likewise.
22985 * localedata/locales/eu_ES: Likewise.
22986 * localedata/locales/eu_ES@euro: Likewise.
22987 * localedata/locales/fa_IR: Likewise.
22988 * localedata/locales/ff_SN: Likewise.
22989 * localedata/locales/fi_FI: Likewise.
22990 * localedata/locales/fil_PH: Likewise.
22991 * localedata/locales/fo_FO: Likewise.
22992 * localedata/locales/fr_BE: Likewise.
22993 * localedata/locales/fr_CA: Likewise.
22994 * localedata/locales/fr_CH: Likewise.
22995 * localedata/locales/fr_FR: Likewise.
22996 * localedata/locales/fr_LU: Likewise.
22997 * localedata/locales/fur_IT: Likewise.
22998 * localedata/locales/fy_DE: Likewise.
22999 * localedata/locales/fy_NL: Likewise.
23000 * localedata/locales/ga_IE: Likewise.
23001 * localedata/locales/gd_GB: Likewise.
23002 * localedata/locales/gez_ER: Likewise.
23003 * localedata/locales/gez_ET: Likewise.
23004 * localedata/locales/gl_ES: Likewise.
23005 * localedata/locales/gu_IN: Likewise.
23006 * localedata/locales/gv_GB: Likewise.
23007 * localedata/locales/ha_NG: Likewise.
23008 * localedata/locales/hak_TW: Likewise.
23009 * localedata/locales/he_IL: Likewise.
23010 * localedata/locales/hi_IN: Likewise.
23011 * localedata/locales/hif_FJ: Likewise.
23012 * localedata/locales/hne_IN: Likewise.
23013 * localedata/locales/hr_HR: Likewise.
23014 * localedata/locales/hsb_DE: Likewise.
23015 * localedata/locales/ht_HT: Likewise.
23016 * localedata/locales/hu_HU: Likewise.
23017 * localedata/locales/hy_AM: Likewise.
23018 * localedata/locales/i18n: Likewise.
23019 * localedata/locales/ia_FR: Likewise.
23020 * localedata/locales/id_ID: Likewise.
23021 * localedata/locales/ig_NG: Likewise.
23022 * localedata/locales/ik_CA: Likewise.
23023 * localedata/locales/is_IS: Likewise.
23024 * localedata/locales/it_CH: Likewise.
23025 * localedata/locales/it_IT: Likewise.
23026 * localedata/locales/iu_CA: Likewise.
23027 * localedata/locales/ja_JP: Likewise.
23028 * localedata/locales/ka_GE: Likewise.
23029 * localedata/locales/kk_KZ: Likewise.
23030 * localedata/locales/kl_GL: Likewise.
23031 * localedata/locales/kn_IN: Likewise.
23032 * localedata/locales/ko_KR: Likewise.
23033 * localedata/locales/kok_IN: Likewise.
23034 * localedata/locales/ks_IN: Likewise.
23035 * localedata/locales/ks_IN@devanagari: Likewise.
23036 * localedata/locales/ku_TR: Likewise.
23037 * localedata/locales/kw_GB: Likewise.
23038 * localedata/locales/ky_KG: Likewise.
23039 * localedata/locales/lb_LU: Likewise.
23040 * localedata/locales/lg_UG: Likewise.
23041 * localedata/locales/li_BE: Likewise.
23042 * localedata/locales/li_NL: Likewise.
23043 * localedata/locales/lij_IT: Likewise.
23044 * localedata/locales/ln_CD: Likewise.
23045 * localedata/locales/lo_LA: Likewise.
23046 * localedata/locales/lt_LT: Likewise.
23047 * localedata/locales/lv_LV: Likewise.
23048 * localedata/locales/lzh_TW: Likewise.
23049 * localedata/locales/mag_IN: Likewise.
23050 * localedata/locales/mai_IN: Likewise.
23051 * localedata/locales/mg_MG: Likewise.
23052 * localedata/locales/mhr_RU: Likewise.
23053 * localedata/locales/mi_NZ: Likewise.
23054 * localedata/locales/mk_MK: Likewise.
23055 * localedata/locales/ml_IN: Likewise.
23056 * localedata/locales/mn_MN: Likewise.
23057 * localedata/locales/mni_IN: Likewise.
23058 * localedata/locales/mr_IN: Likewise.
23059 * localedata/locales/ms_MY: Likewise.
23060 * localedata/locales/mt_MT: Likewise.
23061 * localedata/locales/my_MM: Likewise.
23062 * localedata/locales/nan_TW: Likewise.
23063 * localedata/locales/nan_TW@latin: Likewise.
23064 * localedata/locales/nb_NO: Likewise.
23065 * localedata/locales/nds_DE: Likewise.
23066 * localedata/locales/nds_NL: Likewise.
23067 * localedata/locales/ne_NP: Likewise.
23068 * localedata/locales/nhn_MX: Likewise.
23069 * localedata/locales/niu_NU: Likewise.
23070 * localedata/locales/niu_NZ: Likewise.
23071 * localedata/locales/nl_AW: Likewise.
23072 * localedata/locales/nl_BE: Likewise.
23073 * localedata/locales/nl_NL: Likewise.
23074 * localedata/locales/nn_NO: Likewise.
23075 * localedata/locales/nr_ZA: Likewise.
23076 * localedata/locales/nso_ZA: Likewise.
23077 * localedata/locales/oc_FR: Likewise.
23078 * localedata/locales/om_ET: Likewise.
23079 * localedata/locales/om_KE: Likewise.
23080 * localedata/locales/or_IN: Likewise.
23081 * localedata/locales/os_RU: Likewise.
23082 * localedata/locales/pa_IN: Likewise.
23083 * localedata/locales/pa_PK: Likewise.
23084 * localedata/locales/pap_AW: Likewise.
23085 * localedata/locales/pap_CW: Likewise.
23086 * localedata/locales/pl_PL: Likewise.
23087 * localedata/locales/ps_AF: Likewise.
23088 * localedata/locales/pt_BR: Likewise.
23089 * localedata/locales/pt_PT: Likewise.
23090 * localedata/locales/quz_PE: Likewise.
23091 * localedata/locales/raj_IN: Likewise.
23092 * localedata/locales/ro_RO: Likewise.
23093 * localedata/locales/ru_RU: Likewise.
23094 * localedata/locales/ru_UA: Likewise.
23095 * localedata/locales/rw_RW: Likewise.
23096 * localedata/locales/sa_IN: Likewise.
23097 * localedata/locales/sat_IN: Likewise.
23098 * localedata/locales/sc_IT: Likewise.
23099 * localedata/locales/sd_IN: Likewise.
23100 * localedata/locales/sd_IN@devanagari: Likewise.
23101 * localedata/locales/se_NO: Likewise.
23102 * localedata/locales/sgs_LT: Likewise.
23103 * localedata/locales/shs_CA: Likewise.
23104 * localedata/locales/si_LK: Likewise.
23105 * localedata/locales/sid_ET: Likewise.
23106 * localedata/locales/sk_SK: Likewise.
23107 * localedata/locales/sl_SI: Likewise.
23108 * localedata/locales/sm_WS: Likewise.
23109 * localedata/locales/so_DJ: Likewise.
23110 * localedata/locales/so_ET: Likewise.
23111 * localedata/locales/so_KE: Likewise.
23112 * localedata/locales/so_SO: Likewise.
23113 * localedata/locales/sq_AL: Likewise.
23114 * localedata/locales/sq_MK: Likewise.
23115 * localedata/locales/sr_ME: Likewise.
23116 * localedata/locales/sr_RS: Likewise.
23117 * localedata/locales/sr_RS@latin: Likewise.
23118 * localedata/locales/ss_ZA: Likewise.
23119 * localedata/locales/st_ZA: Likewise.
23120 * localedata/locales/sv_FI: Likewise.
23121 * localedata/locales/sv_SE: Likewise.
23122 * localedata/locales/sw_KE: Likewise.
23123 * localedata/locales/sw_TZ: Likewise.
23124 * localedata/locales/szl_PL: Likewise.
23125 * localedata/locales/ta_IN: Likewise.
23126 * localedata/locales/ta_LK: Likewise.
23127 * localedata/locales/tcy_IN: Likewise.
23128 * localedata/locales/te_IN: Likewise.
23129 * localedata/locales/tg_TJ: Likewise.
23130 * localedata/locales/th_TH: Likewise.
23131 * localedata/locales/the_NP: Likewise.
23132 * localedata/locales/ti_ER: Likewise.
23133 * localedata/locales/ti_ET: Likewise.
23134 * localedata/locales/tig_ER: Likewise.
23135 * localedata/locales/tk_TM: Likewise.
23136 * localedata/locales/tl_PH: Likewise.
23137 * localedata/locales/tn_ZA: Likewise.
23138 * localedata/locales/to_TO: Likewise.
23139 * localedata/locales/tpi_PG: Likewise.
23140 * localedata/locales/tr_CY: Likewise.
23141 * localedata/locales/tr_TR: Likewise.
23142 * localedata/locales/ts_ZA: Likewise.
23143 * localedata/locales/tt_RU: Likewise.
23144 * localedata/locales/tt_RU@iqtelif: Likewise.
23145 * localedata/locales/ug_CN: Likewise.
23146 * localedata/locales/uk_UA: Likewise.
23147 * localedata/locales/unm_US: Likewise.
23148 * localedata/locales/ur_IN: Likewise.
23149 * localedata/locales/ur_PK: Likewise.
23150 * localedata/locales/uz_UZ: Likewise.
23151 * localedata/locales/uz_UZ@cyrillic: Likewise.
23152 * localedata/locales/ve_ZA: Likewise.
23153 * localedata/locales/vi_VN: Likewise.
23154 * localedata/locales/wa_BE: Likewise.
23155 * localedata/locales/wae_CH: Likewise.
23156 * localedata/locales/wal_ET: Likewise.
23157 * localedata/locales/wo_SN: Likewise.
23158 * localedata/locales/xh_ZA: Likewise.
23159 * localedata/locales/yi_US: Likewise.
23160 * localedata/locales/yo_NG: Likewise.
23161 * localedata/locales/yue_HK: Likewise.
23162 * localedata/locales/yuw_PG: Likewise.
23163 * localedata/locales/zh_CN: Likewise.
23164 * localedata/locales/zh_HK: Likewise.
23165 * localedata/locales/zh_SG: Likewise.
23166 * localedata/locales/zh_TW: Likewise.
23167 * localedata/locales/zu_ZA: Likewise.
23168
23169 2017-11-13 Florian Weimer <fweimer@redhat.com>
23170
23171 * support/next_to_fault.h, support/next_to_fault.c: New files.
23172 * support/Makefile (libsupport-routines): Add next_to_fault.
23173 * resolv/tst-inet_pton.c (struct next_to_fault)
23174 (next_to_fault_allocate, next_to_fault_free): Remove.
23175 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23176
23177 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23178
23179 * elf/dl-support.c: Include <dl-procruntime.c>.
23180 * include/link.h: Include <link_map.h>.
23181 * sysdeps/generic/dl-procruntime.c: New file.
23182 * sysdeps/generic/link_map.h: Likewise.
23183 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23184 the writable ld.so namespace.
23185
23186 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23187
23188 timezone: pacify GCC -Wstringop-truncation
23189 Problem reported by Martin Sebor in:
23190 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23191 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23192
23193 2017-11-12 Florian Weimer <fweimer@redhat.com>
23194
23195 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23196 tst-xreadlink.
23197 (tests): Add tst-xreadlink.
23198 * support/support.h (xstrndup): Declare.
23199 * support/xunistd.h (xunlink, xreadlink): Declare.
23200 * support/temp_file.h (support_create_temp_directory): Declare.
23201 * support/temp_file.c (support_create_temp_directory): New function.
23202 * support/support_chroot.c (support_chroot_create): Use it.
23203 * support/xreadlink.c: New file.
23204 * support/xstrndup.c: Likewise.
23205 * support/xunlink.c: Likewise.
23206 * support/tst-xreadlink.c: Likewise.
23207
23208 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23209
23210 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23211
23212 2017-11-11 Florian Weimer <fweimer@redhat.com>
23213
23214 [BZ #22409]
23215 [BZ #22412]
23216 * resolv/res_comp.c (printable_string, binary_hnok)
23217 (binary_leading_dash): New functions.
23218 (res_hnok): Reimplement using these functions and ns_name_pton.
23219 (res_ownok): Likewise.
23220 (res_mailok): Reimplement using printable_string, ns_name_pton and
23221 binary_hnok.
23222 (res_dnok): Reimplement using printable_string and ns_name_pton.
23223 * resolv/tst-res_hnok.c (tests): Add additional tests.
23224 (LETTERDIGITS, PRINTABLE): Define.
23225 (do_test): Adjust one_char results.
23226
23227 2017-11-11 Florian Weimer <fweimer@redhat.com>
23228
23229 [BZ #22413]
23230 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23231 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23232
23233 2017-11-11 Florian Weimer <fweimer@redhat.com>
23234
23235 * resolv/tst-ns_name_pton.c: New file.
23236 * resolv/Makefile (tests): Add tst-ns_name_pton.
23237 (tst-ns_name_pton): Link against libresolv.
23238
23239 2017-11-11 Florian Weimer <fweimer@redhat.com>
23240
23241 * resolv/tst-res_hnok.c: New file.
23242 * resolv/Makefile (tests): Add tst-res_hnok.
23243 (tst-res_hnok): Link against libresolv.
23244
23245 2017-11-11 Florian Weimer <fweimer@redhat.com>
23246
23247 * resolv/tst-resolv-network.c: Use test framework instead explicit
23248 main function.
23249
23250 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23251
23252 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23253 <jmp_buf-macros.h>.
23254 [!_ISOMAC] (STR_HELPER): New.
23255 [!_ISOMAC] (STR): Likewise.
23256 [!_ISOMAC] (TEST_SIZE): Likewise.
23257 [!_ISOMAC] (TEST_ALIGN): Likewise.
23258 [!_ISOMAC] (TEST_OFFSET): Likewise.
23259 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23260 field offsets of jmp_buf as well as sigjmp_buf.
23261 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23262 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23263 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23264 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23265 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23266 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23267 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23268 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23269 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23270 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23271 Likewise.
23272 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23273 Likewise.
23274 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23276 Likewise.
23277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23278 Likewise.
23279 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23280 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23281 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23282 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23283 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23285 Likewise.
23286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23287 Likewise.
23288 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23289 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23290 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23291
23292 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23293
23294 * include/float.h
23295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23296 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23298 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23300 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23302 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23304 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23306 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23308 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23310 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23312 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23314 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23316 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23318 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23319 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23320 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23321 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23322 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23323 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23324 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23325 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23326 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23327 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23328 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23330 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23332 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23334 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23336 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23338 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23340 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23342 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23344 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23346 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23348 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23350 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23352 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23354 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23356 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23358 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23360 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23362 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23363 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23364 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23365 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23366 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23367 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23368 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23369 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23370 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23371 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23372 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23373 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23374 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23375 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23376 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23377 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23378 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23379 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23380 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23381 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23382 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23383
23384 * stdlib/tst-strtod.h (F16): New macro.
23385 (F32): Likewise.
23386 (F64): Likewise.
23387 (F32X): Likewise.
23388 (F64X): Likewise.
23389 (F128X): Likewise.
23390 (IF_FLOAT16): Likewise.
23391 (IF_FLOAT32): Likewise.
23392 (IF_FLOAT64): Likewise.
23393 (IF_FLOAT32X): Likewise.
23394 (IF_FLOAT64X): Likewise.
23395 (IF_FLOAT128X): Likewise.
23396 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23397 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23398 (STRTOD_TEST_FOREACH): Likewise.
23399 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23400 (CHOOSE_f64): Likewise.
23401 (CHOOSE_f32x): Likewise.
23402 (CHOOSE_f64x): Likewise.
23403
23404 2017-11-07 Andreas Schwab <schwab@suse.de>
23405
23406 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23407
23408 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23409
23410 [BZ #22403]
23411 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23412 to be escaped.
23413 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23414 to be escaped.
23415
23416 2017-11-07 Claude Paroz <claude@2xlibre.net>
23417
23418 [BZ #22403]
23419 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23420 to be escaped.
23421 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23422 to be escaped.
23423 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23424 to be escaped.
23425
23426 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23427
23428 [BZ #22298]
23429 * nptl/allocatestack.c (allocate_stack): Check if
23430 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23431 __PTHREAD_MUTEX_HAVE_PREV is defined.
23432 * nptl/descr.h (pthread): Likewise.
23433 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23434 Likewise.
23435 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23436 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23437 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23438 * sysdeps/nptl/bits/thread-shared-types.h
23439 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23440 defines.
23441 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23442 of __WORDSIZE for internal layout.
23443 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23444 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23445 instead of __WORDSIZE whether to use an union for __spins and __list
23446 fields.
23447 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23448 case.
23449 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23450 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23451 defines.
23452 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23453 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23454 Likewise.
23455 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23456 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23457 Likewise.
23458 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23459 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23460 Likewise.
23461 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23462 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23463 Likewise.
23464 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23465 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23466 Likewise.
23467 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23468 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23469 Likewise.
23470 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23471 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23472 Likewise.
23473 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23474 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23475 Likewise.
23476 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23477 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23478 Likewise.
23479 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23480 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23481 Likewise.
23482 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23483 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23484 Likewise.
23485 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23486 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23487 Likewise.
23488 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23489 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23490 Likewise.
23491 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23492 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23493 Likewise.
23494
23495 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23496 New macros.
23497 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23498 checks for expected input type size.
23499 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23500 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23501 Likewise.
23502 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23503 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23504 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23505 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23506 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23507 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23508 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23509 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23510 superflous runtime assert check.
23511 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23512 Likewise.
23513 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23514 Likewise.
23515 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23516 Likewise.
23517 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23518 Likewise.
23519 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23520 Likewise.
23521 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23522 Likewise.
23523 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23524 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23525 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23526 Likewise.
23527 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23528 Likewise.
23529 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23530 Likewise.
23531 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23532 Likewise.
23533 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23534 Likewise.
23535 * nptl/pthread_attr_setinheritsched.c
23536 (__pthread_attr_setinheritsched): Likewise.
23537 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23538 Likewise.
23539 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23540 Likewise.
23541 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23542 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23543 __old_pthread_attr_setstack): Likewise.
23544 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23545 Likewise.
23546 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23547 Likewise.
23548 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23549 Likewise.
23550 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23551 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23552 Likewise.
23553 * nptl/tst-typesizes.c: Remove file.
23554
23555 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23556 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23557 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23558 checks for internal pthread_mutex_t offsets.
23559 * sysdeps/aarch64/nptl/pthread-offsets.h
23560 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23561 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23562 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23563 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23564 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23565 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23566 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23567 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23568 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23569 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23570 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23571 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23572 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23573 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23574 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23575 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23576 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23577 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23578
23579 2017-11-07 Florian Weimer <fweimer@redhat.com>
23580
23581 * bits/mman-linux.h: Move ...
23582 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23583 comment.
23584 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23585 outdated comment.
23586
23587 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23588
23589 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23590 Redefine STRNLEN as __strnlen_power8.
23591
23592 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23593
23594 * signal/sighold.c (sighold): Optimize implementation.
23595
23596 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23597 __NR_rt_sigqueueinfo.
23598
23599 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23600 __sigtimedwait.
23601 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23602 assume __NR_rt_sigtimedwait.
23603 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23604 and add LIBC_CANCEL_HANDLED for cancellation marking.
23605 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23606
23607 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23608 (sysdeps_routines): Add memchr_noneon.
23609 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23610 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23611 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23612 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23613 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23614 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23615 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23616
23617 * sysdeps/arm/arm-ifunc.h: New file.
23618 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23619 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23620 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23621 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23622 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23623 (__memcpy_neon): Avoid create hidden alias.
23624 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23625 (__memcpy_vfp): Likewise.
23626 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23627 (sysdep_routines): Add memcpy_arm.
23628 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23629
23630 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23631
23632 [BZ #22362]
23633 * Makerules (make-link-multidir): New.
23634 * config.make.in (multidir): New.
23635 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23636 * configure: Regenerated.
23637 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23638 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23639 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23640 New target.
23641
23642 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23643
23644 [BZ #22402]
23645 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23646 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23647
23648 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23649
23650 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23651 to be escaped.
23652
23653 2017-11-04 Florian Weimer <fweimer@redhat.com>
23654
23655 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23656
23657 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23658
23659 * math/math.h [__HAVE_DISTINCT_FLOAT16
23660 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23661 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23662 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23663 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23664 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23665 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23666 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23667 (__MATH_TG_F32): New macro.
23668 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23669 (__MATH_TG_F64X): Likewise.
23670 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23671 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23672
23673 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23674
23675 * po/de.po: Update translations.
23676 * po/ru.po: Likewise.
23677
23678 2017-11-03 Florian Weimer <fweimer@redhat.com>
23679
23680 * manual/filesys.texi (Hard Links): Document linkat.
23681
23682 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23683
23684 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23685 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23686 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23687 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23688 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23689 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23690 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23691 the same as _Float128.
23692 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23693 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23694 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23695
23696 * stdlib/stdlib.h
23697 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23698 Declare.
23699 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23700 Likewise.
23701 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23702 Likewise.
23703 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23704 (strtof32x): Likewise.
23705 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23706 (strtof64x): Likewise.
23707 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23708 (strtof128x): Likewise.
23709 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23710 (strfromf16): Likewise.
23711 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23712 (strfromf32): Likewise.
23713 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23714 (strfromf64): Likewise.
23715 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23716 (strfromf32x): Likewise.
23717 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23718 (strfromf64x): Likewise.
23719 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23720 (strfromf128x): Likewise.
23721 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23722 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23723 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23724 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23725 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23726 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23727
23728 2017-11-03 Richard Henderson <rth@twiddle.net>
23729
23730 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23731
23732 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23733
23734 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23735
23736 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23737
23738 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23739 DT_TLSDESC_GOT initialization.
23740 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23741 (_dl_tlsdesc_resolve_hold): Likewise.
23742 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23743 (_dl_tlsdesc_resolve_hold): Likewise.
23744 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23745 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23746
23747 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23748
23749 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23750
23751 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23752
23753 [BZ #18572]
23754 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23755 non-lazily for R_ARM_TLS_DESC.
23756
23757 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23758
23759 [BZ #17078]
23760 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23761 R_ARM_TLS_DESC case.
23762 (elf_machine_lazy_rel): Remove the prelink check.
23763
23764 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23765
23766 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23767 DT_TLSDESC_GOT initialization.
23768 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23769 (_dl_tlsdesc_resolve_rela): Likewise.
23770 (_dl_tlsdesc_resolve_hold): Likewise.
23771 (_dl_tlsdesc_undefweak): Remove ldar.
23772 (_dl_tlsdesc_dynamic): Likewise.
23773 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23774 (_dl_tlsdesc_resolve_rela): Likewise.
23775 (_dl_tlsdesc_resolve_hold): Likewise.
23776 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23777 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23778 (_dl_tlsdesc_resolve_rela): Likewise.
23779 (_dl_tlsdesc_resolve_hold): Likewise.
23780
23781 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23782
23783 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23784 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23785
23786 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23787
23788 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23789 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23790
23791 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23792
23793 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23794 Declare.
23795 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23796 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23797 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23798 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23799 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23800 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23801 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23802 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23803 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23804 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23805 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23806
23807 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23808
23809 [BZ #22382]
23810 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23811 * localedata/locales/tpi_PG: Add standard header.
23812
23813 2017-11-02 Florian Weimer <fweimer@redhat.com>
23814
23815 test-errno-linux: quotactl can fail with EPERM in containers.
23816 * sysdeps/unix/sysv/linux/test-errno-linux.c
23817 (LIST, LIST_FORWARD): New macros.
23818 (check_error_in_list): New function.
23819 (test_wrp_rv): Accept list of permitted error codes.
23820 (test_wrp_rv2): Remove.
23821 (test_wrp): Call test_wrp_rv with list of error codes.
23822 (test_wrp2): Accept list of error codes.
23823 (do_test): Adjust. Allow EPERM for quotactl.
23824
23825 2017-11-02 Florian Weimer <fweimer@redhat.com>
23826
23827 * stdio-common/bug16.c (do_test): Use array_length.
23828 * stdio-common/errlist.c (_sys_nerr): Likewise.
23829 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23830 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23831 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23832 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23833 (do_test): Use array_length.
23834 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23835 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23836 * stdio-common/tst-printf-round.c (do_test): Likewise.
23837 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23838 (CHECK): Use array_length.
23839 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23840 * stdio-common/tstscanf.c (main): Likewise.
23841 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23842
23843 2017-11-02 Florian Weimer <fweimer@redhat.com>
23844
23845 Add array_length and array_end macros.
23846 * include/array_length.h: New file.
23847
23848 2017-11-02 Florian Weimer <fweimer@redhat.com>
23849
23850 [BZ #22332]
23851 * posix/tst-glob-tilde.c (do_noescape): New variable.
23852 (one_test): Process it.
23853 (do_test): Set do_noescape. Add unescaping test case.
23854
23855 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23856
23857 * math/complex.h
23858 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23859 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23860 with appropriate macros defined and undefined.
23861 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23862 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23863 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23864 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23865 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23866 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23867 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23868 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23869 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23870 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23871
23872 * math/complex.h
23873 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23874 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23875 that for long double. Do not condition define and undefine of
23876 _Mdouble_complex_ on [__CFLOAT128].
23877
23878 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23879
23880 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23881 of <sysdeps/generic/sysdep.h>.
23882 (ALIGNARG): Removed.
23883 (ASM_SIZE_DIRECTIVE): Likewise.
23884 (ENTRY): Likewise.
23885 (END): Likewise.
23886 (ENTRY_CHK): Likewise.
23887 (END_CHK): Likewise.
23888 (syscall_error): Likewise.
23889 (mcount): Likewise.
23890 (PSEUDO_END): Likewise.
23891 (L): Likewise.
23892 (atom_text_section): Likewise.
23893 * sysdeps/x86/sysdep.h: New file.
23894 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23895 of <sysdeps/generic/sysdep.h>.
23896 (ALIGNARG): Removed.
23897 (ASM_SIZE_DIRECTIVE): Likewise.
23898 (ENTRY): Likewise.
23899 (END): Likewise.
23900 (ENTRY_CHK): Likewise.
23901 (END_CHK): Likewise.
23902 (syscall_error): Likewise.
23903 (mcount): Likewise.
23904 (PSEUDO_END): Likewise.
23905 (L): Likewise.
23906 (atom_text_section): Likewise.
23907
23908 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23909
23910 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23911 category of LC_CTYPE set to "i18n:2012".
23912 * localedata/locales/i18n_ctype: Regenerate.
23913
23914 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23915
23916 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23917 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23918 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23919 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23920
23921 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23922 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23924 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23925
23926 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23927
23928 * math/complex.h
23929 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23930 New macro.
23931 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23932 Likewise.
23933 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23934 Likewise.
23935 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23936 (CMPLXF32X): Likewise.
23937 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23938 (CMPLXF64X): Likewise.
23939 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23940 (CMPLXF128X): Likewise.
23941
23942 * math/math.h
23943 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23944 (__MATH_EVAL_FMT2): Define to add 0.0f.
23945
23946 2017-10-31 Alan Modra <amodra@gmail.com>
23947
23948 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23949 include sysdep.h.
23950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23964 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23965 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23966 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23967 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23968 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23969 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23970 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23971 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23972 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23973 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23974 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23975 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23976 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23977 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23978 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23979 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23980 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23981 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23982 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23983 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23984 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23985 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23986 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23987 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23988 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23989 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23990 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23991 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23992 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23993 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23994 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23995 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23996 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23997 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23998 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23999 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24000 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24001 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24002 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24003 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24004 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24005 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24006 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24007 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24008 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24010 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24011 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24012 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24013 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24014 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24015 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24016 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24017 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24018 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24019
24020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24021 include sysdep.h and math_ldbl_opt.h.
24022
24023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24024 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24049
24050 2017-10-31 Alan Modra <amodra@gmail.com>
24051
24052 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24053 string/strncase_l.c, not string/strncase.c.
24054 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24055 (libc_hidden_def): Redefine.
24056
24057 2017-10-31 Alan Modra <amodra@gmail.com>
24058
24059 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24060 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24061 (__strcasecmp): Don't define.
24062
24063 2017-10-31 Alan Modra <amodra@gmail.com>
24064
24065 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24066 IS_IN (libc).
24067 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24068 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24069 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24070
24071 2017-10-31 Alan Modra <amodra@gmail.com>
24072
24073 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24074 USE_AS_STPNCPY.
24075
24076 2017-10-31 Alan Modra <amodra@gmail.com>
24077
24078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24079 Redefine only when SHARED.
24080
24081 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24082
24083 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24084 Include <bits/math-finite.h> with appropriate macros defined and
24085 undefined.
24086 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24087 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24088 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24089 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24090 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24091
24092 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24093 [!_Mlong_double_] (_Mlong_double_): Likewise.
24094 [!_Mfloat16_] (_Mfloat16_): Likewise.
24095 [!_Mfloat32_] (_Mfloat32_): Likewise.
24096 [!_Mfloat64_] (_Mfloat64_): Likewise.
24097 [!_Mfloat128_] (_Mfloat128_): Likewise.
24098 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24099 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24100 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24101 (_Mdouble_): Define without indirection through those macros.
24102 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24103 [!_Mfloat128_] (_Mfloat128_): Likewise.
24104 [_Mlong_double_] (_Mlong_double_): Likewise.
24105 (_Mdouble_): Define without indirection through those macros.
24106 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24107 not add -D_Mlong_double_=double.
24108 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24109 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24110
24111 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24112
24113 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24114
24115 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24116
24117 * sysdeps/x86/libc-start.c: Reformat.
24118
24119 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24120
24121 [BZ #22353]
24122 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24123 (1): Renamed to ...
24124 (L(Src0)): This.
24125 (L(Src1)): New.
24126 (L(Src2)): Likewise.
24127 (L(1)): Renamed to ...
24128 (L(Src3)): This.
24129
24130 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24131
24132 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24133 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24134 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24135 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24136 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24137 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24138 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24139 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24140 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24141 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24142 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24143 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24144 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24145 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24146 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24147 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24148 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24149 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24150 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24151 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24152 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24153 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24154 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24155 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24156 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24157 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24158 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24159 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24160 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24161 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24162 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24163 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24164 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24165 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24166 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24167 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24168 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24169 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24170 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24171 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24172 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24173 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24174 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24175 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24176 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24177 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24178 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24179 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24180 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24181 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24182 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24183 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24184 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24185 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24186 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24187 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24188 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24189 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24190 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24191 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24192 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24193 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24194 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24195 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24196 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24197 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24198
24199 2017-10-30 Florian Weimer <fweimer@redhat.com>
24200
24201 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24202 always defined.
24203 * io/tst-mkdirat.c (do_test): Likewise.
24204 * io/tst-mkfifoat.c (do_test): Likewise.
24205 * io/tst-mknodat.c (do_test): Likewise.
24206 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24207 * locale/programs/locale.c (select_dirs): Likewise.
24208 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24209 * posix/bug-glob2.c (my_readdir): Likewise.
24210 * posix/tst-dir.c (main): Likewise.
24211 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24212 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24213
24214 2017-10-30 Florian Weimer <fweimer@redhat.com>
24215
24216 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24217 just __USE_GNU.
24218
24219 2017-10-30 Florian Weimer <fweimer@redhat.com>
24220
24221 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24222 Convert to support/test-driver.c.
24223 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24224 New macro parameters.
24225 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24226 * posix/tst-gnuglob.c: New file.
24227 * posix/tst-gnuglob64.c: Likewise.
24228 * posix/Makefile (tests): Add tst-gnuglob64.
24229
24230 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24231
24232 [BZ #19485]
24233 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24234 and use a better translation for March in “mon”.
24235 * localedata/locales/csb_PL: Use more ASCII to improve the
24236 readability of the source.
24237
24238 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24239
24240 [BZ #13953]
24241 * localedata/locales/km_KH: Use ASCII as much
24242 as possible for better readability of the source and
24243 remove useless comments.
24244 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24245 was commented out and apparently wrong anyway because it was
24246 using Lao characters. If Buddhist era should be used
24247 for km_KH, a native speaker should write the correct formaat
24248 for Khmer.
24249 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24250 (According to CLDR, the first weekday for Cambodia is Sunday).
24251 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24252 (These were using Lao characters which must be wrong. If we get
24253 the correct data from a native speaker, we could add it back, until
24254 then it is better not to have name_mr and name_mrs at all than
24255 having it wrong).
24256
24257 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24258
24259 * locale/loadlocale.c: Correct size of
24260 _nl_value_type_LC_<category> arrays.
24261
24262 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24263
24264 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24265 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24266 with appropriate macros defined and undefined.
24267 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24268 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24269 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24270 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24271 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24272
24273 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24274
24275 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24276 "-O2 -march=i586".
24277
24278 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24279
24280 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24281 with lowercase letters to make it agree with CLDR.
24282
24283 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24284
24285 [BZ #15260]
24286 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24287 first letters of yesstr and nostr in yesexpr and noexpr,
24288 not for the full words.
24289 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24290 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24291 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24292 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24293 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24294 first letters of yesstr and nostr in yesexpr and noexpr,
24295 until now only English was matched in yesexpr and noexpr.
24296 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24297 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24298 fil but not for tl. As tl and fil are very similar, using fil
24299 is probably better than using English.
24300
24301 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24302
24303 [BZ #21706]
24304 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24305 in yesstr and nostr.
24306
24307 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24308
24309 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24310 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24311 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24312 Likewise.
24313 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24314 Likewise.
24315 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24316 Likewise.
24317 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24318 Likewise.
24319 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24320 (SNANF128X): Likewise.
24321
24322 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24323 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24324 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24325 (HUGE_VAL_F32): Likewise.
24326 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24327 (HUGE_VAL_F64): Likewise.
24328 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24329 (HUGE_VAL_F32X): Likewise.
24330 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24331 (HUGE_VAL_F64X): Likewise.
24332 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24333 (HUGE_VAL_F128X): Likewise.
24334
24335 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24336
24337 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24338 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24339 for the br_FR locale.
24340
24341 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24342
24343 [BZ #21706]
24344 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24345
24346 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24347
24348 * locale/programs/record-status.h: Define globals, and function
24349 prototypes. Move function bodies...
24350 * locale/programs/record-status.c: ... to here. New file.
24351 * iconv/Makefile (iconv_prog-modules): Add record-status.
24352 * locale/Makefile (lib-modules): Likewise.
24353 * iconv/iconv_prog.c: Remove verbose.
24354 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24355 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24356 record a warning about ASCII compatibility.
24357 * locale/programs/ld-monetary.c (monetary_finish): If
24358 warn_int_curr_symbol is true then record a warning about the symbol
24359 not being in our ISO 4217 list.
24360 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24361 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24362 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24363 (OPT_NO_WARN): Define.
24364 (OPT_WARN): Define.
24365 (options): Add entry for --no-warnings, and --warnings.
24366 (set_warnings): New function to enable/disable warnings.
24367 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24368 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24369 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24370 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24371 Pass flags to generate_locale.
24372 (generate_locale): Accept new flag argument and pass it to localedef
24373 invocation.
24374 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24375 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24376
24377 * localedata/Makefile (test-input-data): Use full file name.
24378 * localedata/da_DK.in: Rename to...
24379 * localedata/da_DK.ISO-8859-1.in: ...this.
24380 * localedata/de_DE.in: Rename to...
24381 * localedata/de_DE.ISO-8859-1.in: ...this.
24382 * localedata/en_US.in: Rename to...
24383 * localedata/en_US.ISO-8859-1.in: ...this.
24384 * localedata/fr_FR.in: Rename to...
24385 * localedata/fr_FR.UTF-8.in: ... this.
24386 * localedata/hr_HR.in: Rename to...
24387 * localedata/hr_HR.ISO-8859-2.in: ...this.
24388 * localedata/hu_HU.in: Rename to...
24389 * localedata/hu_HU.UTF-8.in: ...this.
24390 * localedata/si_LK.in: Rename to...
24391 * localedata/si_LK.UTF-8.in: ...this.
24392 * localedata/sv_SE.in: Rename to...
24393 * localedata/sv_SE.ISO-8859-1.in: ...this.
24394 * localedata/tr_TR.in: Rename to...
24395 * localedata/tr_TR.UTF-8.in: ...this.
24396 * localedata/uk_UA.in: Rename to...
24397 * localedata/uk_UA.UTF-8.in: ...this.
24398 * localedata/sort-test.sh: Test file is locale name with the
24399 suffix.
24400
24401 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24402 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24403 file.
24404 * localedata/locales/i18n_ctype: Regenerate.
24405 * localedata/locales/tr_TR: Likewise.
24406 * localedata/locales/translit_circle: Likewise.
24407 * localedata/locales/translit_cjk_compat: Likewise.
24408 * localedata/locales/translit_combining: Likewise.
24409 * localedata/locales/translit_compat: Likewise.
24410 * localedata/locales/translit_font: Likewise.
24411 * localedata/locales/translit_fraction: Likewise.
24412
24413 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24414
24415 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24416 lxvd2x/stxvd2x with lvx/stvx.
24417 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24418
24419 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * include/alloc_buffer.h: Replace "if if " with "if " in
24422 comments.
24423 * sysdeps/mips/memcpy.S: Likkewise.
24424 * sysdeps/mips/memset.S: Likewise.
24425 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24426 Likewise.
24427 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24428 Likewise.
24429 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24430 Likewise.
24431
24432 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24433
24434 [BZ #15261]
24435 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24436 yesexpr and noexpr.
24437 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24438 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24439 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24440 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24441 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24442 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24443 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24444
24445 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24446
24447 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24448 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24449 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24450 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24451 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24452 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24453 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24454 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24455 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24456 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24457 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24458 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24459
24460 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24461
24462 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24463 as possible for better readability of the source.
24464 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24465 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24466 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24467 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24468 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24469 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24470 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24471 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24472 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24473 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24474 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24475 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24476 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24477 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24478 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24479 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24480 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24481 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24482 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24483 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24484 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24485 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24486 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24487 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24488 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24489 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24490 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24491 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24492 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24493 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24494 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24495 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24496 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24497 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24498 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24499 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24500 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24501 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24502 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24503 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24504 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24505 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24506 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24507 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24508 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24509 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24510 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24511 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24512 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24513 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24514 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24515 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24516 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24517 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24518 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24519 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24520 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24521 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24522 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24523 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24524 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24525 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24526 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24527 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24528 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24529 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24530 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24531 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24532 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24533 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24534 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24535 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24536 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24537 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24538 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24539 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24540 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24541 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24542 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24543 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24544 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24545 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24546 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24547 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24548 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24549 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24550 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24551 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24552 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24553 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24554 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24555 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24556 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24557 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24558 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24559 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24560 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24561 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24562 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24563 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24564 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24565 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24566 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24567 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24568 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24569 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24570 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24571 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24572 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24573 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24574 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24575 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24576 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24577 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24578 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24579 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24580 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24581 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24582 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24583 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24584 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24585 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24586 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24587 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24588 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24589 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24590 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24591 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24592 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24593 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24594 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24595 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24596 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24597 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24598 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24599 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24600 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24601 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24602 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24603 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24604 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24605 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24606 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24607 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24608 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24609 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24610 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24611 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24612 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24613 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24614 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24615 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24616 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24617 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24618 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24619 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24620 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24621 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24622 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24623 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24624 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24625 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24626 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24627 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24628 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24629 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24630 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24631 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24632 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24633 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24634 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24635 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24636 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24637 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24638
24639 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24640
24641 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24642 (Use first letters of yesstr and nostr correctly instead of using
24643 full words).
24644
24645 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24646
24647 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24648 (Use first letters of yesstr and nostr correctly).
24649
24650 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24651
24652 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24653 also check for the first characters of yesstr and nostr.
24654 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24655 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24656
24657 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24658
24659 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24660 also check for Chinese characters.
24661
24662 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24663
24664 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24665 match also for the contents of yesstr and nostr. As the first letter
24666 of yesstr and nostr is equal, checking only for the first letter
24667 is not enough.
24668
24669 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24670
24671 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24672 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24673
24674 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24675
24676 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24677 of main contributor.
24678
24679 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24680
24681 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24682 instead of using English.
24683
24684 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24685
24686 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24687 by including the first letters of nostr and yesexpr in the regexp.
24688 Also make it more readable by using ASCII where possible.
24689
24690 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24691
24692 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24693 the first letter of nostr in the regexp. It agrees with CLDR now.
24694 Also make it more readable by using ASCII where possible.
24695
24696 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24697
24698 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24699 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24700 these strings contain a U+17D6 (which somewhat looks like a colon)
24701 instead of a real colon to separate the full words for “yes”
24702 and “no” from the single letter responses.
24703
24704 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24705
24706 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24707 it agree with CLDR (include the first letter of yesstr).
24708 Also make it more readable by using ASCII where possible.
24709
24710 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24711
24712 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24713 and improve yesexpr and noexpr. The yesstr and nostr apparently
24714 came from CLDR. And CLDR has a bug there: these strings contain
24715 a U+0903 (which looks like a colon) instead of a real colon
24716 to separate the full words for “yes” and “no” from the single
24717 letter responses.
24718
24719 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24720
24721 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24722 letters of the full yesstr and nostr in yesexpr and noexpr.
24723
24724 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24725
24726 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24727 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24728 * localedata/locales/an_ES: Make source more readable by using ASCII
24729 where possible.
24730
24731 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24732
24733 [BZ #20952]
24734 * localedata/locales/yuw_PG: New file.
24735 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24736 * locale/iso-639.def: Add Yau (Uruwa).
24737
24738 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24739
24740 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24741
24742 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24743
24744 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24745 (__libc_realloc): Likewise.
24746 (_mid_memalign): Likewise.
24747 (__libc_calloc): Likewise.
24748
24749 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24750
24751 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24752 by adding the generic +1 and -0 as in all other locales.
24753 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24754 day names and make it more readable by using ASCII where possible.
24755
24756 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24757
24758 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24759 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24760
24761 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24762
24763 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24764 WNOHANG in waitpid call.
24765
24766 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24767
24768 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24769 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24770
24771 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24772 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24773 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24774 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24775 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24776 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24777 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24778 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24779 variables.
24780
24781 2017-10-23 Michael Collison <michael.collison@arm.com>
24782
24783 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24784 with __builtin_sqrt.
24785 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24786 with __builtin_sqrtf.
24787 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24788 with __builtin_ceil.
24789 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24790 with __builtin_ceilf.
24791 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24792 with __builtin_floor.
24793 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24794 with __builtin_floorf.
24795 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24796 with __builtin_fma.
24797 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24798 with __builtin_fmaf.
24799 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24800 with __builtin_fmax.
24801 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24802 with __builtin_fmaxf.
24803 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24804 with __builtin_fmin.
24805 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24806 with __builtin_fminf.
24807 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24808 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24809 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24810 with builtin_rint and conversion to int.
24811 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24812 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24813 with builtin_llround.
24814 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24815 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24816 with builtin_rint and conversion to long int.
24817 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24818 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24819 with builtin_lround.
24820 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24821 with builtin_lroundf.
24822 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24823 statements with __builtin_nearbyint.
24824 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24825 statements with __builtin_nearbyintf.
24826 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24827 with __builtin_rint.
24828 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24829 with __builtin_rintf.
24830 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24831 with __builtin_round.
24832 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24833 with __builtin_roundf.
24834 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24835 with __builtin_trunc.
24836 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24837 with __builtin_truncf.
24838 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24839 and s_l[l]round[f].c too.
24840
24841 2017-10-23 Alan Modra <amodra@gmail.com>
24842
24843 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24844 Adjust stack after restoring regs. Add missing LR cfi_restore.
24845
24846 2017-10-23 Alan Modra <amodra@gmail.com>
24847
24848 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24849 Move LR save and frame setup/teardown and LR restore to
24850 immediately around memset call. Provide cfi.
24851
24852 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24853
24854 * sysdeps/i386/fpu/e_powf.S: Removed.
24855 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24856 * sysdeps/i386/fpu/w_powf.c: Likewise.
24857 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24858 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24859 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24860 Add e_powf-sse2.
24861 (CFLAGS-e_powf-sse2.c): New.
24862 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24863 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24864
24865 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24866
24867 * sysdeps/i386/fpu/e_log2f.S: Removed.
24868 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24869 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24870 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24871 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24872 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24873 Add e_log2f-sse2.
24874 (CFLAGS-e_log2f-sse2.c): New.
24875 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24876 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24877
24878 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24879
24880 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24881 Add e_powf-fma.
24882 (CFLAGS-e_powf-fma.c): New.
24883 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24884 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24885
24886 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24887
24888 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24889 Add e_log2f-fma.
24890 (CFLAGS-e_log2f-fma.c): New.
24891 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24892 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24893
24894 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24895
24896 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24897 Add e_logf-fma.
24898 (CFLAGS-e_logf-fma.c): New.
24899 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24900 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24901
24902 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24903
24904 * sysdeps/i386/fpu/e_logf.S: Removed.
24905 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24906 * sysdeps/i386/fpu/w_logf.c: Likewise.
24907 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24908 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24909 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24910 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24911 Add e_logf-sse2.
24912 (CFLAGS-e_logf-sse2.c): New.
24913 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24914 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24915
24916 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24917
24918 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24919 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24920 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24921 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24922 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24923 Add e_exp2f-sse2.
24924 (CFLAGS-e_exp2f-sse2.c): New.
24925 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24926 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24927
24928 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24929
24930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24931 Add e_exp2f-fma.
24932 (CFLAGS-e_exp2f-fma.c): New.
24933 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24934 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24935
24936 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24937
24938 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24939 * sysdeps/i386/fpu/e_expf.S: Likewise.
24940 * sysdeps/i386/fpu/math_errf.c: Likewise.
24941 * sysdeps/i386/fpu/w_expf.c: Likewise.
24942 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24943 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24944 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24945 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24946 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24947 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24948 Remove e_expf-ia32.
24949 (CFLAGS-e_expf-sse2.c): New.
24950 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24951 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24952
24953 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24954
24955 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24956 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24957 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24958 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24959 e_expf.c.
24960 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24961 New.
24962 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24963 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24964 Renamed to ...
24965 (__redirect_expf): This.
24966 (SYMBOL_NAME): Changed to expf.
24967 (__ieee754_expf): Renamed to ...
24968 (__expf): This.
24969 (__GI___expf): This.
24970 (__ieee754_expf): Add strong_alias.
24971 (__expf_finite): Likewise.
24972 (__expf): New.
24973 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24974
24975 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24976
24977 [BZ #22332]
24978 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24979 unescaping.
24980
24981 2017-10-21 Florian Weimer <fweimer@redhat.com>
24982
24983 * posix/Makefile (tests): Add tst-glob-tilde.
24984 (tests-special): Add tst-glob-tilde-mem.out
24985 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24986 (tst-glob-tilde-mem.out): Add mtrace check.
24987 * posix/tst-glob-tilde.c: New file.
24988
24989 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24990
24991 * bits/floatn-common.h: New file.
24992 * math/Makefile (headers): Add bits/floatn-common.h.
24993 * bits/floatn.h: Include <bits/floatn-common.h>.
24994 * sysdeps/ia64/bits/floatn.h: Likewise.
24995 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24996 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24997 * sysdeps/powerpc/bits/floatn.h: Likewise.
24998 * sysdeps/x86/bits/floatn.h: Likewise.
24999
25000 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25001
25002 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25003 indicates whether compiler emits an warning for alias for
25004 functions with incompatible types.
25005
25006 [BZ #22273]
25007 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25008 the auxiliary process is terminated by a signal before calling _exit
25009 or execve.
25010
25011 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25012
25013 [BZ #21265]
25014 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25015 New.
25016 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25017 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25018 and bit_arch_XSAVEC_Usable if needed.
25019 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25020 and bit_arch_Use_dl_runtime_resolve_opt.
25021 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25022 Removed.
25023 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25024 (bit_arch_Prefer_No_AVX512): Updated.
25025 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25026 (bit_arch_XSAVEC_Usable): New.
25027 (STATE_SAVE_OFFSET): Likewise.
25028 (STATE_SAVE_MASK): Likewise.
25029 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25030 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25031 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25032 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25033 (index_arch_XSAVEC_Usable): New.
25034 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25035 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25036 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25037 is enabled.
25038 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25039 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25040 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25041 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25042 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25043 _dl_runtime_resolve_xsavec.
25044 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25045 Removed.
25046 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25047 instead of VEC_SIZE.
25048 (REGISTER_SAVE_BND0): Removed.
25049 (REGISTER_SAVE_BND1): Likewise.
25050 (REGISTER_SAVE_BND3): Likewise.
25051 (REGISTER_SAVE_RAX): Always defined to 0.
25052 (VMOV): Removed.
25053 (_dl_runtime_resolve_avx): Likewise.
25054 (_dl_runtime_resolve_avx_slow): Likewise.
25055 (_dl_runtime_resolve_avx_opt): Likewise.
25056 (_dl_runtime_resolve_avx512): Likewise.
25057 (_dl_runtime_resolve_avx512_opt): Likewise.
25058 (_dl_runtime_resolve_sse): Likewise.
25059 (_dl_runtime_resolve_sse_vex): Likewise.
25060 (USE_FXSAVE): New.
25061 (_dl_runtime_resolve_fxsave): Likewise.
25062 (USE_XSAVE): Likewise.
25063 (_dl_runtime_resolve_xsave): Likewise.
25064 (USE_XSAVEC): Likewise.
25065 (_dl_runtime_resolve_xsavec): Likewise.
25066 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25067 Removed.
25068 (_dl_runtime_resolve_avx512_opt): Likewise.
25069 (_dl_runtime_resolve_avx): Likewise.
25070 (_dl_runtime_resolve_avx_opt): Likewise.
25071 (_dl_runtime_resolve_sse): Likewise.
25072 (_dl_runtime_resolve_sse_vex): Likewise.
25073 (_dl_runtime_resolve_fxsave): New.
25074 (_dl_runtime_resolve_xsave): Likewise.
25075 (_dl_runtime_resolve_xsavec): Likewise.
25076
25077 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25078
25079 [BZ #22320]
25080 CVE-2017-15670
25081 * posix/glob.c (__glob): Fix one-byte overflow.
25082
25083 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25084
25085 * malloc/malloc.c (sysdep-cancel.h): Add include.
25086
25087 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25088
25089 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25090
25091 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25092
25093 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25094 (tests): Remove $(objpfx)ga_test depdendency.
25095 * resolv/ga_test.c: Remove file.
25096
25097 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25098
25099 [BZ #18812]
25100 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25101 * localedata/locales/kab_DZ: New file.
25102
25103 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25104
25105 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25106 _dl_relocate_static_pie instead of _dl_start to compute load
25107 address in static PIE.
25108
25109 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25110
25111 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25112
25113 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25114
25115 [BZ #13605]
25116 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25117 * localedata/locales/shn_MM: New file.
25118
25119 2017-10-20 Florian Weimer <fweimer@redhat.com>
25120
25121 [BZ #22321]
25122 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25123 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25124 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25125 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25126 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25127 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25128
25129 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25130
25131 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25132
25133 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25134
25135 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25136
25137 [BZ #22322]
25138 * sysdeps/mips/bits/long-double.h: Move to ....
25139 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25140
25141 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25142
25143 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25144
25145 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25146 H.J. Lu <hongjiu.lu@intel.com>
25147
25148 [BZ #22299]
25149 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25150 GLRO(dl_platform) to NULL.
25151 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25152 (modules-names): Add tst-platformmod-1 and
25153 x86_64/tst-platformmod-2.
25154 (CFLAGS-tst-platform-1.c): New.
25155 (CFLAGS-tst-platformmod-1.c): Likewise.
25156 (CFLAGS-tst-platformmod-2.c): Likewise.
25157 (LDFLAGS-tst-platformmod-2.so): Likewise.
25158 ($(objpfx)tst-platform-1): Likewise.
25159 ($(objpfx)tst-platform-1.out): Likewise.
25160 (tst-platform-1-ENV): Likewise.
25161 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25162 * sysdeps/x86_64/tst-platform-1.c: New file.
25163 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25164 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25165
25166 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25167
25168 [BZ #13994]
25169 * locale/iso-639.def: Add Karbi.
25170 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25171 * localedata/locales/mjw_IN: New file.
25172
25173 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25174
25175 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25176 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25177 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25178 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25179 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25180 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25181 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25182 <bits/floatn.h>.
25183 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25184 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25185 * manual/math.texi (Mathematics): Document additional architecture
25186 support for _Float128.
25187 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25188 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25189 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25190 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25191 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25192 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25193 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25194 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25195 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25196 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25197 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25199 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25200 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25201 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25202
25203 2017-10-18 Renlin Li <renlin.li@arm.com>
25204
25205 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25206 _DYNAMIC symbol to calculate load address.
25207
25208 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25209
25210 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25211 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25212 summary bits.
25213 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25214 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25215
25216 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25217
25218 [BZ #16777]
25219 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25220 and improve readability by using more ASCII.
25221 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25222 and improve readability by using more ASCII.
25223
25224 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25225
25226 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25227 not all targets support atomics on bool.
25228
25229 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25230
25231 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25232 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25233 __f128.
25234 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25235 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25236 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25237 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25238 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25239 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25240
25241 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25242
25243 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25244 defines.
25245
25246 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25247
25248 [BZ #22159]
25249 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25250 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25251 (do_check_remalloced_chunk): Fix build bug.
25252 (do_check_malloc_state): Add assert that checks arena->top.
25253 (malloc_consolidate): Remove initialization.
25254 (int_mallinfo): Remove call to malloc_consolidate.
25255 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25256
25257 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25258
25259 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25260 (have_fastchunks): Remove.
25261 (clear_fastchunks): Remove.
25262 (set_fastchunks): Remove.
25263 (malloc_state): Add have_fastchunks.
25264 (malloc_init_state): Use have_fastchunks.
25265 (do_check_malloc_state): Remove incorrect invariant checks.
25266 (_int_malloc): Use have_fastchunks.
25267 (_int_free): Likewise.
25268 (malloc_consolidate): Likewise.
25269
25270 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25271
25272 * malloc/malloc.c (tcache_put): Inline.
25273 (tcache_get): Inline.
25274
25275 2017-10-17 Jordi Mallach <jordi@gnu.org>
25276
25277 Aurelien Jarno <aurelien@aurel32.net>
25278 [BZ #2522]
25279 * localedata/locales/ca_ES@valencia: New file.
25280 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25281
25282 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25283
25284 [BZ #22296]
25285 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25286 < 6.x
25287
25288 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25289
25290 * scripts/build-many-glibcs.py (Context.add_all_configs):
25291 Add arm-linux-gnueabihf multiarch extra_glibcs.
25292
25293 * sysdeps/generic/ifunc-init.h: New file.
25294 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25295
25296 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25297
25298 [BZ #22019]
25299 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25300 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25301 * stdlib/tst-strfmon_l.c: adapt test case.
25302
25303 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25304
25305 * sysdeps/generic/float128-abi.h: New file.
25306 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25307 non-__prefixed symbols to ....
25308 * math/Versions: ... here. Include <float128-abi.h>.
25309 * stdlib/Versions ... and here. Include <float128-abi.h>
25310
25311 2017-10-16 Florian Weimer <fweimer@redhat.com>
25312
25313 * version.h (VERSION): Switch to ".9000" as the development
25314 version suffix.
25315
25316 2017-10-16 Florian Weimer <fweimer@redhat.com>
25317
25318 [BZ #22050]
25319 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25320 compat_symbol_reference to access non-default version.
25321
25322 2017-10-16 Florian Weimer <fweimer@redhat.com>
25323
25324 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25325
25326 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25327
25328 * include/shlib-compat.h (compat_symbol_reference): Update
25329 comment.
25330
25331 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25332
25333 * math/Makefile (test-types): Add
25334 $(type-float128-$(float128-alias-fcts)).
25335 * math/test-float128.h (TYPE_STR): Define conditional on
25336 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25337 (ULP_IDX): Likewise.
25338 (ULP_I_IDX): Likewise.
25339
25340 * stdlib/strtold.c: Include <bits/floatn.h>
25341 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25342 and later undefine as macro. Define as weak alias if
25343 [!USE_WIDE_CHAR].
25344 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25345 and later undefine as macro. Define as weak alias if
25346 [USE_WIDE_CHAR].
25347 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25348 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25349 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25350 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25351 Define and later undefine as macro. Define as weak alias if
25352 [USE_WIDE_CHAR].
25353 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25354 <bits/floatn.h>.
25355 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25356 Define and later undefine as macro. Define as weak alias if
25357 [!USE_WIDE_CHAR].
25358 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25359 Define and later undefine as macro. Define as weak alias if
25360 [USE_WIDE_CHAR].
25361
25362 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25363
25364 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25365 record_verbose messages.
25366
25367 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25368
25369 [BZ #22052]
25370 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25371 to silence -O3 -Wall warning with GCC 7.
25372
25373 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25374
25375 * Makeconfig (+link-static-before-libc): Use the first of
25376 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25377 * gmon/Makefile (tests): Add tst-gmon-static.
25378 (tests-static): Likewise.
25379 (CFLAGS-tst-gmon-static.c): New.
25380 (CRT-tst-gmon-static): Likewise.
25381 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25382 (tst-gmon-static-ENV): Likewise.
25383 (tests-special): Likewise.
25384 ($(objpfx)tst-gmon-static.out): Likewise.
25385 (clean-tst-gmon-static-data): Likewise.
25386 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25387 * gmon/tst-gmon-static-gprof.sh: New file.
25388 * gmon/tst-gmon-static.c: Likewise.
25389
25390 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25391
25392 [BZ #22295]
25393 * locale/programs/linereader.c (get_string): Don't warn on
25394 non-symbolic character.
25395
25396 [BZ #22294]
25397 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25398 int_curr_symbol.
25399
25400 [BZ #22292]
25401 * locale/programs/record-status.h: New file
25402 * locale/programs/locale.c: Add comment.
25403 * locale/programs/charmap-dir.c: Don't include error.h.
25404 (charmap_opendir): Use record_error.
25405 * locale/programs/charmap.c: Don't include error.h.
25406 (charmap_read): Use record_error, and record_warning.
25407 (parse_charmap): Likewise.
25408 * locale/programs/ld-address.c: Don't include error.h.
25409 (address_finish): Use record_error, and record_warning.
25410 * locale/programs/ld-collate.c: Don't include error.h.
25411 (collate_finish): Use record_error, and record_error_at_line.
25412 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25413 (ctype_class_new): Likewise.
25414 (ctype_map_new): Likewise.
25415 (set_one_default): Likewise.
25416 (set_class_defaults): Likewise.
25417 (translit_flatten): Likewise.
25418 (allocate_arrays): Use record_error, and record_verbose.
25419 * locale/programs/ld-identification.c: Don't include error.h.
25420 (indentation_finish): Use record_error and record_warning.
25421 * locale/programs/ld-measurement.c: Don't include error.h.
25422 (measurement_finish): Use record_error.
25423 * locale/programs/ld-messages.c
25424 (message_finish): Likewise.
25425 * locale/programs/ld-monetary.c
25426 (monetary_finish): Likewise.
25427 * locale/programs/ld-name.c (name_finish): Use record_error
25428 and record_warning.
25429 * locale/programs/ld-numeric.c
25430 (numeric_finish): Use record_error.
25431 * locale/programs/ld-paper.c: Don't include error.h.
25432 (paper_finish): Use record_error.
25433 * locale/programs/ld-telephone.c: Don't include error.h.
25434 (telephone_finish): Use record_error.
25435 * locale/programs/ld-time.c (time_finish): Likewise.
25436 * locale/programs/linereader.h (lr_error): Make inline func.
25437 * locale/programs/localedef.c: Define recorded_warning_count,
25438 and recorded_error_count.
25439 (main): Use record_error. Use recorded_error_count and
25440 recorded_warning_count to issue correct error returns.
25441 (add_to_readlist): Use record_error.
25442 (find_locale): Likewise.
25443 (load_locale): Likewise.
25444 * locale/programs/localedef.h: Remove be_quiet
25445 and WITH_CUR_LOCALE.
25446 * locale/programs/locarchive.c (compare_from_file): Use
25447 record_error.
25448 * locale/programs/locfile.c (write_locale_data): Use
25449 record_error.
25450 * locale/programs/repertoire.c: Dont include error.h.
25451 (repertoire_complain): Use record_error.
25452 * localedata/tst-fmon.sh: Expect failures from localedef.
25453 * localedata/tst-locale.sh: Likewise.
25454 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25455
25456 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25457 (REPORTS): Likewise.
25458 (check): Likewise.
25459 (i18n): Rename to...
25460 (i18n_ctype): ...this.
25461 (i18n-report): Rename to...
25462 (i18n_ctype-report): ...this.
25463 * localedata/locales/i18n_ctype: Regenerate.
25464 * localedata/locales/i18n: copy i18n_ctype.
25465
25466 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25467
25468 * stdlib/strfroml.c: Include <bits/floatn.h>.
25469 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25470 Define before include of <stdlib.h> and undefine afterwards, then
25471 define as weak alias.
25472
25473 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25474 Undefine and restore default definition. Use
25475 libm_alias_ldouble_other.
25476
25477 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25478
25479 [BZ #22153]
25480 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25481 in coredumps.
25482
25483 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25484
25485 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25486 Assign sym_map to be map for local symbols, as TLS relocations
25487 use sym_map to determine whether the symbol is defined and to
25488 extract the TLS information.
25489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25490 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25491
25492 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25493
25494 [BZ #22189]
25495 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25496 (math_force_eval): Add powerpc version.
25497
25498 [BZ #22142]
25499 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25500 -DBL_MAX.
25501 (do_test): Likewise.
25502 * stdio-common/tst-printf.sh: Likewise.
25503 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25504 ifdef clause in order to set the carry bit right. Replace r0 by
25505 0 without changing the behavior.
25506
25507 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25508
25509 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25510 <libm-alias-ldouble.h>.
25511 (fabsl): Define using libm_alias_ldouble.
25512 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25513 <libm-alias-ldouble.h>.
25514 (fabsl): Define using libm_alias_ldouble.
25515
25516 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25517 Remove conditional code.
25518
25519 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25520 Rename to __clog10_internal_l.
25521 (__clog10_internal_l): Define aliases using
25522 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25523 with __clog10.
25524
25525 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25526
25527 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25528 * benchtests/sincosf-inputs: New file.
25529 * benchtests/cosf-inputs: New file.
25530 * benchtests/sinf-inputs: New file.
25531
25532 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25533
25534 * posix/tst-spawn.c (do_test): Wait for both children.
25535
25536 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25537
25538 [BZ #22284]
25539 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25540 tests-pie): Add tst-gmon-pie.
25541 (CFLAGS-tst-gmon-pie.c): New.
25542 (CRT-tst-gmon-pie): Likewise.
25543 (tst-gmon-pie-ENV): Likewise.
25544 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25545 ($(objpfx)tst-gmon-pie.out): Likewise.
25546 (clean-tst-gmon-pie-data): Likewise.
25547 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25548 * gmon/gmon.c [PIC]: Include <link.h>.
25549 [PIC] (callback): New function.
25550 (write_hist): Add an argument for load address. Subtract load
25551 address from PCs.
25552 (write_call_graph): Likewise.
25553 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25554 it to write_hist and write_call_graph.
25555 * gmon/tst-gmon-pie.c: New file.
25556
25557 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25558
25559 * math/Makefile (test-types-basic): New variable.
25560 (test-types): Likewise.
25561 (libm-test-support): Use $(test-types) instead of $(types).
25562 (libm-tests-base-normal): Likewise.
25563 (libm-tests-base-finite): Likewise.
25564 (libm-tests-base-inline): Likewise.
25565 (generated): Likewise.
25566 ($(objpfx)libm-test-support-$(t).c): Likewise.
25567 (libm-tests-for-type iterator): Likewise.
25568 (libm-test-support iterator): Likewise.
25569 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25570 (ulp_idx): Use ULP_IDX.
25571 * math/test-ldouble.h: Include <float.h>.
25572 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25573 (ULP_IDX): New macro.
25574 (ULP_I_IDX): Likewise.
25575 * math/test-double.h (ULP_IDX): Likewise.
25576 (ULP_I_IDX): Likewise.
25577 * math/test-float.h (ULP_IDX): Likewise.
25578 (ULP_I_IDX): Likewise.
25579 * math/test-float128.h (ULP_IDX): Likewise.
25580 (ULP_I_IDX): Likewise.
25581
25582 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25583
25584 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25585 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25586 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25587 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25588 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25589 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25590 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25593 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25594 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25595 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25596 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25597 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25598 (SINGLE_THREAD_BY_GLOBAL): Define.
25599 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25600 Likewise.
25601 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25602 Likewise.
25603 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25604 Likewise.
25605 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25606 Likewise.
25607 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25608 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25610 Likewise.
25611
25612 2017-10-11 Andreas Schwab <schwab@suse.de>
25613
25614 * nis/Makefile (aux): Remove.
25615 * nscd/Makefile (aux): Add nscd_hash.
25616 (nscd-modules): Likewise.
25617 ($(objpfx)nscd): Don't depend on libnsl.
25618 * nscd/nscd_hash.c: New file.
25619 * nscd/nscd_hash.h: Likewise.
25620 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25621 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25622 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25623 instead of <nis/rpcsvc/nis.h>.
25624 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25625
25626 2017-10-11 Florian Weimer <fweimer@redhat.com>
25627
25628 [BZ #22078]
25629 Avoid large NSS buffers with many addresses, aliases.
25630 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25631 using dynarrays and struct alloc_buffer.
25632 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25633 (tst-nss-files-hosts-multi): Link with -ldl.
25634 * nss/tst-nss-files-hosts-multi.c: New file.
25635
25636 2017-10-11 Florian Weimer <fweimer@redhat.com>
25637
25638 [BZ #18023]
25639 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25640 scratch_buffer. Eliminate gotos.
25641
25642 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25643
25644 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25645 libm_alias_ldouble_other.
25646 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25647 undefine and redefine.
25648 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25649 (exp10l): Do not define here.
25650 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25651 (weak_alias): Undefine and redefine.
25652 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25653 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25654 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25655 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25656
25657 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25658 [!__fma] (fma): Define using libm_alias_double.
25659 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25660 [!__fmaf] (fmaf): Define using libm_alias_float.
25661 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25662 (fmal): Define using libm_alias_ldouble.
25663
25664 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25665
25666 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25667 New macro.
25668 (libm_alias_double_other): Likewise.
25669 (libm_alias_double_r): Use libm_alias_double_other_r.
25670 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25671 New macro.
25672 (libm_alias_float_other): Likewise.
25673 (libm_alias_float_r): Use libm_alias_float_other_r.
25674 * sysdeps/generic/libm-alias-float128.h
25675 (libm_alias_float128_other_r): New macro.
25676 (libm_alias_float128_other): Likewise.
25677 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25678 * sysdeps/generic/libm-alias-ldouble.h
25679 (libm_alias_ldouble_other_r): New macro.
25680 (libm_alias_ldouble_other): Likewise.
25681 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25682 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25683 (libm_alias_double_other_r): New macro.
25684 (libm_alias_double_other): Likewise.
25685 (libm_alias_double_r): Use libm_alias_double_other_r.
25686 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25687 (libm_alias_ldouble_other_r): New macro.
25688 (libm_alias_ldouble_other): Likewise.
25689 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25690 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25691 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25692 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25693 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25694 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25695 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25696 * math/w_exp2f.c: Use libm_alias_float_other.
25697 * math/w_expf.c: Likewise.
25698 * math/w_log2f.c: Likewise.
25699 * math/w_logf.c: Likewise.
25700 * math/w_powf.c: Likewise.
25701 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25702 [!__exp2f]: Use libm_alias_float_other.
25703 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25704 [!__expf]: Use libm_alias_float_other.
25705 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25706 [!__log2f]: Use libm_alias_float_other.
25707 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25708 [!__logf]: Use libm_alias_float_other.
25709 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25710 [!__powf]: Use libm_alias_float_other.
25711
25712 2017-10-10 Florian Weimer <fweimer@redhat.com>
25713
25714 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25715 function.
25716 (_nss_files_gethostbyname3_r): Call it.
25717
25718 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25719
25720 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25721 error. Remove default definition of declare_mgen_alias.
25722 [!declare_mgen_alias_r]: Likewise.
25723 * sysdeps/generic/math-type-macros-double.h
25724 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25725 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25726 (declare_mgen_alias_r): Likewise.
25727 * sysdeps/generic/math-type-macros-float128.h
25728 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25729 * sysdeps/generic/math-type-macros-ldouble.h
25730 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25731 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25732 macro.
25733 (declare_mgen_alias_r_s): Likewise.
25734 (declare_mgen_alias_r): Likewise.
25735 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25736 (lgamma_r): Define using libm_alias_double_r.
25737 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25738 (lgammaf_r): Define using libm_alias_float_r.
25739 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25740 (lgammal_r): Define using libm_alias_ldouble_r.
25741 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25742 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25743
25744 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25745
25746 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25747 extern declaration.
25748
25749 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25750
25751 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25752
25753 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25754
25755 [BZ #21326]
25756 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25757 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25758 * math/Makefile (test-math-cxx11): New test.
25759 * math/test-math-cxx11.cc: New file.
25760
25761 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25762
25763 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25764
25765 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25766 call to allocate the slave pty file descriptor.
25767
25768 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25769
25770 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25771 [!__fma] (fma): Define using libm_alias_double.
25772 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25773 [!__fma] (fma): Define using libm_alias_double.
25774
25775 * sysdeps/ieee754/float128/float128_private.h: Include
25776 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25777 (libm_alias_ldouble_r): Undefine and redefine.
25778 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25779 <libm-alias-ldouble.h>.
25780 (asinhl): Define using libm_alias_ldouble.
25781 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25782 <libm-alias-ldouble.h>.
25783 (atanl): Define using libm_alias_ldouble.
25784 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25785 <libm-alias-ldouble.h>.
25786 (cbrtl): Define using libm_alias_ldouble.
25787 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25788 <libm-alias-ldouble.h>.
25789 (ceill): Define using libm_alias_ldouble.
25790 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25791 <libm-alias-ldouble.h>.
25792 (copysignl): Define using libm_alias_ldouble.
25793 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25794 <libm-alias-ldouble.h>.
25795 (cosl): Define using libm_alias_ldouble.
25796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25797 <libm-alias-ldouble.h>.
25798 (erfl): Define using libm_alias_ldouble.
25799 (erfcl): Likewise.
25800 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25801 <libm-alias-ldouble.h>.
25802 (expm1l): Define using libm_alias_ldouble.
25803 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25804 <libm-alias-ldouble.h>.
25805 (fabsl): Define using libm_alias_ldouble.
25806 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25807 <libm-alias-ldouble.h>.
25808 (floorl): Define using libm_alias_ldouble.
25809 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25810 <libm-alias-ldouble.h>.
25811 (fmal): Define using libm_alias_ldouble.
25812 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25813 <libm-alias-ldouble.h>.
25814 (frexpl): Define using libm_alias_ldouble.
25815 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25816 libm_alias_ldouble.
25817 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25818 <libm-alias-ldouble.h>.
25819 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25820 libm_alias_ldouble.
25821 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25822 <libm-alias-ldouble.h>.
25823 (getpayloadl): Define using libm_alias_ldouble.
25824 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25825 <libm-alias-ldouble.h>.
25826 (llrintl): Define using libm_alias_ldouble.
25827 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25828 <libm-alias-ldouble.h>.
25829 (llroundl): Define using libm_alias_ldouble.
25830 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25831 <libm-alias-ldouble.h>.
25832 (logbl): Define using libm_alias_ldouble.
25833 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25834 <libm-alias-ldouble.h>.
25835 (lrintl): Define using libm_alias_ldouble.
25836 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25837 <libm-alias-ldouble.h>.
25838 (lroundl): Define using libm_alias_ldouble.
25839 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25840 <libm-alias-ldouble.h>.
25841 (modfl): Define using libm_alias_ldouble.
25842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25843 <libm-alias-ldouble.h>.
25844 (nearbyintl): Define using libm_alias_ldouble.
25845 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25846 <libm-alias-ldouble.h>.
25847 (nextafterl): Define using libm_alias_ldouble.
25848 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25849 <libm-alias-ldouble.h>.
25850 (nextupl): Define using libm_alias_ldouble.
25851 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25852 <libm-alias-ldouble.h>.
25853 (remquol): Define using libm_alias_ldouble.
25854 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25855 <libm-alias-ldouble.h>.
25856 (rintl): Define using libm_alias_ldouble.
25857 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25858 <libm-alias-ldouble.h>.
25859 (roundevenl): Define using libm_alias_ldouble.
25860 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25861 <libm-alias-ldouble.h>.
25862 (roundl): Define using libm_alias_ldouble.
25863 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25864 using libm_alias_ldouble.
25865 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25866 <libm-alias-ldouble.h>.
25867 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25868 Define using libm_alias_ldouble.
25869 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25870 <libm-alias-ldouble.h>.
25871 (sincosl): Define using libm_alias_ldouble.
25872 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25873 <libm-alias-ldouble.h>.
25874 (sinl): Define using libm_alias_ldouble.
25875 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25876 <libm-alias-ldouble.h>.
25877 (tanhl): Define using libm_alias_ldouble.
25878 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25879 <libm-alias-ldouble.h>.
25880 (tanl): Define using libm_alias_ldouble.
25881 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25882 <libm-alias-ldouble.h>.
25883 (totalorderl): Define using libm_alias_ldouble.
25884 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25885 <libm-alias-ldouble.h>.
25886 (totalordermagl): Define using libm_alias_ldouble.
25887 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25888 <libm-alias-ldouble.h>.
25889 (truncl): Define using libm_alias_ldouble.
25890 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25891 libm_alias_ldouble.
25892 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25893 libm_alias_ldouble.
25894 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25895 <libm-alias-ldouble.h>.
25896 (weak_alias): Do not undefine and redefine.
25897 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25898 (copysignl): Define with long_double_symbol only if [IS_IN
25899 (libc)].
25900 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25901 <libm-alias-ldouble.h>.
25902 (weak_alias): Do not undefine and redefine.
25903 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25904 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25905 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25906 <libm-alias-ldouble.h>.
25907 (weak_alias): Do not undefine and redefine.
25908 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25909 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25910 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25911 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25914 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25917 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25920 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25927 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25934
25935 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25936
25937 [BZ #22111]
25938 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25939 (tcache_thread_freeres): Set tcache_shutting_down before
25940 freeing the tcache.
25941 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25942 * malloc/tst-malloc-tcache-leak.c: New file.
25943
25944 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25945
25946 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25947 back to powerpc32 file.
25948 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25949 (memrchr): Add __memrchr_power8 to ifunc list.
25950 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25951 extra bytes for unaligned inputs.
25952
25953 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25954
25955 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25956 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25957 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25958 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25959 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25960
25961 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25962
25963 * sysdeps/arm/libm-test-ulps: Update.
25964
25965 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25966 <libm-alias-ldouble.h>.
25967 (asinhl): Define using libm_alias_ldouble.
25968 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25969 <libm-alias-ldouble.h>.
25970 (cbrtl): Define using libm_alias_ldouble.
25971 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25972 <libm-alias-ldouble.h>.
25973 (copysignl): Define using libm_alias_ldouble.
25974 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25975 <libm-alias-ldouble.h>.
25976 (cosl): Define using libm_alias_ldouble.
25977 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25978 <libm-alias-ldouble.h>.
25979 (erfl): Define using libm_alias_ldouble.
25980 (erfcl): Likewise.
25981 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25982 <libm-alias-ldouble.h>.
25983 (fmal): Define using libm_alias_ldouble.
25984 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25985 <libm-alias-ldouble.h>.
25986 (frexpl): Define using libm_alias_ldouble.
25987 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25988 libm_alias_ldouble.
25989 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25990 <libm-alias-ldouble.h>.
25991 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25992 libm_alias_ldouble.
25993 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25994 <libm-alias-ldouble.h>.
25995 (getpayloadl): Define using libm_alias_ldouble.
25996 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25997 <libm-alias-ldouble.h>.
25998 (llrintl): Define using libm_alias_ldouble.
25999 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26000 <libm-alias-ldouble.h>.
26001 (llroundl): Define using libm_alias_ldouble.
26002 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26003 <libm-alias-ldouble.h>.
26004 (lrintl): Define using libm_alias_ldouble.
26005 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26006 <libm-alias-ldouble.h>.
26007 (lroundl): Define using libm_alias_ldouble.
26008 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26009 <libm-alias-ldouble.h>.
26010 (modfl): Define using libm_alias_ldouble.
26011 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26012 <libm-alias-ldouble.h>.
26013 (nextupl): Define using libm_alias_ldouble.
26014 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26015 <libm-alias-ldouble.h>.
26016 (remquol): Define using libm_alias_ldouble.
26017 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26018 <libm-alias-ldouble.h>.
26019 (roundevenl): Define using libm_alias_ldouble.
26020 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26021 <libm-alias-ldouble.h>.
26022 (roundl): Define using libm_alias_ldouble.
26023 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26024 using libm_alias_ldouble.
26025 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26026 <libm-alias-ldouble.h>.
26027 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26028 <libm-alias-ldouble.h>.
26029 (setpayloadsigl): Define using libm_alias_ldouble.
26030 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26031 <libm-alias-ldouble.h>.
26032 (sincosl): Define using libm_alias_ldouble.
26033 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26034 <libm-alias-ldouble.h>.
26035 (sinl): Define using libm_alias_ldouble.
26036 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26037 <libm-alias-ldouble.h>.
26038 (tanhl): Define using libm_alias_ldouble.
26039 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26040 <libm-alias-ldouble.h>.
26041 (tanl): Define using libm_alias_ldouble.
26042 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26043 <libm-alias-ldouble.h>.
26044 (totalorderl): Define using libm_alias_ldouble.
26045 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26046 <libm-alias-ldouble.h>.
26047 (totalordermagl): Define using libm_alias_ldouble.
26048 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26049 libm_alias_ldouble.
26050 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26051 libm_alias_ldouble.
26052
26053 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26054
26055 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26056 memmove_falkor.
26057 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26058 (__libc_ifunc_impl_list): Likewise.
26059 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26060 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26061
26062 * benchtests/bench-memmove-walk.c: New file.
26063 * benchtests/Makefile (string-benchset): Add it.
26064
26065 * benchtests/bench-memset-walk.c: New file.
26066 * benchtests/Makefile (string-benchset): Add it.
26067
26068 * benchtests/bench-memcpy-walk.c: New file.
26069 * benchtests/Makefile (string-benchset): Add it.
26070
26071 2017-10-05 Florian Weimer <fweimer@redhat.com>
26072
26073 nscd: Eliminate compilation time dependency in the build output.
26074 * nscd/nscd_stat.c (STATDATA_VERSION)
26075 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26076 (STATDATA_VERSION_FULL): New macro definitions.
26077 (compilation): Remove.
26078 (struct statdata): Adjust version member.
26079 (send_stats): Set version from STATDATA_VERSION_FULL.
26080 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26081
26082 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26083
26084 * configure.ac (--enable-add-ons): Remove option.
26085 (machine): Do not mention add-ons in comment.
26086 (LIBC_PRECONFIGURE): Likewise.
26087 (add_ons): Remove variable and sanity checks and logic to locate
26088 add-ons.
26089 (add_ons_automatic): Remove variable.
26090 (configured_add_ons): Likewise.
26091 (add_ons_sfx): Likewise.
26092 (add_ons_pfx): Likewise.
26093 (add_on_subdirs): Likewise.
26094 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26095 consideration of add-ons in Implies handling.
26096 (sysdeps_add_ons): Likewise.
26097 * configure: Regenerated.
26098 * libidn/configure.ac: Remove.
26099 * libidn/configure: Likewise.
26100 * sysdeps/unix/inet/configure.ac: New file.
26101 * sysdeps/unix/inet/configure: New generated file.
26102 * sysdeps/unix/inet/Subdirs: Add libidn.
26103 * Makeconfig (sysdeps-srcdirs): Remove variable.
26104 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26105 ($(common-objpfx)config.status): Do not depend on add-on files.
26106 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26107 comment.
26108 (all-subdirs): Do not include $(add-on-subdirs).
26109 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26110 * config.make.in (add-ons): Remove variable.
26111 (add-on-subdirs): Likewise.
26112 (sysdeps-add-ons): Likewise.
26113 * manual/Makefile (add-chapters): Remove.
26114 ($(objpfx)texis): Do not depend on $(add-chapters).
26115 (nonexamples): Do not handle $(add-chapters).
26116 (examples): Do not handle $(add-ons).
26117 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26118 libc-texinfo.sh.
26119 * manual/install.texi (Installation): Do not mention add-ons.
26120 (--enable-add-ons): Do not document configure option.
26121 * INSTALL: Regenerated.
26122 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26123 * manual/maint.texi (Hierarchy Conventions): Do not mention
26124 add-ons.
26125 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26126 --enable-add-ons.
26127 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26128 add-ons.
26129 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26130 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26131
26132 2017-10-05 Andreas Schwab <schwab@suse.de>
26133
26134 [BZ #15142]
26135 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26136 (_IO_flush_all_lockp): Always lock list_all_lock.
26137 (_IO_flush_all_linebuffered): Likewise.
26138 (_IO_unbuffer_all): Likewise.
26139
26140 2017-10-05 Florian Weimer <fweimer@redhat.com>
26141
26142 [BZ #15436]
26143 Do not flush stdio streams on abort.
26144 * stdlib/abort.c (fflush): Remove macro definition.
26145 (abort): Remove stages related to stdio flushing.
26146
26147 2017-10-05 Florian Weimer <fweimer@redhat.com>
26148
26149 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26150
26151 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26152
26153 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26154
26155 2017-10-05 Florian Weimer <fweimer@redhat.com>
26156
26157 * support/support_format_hostent.c (support_format_hostent): Add
26158 more error information for NETDB_INTERNAL.
26159
26160 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26161
26162 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26163 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26164 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26165 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26166 AC_DEFINE if multi-arch is enabled.
26167 * sysdeps/i386/configure: Regenerated.
26168
26169 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26170
26171 * Makeconfig (+link-static-before-libc): Use
26172 $(DEFAULT-LDFLAGS-$(@F)).
26173 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26174 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26175 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26176
26177 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26178
26179 * elf/Makefile (tests): Add tst-main1.
26180 (modules-names): Add tst-main1mod.
26181 ($(objpfx)tst-main1): New.
26182 (CRT-tst-main1): Likewise.
26183 (LDFLAGS-tst-main1): Likewise.
26184 (LDLIBS-tst-main1): Likewise.
26185 (tst-main1mod.so-no-z-defs): Likewise.
26186 * elf/tst-main1.c: New file.
26187 * elf/tst-main1mod.c: Likewise.
26188
26189 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26190
26191 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26192
26193 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26194
26195 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26196 (fma): Define using libm_alias_double.
26197 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26198 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26199 <math_ldbl_opt.h>.
26200 (fmal): Do not define as compat symbol here.
26201 * sysdeps/alpha/fpu/s_fma.c: New file.
26202
26203 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26204
26205 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26206
26207 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26208
26209 [BZ #22229]
26210 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26211 <math_ldbl_opt.h>
26212 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26213 and libc.
26214 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26215 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26216 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26217 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26219 Include <math_ldbl_opt.h>
26220 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26221 and libc.
26222 (compat_symbol): Undefine and redefine.
26223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26224 <math_ldbl_opt.h>
26225 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26226 (compat_symbol): Undefine and redefine.
26227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26228 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26229 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26230 GLIBC_2_1 for libm.
26231 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26232 GLIBC_2.0 copysignl symbol.
26233 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26234 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26235
26236 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26237
26238 2017-10-04 Florian Weimer <fweimer@redhat.com>
26239
26240 * scripts/check-local-headers.sh: Ignore nspr4 header file
26241 directory in addition to nspr.
26242
26243 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26244
26245 [BZ #17956]
26246 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26247 * configure: Regenerate.
26248 * crypt/Makefile (nss-cpp-flags): New variable.
26249 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26250 (CPPFLAGS-md5-crypt.c): Use it.
26251 * scripts/check-local-headers.sh: Ignore nspr header file
26252 directory.
26253
26254 2017-10-04 Andreas Schwab <schwab@suse.de>
26255
26256 * nis/Makefile (services): Remove compat.
26257 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26258 ($(objpfx)libnss_compat.so): Remove rule.
26259 * nis/Versions (libnss_compat): Remove.
26260 * nss/Makefile (services): Add compat.
26261 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26262 * nss/Versions (libnss_compat): Define.
26263 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26264 Don't include <rpc/types.h>. Replace bool_t by bool.
26265 * nss/nss_compat/compat-initgroups.c: Likewise.
26266 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26267 instead of <rpcsrv/ypclnt.h>.
26268 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26269 yp_get_default_domain.
26270 * nss/nss_compat/compat-pwd.c: Likewise.
26271 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26272 yp_get_default_domain.
26273 * nss/nss_compat/nisdomain.c: New file.
26274 * nss/nss_compat/nisdomain.h: Likewise.
26275
26276 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26277
26278 [BZ #22244]
26279 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26280 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26281
26282 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26283
26284 [BZ #22243]
26285 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26286 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26287
26288 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26289
26290 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26291 "movl main@GOTOFF(%ebx), %eax".
26292
26293 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26294
26295 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26296 allow undefined _DYNAMIC in PIE libc.a.
26297 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26298 Likewse.
26299
26300 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26301
26302 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26303 check _DYNAMIC.
26304
26305 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26306
26307 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26308 check _DYNAMIC.
26309
26310 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26311
26312 * math/test-math-iscanonical.cc (error): Replace bool with int.
26313
26314 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26315
26316 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26317 (modf): Define using libm_alias_double, only if [!__modf].
26318 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26319 <libm-alias-double.h>.
26320 (modf): Define using libm_alias_double, only if [!__modf].
26321 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26322 compat symbol here.
26323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26324 (weak_alias): Do not undefine and redefine.
26325 (strong_alias): Likewise.
26326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26327 (weak_alias): Likewise.
26328 (strong_alias): Likewise.
26329
26330 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26331 (logb): Define using libm_alias_double, only if [!__logb].
26332 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26333 <libm-alias-double.h>.
26334 (logb): Define using libm_alias_double, only if [!__logb].
26335 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26337 (weak_alias): Do not undefine and redefine.
26338 (strong_alias): Likewise.
26339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26340 (weak_alias): Likewise.
26341 (strong_alias): Likewise.
26342
26343 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26344
26345 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26346 Check SHARED instead PIC.
26347
26348 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26349
26350 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26351 [!__fmaf] (fmaf): Define using libm_alias_float.
26352
26353 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26354 (frexp): Define using libm_alias_double.
26355 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26356 <libm-alias-double.h>.
26357 (frexp): Define using libm_alias_double.
26358 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26359 compat symbol here.
26360
26361 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26362
26363 [BZ #22235]
26364 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26365 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26366 (CFLAGS-test-math-iscanonical.cc): New variable.
26367 * math/test-math-iscanonical.cc: New file.
26368 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26369 Provide a C++ implementation based on function overloading,
26370 rather than using __MATH_TG, which uses C-only builtins.
26371 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26372 Likewise.
26373 * sysdeps/powerpc/powerpc64le/Makefile
26374 (CFLAGS-test-math-iscanonical.cc): New variable.
26375
26376 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26377
26378 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26379 (ceil): Define using libm_alias_double.
26380 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26381 (floor): Define using libm_alias_double.
26382 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26383 <libm-alias-double.h>.
26384 (llround): Define using libm_alias_double.
26385 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26386 <libm-alias-double.h>.
26387 (lround): Define using libm_alias_double.
26388 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26389 <libm-alias-double.h>.
26390 (nearbyint): Define using libm_alias_double.
26391 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26392 <libm-alias-double.h>.
26393 (remquo): Define using libm_alias_double.
26394 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26395 (rint): Define using libm_alias_double.
26396 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26397 (round): Define using libm_alias_double.
26398 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26399 (trunc): Define using libm_alias_double.
26400 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26401 <libm-alias-double.h>.
26402 (ceil): Define using libm_alias_double.
26403 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26404 <libm-alias-double.h>.
26405 (floor): Define using libm_alias_double.
26406 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26407 <libm-alias-double.h>.
26408 (llround): Define using libm_alias_double.
26409 [_LP64] (lround): Likewise.
26410 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26411 <libm-alias-double.h>.
26412 [!_LP64] (lround): Define using libm_alias_double.
26413 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26414 <libm-alias-double.h>.
26415 (nearbyint): Define using libm_alias_double.
26416 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26417 <libm-alias-double.h>.
26418 (remquo): Define using libm_alias_double.
26419 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26420 <libm-alias-double.h>.
26421 (rint): Define using libm_alias_double.
26422 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26423 <libm-alias-double.h>.
26424 (round): Define using libm_alias_double.
26425 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26426 <libm-alias-double.h>.
26427 (trunc): Define using libm_alias_double.
26428 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26429 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26430 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26431 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26432 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26433 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26434 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26435 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26436 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26437
26438 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26439
26440 * math/w_remainder.c: New file.
26441 * math/w_remainderf.c: New file.
26442 * math/w_remainderl.c: New file.
26443
26444 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26445
26446 * elf/rtld.c (BOOTSTRAP_MAP): New.
26447 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26448 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26449 Likewise.
26450 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26451 Likewise.
26452 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26453 Likewise.
26454
26455 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26456
26457 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26458 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26459 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26460 rtld_hidden_data_ver): Define to empty.
26461 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26462 __assert_perror_fail): Likewise.
26463 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26464 (__rewinddir): Likewise.
26465 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26466 (__profile_frequency): Likewise.
26467 * include/setjmp.h (__sigsetjmp): Likewise.
26468 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26469 __libc_sigaction): Likewise.
26470 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26471 not set hidden attribute.
26472 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26473 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26474 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26475 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26476 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26477 __fxstatat64): Likewise.
26478 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26479 (__uname): Likewise.
26480 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26481 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26482 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26483 (NO_RTLD_HIDDEN): Set.
26484 * sysdeps/mach/hurd/configure: Refresh.
26485 * config.h.in: Refresh.
26486
26487 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26488
26489 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26490 (atan): Define using libm_alias_double.
26491 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26492 (tan): Define using libm_alias_double.
26493 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26494 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26495
26496 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26497 define as weak alias of __atan. Do not define any aliases if
26498 [__atan].
26499 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26500 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26501 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26502 as weak alias of __tan. Do not define any aliases if [__tan].
26503 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26504 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26505 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26506 __atan.
26507 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26508 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26509 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26510 and define as weak alias of __atan.
26511 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26512 __atan.
26513 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26514 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26515 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26516 define as weak alias of __tan.
26517
26518 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26519
26520 * math/w_lgamma.c: New file.
26521 * math/w_lgammaf.c: New file.
26522 * math/w_lgammal.c: New file.
26523
26524 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26525
26526 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26527 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26528 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26529 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26530 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26531 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26532 * sysdeps/i386/fpu/w_log2f.c: New file.
26533 * sysdeps/i386/fpu/w_logf.c: New file.
26534 * sysdeps/i386/fpu/w_powf.c: New file.
26535 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26536 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26537 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26538
26539 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26540 H.J. Lu <hongjiu.lu@intel.com>
26541
26542 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26543 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26544 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26545 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26546 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26547 the new expf code.
26548 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26549 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26550 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26551 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26552 * sysdeps/i386/fpu/w_exp2f.c: New file.
26553 * sysdeps/i386/fpu/w_expf.c: New file.
26554 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26555 * sysdeps/x86_64/fpu/w_expf.c: New file.
26556
26557 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26558
26559 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26560 (log2f): Likewise.
26561 (powf): Likewise.
26562 * math/w_log2f.c: New file.
26563 * math/w_logf.c: New file.
26564 * math/w_powf.c: New file.
26565 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26566 * math/w_logf_compat.c (__logf_compat): Likewise.
26567 * math/w_powf_compat.c (__powf_compat): Likewise.
26568 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26569 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26570 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26571 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26572 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26573 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26574 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26575 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26576 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26577 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26578 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26579 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26580 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26581 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26582 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26584 Likewise.
26585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26586 Likewise.
26587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26588 Likewise.
26589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26590 Likewise.
26591 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26592 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26593 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26594 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26597 Likewise.
26598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26599 Likewise.
26600 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26601 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26602 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26603
26604 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26605
26606 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26607 (sysdep_routines): Add memrchr_power8.
26608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26609 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26610 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26611 New file.
26612 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26613 (memrchr): Add __memrchr_power8 to ifunc list.
26614 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26615
26616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26617
26618 [BZ #18822]
26619 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26620 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26621 libc_hidden_def.
26622 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26623 (__posix_fallocate64_l64): Likewise.
26624
26625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26626
26627 [BZ #18822]
26628 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26629 (__sched_setaffinity_new): Add libc_hidden_proto and
26630 libc_hidden_def.
26631
26632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26633
26634 [BZ #18822]
26635 * include/glob.h (__glob64): Add libc_hidden_proto.
26636 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26637 libc_hidden_def.
26638
26639 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26640
26641 [BZ #18822]
26642 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26643 attribute_hidden.
26644
26645 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26646
26647 [BZ #18822]
26648 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26649
26650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26651
26652 [BZ #18822]
26653 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26654 libc_hidden_def.
26655
26656 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26657
26658 [BZ #18822]
26659 * csu/version.c (__libc_print_version): Add attribute_hidden.
26660
26661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26662
26663 [BZ #18822]
26664 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26665
26666 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26667
26668 [BZ #18822]
26669 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26670
26671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26672
26673 [BZ #18822]
26674 * nscd/nscd_helper.c (__nis_hash): New prototype.
26675
26676 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26677
26678 [BZ #18822]
26679 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26680 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26681 libc_hidden_def.
26682 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26683 * termios/tcgetattr.c (__tcgetattr): Likewise.
26684
26685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26686
26687 [BZ #18822]
26688 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26689 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26690 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26691 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26692 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26693
26694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26695
26696 [BZ #18822]
26697 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26698
26699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26700
26701 [BZ #18822]
26702 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26703 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26704
26705 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26706
26707 [BZ #18822]
26708 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26709
26710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26711
26712 [BZ #18822]
26713 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26714 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26715
26716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26717
26718 [BZ #18822]
26719 * include/ifreq.h: New file.
26720 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26721 (__ifreq): Likewise.
26722 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26723 (__ifreq): Likewise.
26724
26725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26726
26727 [BZ #18822]
26728 * include/idna.h: New file.
26729 * inet/getnameinfo.c: Include <idna.h> instead of
26730 <libidn/idna.h>.
26731 (__idna_to_unicode_lzlz): Removed.
26732 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26733 <libidn/idna.h>.
26734 (__idna_to_ascii_lz): Removed.
26735 (__idna_to_unicode_lzlz): Likewise.
26736
26737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26738
26739 [BZ #18822]
26740 * include/plural-exp.h: New file.
26741 * intl/plural-exp.c: Include <plural-exp.h> instead of
26742 "plural-exp.h".
26743
26744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26745
26746 [BZ #18822]
26747 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26748 "getsourcefilter.h".
26749 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26750 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26751 "getsourcefilter.h".
26752 (__get_sol): Removed.
26753
26754 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26755
26756 [BZ #18822]
26757 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26758 to ...
26759 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26760
26761 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26762
26763 [BZ #18822]
26764 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26765 attribute_hidden.
26766
26767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26768
26769 [BZ #18822]
26770 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26771
26772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26773
26774 [BZ #18822]
26775 * include/search.h (__tdestroy): Add libc_hidden_proto.
26776 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26777
26778 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26779
26780 [BZ #18822]
26781 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26782
26783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26784
26785 [BZ #18822]
26786 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26787 attribute_hidden.
26788
26789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26790
26791 [BZ #18822]
26792 * include/signal.h (__kill): Add libc_hidden_proto.
26793 (__sigblock): Likewise.
26794 (__sigprocmask): Likewise.
26795 (__sigaltstack): Likewise.
26796 * signal/kill.c (__kill): Add libc_hidden_def.
26797 * signal/sigblock.c (__sigblock): Likewise.
26798 * signal/sigprocmask.c (__sigprocmask): Likewise.
26799 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26800 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26801 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26802 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26803 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26804 Likewise.
26805 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26806 Likewise.
26807 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26808 (__sigprocmask): Likewise.
26809 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26810 Likewise.
26811 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26812 (__sigprocmask): Likewise.
26813 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26814 Likewise.
26815
26816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26817
26818 [BZ #18822]
26819 * include/string.h (__strsep): Add libc_hidden_proto.
26820 * string/strsep.c (__strsep): Add libc_hidden_def.
26821
26822 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26823
26824 [BZ #18822]
26825 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26826 attribute_hidden.
26827 (__spawni): Likewise.
26828
26829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26830
26831 [BZ #18822]
26832 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26833 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26834 libc_hidden_def.
26835
26836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26837
26838 [BZ #18822]
26839 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26840
26841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26842
26843 [BZ #18822]
26844 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26845 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26846 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26847 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26848 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26849 Likewise.
26850 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26851 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26852
26853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26854
26855 [BZ #18822]
26856 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26857 (__dcigettext): Likewise.
26858
26859 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26860
26861 [BZ #18822]
26862 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26863 libc_hidden_proto.
26864 (__get_nprocs): Likewise.
26865 (__get_phys_pages): Likewise.
26866 (__get_avphys_pages): Likewise.
26867 (__get_child_max): Add attribute_hidden.
26868 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26869 (__get_nprocs): Likewise.
26870 (__get_phys_pages): Likewise.
26871 (__get_avphys_pages): Likewise.
26872 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26873 libc_hidden_def.
26874 (__get_nprocs): Likewise.
26875 (__get_phys_pages): Likewise.
26876 (__get_avphys_pages): Likewise.
26877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26878 libc_hidden_def.
26879 (__get_nprocs_conf): Likewise.
26880 (__get_phys_pages): Likewise.
26881 (__get_avphys_pages): Likewise.
26882
26883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26884
26885 [BZ #18822]
26886 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26887 attribute_hidden.
26888 (__netlink_close): Likewise.
26889 (__netlink_free_handle): Likewise.
26890 (__netlink_request): Likewise.
26891
26892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26893
26894 [BZ #18822]
26895 * include/rpc/rpc.h (__rpc_thread_variables): Add
26896 attribute_hidden.
26897 (__rpc_thread_svc_cleanup): Likewise.
26898 (__rpc_thread_clnt_cleanup): Likewise.
26899 (__rpc_thread_key_cleanup): Likewise.
26900
26901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26902
26903 [BZ #18822]
26904 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26905 (__writev): Likewise.
26906 * misc/readv.c (__readv): Add libc_hidden_def.
26907 * misc/writev.c (__writev): Likewise.
26908 * sysdeps/posix/readv.c (__readv): Likewise.
26909 * sysdeps/posix/writev.c (__writev): Likewise.
26910 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26911 (__readv): Likewise.
26912 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26913 (__writev): Likewise.
26914
26915 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26916
26917 [BZ #18822]
26918 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26919 (__regcomp): Add libc_hidden_proto.
26920 (__regexec): Likewise.
26921 (__regfree): Likewise.
26922 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26923 (__regfree): Likewise.
26924 * posix/regexec.c (__regexec): Likewise.
26925
26926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26927
26928 [BZ #18822]
26929 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26930 (__getutent): Likewise.
26931 (__getutid): Likewise.
26932 (__getutline): Likewise.
26933 (__pututline): Likewise.
26934 (__getutent_r): Likewise.
26935 (__getutid_r): Likewise.
26936 (__getutline_r): Likewise.
26937 (__utmpname): Add attribute_hidden.
26938 (__setutent): Likewise.
26939 (__endutent): Likewise.
26940 * login/getutent.c (__getutent): Add libc_hidden_def.
26941 * login/getutent_r.c (__getutent_r): Likewise.
26942 (__pututline): Likewise.
26943 * login/getutid.c (__getutid): Likewise.
26944 * login/getutid_r.c (__getutid_r): Likewise.
26945 * login/getutline.c (__getutline): Likewise.
26946 * login/getutline_r.c (__getutline_r): Likewise.
26947 * login/updwtmp.c (__updwtmp): Likewise.
26948
26949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26950
26951 [BZ #18822]
26952 * include/dirent.h (__opendir): Always add attribute_hidden.
26953 (__fdopendir): Likewise.
26954 (__closedir): Likewise.
26955 (__readdir): Likewise.
26956 (__readdir64): Add libc_hidden_proto.
26957 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26958 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26959 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26960 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26961 New alias.
26962
26963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26964
26965 [BZ #18822]
26966 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26967 * include/netdb.h (__gethostbyaddr_r): Likewise.
26968 (__gethostbyname_r): Likewise.
26969 (__gethostbyname2_r): Likewise.
26970 (__getnetbyaddr_r): Likewise.
26971 (__getnetbyname_r): Likewise.
26972 (__getservbyname_r): Likewise.
26973 (__getservbyport_r): Likewise.
26974 (__getprotobyname_r): Likewise.
26975 (__getprotobynumber_r): Likewise.
26976 (__getnetgrent_r): Likewise.
26977 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26978 (__getrpcbynumber_r): Likewise.
26979 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26980
26981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26982
26983 [BZ #18822]
26984 * include/stdio.h (__fcloseall): Add attribute_hidden.
26985 (__getline): Likewise.
26986 (__path_search): Likewise.
26987 (__gen_tempname): Likewise.
26988 (__libc_message): Likewise.
26989 (__flockfile): Likewise.
26990 (__funlockfile): Likewise.
26991 (__fxprintf): Likewise.
26992 (__fxprintf_nocancel): Likewise.
26993
26994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26995
26996 [BZ #18822]
26997 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26998 (__sgetsgent_r): Likewise.
26999
27000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27001
27002 [BZ #18822]
27003 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27004 (__statfs64): Likewise.
27005 (__fstatfs64): Likewise.
27006 * include/sys/statvfs.h (__statvfs64): Likewise.
27007 (__fstatvfs64): Likewise.
27008 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27009 (__statfs_filesize_max): Likewise.
27010 (__statfs_symlinks): Likewise.
27011 (__statfs_chown_restricted): Likewise.
27012
27013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27014
27015 [BZ #18822]
27016 * include/time.h (__tzstring): Add attribute_hidden.
27017 (__tzfile_read): Likewise.
27018 (__tzfile_compute): Likewise.
27019 (__tzfile_default): Likewise.
27020 (__tzset_parse_tz): Likewise.
27021 (__offtime): Likewise.
27022 (__asctime_r): Likewise.
27023 (__tzset): Likewise.
27024 (__tz_convert): Likewise.
27025 (__getdate_r): Likewise.
27026 (__getclktck): Likewise.
27027
27028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27029
27030 [BZ #18822]
27031 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27032 (__nscd_unmap): Likewise.
27033 (__nscd_cache_search): Likewise.
27034 (__nscd_get_nl_timestamp): Likewise.
27035 (__nscd_getpwnam_r): Likewise.
27036 (__nscd_getpwuid_r): Likewise.
27037 (__nscd_getgrnam_r): Likewise.
27038 (__nscd_getgrgid_r): Likewise.
27039 (__nscd_gethostbyname_r): Likewise.
27040 (__nscd_gethostbyname2_r): Likewise.
27041 (__nscd_gethostbyaddr_r): Likewise.
27042 (__nscd_getai): Likewise.
27043 (__nscd_getgrouplist): Likewise.
27044 (__nscd_getservbyname_r): Likewise.
27045 (__nscd_getservbyport_r): Likewise.
27046 (__nscd_innetgr): Likewise.
27047 (__nscd_setnetgrent): Likewise.
27048
27049 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27050
27051 [BZ #18822]
27052 * include/gmp.h: Declare internal functions only if _ISOMAC is
27053 undefined.
27054 (__mpn_extract_double): Add attribute_hidden.
27055 (__mpn_extract_long_double): Likewise.
27056 (__mpn_extract_float128): Likewise.
27057 (__mpn_construct_float): Likewise.
27058 (__mpn_construct_double): Likewise.
27059 (__mpn_construct_long_double): Likewise.
27060 (__mpn_construct_float128): Likewise.
27061 (mpn_add_1): Likewise.
27062 (mpn_addmul_1): Likewise.
27063 (mpn_add_n): Likewise.
27064 (mpn_cmp): Likewise.
27065 (mpn_divrem): Likewise.
27066 (mpn_lshift): Likewise.
27067 (mpn_mul): Likewise.
27068 (mpn_mul_1): Likewise.
27069 (mpn_rshift): Likewise.
27070 (mpn_sub_1): Likewise.
27071 (mpn_submul_1): Likewise.
27072 (mpn_sub_n): Likewise.
27073
27074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27075
27076 [BZ #18822]
27077 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27078 (__wcscat): Likewise.
27079 (__btowc): Likewise.
27080 (__wcrtomb): Likewise.
27081 (__mbsrtowcs): Likewise.
27082 (__wcsrtombs): Likewise.
27083 (__mbsnrtowcs): Likewise.
27084 (__wcsnrtombs): Likewise.
27085 (__wcsncpy): Likewise.
27086 (__wcpncpy): Likewise.
27087 (__wmemcpy): Likewise.
27088 (__wmempcpy): Likewise.
27089 (__wmemmove): Likewise.
27090 (__wcschrnul): Likewise.
27091 (__vfwscanf): Likewise.
27092 (__vswprintf): Likewise.
27093 (__fwprintf): Likewise.
27094 (__vfwprintf): Likewise.
27095
27096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27097
27098 [BZ #18822]
27099 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27100 (__getgrgid_r): Likewise.
27101 (__getgrnam_r): Likewise.
27102 * include/pwd.h (__getpwuid_r): Likewise.
27103 (__getpwnam_r): Likewise.
27104 (__fgetpwent_r): Likewise.
27105 * include/shadow.h (__getspnam_r): Likewise.
27106 (__sgetspent_r): Likewise.
27107 (__fgetspent_r): Likewise.
27108
27109 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27110
27111 [BZ #18822]
27112 * include/unistd.h (__access): Add attribute_hidden.
27113 (__lseek64): Likewise.
27114 (__libc_pread64): Likewise.
27115 (__pipe2): Likewise.
27116 (__sleep): Likewise.
27117 (__chdir): Likewise.
27118 (__fchdir): Likewise.
27119 (__getcwd): Likewise.
27120 (__rmdir): Likewise.
27121 (__execvpe): Likewise.
27122 (__execve): Likewise.
27123 (__setsid): Likewise.
27124 (__getuid): Likewise.
27125 (__geteuid): Likewise.
27126 (__getgid): Likewise.
27127 (__getegid): Likewise.
27128 (__getgroups): Likewise.
27129 (__group_member): Likewise.
27130 (__ttyname_r): Likewise.
27131 (__isatty): Likewise.
27132 (__readlink): Likewise.
27133 (__unlink): Likewise.
27134 (__gethostname): Likewise.
27135 (__profil): Likewise.
27136 (__getdtablesize): Likewise.
27137 (__brk): Likewise.
27138 (__ftruncate): Likewise.
27139 (__ftruncate64): Likewise.
27140
27141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27142
27143 [BZ #18822]
27144 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27145 * argp/argp-fs-xinl.c: Likewise.
27146 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27147 * argp/argp-parse.c: Include <argp.h>.
27148 * argp/argp-xinl.c: Likewise.
27149 * include/argp-fmtstream.h: New file.
27150 * include/argp.h (__argp_error): Add attribute_hidden.
27151 (__argp_failure): Likewise.
27152 (__argp_input): Likewise.
27153 (__argp_state_help): Likewise.
27154
27155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27156
27157 [BZ #18822]
27158 * include/wchar.h (____wcstof_l_internal): New prototype.
27159 (____wcstod_l_internal): Likewise.
27160 (____wcstold_l_internal): Likewise.
27161 (____wcstol_l_internal): Likewise.
27162 (____wcstoul_l_internal): Likewise.
27163 (____wcstoll_l_internal): Likewise.
27164 (____wcstoull_l_internal): Likewise.
27165 (____wcstof128_l_internal): Likewise.
27166 * sysdeps/ieee754/float128/wcstof128.c
27167 (____wcstof128_l_internal): Removed.
27168 * sysdeps/ieee754/float128/wcstof128_l.c
27169 (____wcstof128_l_internal): Likewise.
27170 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27171 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27172 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27173 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27174 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27175 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27176 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27177 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27178 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27179 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27180
27181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27182
27183 [BZ #18822]
27184 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27185 instead of <sys/statvfs.h>.
27186 (__internal_statvfs): Removed.
27187 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27188 instead of <sys/statvfs.h>.
27189 (__internal_statvfs64): Removed.
27190 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27191 "internal_statvfs.h" instead of <sys/statvfs.h>.
27192 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27193 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27194 instead of <sys/statvfs.h>.
27195 (__internal_statvfs): Removed.
27196 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27197 instead of <sys/statvfs.h>.
27198 (__internal_statvfs64): Removed.
27199
27200 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27201
27202 [BZ #18822]
27203 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27204 (__gconv_close): Likewise.
27205 (__gconv): Likewise.
27206 (__gconv_find_transform): Likewise.
27207 (__gconv_lookup_cache): Likewise.
27208 (__gconv_compare_alias_cache): Likewise.
27209 (__gconv_load_cache): Likewise.
27210 (__gconv_get_path): Likewise.
27211 (__gconv_close_transform): Likewise.
27212 (__gconv_release_cache): Likewise.
27213 (__gconv_find_shlib): Likewise.
27214 (__gconv_release_shlib): Likewise.
27215 (__gconv_get_builtin_trans): Likewise.
27216 (__gconv_compare_alias): Likewise.
27217 * include/dlfcn.h (_dlerror_run): Likewise.
27218 * include/stdio.h (__fortify_fail_abort): Likewise.
27219 * include/time.h (__tz_compute): Likewise.
27220 (__strptime_internal): Likewise.
27221 * intl/gettextP.h (_nl_find_domain): Likewise.
27222 (_nl_load_domain): Likewise.
27223 (_nl_find_msg): Likewise.
27224 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27225 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27226 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27227 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27228 (__gai_find_request): Likewise.
27229 (__gai_remove_request): Likewise.
27230 (__gai_notify): Likewise.
27231 (__gai_notify_only): Likewise.
27232 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27233 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27234 (_dl_non_dynamic_init): Likewise.
27235 (_dl_aux_init): Likewise.
27236 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27237 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27238 Likewise.
27239 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27240 (__wcsmbs_clone_conv): Likewise.
27241 (__wcsmbs_named_conv): Likewise.
27242
27243 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27244
27245 [BZ #18822]
27246 * include/stdlib.h (__random): Add attribute_hidden.
27247 (__random_r): Likewise.
27248 (__srandom_r): Likewise.
27249 (__initstate_r): Likewise.
27250 (__setstate_r): Likewise.
27251 (__erand48_r): Likewise.
27252 (__nrand48_r): Likewise.
27253 (__jrand48_r): Likewise.
27254 (__srand48_r): Likewise.
27255 (__seed48_r): Likewise.
27256 (__lcong48_r): Likewise.
27257 (__drand48_iterate): Likewise.
27258 (__setenv): Likewise.
27259 (__unsetenv): Likewise.
27260 (__clearenv): Likewise.
27261 (__ptsname_r): Likewise.
27262 (__posix_openpt): Likewise.
27263 (__add_to_environ): Likewise.
27264 (__realpath): Add libc_hidden_proto.
27265 (__ecvt_r): Likewise.
27266 (__fcvt_r): Likewise.
27267 (__qecvt_r): Likewise.
27268 (__qfcvt_r): Likewise.
27269 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27270 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27271
27272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27273
27274 [BZ #18822]
27275 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27276 * include/time.h (__mktime_internal): Likewise.
27277 * libio/iolibio.h (__fopen_internal): Likewise.
27278
27279 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27280
27281 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27282 pointer in frame.
27283 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27284 Correct offset used to restore PIC register.
27285
27286 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27287
27288 [BZ libc/22165]
27289 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27290 code to load address of __getcontext_ret when generating PIC code.
27291
27292 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27293
27294 * elf/Makefile (tests-static-internal): Add
27295 tst-tls1-static-non-pie.
27296 (LDFLAGS-tst-tls1-static-non-pie): New.
27297 * elf/tst-tls1-static-non-pie.c: New file.
27298
27299 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27300
27301 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27302 (asinh): Define using libm_alias_double.
27303 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27304 (cbrt): Define using libm_alias_double.
27305 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27306 <libm-alias-double.h>.
27307 (copysign): Define using libm_alias_double.
27308 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27309 (erf): Define using libm_alias_double.
27310 (erfc): Likewise.
27311 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27312 (expm1): Define using libm_alias_double.
27313 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27314 (fabs): Define using libm_alias_double.
27315 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27316 libm_alias_double.
27317 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27318 <libm-alias-double.h>.
27319 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27320 libm_alias_double.
27321 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27322 <libm-alias-double.h>.
27323 (getpayload): Define using libm_alias_double.
27324 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27325 <libm-alias-double.h>.
27326 (llrint): Define using libm_alias_double.
27327 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27328 (lrint): Define using libm_alias_double.
27329 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27330 <libm-alias-double.h>.
27331 (nextup): Define using libm_alias_double.
27332 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27333 <libm-alias-double.h>.
27334 (roundeven): Define using libm_alias_double.
27335 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27336 libm_alias_double.
27337 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27338 <libm-alias-double.h>.
27339 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27340 using libm_alias_double.
27341 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27342 (cos): Define using libm_alias_double.
27343 (sin): Likewise.
27344 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27345 <libm-alias-double.h>.
27346 (sincos): Define using libm_alias_double.
27347 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27348 (tanh): Define using libm_alias_double.
27349 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27350 <libm-alias-double.h>.
27351 (totalorder): Define using libm_alias_double.
27352 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27353 <libm-alias-double.h>.
27354 (totalordermag): Define using libm_alias_double.
27355 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27356 libm_alias_double.
27357 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27358 libm_alias_double.
27359 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27360 <libm-alias-double.h>.
27361 (getpayload): Define using libm_alias_double.
27362 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27363 <libm-alias-double.h>.
27364 (roundeven): Define using libm_alias_double.
27365 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27366 <libm-alias-double.h>.
27367 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27368 <libm-alias-double.h>.
27369 (totalorder): Define using libm_alias_double.
27370 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27371 <libm-alias-double.h>.
27372 (totalordermag): Define using libm_alias_double.
27373 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27374 libc compat symbol here.
27375 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27376 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27377 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27378 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27379 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27380 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27381 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27382 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27383 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27384 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27385
27386 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27387
27388 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27389 _dl_relocate_static_pie instead of _dl_start to compute load
27390 address in static PIE. Return 0 if _DYNAMIC is undefined for
27391 static executable.
27392
27393 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27394
27395 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27396 _DYNAMIC is undefined for static executable.
27397
27398 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27399
27400 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27401
27402 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27403
27404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27405
27406 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27407
27408 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27409 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27410 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27411 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27412 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27413 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27414 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27415 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27417 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27418 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27419 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27420 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27421 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27422 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27423 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27424 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27425
27426 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27427
27428 * math/bits/cmathcalls.h (cimag): Remove inline.
27429 (creal): Remove inline.
27430 (conj): Remove inline.
27431
27432 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27433
27434 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27435 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27436 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27437 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27438 (issignalingf_inline): Likewise.
27439 (POWF_LOG2_TABLE_BITS): Likewise.
27440 (POWF_LOG2_POLY_ORDER): Likewise.
27441 (POWF_SCALE_BITS): Likewise.
27442 (POWF_SCALE): Likewise.
27443 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27444 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27445 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27446
27447 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27448
27449 * math/Makefile (type-float-routines): Add e_log2f_data.
27450 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27451 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27452 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27453 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27454 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27455 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27456 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27457
27458 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27459
27460 * math/Makefile (type-float-routines): Add e_logf_data.
27461 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27462 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27463 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27464 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27465 * sysdeps/i386/fpu/e_logf_data.c: New file.
27466 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27467 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27468
27469 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27470
27471 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27472 undefined _DYNAMIC in PIE libc.a.
27473 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27474 Likewse.
27475
27476 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27477
27478 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27479 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27480 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27481 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27482 (__signbit): Remove.
27483 (__signbitl): Remove.
27484 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27485 (__signbit): Remove.
27486 (__signbitl): Remove.
27487 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27488 (__signbit): Remove.
27489 (__signbitl): Remove.
27490 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27491 (__signbit): Remove.
27492 (__signbitl): Remove.
27493 * sysdeps/tile/bits/mathinline.h: Delete file.
27494 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27495 (__signbit): Remove.
27496 (__signbitl): Remove.
27497
27498 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27499
27500 * math/math.h: Improve handling of C99 isgreater macros.
27501 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27502 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27503 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27504 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27505 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27506
27507 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27508
27509 * sysdeps/aarch64/libm-test-ulps: Update.
27510
27511 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27512
27513 [BZ #22225]
27514 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27515 math_opt_barrier on argument when doing arithmetic on it.
27516 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27517 Likewise. Use math_force_eval not math_opt_barrier after
27518 arithmetic.
27519 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27520 math_opt_barrier on argument when doing arithmetic on it.
27521 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27522 Likewise.
27523
27524 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27525
27526 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27527 libc_hidden_def.
27528 (__freeifaddrs): Likewise.
27529
27530 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27531
27532 * include/dirent.h (__dirfd): New declaration.
27533 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27534 alias.
27535 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27536 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27537 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27538 * include/unistd.h (__revoke): New declaration.
27539 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27540 alias.
27541 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27542 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27543 revoke.
27544 * include/dirent.h (__seekdir): New declaration.
27545 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27546 redefine as weak alias.
27547 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27548 of seekdir.
27549 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27550 and use libc_hidden_def on them.
27551 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27552 them.
27553 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27554 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27555 instead of getifaddrs and freeifaddrs.
27556
27557 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27558
27559 [BZ #18822]
27560 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27561 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27562 (__dso_handle): Remove declaration.
27563 * dlfcn/tstatexit.c (__dso_handle): Removed.
27564 (main): Don't check __dso_handle.
27565 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27566 (main): Don't check __dso_handle.
27567 * include/dso_handle.h: New file.
27568 * malloc/mtrace.c: Include <dso_handle.h>.
27569 (mtrace): Pass __dso_handle directly.
27570 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27571 (__dso_handle): Remove declaration.
27572 (__pthread_atfork): Pass __dso_handle directly.
27573 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27574 (__dso_handle): Removed.
27575 * posix/wordexp-test.c: Include <dso_handle.h>.
27576 (__dso_handle): Remove declaration.
27577 (__app_register_atfork): Pass __dso_handle directly.
27578 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27579 (__dso_handle): Remove declaration.
27580 (at_quick_exit): Pass __dso_handle directly.
27581 * stdlib/atexit.c: Include <dso_handle.h>.
27582 (__dso_handle): Remove declaration.
27583 (atexit): Pass __dso_handle directly.
27584 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27585 (__dso_handle): Removed.
27586
27587 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27588
27589 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27590 using VDSO.
27591
27592 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27593
27594 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27595 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27596 values to correct default value for given type.
27597
27598 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27599
27600 [BZ #22101]
27601 * elf/Makefile (tests): Add tst-debug1.
27602 ($(objpfx)tst-debug1): New.
27603 ($(objpfx)tst-debug1.out): Likewise.
27604 ($(objpfx)tst-debug1mod1.so): Likewise.
27605 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27606 with p_filesz == 0.
27607 * elf/tst-debug1.c: New file.
27608
27609 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27610
27611 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27612 Define using __ifunc.
27613
27614 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27615
27616 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27617 exp2f() values.
27618
27619 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27620
27621 [BZ #22156]
27622 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27623
27624 2017-09-26 Florian Weimer <fweimer@redhat.com>
27625
27626 * resolv/Makefile (tests-internal): Fix typo in comment.
27627
27628 2017-09-26 Florian Weimer <fweimer@redhat.com>
27629
27630 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27631
27632 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27633
27634 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27635 Use an union instead of a max_align_t array for __space,
27636 so that __space is the same size on all platforms.
27637 * malloc/scratch_buffer_grow_preserve.c
27638 (__libc_scratch_buffer_grow_preserve): Likewise.
27639
27640 [BZ #22183]
27641 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27642 version to 2.
27643 * posix/Makefile (routines): Add glob-lstat-compat and
27644 glob64-lstat-compat.
27645 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27646 * posix/glob-lstat-compat.c: New file.
27647 * posix/glob64-lstat-compat.c: Likewise.
27648 * posix/tst-glob_lstat_compat.c: Likewise.
27649 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27650 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27651 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27652 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27653 Likewise.
27654 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27655 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27656 * posix/glob.c (glob_lstat): New function.
27657 (glob): Rename to __glob and add versioned symbol to 2.27.
27658 (glob_in_dir): Use glob_lstat.
27659 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27660 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27661 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27662 2.27.
27663 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27664 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27665 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27666 gl_lstat on glob call.
27667 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27668 and glob64 symbols.
27669 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27670 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27671 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27672 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27673 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27674 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27675 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27676 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27677 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27678 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27679 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27680 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27682 Likewise.
27683 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27685 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27687 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27688 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27689 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27692 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27693 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27694 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27695
27696 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27697
27698 * configure.ac (AS): Require binutils 2.25 or later.
27699 * configure: Regenerated.
27700
27701 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27702
27703 [BZ #22207]
27704 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27705 VM size.
27706
27707 2017-09-25 DJ Delorie <dj@redhat.com>
27708
27709 [BZ #22161]
27710 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27711 resetting timeout.
27712
27713 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27714
27715 * sysdeps/ieee754/dbl-64/sincos32.h
27716 [SINCCOS32_H]: Remove define.
27717 [SINCOS32_H]: Define.
27718
27719 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27720
27721 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27722 (exp2f): Likewise.
27723 * math/w_exp2f.c: New file.
27724 * math/w_expf.c: New file.
27725 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27726 * math/w_expf_compat.c (__expf_compat): Likewise.
27727 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27728 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27729 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27730 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27731 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27732 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27733 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27734 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27735 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27736 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27737 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27738 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27739 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27740 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27742 Likewise.
27743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27744 Likewise.
27745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27746 Likewise.
27747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27748 Likewise.
27749 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27750 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27751 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27752 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27753 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27755 Likewise.
27756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27757 Likewise.
27758 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27759 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27760 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27761
27762 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27763
27764 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27765 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27766 (roundtoint, converttoint): Likewise.
27767 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27768 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27769 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27770 * sysdeps/ieee754/flt-32/math_config.h: New file.
27771 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27772 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27773 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27774 * sysdeps/i386/fpu/math_errf.c: New file.
27775 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27776 * sysdeps/ia64/fpu/math_errf.c: New file.
27777 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27778 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27779
27780 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27781
27782 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27783 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27784 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27785 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27786 to make sure that these symbols are defined.
27787 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27788 of <limits.h>
27789 (__need_NULL): Do not define.
27790 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27791 alignment.
27792 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27793 CMGROUP_MAX, cmsgcred): Do not define.
27794 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27795 NULL.
27796 * bits/socket.h: Likewise.
27797 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27798 __gettimeofday instead of gettimeofday.
27799 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27800 instead of settimeofday.
27801
27802 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27803
27804 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27805 (asinhf): Define using libm_alias_float.
27806 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27807 (atanf): Define using libm_alias_float.
27808 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27809 (cbrtf): Define using libm_alias_float.
27810 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27811 (ceilf): Define using libm_alias_float.
27812 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27813 <libm-alias-float.h>.
27814 (copysignf): Define using libm_alias_float.
27815 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27816 (cosf): Define using libm_alias_float.
27817 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27818 (erff): Define using libm_alias_float.
27819 (erfcf): Likewise.
27820 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27821 (expm1f): Define using libm_alias_float.
27822 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27823 (fabsf): Define using libm_alias_float.
27824 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27825 (floorf): Define using libm_alias_float.
27826 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27827 (frexpf): Define using libm_alias_float.
27828 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27829 libm_alias_float.
27830 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27831 <libm-alias-float.h>.
27832 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27833 libm_alias_float.
27834 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27835 <libm-alias-float.h>.
27836 (getpayloadf): Define using libm_alias_float.
27837 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27838 <libm-alias-float.h>.
27839 (llrintf): Define using libm_alias_float.
27840 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27841 <libm-alias-float.h>.
27842 (llroundf): Define using libm_alias_float.
27843 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27844 (logbf): Define using libm_alias_float.
27845 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27846 (lrintf): Define using libm_alias_float.
27847 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27848 (lroundf): Define using libm_alias_float.
27849 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27850 (modff): Define using libm_alias_float.
27851 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27852 <libm-alias-float.h>.
27853 (nearbyintf): Define using libm_alias_float.
27854 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27855 <libm-alias-float.h>.
27856 (nextafterf): Define using libm_alias_float.
27857 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27858 <libm-alias-float.h>.
27859 (nextupf): Define using libm_alias_float.
27860 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27861 <libm-alias-float.h>.
27862 (remquof): Define using libm_alias_float.
27863 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27864 (rintf): Define using libm_alias_float.
27865 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27866 <libm-alias-float.h>.
27867 (roundevenf): Define using libm_alias_float.
27868 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27869 (roundf): Define using libm_alias_float.
27870 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27871 using libm_alias_float.
27872 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27873 <libm-alias-float.h>.
27874 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27875 Define using libm_alias_float.
27876 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27877 <libm-alias-float.h>.
27878 (sincosf): Define using libm_alias_float.
27879 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27880 (sinf): Define using libm_alias_float.
27881 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27882 (tanf): Define using libm_alias_float.
27883 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27884 (tanhf): Define using libm_alias_float.
27885 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27886 <libm-alias-float.h>.
27887 (totalorderf): Define using libm_alias_float.
27888 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27889 <libm-alias-float.h>.
27890 (totalordermagf): Define using libm_alias_float.
27891 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27892 (truncf): Define using libm_alias_float.
27893 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27894 libm_alias_float.
27895 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27896 libm_alias_float.
27897
27898 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27899
27900 [BZ #22146]
27901 math/math.h: Let fpclassify use the builtin in C++ mode, even
27902 when optimazing for size.
27903
27904 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27905
27906 * csu/Makefile (generated): Do not add version-info.h.
27907 (before-compile): Likewise.
27908 (all-Banner-files): Remove variable.
27909 ($(objpfx)version-info.h): Remove rule.
27910 * csu/version.c (banner): Do not include "version-info.h".
27911 * libidn/Banner: Remove.
27912 * manual/contrib.texi (Simon Josefsson): New entry.
27913
27914 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27915
27916 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27917 Remove conditionals on LDBL_MANT_DIG.
27918 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27919 (__ieee754_lgammal_r): Likewise.
27920
27921 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27922
27923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27924 _Float128 and L().
27925 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27926 _Float128 and L(). Replace _Float128 with long double and L(x)
27927 with xL, throughout the file.
27928 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27932
27933 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27934
27935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27936 sysdeps/ieee754/ldbl-128ibm.
27937 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27938 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27939 of including it. Keep _Float128 and L() intact. These will be
27940 reviewed by a separate patch.
27941 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27945
27946 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27947
27948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27949 (__finitef128): Define to __redirect___finitef128.
27950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27951 (__isinff128): Define to __redirect___isinff128.
27952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27953 (__isnanf128): Define to __redirect___isnanf128.
27954
27955 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27956
27957 * sysdeps/powerpc/powerpc64le/Makefile
27958 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27959 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27960
27961 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27962 Carlos O'Donell <carlos@redhat.com>
27963
27964 [BZ #22180]
27965 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27966 * stdlib/test-dlclose-exit-race.c: New file.
27967 * stdlib/test-dlclose-exit-race-helper.c: New file.
27968 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27969
27970 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27971
27972 * crypt/Banner: Remove file.
27973 * nptl/Banner: Likewise.
27974 * resolv/Banner: Likewise.
27975 * soft-fp/Banner: Likewise.
27976 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27977 ($(objpfx)version.d): Remove dependency on banner.h.
27978 ($(objpfx)version.os): Likewise.
27979 * nptl/version.c (banner): Do not include banner.h.
27980 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27981 Jelinek and BIND code.
27982
27983 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27984 Carlos O'Donell <carlos@redhat.com>
27985
27986 * support/xdlfcn.h: New file.
27987 * support/xdlfcn.c: New file.
27988 * support/Makefile (libsupport-routines): Add xdlfcn.
27989 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27990
27991 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27992
27993 [BZ #20142]
27994 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27995 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27996 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27997 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27998 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27999 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28000 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28001 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28002
28003 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28004 Ricky Zhou <rickyz@google.com>
28005 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28006
28007 [BZ #14333]
28008 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28009 Remove atomics.
28010 (__new_exitfn): Fail registration when we finished at_exit processing.
28011 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28012 * stdlib/on_exit.c (__on_exit): Likewise.
28013 * stdlib/exit.c (__exit_funcs_done): New variable.
28014 (__run_exit_handlers): Use __exit_funcs_lock.
28015 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28016 declarations.
28017 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28018 (test-cxa_atexit-race, test-on_exit-race): New tests.
28019 * stdlib/test-atexit-race-common.c: New file.
28020 * stdlib/test-atexit-race.c: New file.
28021 * stdlib/test-at_quick_exit-race.c: New file.
28022 * stdlib/test-cxa_atexit-race.c: New file.
28023 * stdlib/test-on_exit-race.c: New file.
28024
28025 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28026
28027 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28028 * benchtests/exp2f-inputs: Copy of expf-inputs.
28029 * benchtests/log2f-inputs: Copy of logf-inputs.
28030
28031 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28032
28033 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28034 Explicitly take address of first element of array arguments in
28035 call to INLINE_SYSCALL.
28036
28037 2017-09-19 Andreas Schwab <schwab@suse.de>
28038
28039 [BZ #22134]
28040 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28041 execveat first.
28042 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28043 unimplemented.
28044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28045 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28046 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28047 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28048 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28049 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28051 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28052 * posix/Makefile (tests): Add tst-fexecve.
28053 * posix/tst-fexecve.c: New file.
28054
28055 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28056
28057 * benchtests/Makefile: Add logf benchmark.
28058 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28059
28060 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28061
28062 * benchtests/Makefile: Add expf benchmark.
28063 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28064
28065 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28066
28067 * csu/Makefile: Add -funwind-tables to libc-start.c.
28068 * debug/Makefile: Add -funwind-tables to backtrace.c.
28069 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28070 * sysdeps/arm/Makefile: Likewise.
28071 * sysdeps/i386/Makefile: Likewise.
28072 * sysdeps/m68k/Makefile: Likewise.
28073 * sysdeps/mips/Makefile: Likewise.
28074 * sysdeps/nios2/Makefile: Likewise.
28075 * sysdeps/sh/Makefile: Likewise.
28076 * sysdeps/sparc/Makefile: Likewise.
28077
28078 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28079
28080 * benchtests/Makefile (bench-math): Add trunc and truncf.
28081 (CFLAGS-bench-trunc.c): New variable.
28082 (CFLAGS-bench-truncf.c): Likewise.
28083 * benchtests/trunc-inputs: New file.
28084 * benchtests/truncf-inputs: Likewise.
28085
28086 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28087
28088 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28089
28090 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28091
28092 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28093 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28094 redefine.
28095 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28096 (exp10l): Define as weak alias.
28097 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28098 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28099 and redefine.
28100 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28101 (remainderl): Define as weak alias.
28102
28103 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28104 (fmal): Define using libm_alias_ldouble.
28105 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28106 (acoshl): Define using libm_alias_ldouble.
28107 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28108 (acosl): Define using libm_alias_ldouble.
28109 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28110 (asinl): Define using libm_alias_ldouble.
28111 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28112 (atan2l): Define using libm_alias_ldouble.
28113 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28114 (atanhl): Define using libm_alias_ldouble.
28115 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28116 (coshl): Define using libm_alias_ldouble.
28117 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28118 (exp10l): Define using libm_alias_ldouble.
28119 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28120 (exp2l): Define using libm_alias_ldouble.
28121 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28122 (expl): Define using libm_alias_ldouble.
28123 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28124 (fmodl): Define using libm_alias_ldouble.
28125 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28126 (hypotl): Define using libm_alias_ldouble.
28127 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28128 (j0l): Define using libm_alias_ldouble.
28129 (y0l): Likewise.
28130 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28131 (j1l): Define using libm_alias_ldouble.
28132 (y1l): Likewise.
28133 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28134 (jnl): Define using libm_alias_ldouble.
28135 (ynl): Likewise.
28136 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28137 (log10l): Define using libm_alias_ldouble.
28138 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28139 (log2l): Define using libm_alias_ldouble.
28140 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28141 (logl): Define using libm_alias_ldouble.
28142 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28143 (powl): Define using libm_alias_ldouble.
28144 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28145 (remainderl): Define using libm_alias_ldouble.
28146 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28147 (sinhl): Define using libm_alias_ldouble.
28148 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28149 (sqrtl): Define using libm_alias_ldouble.
28150 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28151 (tgammal): Define using libm_alias_ldouble.
28152 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28153 (exp10l): Do not use long_double_symbol here.
28154 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28155 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28156 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28157 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28158 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28159 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28160 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28161 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28162 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28163 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28164 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28165 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28166 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28167 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28168 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28169 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28170 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28171 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28172 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28173 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28174 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28175 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28176
28177 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28178
28179 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28180 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28181
28182 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28183
28184 * io/read.c (read): Add libc_hidden_weak.
28185 * sysdeps/mach/hurd/read.c (read): Likewise.
28186 * io/write.c (write): Likewise.
28187 * sysdeps/mach/hurd/write.c (write): Likewise.
28188 * io/pread64.c (__pread64): Likewise.
28189 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28190 * posix/pread64.c (__pread64): Add libc_hidden_def.
28191
28192 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28193
28194 * benchtests/scripts/compare_strings.py: New option -g.
28195 (draw_graph): Print a message that a graph is being generated.
28196 (process_results): Generate graph only if -g is passed.
28197 (main): Process option -g.
28198
28199 * benchtests/scripts/compare_strings.py (process_results):
28200 Better spacing for output.
28201
28202 * benchtests/scripts/compare_strings.py: Use argparse.
28203 * benchtests/README: Document existence of compare_strings.py.
28204
28205 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28206
28207 * math/s_fma.c: Include <libm-alias-double.h>.
28208 (fma): Define using libm_alias_double.
28209 * math/s_nextafter.c: Include <libm-alias-double.h>.
28210 (nextafter): Define using libm_alias_double.
28211 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28212 (acos): Define using libm_alias_double.
28213 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28214 (aocsh): Define using libm_alias_double.
28215 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28216 (asin): Define using libm_alias_double.
28217 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28218 (atan2): Define using libm_alias_double.
28219 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28220 (atanh): Define using libm_alias_double.
28221 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28222 (cosh): Define using libm_alias_double.
28223 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28224 (exp10): Define using libm_alias_double.
28225 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28226 (exp2): Define using libm_alias_double.
28227 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28228 (exp): Define using libm_alias_double.
28229 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28230 (fmod): Define using libm_alias_double.
28231 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28232 (hypot): Define using libm_alias_double.
28233 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28234 (j0): Define using libm_alias_double.
28235 (y0): Likewise.
28236 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28237 (j1): Define using libm_alias_double.
28238 (y1): Likewise.
28239 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28240 (jn): Define using libm_alias_double.
28241 (yn): Likewise.
28242 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28243 (log10): Define using libm_alias_double.
28244 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28245 (log2): Define using libm_alias_double.
28246 * math/w_log_compat.c: Include <libm-alias-double.h>.
28247 (log): Define using libm_alias_double.
28248 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28249 (pow): Define using libm_alias_double.
28250 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28251 (remainder): Define using libm_alias_double.
28252 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28253 (sinh): Define using libm_alias_double.
28254 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28255 (sqrt): Define using libm_alias_double.
28256 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28257 (tgamma): Define using libm_alias_double.
28258 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28259 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28260 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28261 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28262 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28263 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28264 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28265 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28266 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28267 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28268 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28269 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28270 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28271 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28272 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28273 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28274 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28275 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28276 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28277 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28278 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28279 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28280 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28281 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28282 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28283
28284 * math/e_acoshl.c: Remove.
28285 * math/e_acosl.c: Likewise.
28286 * math/e_asinl.c: Likewise.
28287 * math/e_atan2l.c: Likewise.
28288 * math/e_atanhl.c: Likewise.
28289 * math/e_coshl.c: Likewise.
28290 * math/e_expl.c: Likewise.
28291 * math/e_fmodl.c: Likewise.
28292 * math/e_gammal_r.c: Likewise.
28293 * math/e_hypotl.c: Likewise.
28294 * math/e_j0l.c: Likewise.
28295 * math/e_j1l.c: Likewise.
28296 * math/e_jnl.c: Likewise.
28297 * math/e_lgammal_r.c: Likewise.
28298 * math/e_log10l.c: Likewise.
28299 * math/e_log2l.c: Likewise.
28300 * math/e_logl.c: Likewise.
28301 * math/e_powl.c: Likewise.
28302 * math/e_rem_pio2l.c: Likewise.
28303 * math/e_sinhl.c: Likewise.
28304 * math/e_sqrtf128.c: Likewise.
28305 * math/e_sqrtl.c: Likewise.
28306 * math/k_cosl.c: Likewise.
28307 * math/k_sinl.c: Likewise.
28308 * math/k_tanl.c: Likewise.
28309 * math/s_asinhl.c: Likewise.
28310 * math/s_atanl.c: Likewise.
28311 * math/s_cbrtl.c: Likewise.
28312 * math/s_erfl.c: Likewise.
28313 * math/s_expm1l.c: Likewise.
28314 * math/s_log1pl.c: Likewise.
28315 * math/s_tanhl.c: Likewise.
28316
28317 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28318
28319 [BZ #21745]
28320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28321 [$(subdir) = math] (sysdep_calls): New variable. Has the
28322 previous contents of sysdep_routines, but re-sorted..
28323 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28324 sysdep_calls.
28325 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28326 defined in sysdep_calls and replace by the respective m_* names.
28327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28328 (compat_symbol): Undefine to avoid duplicated compat symbols in
28329 libc.
28330
28331 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28332
28333 * math/s_fmaf.c: Include <libm-alias-float.h>.
28334 (fmaf): Define using libm_alias_float.
28335 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28336 (acosf): Define using libm_alias_float.
28337 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28338 (acoshf): Define using libm_alias_float.
28339 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28340 (asinf): Define using libm_alias_float.
28341 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28342 (atan2f): Define using libm_alias_float.
28343 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28344 (atanhf): Define using libm_alias_float.
28345 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28346 (coshf): Define using libm_alias_float.
28347 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28348 (exp10f): Define using libm_alias_float.
28349 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28350 (fmodf): Define using libm_alias_float.
28351 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28352 (hypotf): Define using libm_alias_float.
28353 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28354 (j0f): Define using libm_alias_float.
28355 (y0f): Likewise.
28356 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28357 (j1f): Define using libm_alias_float.
28358 (y1f): Likewise.
28359 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28360 (jnf): Define using libm_alias_float.
28361 (ynf): Likewise.
28362 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28363 (log10f): Define using libm_alias_float.
28364 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28365 (log2f): Define using libm_alias_float.
28366 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28367 (logf): Define using libm_alias_float.
28368 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28369 (powf): Define using libm_alias_float.
28370 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28371 (remainderf): Define using libm_alias_float.
28372 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28373 (sinhf): Define using libm_alias_float.
28374 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28375 (sqrtf): Define using libm_alias_float.
28376 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28377 (tgammaf): Define using libm_alias_float.
28378
28379 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28380
28381 * include/math.h (roundeven): Change hidden_proto call to
28382 __roundeven.
28383 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28384 alias.
28385 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28386 (y0): Rename to __y0 and define as weak alias.
28387 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28388 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28389 alias.
28390 (y0f): Rename to __y0f and define as weak alias.
28391 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28392 alias.
28393 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28394 (y1): Rename to __y1 and define as weak alias.
28395 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28396 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28397 alias.
28398 (y1f): Rename to __y1f and define as weak alias.
28399 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28400 alias.
28401 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28402 (yn): Rename to __yn and define as weak alias.
28403 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28404 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28405 alias.
28406 (ynf): Rename to __ynf and define as weak alias.
28407 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28408 (fromfp): Define as weak alias.
28409 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28410 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28411 (fromfpx): Define as weak alias.
28412 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28413 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28414 __getpayload and define as weak alias.
28415 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28416 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28417 __roundeven and define as weak alias.
28418 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28419 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28420 __setpayload.
28421 (setpayload): Define as weak alias.
28422 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28423 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28424 __setpayloadsig.
28425 (setpayloadsig): Define as weak alias.
28426 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28427 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28428 __totalorder and define as weak alias.
28429 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28430 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28431 to __totalordermag and define as weak alias.
28432 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28433 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28434 (ufromfp): Define as weak alias.
28435 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28436 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28437 __ufromfpx.
28438 (ufromfpx): Define as weak alias.
28439 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28440 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28441 Rename to __getpayload and define as weak alias.
28442 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28443 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28444 Rename to __roundeven and define as weak alias.
28445 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28446 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28447 Rename to __totalorder and define as weak alias.
28448 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28449 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28450 (totalordermag): Rename to __totalordermag and define as weak
28451 alias.
28452 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28453 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28454 macro.
28455 (__roundevenl): Likewise.
28456 (__totalorderl): Likewise.
28457 (__totalordermagl): Likewise
28458 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28459 __fromfpf128.
28460 (fromfpf128): Define as weak alias.
28461 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28462 __fromfpxf128.
28463 (fromfpxf128): Define as weak alias.
28464 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28465 __setpayloadf128.
28466 (setpayloadf128): Define as weak alias.
28467 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28468 __setpayloadsigf128.
28469 (setpayloadsigf128): Define as weak alias.
28470 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28471 __ufromfpf128.
28472 (ufromfpf128): Define as weak alias.
28473 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28474 __ufromfpxf128.
28475 (ufromfpxf128): Define as weak alias.
28476 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28477 (fromfpf): Define as weak alias.
28478 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28479 __fromfpxf.
28480 (fromfpxf): Define as weak alias.
28481 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28482 __getpayloadf and define as weak alias.
28483 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28484 __roundevenf and define as weak alias.
28485 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28486 __setpayloadf.
28487 (setpayloadf): Define as weak alias.
28488 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28489 __setpayloadsigf.
28490 (setpayloadsigf): Define as weak alias.
28491 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28492 __totalorderf and define as weak alias.
28493 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28494 Rename to __totalordermagf and define as weak alias.
28495 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28496 __ufromfpf.
28497 (ufromfpf): Define as weak alias.
28498 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28499 __ufromfpxf.
28500 (ufromfpxf): Define as weak alias.
28501 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28502 __fromfpl.
28503 (fromfpl): Define as weak alias.
28504 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28505 __fromfpxl.
28506 (fromfpxl): Define as weak alias.
28507 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28508 to __getpayloadl and define as weak alias.
28509 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28510 __roundevenl and define as weak alias.
28511 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28512 __setpayloadl.
28513 (setpayloadl): Define as weak alias.
28514 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28515 __setpayloadsigl.
28516 (setpayloadsigl): Define as weak alias.
28517 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28518 to __totalorderl and define as weak alias.
28519 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28520 Rename to __totalordermagl and define as weak alias.
28521 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28522 __ufromfpl.
28523 (ufromfpl): Define as weak alias.
28524 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28525 __ufromfpxl.
28526 (ufromfpxl): Define as weak alias.
28527 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28528 __fromfpl.
28529 (fromfpl): Define as weak alias.
28530 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28531 __fromfpxl.
28532 (fromfpxl): Define as weak alias.
28533 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28534 Rename to __getpayloadl and define as weak alias.
28535 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28536 to __roundevenl and define as weak alias. Call __roundeven
28537 instead of roundeven.
28538 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28539 __setpayloadl.
28540 (setpayloadl): Define as weak alias.
28541 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28542 __setpayloadsigl.
28543 (setpayloadsigl): Define as weak alias.
28544 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28545 Rename to __totalorderl and define as weak alias.
28546 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28547 Rename to __totalordermagl and define as weak alias.
28548 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28549 __ufromfpl.
28550 (ufromfpl): Define as weak alias.
28551 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28552 __ufromfpxl.
28553 (ufromfpxl): Define as weak alias.
28554 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28555 __fromfpl.
28556 (fromfpl): Define as weak alias.
28557 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28558 __fromfpxl.
28559 (fromfpxl): Define as weak alias.
28560 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28561 __getpayloadl and define as weak alias.
28562 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28563 __roundevenl and define as weak alias.
28564 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28565 __setpayloadl.
28566 (setpayloadl): Define as weak alias.
28567 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28568 __setpayloadsigl.
28569 (setpayloadsigl): Define as weak alias.
28570 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28571 __totalorderl and define as weak alias.
28572 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28573 Rename to __totalordermagl and define as weak alias.
28574 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28575 __ufromfpl.
28576 (ufromfpl): Define as weak alias.
28577 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28578 __ufromfpxl.
28579 (ufromfpxl): Define as weak alias.
28580
28581 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28582
28583 * benchtests/bench-string.h (realloc_bufs): New function.
28584 (test_init): Call it.
28585 * benchtests/bench-memset-large.c (do_test): Likewise.
28586 * benchtests/bench-memset.c (do_test): Likewise.
28587
28588 * benchtests/bench-memset-large.c: Print output in JSON
28589 format.
28590 * benchtests/bench-memset.c: Likewise.
28591
28592 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28593
28594 [BZ #21084]
28595 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28596 * iconvdata/Makefile: Add IBM858.
28597 * iconvdata/gconv-modules: Likewise.
28598 * iconvdata/tst-tables.sh: Likewise.
28599 * iconvdata/ibm858.c: New file.
28600 * localedata/charmaps/IBM858: Likewise.
28601
28602 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28603
28604 [BZ #22023]
28605 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28606 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28607
28608 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28609
28610 [BZ #22112]
28611 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28612 and add tel_int_fmt.
28613
28614 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28615
28616 * sysdeps/generic/libm-alias-float128.h: New file.
28617 * sysdeps/generic/math-type-macros-float128.h: Include
28618 <libm-alias-float128.h>.
28619 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28620
28621 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28622
28623 * sysdeps/generic/libm-alias-ldouble.h: New file.
28624 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28625 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28626 * sysdeps/generic/math-type-macros-ldouble.h: Include
28627 <libm-alias-ldouble.h>.
28628 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28629 libm_alias_ldouble.
28630
28631 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28632
28633 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28634 * math/w_exp_compat.c: ... here.
28635 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28636 * math/w_expf_compat.c: ... here.
28637 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28638 * math/w_expl_compat.c: ... here.
28639 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28640 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28641 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28642 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28643
28644 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28645
28646 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28647 redefine.
28648 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28649 macro.
28650 (ldexpl): Only define as compat symbol for libc, not libm.
28651 (scalbnl): Define as compat symbol for libc here.
28652 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28653 define for [IS_IN (libc)].
28654 (__ldexpl_2): Remove alias.
28655 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28656 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28657 name in long_double_symbol call.
28658 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28659 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28660 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28661 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28662 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28663 Remove macro.
28664 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28665 Define as compat symbol.
28666
28667 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28668
28669 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28670 * sysdeps/unix/sysv/linux/alpha/Makefile
28671 [$(subdir) = csu] (sysdep_routines): Remove rule.
28672
28673 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28674
28675 * sysdeps/generic/libm-alias-double.h: New file.
28676 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28677 * sysdeps/generic/math-type-macros-double.h: Include
28678 <libm-alias-double.h>.
28679 [declare_mgen_alias] (declare_mgen_alias): Define to use
28680 libm_alias_double.
28681 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28682 (M_LIBM_NEED_COMPAT): Remove macro.
28683 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28684 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28685 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28686 code.
28687 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28688 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28689 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28690 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28691 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28692 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28693 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28694 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28695 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28696 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28697 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28698 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28699 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28700 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28701 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28702 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28703 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28704 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28705 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28706 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28707 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28708 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28709 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28710 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28711 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28712 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28713 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28714 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28715 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28716 macro.
28717 (declare_mgen_alias): New macro.
28718 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28719 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28721 (M_LIBM_NEED_COMPAT): Remove macro.
28722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28723 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28724 <first-versions.h>.
28725 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28726 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28727
28728 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28729
28730 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28731 (declare_mgen_alias_2): Remove.
28732 * sysdeps/generic/math-type-macros-double.h
28733 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28734 Likewise.
28735 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28736 alias.
28737 (ldexp): Define with declare_mgen_alias.
28738 (scalbn): Likewise.
28739
28740 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28741
28742 * grp/initgroups.c: Include config.h.
28743 (DEFAULT_CONFIG): New macro.
28744 (internal_getgrouplist): Use DEFAULT_CONFIG.
28745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28746 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28747 (DEFAULT_DEFCONFIG): New macro.
28748 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28749 * nss/grp-lookup.c: Include config.h
28750 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28751 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28752 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28753 * manual/nss.texi: Update default values section.
28754
28755 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28756
28757 [BZ #21967]
28758 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28759 New.
28760 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28761 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28762 Handle MathVec_Prefer_No_AVX512.
28763 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28764 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28765 is set.
28766
28767 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28768
28769 * posix/sched_primax.c (__sched_get_priority_max): Add
28770 libc_hidden_def.
28771 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28772 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28773 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28774 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28775 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28776 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28777 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28778 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28779 Add aliases.
28780
28781 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28782
28783 * sysdeps/generic/libm-alias-float.h: New file.
28784 * sysdeps/generic/math-type-macros-float.h: Include
28785 <libm-alias-float.h>.
28786 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28787
28788 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28789
28790 [BZ #22093]
28791 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28792 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28793 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28794 (HWCAP_IMPORTANT): Likewise.
28795 (HWCAP_X86_64): New enum.
28796 (HWCAP_X86_AVX512_1): Updated.
28797 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28798 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28799 (modules-names): Add x86_64/tst-x86_64mod-1.
28800 (LDFLAGS-tst-x86_64mod-1.so): New.
28801 ($(objpfx)tst-x86_64-1): Likewise.
28802 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28803 (tst-x86_64-1-clean): Likewise.
28804 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28805 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28806
28807 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28808
28809 * po/sv.po: Update translations.
28810 * po/fr.po: Likewise.
28811
28812 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28813
28814 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28815 seconds.
28816 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28817 seconds.
28818 * elf/rtld-Rules: Fix $(error) use.
28819
28820 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28821
28822 [BZ #14925]
28823 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28824 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28825 * localedata/locales/bn_BD: “Bengali” was still used in some
28826 comments. Change it to “Bangla”.
28827
28828 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28829
28830 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28831
28832 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28833
28834 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28835 thunderx2t99p1 to list of cpu names.
28836 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28837 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28838
28839 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28840
28841 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28842 Use strcmp instead of tunable_is_name.
28843
28844 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28845
28846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28847 (F_GET_RW_HINT): New macro.
28848 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28849 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28850 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28851 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28852 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28853 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28854 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28855 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28856 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28857
28858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28859 (F_ADD_SEALS): New macro.
28860 [__USE_GNU] (F_GET_SEALS): Likewise.
28861 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28862 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28863 [__USE_GNU] (F_SEAL_GROW): Likewise.
28864 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28865
28866 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28867
28868 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28869 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28870 * posix/glob_internal.h (__glob_pattern_type):
28871 * posix/glob.c (glob):
28872 * posix/glob_pattern_p.c (__glob_pattern_p):
28873 Use them.
28874
28875 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28876 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28877 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28878 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28879 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28881 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28882 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28883 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28884 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28886 * sysdeps/wordsize-64/glob.c: Likewise.
28887 * sysdeps/wordsize-64/glob64.c: Likewise.
28888 * sysdeps/wordsize-64/globfree.c: Likewise.
28889 * sysdeps/wordsize-64/globfree64.c: Likewise.
28890 * sysdeps/unix/sysv/linux/glob.c: New file.
28891 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28892 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28893 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28894 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28895 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28896 adds !GLOB_NO_OLD_VERSION as an extra condition.
28897 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28898 using relative path instead of absolute one.
28899 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28900 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28901 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28902 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28903 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28904 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28905
28906 [BZ #1062]
28907 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28908 (glob): Use the same scratch buffer for both getlogin_r and
28909 getpwnam_r. Don’t require preallocation of the login name. This
28910 simplifies storage allocation, and corrects the handling of
28911 long login names.
28912
28913 [BZ #1062]
28914 * posix/glob.c (glob): Port recent patches to platforms
28915 lacking getpwnam_r.
28916 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28917 returns an error number rather than setting errno.
28918
28919 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28920 instead of GCC extension.
28921 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28922 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28923 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28924
28925 [BZ #866]
28926 [BZ #1062]
28927 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28928 * posix/bug-glob1.c: Remove file.
28929 * posix/tst-glob_symlinks.c: New file.
28930 * posix/glob.c (__lstat64): New macro.
28931 (is_dir): New function.
28932 (glob, glob_in_dir): Match symlinks even if they are dangling.
28933 (link_stat, link_exists_p): Remove. All uses removed.
28934
28935 [BZ #1062]
28936 [BZ #19971]
28937 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28938 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28939 All uses removed.
28940
28941 [BZ #1062]
28942 CVE-2017-15671
28943 * posix/Makefile (routines): Add globfree, globfree64, and
28944 glob_pattern_p.
28945 * posix/flexmember.h: New file.
28946 * posix/glob_internal.h: Likewise.
28947 * posix/glob_pattern_p.c: Likewise.
28948 * posix/globfree.c: Likewise.
28949 * posix/globfree64.c: Likewise.
28950 * sysdeps/gnu/globfree64.c: Likewise.
28951 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28952 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28953 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28954 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28956 * sysdeps/wordsize-64/globfree.c: Likewise.
28957 * sysdeps/wordsize-64/globfree64.c: Likewise.
28958 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28959 [NDEBUG): Remove comments.
28960 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28961 (dirent_type): New type. Use uint_fast8_t not
28962 uint8_t, as C99 does not require uint8_t.
28963 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28964 (struct readdir_result): Use dirent_type. Do not define skip_entry
28965 unless it is needed; this saves a byte on platforms lacking d_ino.
28966 (readdir_result_type, readdir_result_skip_entry):
28967 New functions, replacing ...
28968 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28969 these functions, which were removed. This makes the callers
28970 easier to read. All callers changed.
28971 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28972 (size_add_wrapv, glob_use_alloca): New static functions.
28973 (glob, glob_in_dir): Check for size_t overflow in several places,
28974 and fix some size_t checks that were not quite right.
28975 Remove old code using SHELL since Bash no longer
28976 uses this.
28977 (glob, prefix_array): Separate MS code better.
28978 (glob_in_dir): Remove old Amiga and VMS code.
28979 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28980 separate files.
28981 (glob_in_dir): Do not rely on undefined behavior in accessing
28982 struct members beyond their bounds. Use a flexible array member
28983 instead
28984 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28985 0/1. Caller changed.
28986 (glob): Fix memory leaks.
28987 * posix/glob64 (globfree64): Move to separate file.
28988 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28989 (globfree64): Remove hidden alias.
28990 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28991 oldglob.
28992 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28993 separate file.
28994 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28995 define.
28996 Move compat code to separate file.
28997 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28998 separate file.
28999
29000 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29001
29002 * resolv/tst-resolv-qtypes.c (domain): Changed to
29003 "const char domain[] =".
29004
29005 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29006
29007 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29008 version to 3.1.6.
29009
29010 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29011 (TCP_MD5SIG_EXT): Likewise.
29012 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29013 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29014 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29015
29016 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29017
29018 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29019
29020 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29021
29022 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29023
29024 [BZ #22100]
29025 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29026
29027 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29028
29029 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29030 before assuming that the file is empty. Avoid testing buffer content
29031 when nread == 0.
29032
29033 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29034
29035 [BZ #18858]
29036 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29037 Remove define.
29038 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29039 Likewise.
29040 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29041 Likewise.
29042 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29043 Likewise.
29044 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29045 Likewise.
29046 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29047 Likewise.
29048 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29049 Likewise.
29050
29051 2017-09-06 Florian Weimer <fweimer@redhat.com>
29052
29053 * malloc/dynarray_emplace_enlarge.c
29054 (__libc_dynarray_emplace_enlarge): Add missing else.
29055
29056 2017-09-06 Florian Weimer <fweimer@redhat.com>
29057
29058 [BZ #22096]
29059 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29060 case of failure to obtain the global conf object.
29061
29062 2017-09-06 Florian Weimer <fweimer@redhat.com>
29063
29064 [BZ #22095]
29065 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29066 dynarray allocation failure.
29067
29068 2017-09-06 Florian Weimer <fweimer@redhat.com>
29069
29070 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29071 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29072 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29073 New functions.
29074 (response): Call them. Add 'p', '6' flag processing.
29075 (test_reverse): New function.
29076 (test_get2_any): Call it.
29077 (test_no_inet6): Add 'p' test.
29078 (test_inet6): Likewise.
29079
29080 2017-09-06 Florian Weimer <fweimer@redhat.com>
29081
29082 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29083 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29084 the QNAME.
29085 (test_gai): Adjust query names. Add additional tests.
29086 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29087 test_get2. Adjust query names. Add additional tests.
29088 (test_no_inet6): New function, extracted from threadfunc.
29089 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29090 Add additional tests.
29091
29092 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29093
29094 [BZ #22070]
29095 * localedata/unicode-gen/utf8_gen.py: Set the width for
29096 characters with Prepended_Concatenation_Mark property to 1
29097 * localedata/charmaps/UTF-8: Updated using the improved script.
29098
29099 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29100
29101 [BZ #21750]
29102 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29103 use the range notation for all ranges of neighbouring characters
29104 with the same width.
29105
29106 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29107
29108 * sysdeps/generic/math-type-macros-double.h: Include
29109 <math-svid-compat.h>.
29110 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29111 * sysdeps/generic/math-type-macros-float.h: Include
29112 <math-svid-compat.h>.
29113 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29114 * sysdeps/generic/math-type-macros-ldouble.h: Include
29115 <math-svid-compat.h>.
29116 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29117 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29118 condition.
29119 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29120 * math/w_acosf_compat.c: Likewise.
29121 * math/w_acosh_compat.c: Likewise.
29122 * math/w_acoshf_compat.c: Likewise.
29123 * math/w_acoshl_compat.c: Likewise.
29124 * math/w_acosl_compat.c: Likewise.
29125 * math/w_asin_compat.c: Likewise.
29126 * math/w_asinf_compat.c: Likewise.
29127 * math/w_asinl_compat.c: Likewise.
29128 * math/w_atan2_compat.c: Likewise.
29129 * math/w_atan2f_compat.c: Likewise.
29130 * math/w_atan2l_compat.c: Likewise.
29131 * math/w_atanh_compat.c: Likewise.
29132 * math/w_atanhf_compat.c: Likewise.
29133 * math/w_atanhl_compat.c: Likewise.
29134 * math/w_cosh_compat.c: Likewise.
29135 * math/w_coshf_compat.c: Likewise.
29136 * math/w_coshl_compat.c: Likewise.
29137 * math/w_exp10_compat.c: Likewise.
29138 * math/w_exp10f_compat.c: Likewise.
29139 * math/w_exp10l_compat.c: Likewise.
29140 * math/w_exp2_compat.c: Likewise.
29141 * math/w_exp2f_compat.c: Likewise.
29142 * math/w_exp2l_compat.c: Likewise.
29143 * math/w_fmod_compat.c: Likewise.
29144 * math/w_fmodf_compat.c: Likewise.
29145 * math/w_fmodl_compat.c: Likewise.
29146 * math/w_hypot_compat.c: Likewise.
29147 * math/w_hypotf_compat.c: Likewise.
29148 * math/w_hypotl_compat.c: Likewise.
29149 * math/w_j0_compat.c: Likewise.
29150 * math/w_j0f_compat.c: Likewise.
29151 * math/w_j0l_compat.c: Likewise.
29152 * math/w_j1_compat.c: Likewise.
29153 * math/w_j1f_compat.c: Likewise.
29154 * math/w_j1l_compat.c: Likewise.
29155 * math/w_jn_compat.c: Likewise.
29156 * math/w_jnf_compat.c: Likewise.
29157 * math/w_jnl_compat.c: Likewise.
29158 * math/w_lgamma_r_compat.c: Likewise.
29159 * math/w_lgammaf_r_compat.c: Likewise.
29160 * math/w_lgammal_r_compat.c: Likewise.
29161 * math/w_log10_compat.c: Likewise.
29162 * math/w_log10f_compat.c: Likewise.
29163 * math/w_log10l_compat.c: Likewise.
29164 * math/w_log2_compat.c: Likewise.
29165 * math/w_log2f_compat.c: Likewise.
29166 * math/w_log2l_compat.c: Likewise.
29167 * math/w_log_compat.c: Likewise.
29168 * math/w_logf_compat.c: Likewise.
29169 * math/w_logl_compat.c: Likewise.
29170 * math/w_pow_compat.c: Likewise.
29171 * math/w_powf_compat.c: Likewise.
29172 * math/w_powl_compat.c: Likewise.
29173 * math/w_remainder_compat.c: Likewise.
29174 * math/w_remainderf_compat.c: Likewise.
29175 * math/w_remainderl_compat.c: Likewise.
29176 * math/w_sinh_compat.c: Likewise.
29177 * math/w_sinhf_compat.c: Likewise.
29178 * math/w_sinhl_compat.c: Likewise.
29179 * math/w_sqrt_compat.c: Likewise.
29180 * math/w_sqrtf_compat.c: Likewise.
29181 * math/w_sqrtl_compat.c: Likewise.
29182 * math/w_tgamma_compat.c: Likewise.
29183 * math/w_tgammaf_compat.c: Likewise.
29184 * math/w_tgammal_compat.c: Likewise.
29185 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29186 [LIBM_SVID_COMPAT].
29187 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29188 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29189 [LIBM_SVID_COMPAT].
29190 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29191 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29192 [LIBM_SVID_COMPAT].
29193 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29194 * sysdeps/i386/fpu/w_sqrt.c: New file.
29195 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29196 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29197 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29198 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29199 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29200 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29201 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29202 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29203 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29204 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29205 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29206 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29207 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29208 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29209 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29210 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29211 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29212 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29213 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29214 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29215 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29216 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29217 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29218 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29219 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29220 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29221 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29222 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29223 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29224 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29225 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29226 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29227 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29228 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29229 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29230 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29231 * sysdeps/ia64/fpu/w_log.c: Likewise.
29232 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29233 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29234 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29235 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29236 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29237 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29238 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29239 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29240 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29241 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29242 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29243 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29244 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29245 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29246 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29247 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29248 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29249 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29250 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29251 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29252 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29253 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29254 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29256 [LIBM_SVID_COMPAT].
29257 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29258 * sysdeps/ieee754/k_standard.c: Likewise.
29259 * sysdeps/ieee754/k_standardf.c: Likewise.
29260 * sysdeps/ieee754/k_standardl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29263 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29264 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29265 long_double_symbol call on [LIBM_SVID_COMPAT].
29266 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29267 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29268 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29269 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29270 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29271 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29272 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29273 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29274 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29275 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29276 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29277 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29278 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29279 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29280 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29281 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29282 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29283 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29284 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29285 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29286 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29287 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29288
29289 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29290
29291 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29292 * malloc/tst-mallocstate.c: Convert from test-skeleton
29293 to test-driver. Ifdef code using TEST_COMPAT macro.
29294 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29295 * math/test-matherr.c: Likewise.
29296
29297 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29298
29299 [BZ #22086]
29300 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29301 comparing word with byte-swapped constant.
29302
29303 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29304
29305 [BZ #20498]
29306 * locale/iso-639.def: add Miskito.
29307 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29308 * localedata/locales/miq_NI: New file.
29309
29310 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29311
29312 [BZ #18822]
29313 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29314 (__mkdir): Likewise.
29315 * io/chmod.c (__chmod): Add libc_hidden_def.
29316 * io/mkdir.c (__mkdir): Likewise.
29317 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29318 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29319 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29320 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29321
29322 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29323
29324 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29325 version to 4.13.
29326
29327 [BZ #22082]
29328 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29329 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29330
29331 2017-09-04 Florian Weimer <fweimer@redhat.com>
29332
29333 * math/math.h: Issue warning if log is defined.
29334
29335 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29336
29337 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29338 kernel version to 4.13.
29339
29340 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29341
29342 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29343 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29344 parameter.
29345 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29346 just <bits/types.h>.
29347 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29348 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29349 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29350 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29351 * misc/preadv2.c: Include <errno.h>.
29352 * misc/preadv64v2.c: Include <errno.h>.
29353 * misc/pwritev2.c: Include <errno.h>.
29354 * misc/pwritev64v2.c: Include <errno.h>.
29355 * sysdeps/posix/preadv2.c: Include <errno.h>.
29356 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29357 Fix <unistd.h> inclusion.
29358 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29359 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29360 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29361 __strtoul_internal): New functions.
29362 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29363 * sysdeps/posix/system.c: Include <sigsetops.h>.
29364 * sysdeps/mach/hurd/i386/Makefile
29365 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29366 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29367 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29368 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29369 __feraiseexcept_renamed to feraiseexcept instead of
29370 __GI_feraiseexcept.
29371 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29372 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29373 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29374 RWF_NOWAIT): Define to 0 if undefined already.
29375 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29376 boils down to 0.
29377 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29378 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29379
29380 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29381
29382 * manual/math.texi (pow10): Do not document.
29383 (pow10f): Likewise.
29384 (pow10l): Likewise.
29385 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29386 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29387 * math/libm-test-exp10.inc (pow10_test): Remove.
29388 (do_test): Do not call pow10.
29389 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29390 [NO_LONG_DOUBLE] (pow10l): Likewise.
29391 * math/w_exp10f_compat.c (pow10f): Likewise.
29392 * math/w_exp10l_compat.c (pow10l): Likewise.
29393 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29394 (pow10): Make into compat symbol.
29395 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29396 (pow10f): Make into compat symbol.
29397 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29398 (pow10l): Make into compat symbol.
29399 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29400 pow10.
29401 (CFLAGS-nldbl-pow10.c): Remove variable..
29402 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29403 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29404 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29405 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29406 Undefine and redefine.
29407 (pow10l): Make into compat symbol.
29408 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29409 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29410 * sysdeps/arm/libm-test-ulps: Likewise.
29411 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29412 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29413 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29414 * sysdeps/microblaze/libm-test-ulps: Likewise.
29415 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29416 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29417 * sysdeps/nios2/libm-test-ulps: Likewise.
29418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29419 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29420 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29421 * sysdeps/sh/libm-test-ulps: Likewise.
29422 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29423 * sysdeps/tile/libm-test-ulps: Likewise.
29424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29425
29426 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29427
29428 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29429
29430 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29431
29432 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29433 "../ChangeLog.old/ChangeLog.8".
29434 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29435 "../ChangeLog.old/ChangeLog.14".
29436
29437 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29438
29439 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29440 Threads Library.
29441
29442 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29443
29444 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29445
29446 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29447
29448 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29449 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29450
29451 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29452
29453 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29454 32 atexit handlers.
29455
29456 2017-09-01 Zack Weinberg <zackw@panix.com>
29457
29458 * math/math.h (HUGE_VAL): Improve commentary.
29459
29460 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29461 Andreas Schwab <schwab@suse.de>
29462
29463 [BZ #21530]
29464 * include/stdio.h (__gen_tempfd): New function.
29465 * stdio-common/Makefile (routines): Add gentempfd.
29466 * stdio-common/gentempfd.c: New file.
29467 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29468 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29469 unnamed file first.
29470
29471 2017-09-01 Florian Weimer <fweimer@redhat.com>
29472
29473 [BZ #21915]
29474 [BZ #21922]
29475 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29476 result to determine success or failure, not the errno value.
29477 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29478 (tst-nss-files-hosts-erange): Link with -ldl.
29479 * nss/tst-nss-files-hosts-erange.c: New file.
29480 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29481 (do_test): Add NO_DATA tests.
29482 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29483 (do_test): Call it.
29484
29485 2017-09-01 Florian Weimer <fweimer@redhat.com>
29486
29487 [BZ #21922]
29488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29489 coming from gethostbyname2_r.
29490
29491 2017-09-01 Florian Weimer <fweimer@redhat.com>
29492
29493 * support/namespace.h (struct support_chroot_configuration): Add
29494 hosts, host_conf.
29495 (struct support_chroot): Add path_hosts, path_host_conf.
29496 * support/support_chroot.c (write_file): New function.
29497 (support_chroot_create): Call it to process /etc/resolv.conf,
29498 /etc/hosts, /etc/host.conf.
29499 (support_chroot_free): Update.
29500
29501 2017-09-01 Florian Weimer <fweimer@redhat.com>
29502
29503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29504 status indicates it is set.
29505
29506 2017-09-01 Florian Weimer <fweimer@redhat.com>
29507
29508 [BZ #20532]
29509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29510 function lookup failures more reliable.
29511
29512 2017-09-01 Florian Weimer <fweimer@redhat.com>
29513
29514 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29515 (getcanonname): Likewise.
29516 (gaih_inet): Likewise.
29517
29518 2017-09-01 Florian Weimer <fweimer@redhat.com>
29519
29520 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29521 (getcanonname): Likewise.
29522 (gaih_inet): Likewise.
29523
29524 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29525 Richard Henderson <rth@twiddle.net>
29526
29527 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29528 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29529 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29530 (IREG_SIZE, OREG_SIZE): New macros.
29531 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29532 (IREG_SIZE, OREG_SIZE): New macros.
29533 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29534 (IREG_SIZE): New macro.
29535 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29536 (IREG_SIZE): New macro.
29537 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29538 New includes.
29539 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29540 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29541 (__CONCATX): Handle exceptions correctly on large values that may
29542 set FE_INVALID.
29543 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29544 Initialize if not already set.
29545 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29546
29547 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29548
29549 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29550 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29551 Likewise.
29552 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29553 Likewise.
29554 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29555 Likewise.
29556 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29557 Likewise.
29558 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29559 Likewise.
29560 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29561 Likewise.
29562 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29563 Likewise.
29564 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29565 (NO_CANCELLATION): Likewise.
29566 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29567 Likewise.
29568 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29569 Likewise.
29570 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29571 Likewise.
29572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29573 (NO_CANCELLATION): Likewise.
29574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29575 (NO_CANCELLATION): Likewise.
29576 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29577 Likewise
29578 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29579 Likewise.
29580 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29581 Likewise.
29582 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29583 Likewise.
29584 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29585 hidden prototype.
29586 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29587 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29588
29589 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29590
29591 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29592 in resolver call.
29593
29594 2017-08-31 Florian Weimer <fweimer@redhat.com>
29595
29596 * include/libc-symbols.h (internal_function): Remove.
29597
29598 2017-08-31 Florian Weimer <fweimer@redhat.com>
29599
29600 * stdlib/fmtmsg.c (internal_addseverity): Remove
29601 internal_function.
29602
29603 2017-08-31 Florian Weimer <fweimer@redhat.com>
29604
29605 * stdio-common/printf_fp.c (group_number): Remove
29606 internal_function.
29607 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29608
29609 2017-08-31 Florian Weimer <fweimer@redhat.com>
29610
29611 * posix/fnmatch.c (internal_function): Remove definition.
29612 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29613 * posix/regcomp.c (peek_token, init_word_char)
29614 (duplicate_node_closure, fetch_token, peek_token)
29615 (peek_token_bracket, build_range_exp, build_collating_symbol):
29616 Likewise.
29617 * posix/regex_internal.c (re_string_construct_common)
29618 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29619 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29620 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29621 (re_string_translate_buffer, re_string_reconstruct)
29622 (re_string_peek_byte_case, re_string_fetch_byte_case)
29623 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29624 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29625 (re_node_set_add_intersect, re_node_set_init_union)
29626 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29627 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29628 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29629 (re_acquire_state_context): Likewise.
29630 * posix/regex_internal.h (internal_function): Remove definition.
29631 (re_string_realloc_buffers, build_wcs_buffer)
29632 (build_wcs_upper_buffer, build_upper_buffer)
29633 (re_string_translate_buffer, re_string_context_at)
29634 (re_string_char_size_at, re_string_wchar_at)
29635 (re_string_elem_size_at): Likewise.
29636 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29637 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29638 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29639 (re_search_internal, re_search_2_stub, re_search_stub)
29640 (re_copy_regs, prune_impossible_nodes, check_matching)
29641 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29642 (free_fail_stack_return, sift_states_iter_mb)
29643 (sift_states_backward, build_sifted_states)
29644 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29645 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29646 (check_subexp_limits, sift_states_bkref, merge_state_array)
29647 (find_recover_state, transit_state, merge_state_with_log)
29648 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29649 (transit_state_mb, transit_state_bkref, get_subexp)
29650 (get_subexp_sub, find_subexp_node, check_arrival)
29651 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29652 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29653 (check_node_accept_bytes, find_collation_sequence_value)
29654 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29655 (acquire_init_state_context, check_halt_node_context)
29656 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29657 (sub_epsilon_src_nodes): Likewise.
29658 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29659 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29660 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29661 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29662 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29663 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29664 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29665 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29666 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29667 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29668 (PREADV): Likewise.
29669 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29670 (PREADV): Likewise.
29671 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29672 (PWRITEV): Likewise.
29673 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29674 (PWRITEV): Likewise.
29675 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29676 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29677
29678 2017-08-31 Florian Weimer <fweimer@redhat.com>
29679
29680 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29681 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29682 Remove internal_function.
29683 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29684 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29685 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29686 (__deallocate_stack, __libc_pthread_init)
29687 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29688 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29689 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29690 Likewise.
29691 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29692 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29693 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29694 Likewise.
29695 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29696 (__pthread_mutex_unlock_usercnt): Likewise.
29697
29698 2017-08-31 Florian Weimer <fweimer@redhat.com>
29699
29700 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29701 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29702 (fts_safe_changedir): Remove internal_function.
29703 * io/ftw.c (internal_function): Remove definition.
29704 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29705
29706 2017-08-31 Florian Weimer <fweimer@redhat.com>
29707
29708 * inet/deadline.c (__deadline_current_time)
29709 (__deadline_from_timeval, __deadline_to_ms): Remove
29710 internal_function.
29711 * inet/getnameinfo.c (nrl_domainname): Likewise.
29712 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29713 * inet/inet6_option.c (add_pad): Likewise.
29714 * inet/net-internal.h (__deadline_current_time)
29715 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29716 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29717 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29718 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29719
29720 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29721
29722 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29723 include <bits/nan.h>.
29724 * math/Makefile (headers): Remove bits/nan.h.
29725 * bits/nan.h: Remove.
29726 * sysdeps/ieee754/bits/nan.h: Likewise.
29727 * sysdeps/mips/bits/nan.h: Likewise.
29728
29729 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29730 not include <bits/inf.h>.
29731 * math/Makefile (headers): Remove bits/inf.h.
29732 * bits/inf.h: Remove.
29733 * sysdeps/ieee754/bits/inf.h: Likewise.
29734
29735 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29736 bits/huge_vall.h or bits/huge_val_flt128.h.
29737 (HUGE_VAL): Define directly here.
29738 [__USE_ISOC99] (HUGE_VALF): Likewise.
29739 [__USE_ISOC99] (HUGE_VALL): Likewise.
29740 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29741 (HUGE_VAL_F128): Likewise.
29742 * math/Makefile (headers): Remove bits/huge_val.h,
29743 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29744 * bits/huge_val.h: Remove.
29745 * bits/huge_val_flt128.h: Likewise.
29746 * bits/huge_valf.h: Likewise.
29747 * bits/huge_vall.h: Likewise.
29748 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29749 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29750 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29751 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29752 * sysdeps/sh/bits/huge_val.h: Likewise.
29753 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29754 * sysdeps/x86/bits/huge_vall.h: Likewise.
29755
29756 2017-08-31 Florian Weimer <fweimer@redhat.com>
29757
29758 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29759 internal_function.
29760 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29761 Likewise.
29762 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29763 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29764 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29765 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29767 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29768 * elf/dl-libc.c (dlerror_run): Likewise.
29769 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29770 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29771 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29772 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29773 Likewise.
29774 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29775 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29776 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29777 * elf/dl-profile.c (_dl_start_profile): Likewise.
29778 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29779 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29780 Likewise.
29781 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29782 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29783 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29784 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29785 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29786 (_dl_allocate_tls_storage): Likewise.
29787 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29788 (_dl_check_all_versions): Likewise.
29789 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29790 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29791 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29792 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29793 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29794 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29795 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29796 internal_function from __dl_start.
29797 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29798 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29799 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29800 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29801 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29802 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29803 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29804 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29805 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29806 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29807 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29808 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29809 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29810 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29811 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29812 Likewise.
29813 (struct rtld_global_ro): Remove internal_function from the
29814 _dl_lookup_symbol_x member.
29815 (_dl_symbol_value): Remove. No longer defined anywhere.
29816 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29817 internal_function.
29818 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29819 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29820 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29821 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29822 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29823 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29824 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29825 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29826 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29827 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29828 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29829 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29830
29831 2017-08-31 Florian Weimer <fweimer@redhat.com>
29832
29833 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29834 Remove internal_function.
29835 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29836 Likewise.
29837 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29838 Likewise.
29839
29840 2017-08-31 Florian Weimer <fweimer@redhat.com>
29841
29842 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29843 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29844 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29845
29846 2017-08-31 Florian Weimer <fweimer@redhat.com>
29847
29848 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29849 (__gai_enqueue_request): Remove internal_function.
29850 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29851 (__gai_remove_request, __gai_notify, __gai_notify_only)
29852 (__gai_sigqueue): Likewise.
29853 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29854 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29855 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29856 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29857 Likewise.
29858
29859 2017-08-31 Florian Weimer <fweimer@redhat.com>
29860
29861 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29862 * include/dirent.h (__opendirat, __getdents, __getdents64)
29863 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29864 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29865 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29866 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29867 Likewise.
29868 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29869
29870 2017-08-31 Florian Weimer <fweimer@redhat.com>
29871
29872 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29873 internal_function.
29874 (GETCWD_RETURN_TYPE): Likewise.
29875
29876 2017-08-31 Florian Weimer <fweimer@redhat.com>
29877
29878 * include/time.h (__tz_compute, __strptime_internal): Remove
29879 internal_function.
29880 * time/strptime_l.c (__strptime_internal): Likewise.
29881 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29882
29883 2017-08-31 Florian Weimer <fweimer@redhat.com>
29884
29885 * iconv/gconv.c (__gconv): Remove internal_function.
29886 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29887 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29888 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29889 (__gconv_release_cache): Likewise.
29890 * iconv/gconv_close.c (__gconv_close): Likewise.
29891 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29892 (read_conf_file, __gconv_get_path): Likewise.
29893 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29894 (__gconv_release_step, gen_steps, increment_counter)
29895 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29896 (__gconv_close_transform, free_modules_db): Likewise.
29897 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29898 Likewise.
29899 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29900 (__gconv_find_transform, __gconv_lookup_cache)
29901 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29902 (__gconv_close_transform, __gconv_release_cache)
29903 (__gconv_loaded_object, __gconv_release_shlib)
29904 (__gconv_compare_alias): Likewise.
29905 * iconv/gconv_open.c (__gconv_open): Likewise.
29906 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29907 * iconv/iconvconfig.c (add_module): Likewise.
29908 * intl/dcigettext.c (plural_lookup, guess_category_value)
29909 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29910 * intl/eval-plural.h (plural_eval): Likewise.
29911 * intl/finddomain.c (_nl_find_domain): Likewise.
29912 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29913 (_nl_load_domain, _nl_find_msg): Likewise.
29914 (internal_function): Remove definition.
29915 * intl/loadinfo.h (internal_function): Likewise.
29916 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29917 internal_function.
29918 * intl/localealias.c (internal_function): Remove definition.
29919 (read_alias_file): Remove internal_function.
29920 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29921 * intl/plural-exp.h (internal_function): Remove definition.
29922 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29923 internal_function.
29924 * intl/plural.c: Regenerate.
29925 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29926 * locale/coll-lookup.c (__collidx_table_lookup)
29927 (__collseq_table_lookup): Likewise.
29928 * locale/coll-lookup.h (__collidx_table_lookup)
29929 (__collseq_table_lookup): Likewise.
29930 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29931 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29932 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29933 (_nl_unload_locale): Likewise.
29934 * locale/localeinfo.h (struct __locale_data): Remove
29935 internal_function from cleanup member.
29936 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29937 (_nl_remove_locale, _nl_load_locale_from_archive)
29938 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29939 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29940 (_nl_cleanup_time): Remove internal_function.
29941 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29942 (_nl_parse_alt_digit): Likewise.
29943 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29944 (_nl_select_era_entry): Likewise.
29945 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29946 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29947 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29948 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29949 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29950
29951 2017-08-31 Florian Weimer <fweimer@redhat.com>
29952
29953 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29954 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29955 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29956 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29957 Likewise.
29958 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29959 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29960 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29961 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29962 Likewise.
29963 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29964
29965 2017-08-31 Florian Weimer <fweimer@redhat.com>
29966
29967 * misc/getttyent.c (skip, value): Remove internal_function.
29968 * misc/syslog.c (openlog_internal): Likewise.
29969 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29970
29971 2017-08-31 Florian Weimer <fweimer@redhat.com>
29972
29973 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29974 (__nss_rewrite_field): Remove internal_function.
29975 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29976 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29977 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29978 * nss/nsswitch.c (nss_parse_file, nss_getline)
29979 (nss_parse_service_list, nss_new_service): Likewise.
29980 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29981 * nss/valid_field.c (__nss_valid_field): Likewise.
29982 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29983
29984 2017-08-31 Florian Weimer <fweimer@redhat.com>
29985
29986 * malloc/arena.c (__malloc_fork_lock_parent)
29987 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29988 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29989 internal_function from defintions.
29990 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29991 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29992 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29993 internal_function from declarations.
29994 * malloc/malloc.c (internal_function): Do not define.
29995 (mem2mem_check): Remove internal_function from declaration.
29996 (munmap_chunk, mremap_chunk): Remove internal_function.
29997 * malloc/mtrace.c (tr_where): Likewise.
29998
29999 2017-08-31 Florian Weimer <fweimer@redhat.com>
30000
30001 * include/rpc/pmap_clnt.h (__get_socket): Remove
30002 internal_function.
30003 * sunrpc/auth_des.c (synchronize): Likewise.
30004 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30005 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30006 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30007 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30008 (key_call): Likewise.
30009 * sunrpc/pm_getport.c (__get_socket): Likewise.
30010 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30011 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30012 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30013 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30014 (invalidate): Likewise.
30015 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30016 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30017 (set_input_fragment, get_input_bytes): Likewise.
30018
30019 2017-08-31 Florian Weimer <fweimer@redhat.com>
30020
30021 * malloc/malloc.c (_int_free): Remove locked variable and related
30022 asserts.
30023
30024 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30025
30026 [BZ #22051]
30027 * Makerules (build-module-helper-objlist): Filter out
30028 $(elf-objpfx)sofini.os.
30029 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30030 needed.
30031
30032 2017-08-31 Florian Weimer <fweimer@redhat.com>
30033
30034 * libio/fcloseall.c: Assume weak_alias is defined.
30035 * libio/feof.c: Likewise.
30036 * libio/fileno.c: Likewise.
30037 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30038 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30039 definitions.
30040 (_IO_file_open): Call __open directly.
30041 (_IO_new_file_sync): Assume ESPIPE is defined.
30042 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30043 (_IO_new_file_write): Call __write directly.
30044 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30045 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30046 * libio/genops.c: Assume _LIBC is defined.
30047 (save_for_backup): Remove internal_function.
30048 * libio/getc.c: Assume weak_alias is defined.
30049 * libio/getwc.c: Likewise.
30050 * libio/iofclose.c: Assume _LIBC is defined.
30051 * libio/iofdopen.c: Likewise.
30052 (_IO_fcntl): Remove macro definition.
30053 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30054 Call __fcntl directly.
30055 * libio/iofflush.c: Assume weak_alias is defined.
30056 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30057 defined.
30058 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30059 * libio/iofgets.c: Likewise.
30060 * libio/iofopen.c: Assume _LIBC is defined.
30061 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30062 * libio/iofputs.c: Assume weak_alias is defined.
30063 * libio/iofread.c: Likewise.
30064 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30065 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30066 * libio/ioftell.c: Assume weak_alias is defined.
30067 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30068 * libio/iofwide.c: Assume _LIBC is defined.
30069 (_IO_fwide): Drop SHARED conditional because it is implied by
30070 SHLIB_COMPAT.
30071 * libio/iofwrite.c: Assume weak_alias is defined.
30072 * libio/iogetdelim.c: Likewise.
30073 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30074 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30075 (_IO_getwline): Call __wmemcpy directly.
30076 * libio/iopopen.c: Assume _LIBC is defined.
30077 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30078 (_IO_close): Remove macro definitions.
30079 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30080 _exit directly.
30081 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30082 directly.
30083 * libio/ioputs.c: Assume weak_alias is defined.
30084 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30085 * libio/iosetbuffer.c: Assume weak_alias is defined.
30086 * libio/iosetvbuf.c: Likewise.
30087 * libio/ioungetc.c: Likewise.
30088 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30089 libc_hidden_def, libc_hidden_weak, NULL are defined.
30090 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30091 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30092 defined.
30093 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30094 definitions.
30095 (_IO_old_file_init_internal): Drop SHARED conditional because it
30096 is implied by SHLIB_COMPAT.
30097 (_IO_old_file_fopen): Call __open directly.
30098 (_IO_old_file_sync): Assume ESPIPE is defined.
30099 (_IO_old_file_write): Call __write directly.
30100 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30101 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30102 Call __fcntl directly.
30103 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30104 (_IO_old_fgetpos): Assume EIO is defined.
30105 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30106 (_IO_old_fgetpos64): Assume EIO is defined.
30107 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30108 (_IO_old_fsetpos): Assume EIO is defined.
30109 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30110 (_IO_old_fsetpos64): Assume EIO is defined.
30111 * libio/oldiopopen.c: Assume _LIBC is defined.
30112 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30113 (_IO_close): Remove macro definitions.
30114 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30115 directly.
30116 (_IO_old_proc_close): Call __close, __waitpid directly.
30117 * libio/put.c: Assume weak_alias is defined.
30118 * libio/stdfiles.c: Assume _LIBC is defined.
30119 * libio/stdio.c: Likewise.
30120 * libio/wfileops.c: Likewise.
30121 (_IO_wfile_sync): Assume ESPIPE is defined.
30122 * libio/wgenops.c: Assume _LIBC is defined.
30123 (save_for_wbackup): Remove internal_function.
30124
30125 2017-08-31 Florian Weimer <fweimer@redhat.com>
30126
30127 * malloc/malloc.c (top_check): Change return type to void. Remove
30128 internal_function.
30129 * malloc/hooks.c (top_check): Likewise.
30130 (malloc_check, realloc_check, memalign_check): Adjust.
30131
30132 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30133
30134 [BZ #21457]
30135 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30136 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30137 sigcontext and namespace requirements.
30138 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30139 * sysdeps/m68k/sys/ucontext.h: Likewise.
30140 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30141 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30142 <bits/sigcontext.h>.
30143 (__ctx): Define earlier.
30144 (mcontext_t): Define structure contents rather than using struct
30145 sigcontext.
30146 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30147 __glibc_reserved1 instead of __reserved.
30148 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30149 <bits/sigcontext.h>.
30150 (__ctx): Define earlier.
30151 (mcontext_t): Define structure contents rather than using struct
30152 sigcontext.
30153 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30154 mcontext_t instead of struct sigcontext.
30155 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30156 <bits/sigcontext.h>.
30157 (__ctx): Define earlier.
30158 (mcontext_t): Define structure contents rather than using struct
30159 sigcontext.
30160 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30161 <bits/sigcontext.h>.
30162 (__ctx): Define earlier.
30163 (mcontext_t): Define structure contents rather than using struct
30164 sigcontext.
30165 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30166 mcontext_t instead of struct sigcontext.
30167 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30168 mcontext_t instead of struct sigcontext.
30169 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30170 <bits/sigcontext.h>.
30171 (__ctx): New macro.
30172 (struct __ia64_fpreg_mcontext): New type.
30173 (mcontext_t): Define structure contents rather than using struct
30174 sigcontext.
30175 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30176 (uc_sigmask): Define using __ctx.
30177 (uc_stack): Likewise.
30178 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30179 <bits/sigcontext.h>.
30180 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30181 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30182 <bits/sigcontext.h>.
30183 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30184 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30185 <bits/sigcontext.h>.
30186 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30187 <bits/sigcontext.h>.
30188 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30189 <bits/sigcontext.h>.
30190 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30191 <bits/sigcontext.h>.
30192 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30193 <bits/sigcontext.h>.
30194 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30195 <bits/sigcontext.h>.
30196 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30197 <bits/sigcontext.h>.
30198 (__ctx): Define earlier.
30199 (mcontext_t): Define structure contents rather than using struct
30200 sigcontext.
30201 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30202 <bits/sigcontext.h>. Include <bits/types.h>.
30203 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30204 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30205 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30206 (test-xfail-UNIX98/signal.h/conform): Likewise.
30207 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30208 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30209 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30210 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30211 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30212 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30213 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30214 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30215 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30216
30217 2017-08-30 Florian Weimer <fweimer@redhat.com>
30218
30219 * malloc/dynarray_emplace_enlarge.c
30220 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30221 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30222 * malloc/tst-dynarray.c (test_long_overflow): New function.
30223 (do_test): Call it.
30224
30225 2017-08-30 Florian Weimer <fweimer@redhat.com>
30226
30227 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30228 (set_arena_corrupt): Remove definitions.
30229 (mtrim): Do not check for corrupt arena.
30230 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30231 Likewise.
30232
30233 2017-08-30 Florian Weimer <fweimer@redhat.com>
30234
30235 [BZ #21754]
30236 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30237 check_action.
30238 (ptmalloc_init): Do not set or use check_action.
30239 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30240 call to malloc_printerr. Remove return statement.
30241 (free_check): Likewise. Remove arena unlock.
30242 (top_check): Update comment. Adjust call to malloc_printerr.
30243 Remove heap repair code.
30244 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30245 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30246 (sysmalloc): Adjust call to malloc_printerr.
30247 (munmap_chunk, __libc_realloc): Likewise. Remove return
30248 statement.
30249 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30250 Remove errout label and corresponding gotos.
30251 (_int_free): Likewise. Remove arena unlock.
30252 (do_set_mallopt_check): Do not set check_action.
30253 (malloc_printerr): Adjust parameter list. Do not mark arena as
30254 corrupt.
30255 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30256 comment.
30257 * manual/probes.texi (Memory Allocation Probes): Remove
30258 memory_mallopt_check_action.
30259
30260 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30261
30262 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30263 Use pointer to uint64_t instead of long int for sp.
30264
30265 2017-08-30 Florian Weimer <fweimer@redhat.com>
30266
30267 [BZ #21754]
30268 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30269 without printing a backtrace. Do not leak any information in the
30270 error message.
30271 * manual/memory.texi (Heap Consistency Checking): Update.
30272 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30273
30274 2017-08-30 Florian Weimer <fweimer@redhat.com>
30275
30276 Do not scale NPTL tests with available number of CPUs.
30277 * nptl/tst-cond16.c (count): Set to constant value of 8.
30278 * nptl/tst-cond18.c (count): Likewise.
30279
30280 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30281
30282 [BZ #22035]
30283 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30284 Define to take a second argument that is a macro that
30285 concatentates a suffix, not the suffix itself.
30286 (__CONCAT_d): New macro.
30287 (__CONCAT_f): Likewise.
30288 (__CONCAT_l): Likewise.
30289
30290 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30291
30292 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30293 by child.
30294
30295 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30296 Aurelien Jarno <aurelien@aurel32.net>
30297 Maciej W. Rozycki <macro@imgtec.com>
30298
30299 [BZ #21956]
30300 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30301 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30302 `mips16-syscall6' and `mips16-syscall7'.
30303 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30304 (CFLAGS-mips16-syscall7.c): Remove.
30305 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30306 Remove `__mips16_syscall5', `__mips16_syscall6' and
30307 `__mips16_syscall7'.
30308 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30309 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30310 `__mips_syscall_return'.
30311 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30312 (__mips16_syscall1): Likewise.
30313 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30314 (__mips16_syscall2): Likewise.
30315 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30316 (__mips16_syscall3): Likewise.
30317 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30318 (__mips16_syscall4): Likewise.
30319 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30320 Remove.
30321 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30322 Remove.
30323 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30324 Remove.
30325 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30326 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30327 `__mips16_syscall5'. Remove prototype.
30328 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30329 `__mips16_syscall6'. Remove prototype.
30330 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30331 `__mips16_syscall7'. Remove prototype.
30332 (__nomips16, __mips16_syscall_return): Move to...
30333 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30334 (__nomips16, __mips_syscall_return): ... here.
30335 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30336 `__mips16_syscall_return' to `__mips_syscall_return'.
30337 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30338 `internal_syscall##nr'.
30339 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30340 `internal_syscall##nr'.
30341 (FORCE_FRAME_POINTER): Remove.
30342 (__mips_syscall5): New prototype.
30343 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30344 (__mips_syscall6): New prototype.
30345 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30346 (__mips_syscall7): New prototype.
30347 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30348 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30349 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30350 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30351 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30352 (sysdep_routines): Add libc-do-syscall.
30353 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30354 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30355
30356 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30357
30358 [BZ #21672]
30359 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30360 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30361 (advise_stack_range): New function.
30362 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30363 stack non required to advise_stack_range at allocatestack.c
30364
30365 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30366
30367 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30368
30369 2017-08-29 Florian Weimer <fweimer@redhat.com>
30370
30371 [BZ #22026]
30372 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30373 __end_fct. Mangle __end_fct after setting it to NULL.
30374 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30375 (modules-names, modules-names-tests): Add
30376 tst-gconv-init-failure-mod.
30377 (gconv-modules): New target.
30378 (tst-gconv-init-failure-mod.so): Link against libsupport.
30379 (tst-gconv-init-failure): Depend on gconv-modules,
30380 tst-gconv-init-failure-mod.so.
30381 * iconv/tst-gconv-init-failure-mod.c: New file.
30382 * iconv/tst-gconv-init-failure.c: Likewise.
30383 * iconv/test-gconv-modules: Likewise.
30384
30385 2017-08-29 Florian Weimer <fweimer@redhat.com>
30386
30387 [BZ #22025]
30388 * iconv/gconv_db.c (free_derivation): Remove redundant
30389 parentheses.
30390 (gen_steps): Unconditionally mangle __btowc_fct after
30391 initialization.
30392 (increment_counter): Likewise. Do not call init_fct for internal
30393 modules.
30394
30395 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30396
30397 [BZ #22028]
30398 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30399 (_MSUF_): Remove macro.
30400 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30401 Likewise.
30402 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30403 (__REDIRFROM_X): New macro.
30404 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30405 Likewise.
30406 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30407 (__REDIRTO_X): Likewise.
30408 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30409 arguments.
30410 (__MATH_REDIRCALL_2): Likewise.
30411 (__MATH_REDIRCALL_INTERNAL): Likewise.
30412 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30413 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30414 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30415 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30416 * math/test-finite-macros.c: New file.
30417 * math/Makefile (tests): Add test-finite-macros.
30418 (CFLAGS-test-finite-macros.c): New variable.
30419
30420 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30421 Jeff Law <law@redhat.com>
30422
30423 [BZ #22025]
30424 Mangle NULL pointers in iconv/gconv.
30425 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30426 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30427 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30428 is non-NULL before demangling the end_fct. Check for NULL
30429 end_fct after demangling.
30430 (__gconv_release_step): Demangle the end_fct before checking
30431 it for NULL. Remove assert on __shlibc_handle != NULL.
30432 (gen_steps): Don't check btowc_fct for NULL before mangling.
30433 Demangle init_fct before checking for NULL.
30434 (increment_counter): Likewise.
30435 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30436 end_fct for NULL before mangling.
30437 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30438 for NULL.
30439
30440 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30441
30442 [BZ #21971]
30443 * locale/iso-639.def: add Morisyen.
30444
30445 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30446
30447 [BZ #21930]
30448 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30449 (iszero): New C++ implementation that does not use
30450 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30451 signaling nans are enabled, since __builtin_types_compatible_p
30452 is a C-only feature.
30453 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30454 defined, include ieee754_float128.h for access to the union and
30455 member ieee854_float128.ieee.
30456 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30457 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30458 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30459 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30460 options of test-math-zero on powerpc64le.
30461
30462 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30463
30464 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30465 Change double to float.
30466
30467 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30468
30469 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30470 unconditional.
30471 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30472 conditional code; define contents only for [LIBM_SVID_COMPAT].
30473
30474 2017-08-28 Florian Weimer <fweimer@redhat.com>
30475
30476 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30477 (abi-lp64_be-options): Remove.
30478 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30479 (abi-hard-options): Likewise.
30480 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30481 (abi-o32_hard-options, abi-o32_soft_2008-options)
30482 (abi-o32_hard_2008-options, abi-n32_soft-options)
30483 (abi-n32_hard-options, abi-n32_soft_2008-options)
30484 (abi-n32_hard_2008-options, abi-n64_soft-options)
30485 (abi-n64_hard-options, abi-n64_soft_2008-options)
30486 (abi-n64_hard_2008-options): Likewise.
30487 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30488 (abi-64-v1-options, abi-64-v2-options): Likewise.
30489 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30490 (abi-64-options): Likewise.
30491 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30492 (abi-64-options): Likewise.
30493 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30494 (abi-64-options): Likewise.
30495 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30496 (abi-64-options, abi-x32-options): Likewise.
30497
30498 2017-08-28 Florian Weimer <fweimer@redhat.com>
30499
30500 Store supported list of SYS_* system calls in the source tree.
30501 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30502 (bits/syscall.h): Generate from list file.
30503 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30504 [$(subdir) = misc] (tests): Add tst-syscall-list.
30505 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30506 [$(subdir) = misc] (tst-syscall-list-macros.list)
30507 [$(subdir) = misc] (tst-syscall-list-nr.list)
30508 (tst-syscall-list-sys.list): Helper targets for new
30509 tst-syscall-list test.
30510 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30511 tst-syscall-list.sh.
30512 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30513 target. Do not include bits/syscall.d.
30514 [$(subdir) = misc] (generated): Do not update.
30515 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30516 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30517 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30518 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30519
30520 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30521
30522 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30523 (tst-cxa_atexit, tst-on_exit): Likewise.
30524 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30525 tst-cxa_atexit, and tst-on_exit.
30526 * stdlib/tst-atexit-common.c: New file.
30527 * stdlib/tst-atexit.c: New file.
30528 * stdlib/tst-at_quick_exit.c: New file.
30529 * stdlib/tst-cxa_atexit.c: New file.
30530 * stdlib/tst-on_exit.c: New file.
30531
30532 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30533
30534 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30535 * mach/stack_chk_fail_local.c: New file.
30536 * hurd/stack_chk_fail_local.c: New file.
30537 * mach/Machrules ($(interface-library)-routines): Add
30538 stack_chk_fail_local.
30539 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30540 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30541 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30542 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30543 * hurd/Makefile (CFLAGS-hurdstartup.o,
30544 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30545
30546 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30547
30548 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30549 (index_cpu_*, index_arch_*): Removed.
30550
30551 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30552
30553 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30554 Use uint64_t instead of unsigned long.
30555
30556 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30557
30558 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30559 [__HAVE_DISTINCT_FLOAT128].
30560
30561 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30562 of <bits/math-finite.h>.
30563 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30564 inclusion of <bits/math-finite.h>.
30565 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30566 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30567 __NO_LONG_DOUBLE_MATH].
30568 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30569 (__MATH_REDIRCALL_2): Likewise.
30570 (__MATH_REDIRCALL_INTERNAL): Likewise.
30571 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30572 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30573 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30574
30575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30576 Remove file.
30577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30578 Likewise.
30579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30580 Likewise.
30581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30582 Likewise.
30583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30584 Likewise.
30585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30586 Likewise.
30587 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30588 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30589 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30590 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30592 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30593 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30594 w_sqrtf_compat-ppc32.
30595
30596 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30597
30598 * math/math.h [defined __cplusplus] (issignaling): In the long
30599 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30600 is not defined. Call __issignaling, otherwise.
30601
30602 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30603
30604 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30605 syscall definitions and replace __builtin_expect with __glibc_likely.
30606 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30607 syscall.
30608 (SYSCALL_CANCELLABLE): Removedefinition
30609 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30610 definition.
30611 (PSEUDO_END): Likewise.
30612 [IS_IN (libpthread)] (CENABLE): Likewise.
30613 [IS_IN (libpthread)] (CDISABLE): Likewise.
30614 [IS_IN (libc)] (CENABLE): Likewise.
30615 [IS_IN (libc)] (CENABLE): Likewise.
30616 [IS_IN (librt)] (CDISABLE): Likewise.
30617 [IS_IN (librt)] (CDISABLE): Likewise.
30618 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30619 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30620 definition.
30621 (PSEUDO_END): Likewise.
30622 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30623 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30624 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30625 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30626 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30627 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30628 (CENABLE): Likewise.
30629 (CDISABLE): Likewise.
30630 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30631 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30632 defintion.
30633 (PSEUDO_END): Likewise.
30634 [IS_IN (libpthread)] (CENABLE): Likewise.
30635 [IS_IN (libpthread)] (CDISABLE): Likewise.
30636 [IS_IN (libc)] (CENABLE): Likewise.
30637 [IS_IN (libc)] (CENABLE): Likewise.
30638 [IS_IN (librt)] (CDISABLE): Likewise.
30639 [IS_IN (librt)] (CDISABLE): Likewise.
30640 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30641 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30642 definition.
30643 (PSEUDO_END): Likewise.
30644 [IS_IN (libpthread)] (CENABLE): Likewise.
30645 [IS_IN (libpthread)] (CDISABLE): Likewise.
30646 [IS_IN (libc)] (CENABLE): Likewise.
30647 [IS_IN (libc)] (CENABLE): Likewise.
30648 [IS_IN (librt)] (CDISABLE): Likewise.
30649 [IS_IN (librt)] (CDISABLE): Likewise.
30650 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30651 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30652 definition.
30653 (PSEUDO_END): Likewise.
30654 [IS_IN (libpthread)] (CENABLE): Likewise.
30655 [IS_IN (libpthread)] (CDISABLE): Likewise.
30656 [IS_IN (libc)] (CENABLE): Likewise.
30657 [IS_IN (libc)] (CENABLE): Likewise.
30658 [IS_IN (librt)] (CDISABLE): Likewise.
30659 [IS_IN (librt)] (CDISABLE): Likewise.
30660 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30661 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30662 definition.
30663 (PSEUDO_END): Likewise.
30664 [IS_IN (libpthread)] (CENABLE): Likewise.
30665 [IS_IN (libpthread)] (CDISABLE): Likewise.
30666 [IS_IN (libc)] (CENABLE): Likewise.
30667 [IS_IN (libc)] (CENABLE): Likewise.
30668 [IS_IN (librt)] (CDISABLE): Likewise.
30669 [IS_IN (librt)] (CDISABLE): Likewise.
30670 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30671 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30672 definition.
30673 (PSEUDO_END): Likewise.
30674 [IS_IN (libpthread)] (CENABLE): Likewise.
30675 [IS_IN (libpthread)] (CDISABLE): Likewise.
30676 [IS_IN (libc)] (CENABLE): Likewise.
30677 [IS_IN (libc)] (CENABLE): Likewise.
30678 [IS_IN (librt)] (CDISABLE): Likewise.
30679 [IS_IN (librt)] (CDISABLE): Likewise.
30680 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30681 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30682 definition.
30683 (PSEUDO_END): Likewise.
30684 [IS_IN (libpthread)] (CENABLE): Likewise.
30685 [IS_IN (libpthread)] (CDISABLE): Likewise.
30686 [IS_IN (libc)] (CENABLE): Likewise.
30687 [IS_IN (libc)] (CENABLE): Likewise.
30688 [IS_IN (librt)] (CDISABLE): Likewise.
30689 [IS_IN (librt)] (CDISABLE): Likewise.
30690 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30691 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30692 Remove definition.
30693 (PSEUDO_END): Likewise.
30694 [IS_IN (libpthread)] (CENABLE): Likewise.
30695 [IS_IN (libpthread)] (CDISABLE): Likewise.
30696 [IS_IN (libc)] (CENABLE): Likewise.
30697 [IS_IN (libc)] (CENABLE): Likewise.
30698 [IS_IN (librt)] (CDISABLE): Likewise.
30699 [IS_IN (librt)] (CDISABLE): Likewise.
30700 (SINGLE_THREAD_P): Likewise.
30701 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30702 definition.
30703 (PSEUDO_END): Likewise.
30704 [IS_IN (libpthread)] (CENABLE): Likewise.
30705 [IS_IN (libpthread)] (CDISABLE): Likewise.
30706 [IS_IN (libc)] (CENABLE): Likewise.
30707 [IS_IN (libc)] (CENABLE): Likewise.
30708 [IS_IN (librt)] (CDISABLE): Likewise.
30709 [IS_IN (librt)] (CDISABLE): Likewise.
30710 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30711 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30712 definition.
30713 (PSEUDO_END): Likewise.
30714 [IS_IN (libpthread)] (CENABLE): Likewise.
30715 [IS_IN (libpthread)] (CDISABLE): Likewise.
30716 [IS_IN (libc)] (CENABLE): Likewise.
30717 [IS_IN (libc)] (CENABLE): Likewise.
30718 [IS_IN (librt)] (CDISABLE): Likewise.
30719 [IS_IN (librt)] (CDISABLE): Likewise.
30720 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30721 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30722 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30723 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30725 definition.
30726 (PSEUDO_END): Likewise.
30727 [IS_IN (libpthread)] (CENABLE): Likewise.
30728 [IS_IN (libpthread)] (CDISABLE): Likewise.
30729 [IS_IN (libc)] (CENABLE): Likewise.
30730 [IS_IN (libc)] (CENABLE): Likewise.
30731 [IS_IN (librt)] (CDISABLE): Likewise.
30732 [IS_IN (librt)] (CDISABLE): Likewise.
30733 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30735 definition.
30736 (PSEUDO_END): Likewise.
30737 [IS_IN (libpthread)] (CENABLE): Likewise.
30738 [IS_IN (libpthread)] (CDISABLE): Likewise.
30739 [IS_IN (libc)] (CENABLE): Likewise.
30740 [IS_IN (libc)] (CENABLE): Likewise.
30741 [IS_IN (librt)] (CDISABLE): Likewise.
30742 [IS_IN (librt)] (CDISABLE): Likewise.
30743 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30744 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30745 definition.
30746 (PSEUDO_END): Likewise.
30747 [IS_IN (libpthread)] (CENABLE): Likewise.
30748 [IS_IN (libpthread)] (CDISABLE): Likewise.
30749 [IS_IN (libc)] (CENABLE): Likewise.
30750 [IS_IN (libc)] (CENABLE): Likewise.
30751 [IS_IN (librt)] (CDISABLE): Likewise.
30752 [IS_IN (librt)] (CDISABLE): Likewise.
30753 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30756 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30757 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30758 definition.
30759 (PSEUDO_END): Likewise.
30760 [IS_IN (libpthread)] (CENABLE): Likewise.
30761 [IS_IN (libpthread)] (CDISABLE): Likewise.
30762 [IS_IN (libc)] (CENABLE): Likewise.
30763 [IS_IN (libc)] (CENABLE): Likewise.
30764 [IS_IN (librt)] (CDISABLE): Likewise.
30765 [IS_IN (librt)] (CDISABLE): Likewise.
30766 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30767 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30768 definition.
30769 (PSEUDO_END): Likewise.
30770 [IS_IN (libpthread)] (CENABLE): Likewise.
30771 [IS_IN (libpthread)] (CDISABLE): Likewise.
30772 [IS_IN (libc)] (CENABLE): Likewise.
30773 [IS_IN (libc)] (CENABLE): Likewise.
30774 [IS_IN (librt)] (CDISABLE): Likewise.
30775 [IS_IN (librt)] (CDISABLE): Likewise.
30776 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30777
30778 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30779
30780 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30781
30782 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30783
30784 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30785
30786 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30787
30788 [BZ #21982]
30789 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30790 middle and outer with size_t instead of int. Repleace %d and
30791 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30792 "MAX (outer, nchars - 64)" to support unsigned outer and
30793 nchars. Also exit loop when outer == 0.
30794
30795 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30796
30797 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30798 * include/signal.h (__sigsuspend_nocancel): Likewise.
30799 * include/time.h (__nanosleep_nocancel): Likewise.
30800 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30801 * login/utmp_file.c: Include non cancellable syscall header.
30802 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30803 prototype.
30804
30805 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30806
30807 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30808 .byte sequences with AVX512F instructions.
30809 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30810 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30811 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30812 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30813 Likewise.
30814 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30815 Likewise.
30816
30817 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30818 Steve Ellcey <sellcey@cavium.com>
30819
30820 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30821 Use PTR_REG macro in cmp instruction.
30822
30823 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30824
30825 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30826 Change the return type of the ifunc resolver to match the return
30827 type of the target function.
30828
30829 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30830
30831 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30832 (preadv64): Likewise.
30833 (pwrite64(: Likewise.
30834 (pwritev64): Likewise.
30835
30836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30837 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30838 (LOAD_ARGS_0): Likewise.
30839 (LOAD_ARGS_1): Likewise.
30840 (LOAD_ARGS_2): Likewise.
30841 (LOAD_ARGS_3): Likewise.
30842 (LOAD_ARGS_4): Likewise.
30843 (LOAD_ARGS_5): Likewise.
30844 (LOAD_ARGS_6): Likewise.
30845 (LOAD_REGS_0): Likewise.
30846 (LOAD_REGS_1): Likewise.
30847 (LOAD_REGS_2): Likewise.
30848 (LOAD_REGS_3): Likewise.
30849 (LOAD_REGS_4): Likewise.
30850 (LOAD_REGS_5): Likewise.
30851 (LOAD_REGS_6): Likewise.
30852 (ASM_ARGS_0): Likewise.
30853 (ASM_ARGS_1): Likewise.
30854 (ASM_ARGS_2): Likewise.
30855 (ASM_ARGS_3): Likewise.
30856 (ASM_ARGS_4): Likewise.
30857 (ASM_ARGS_5): Likewise.
30858 (ASM_ARGS_6): Likewise.
30859 (LOAD_ARGS_TYPES_1): Likewise.
30860 (LOAD_ARGS_TYPES_2): Likewise.
30861 (LOAD_ARGS_TYPES_3): Likewise.
30862 (LOAD_ARGS_TYPES_4): Likewise.
30863 (LOAD_ARGS_TYPES_5): Likewise.
30864 (LOAD_ARGS_TYPES_6): Likewise.
30865 (LOAD_REGS_TYPES_1): Likewise.
30866 (LOAD_REGS_TYPES_2): Likewise.
30867 (LOAD_REGS_TYPES_3): Likewise.
30868 (LOAD_REGS_TYPES_4): Likewise.
30869 (LOAD_REGS_TYPES_5): Likewise.
30870 (LOAD_REGS_TYPES_6): Likewise.
30871 (TYPEFY): New define.
30872 (ARGIFY): Likewise.
30873 (internal_syscall0): Likewise.
30874 (internal_syscall1): Likewise.
30875 (internal_syscall2): Likewise.
30876 (internal_syscall3): Likewise.
30877 (internal_syscall4): Likewise.
30878 (internal_syscall5): Likewise.
30879 (internal_syscall6): Likewise.
30880 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30881 (INTERNAL_SYSCALL_NCS): Remove define.
30882 (internal_syscall1): Add define.
30883
30884 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30885
30886 * math/w_remainder_compat.c: Remove duplicate inclusion of
30887 math-svid-compat.h.
30888 * math/w_remainderf_compat.c: Likewise.
30889 * math/w_remainderl_compat.c: Likewise.
30890
30891 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30892
30893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30894
30895 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30896
30897 [BZ #21684]
30898 * math/tgmath.h (__floating_type): Simplify definitions.
30899 (__real_integer_type): New macro.
30900 (__complex_integer_type): Likewise.
30901 (__expr_is_real): Likewise.
30902 (__tgmath_real_type_sub): Update comment to describe handling of
30903 complex types.
30904 (__tgmath_complex_type_sub): New macro.
30905 (__tgmath_complex_type): Likewise.
30906 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30907 (__TGMATH_CF128): Use __expr_is_real.
30908 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30909 __expr_is_real.
30910 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30911 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30912 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30913 integer types.
30914
30915 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30916
30917 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30918 macro.
30919 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30920 alias.
30921 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30922 Likewise.
30923
30924 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30925 nanosleep_not_cancel with __nanosleep_nocancel.
30926 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30927 (__nanosleep_nocancel): New macro.
30928 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30929 function.
30930 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30931 macro.
30932 (__nanosleep_nocancel): New prototype.
30933
30934 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30935 pause_not_cancel with __pause_nocancel.
30936 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30937 (__pause_nocancel): New macro.
30938 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30939 macro.
30940 (__pause_nocancel): New prototype.
30941 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30942
30943 2017-08-22 Martin Sebor <msebor@redhat.com>
30944
30945 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30946 to return a pointer to the same type as the target function.
30947
30948 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30949
30950 [BZ #18822]
30951 [BZ #21986]
30952 * include/printf.h (__printf_fphex): Add attribute_hidden.
30953 (__guess_grouping): New prototype.
30954 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30955 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30956 libc_hidden_proto and libc_hidden_def.
30957 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30958 (__vstrfmon_l): Remove the third argument passed to
30959 __guess_grouping.
30960
30961 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30962
30963 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30964 definition for issignaling that does not rely on __MATH_TG,
30965 since __MATH_TG uses __builtin_types_compatible_p, which is only
30966 available in C mode.
30967 (CFLAGS-test-math-issignaling.cc): New variable.
30968 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30969 * math/test-math-issignaling.cc: New test for C++ implementation
30970 of type-generic issignaling.
30971 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30972 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30973 options of test-math-issignaling on powerpc64le.
30974
30975 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30976
30977 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30978 building libc.a.
30979 (hidden_proto): Likewise.
30980 (hidden_tls_proto): Likewise.
30981 (__hidden_proto): Likewise.
30982
30983 2017-08-22 Florian Weimer <fweimer@redhat.com>
30984
30985 math: Statically link tests of internal functionality.
30986 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30987 atest-exp2.
30988 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30989 (gmp-objs): Remove assignment.
30990 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30991
30992 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30993
30994 [BZ #21987]
30995 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30996 and copy to ...
30997 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30998 ... here.
30999 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31000 ... and here.
31001
31002 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31003 variable definitions above inclusion of ../Rules.
31004
31005 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31006
31007 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31008 case calling __builtin_unreachable.
31009
31010 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31011
31012 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31013 __waitpid_nocancel.
31014 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31015 (__waitpid_nocancel): New macro.
31016 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31017 macro.
31018 (__waitpid_nocancel): Replace macro with a function.
31019 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31020 function.
31021
31022 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31023 __fcntl_nocancel.
31024 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31025 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31026
31027 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31028 __writev_nocancel_nostatus.
31029 (write_call_graph): Likewise.
31030 (write_bb_counts): Likewise.
31031 * resolv/herror.c (herror): Likewise.
31032 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31033 macro.
31034 (__writev_nocancel_nostatus): New macro.
31035 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31036 Remove macro.
31037 (__writev_nocancel_nostatus): New function.
31038
31039 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31040
31041 Revert:
31042 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31043
31044 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31045 building libc.a.
31046 (hidden_proto): Likewise.
31047 (hidden_tls_proto): Likewise.
31048 (__hidden_proto): Likewise.
31049
31050 [BZ #21973]
31051 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31052 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31054 Likewise.
31055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31056 Likewise.
31057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31058 Likewise.
31059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31060 Likewise.
31061 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31062 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31063 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31064 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31065 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31066 GLIBC_2.0 sqrtl symbol.
31067
31068 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31069 [__USE_MISC] (_LIB_VERSION): Likewise.
31070 [__USE_MISC] (struct exception): Likewise.
31071 [__USE_MISC] (matherr): Likewise.
31072 [__USE_MISC] (DOMAIN): Likewise.
31073 [__USE_MISC] (SING): Likewise.
31074 [__USE_MISC] (OVERFLOW): Likewise.
31075 [__USE_MISC] (UNDERFLOW): Likewise.
31076 [__USE_MISC] (TLOSS): Likewise.
31077 [__USE_MISC] (PLOSS): Likewise.
31078 [__USE_MISC] (HUGE): Likewise.
31079 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31080 * math/math-svid-compat.h: New file.
31081 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31082 and matherrl.
31083 * include/math.h [!_ISOMAC] (__matherr): Remove.
31084 * manual/arith.texi (FP Exceptions): Do not document matherr.
31085 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31086 (tests-internal): New variable.
31087 (install-lib): Do not add libieee.a.
31088 (non-lib.a): Likewise.
31089 (extra-objs): Do not add libieee.a and ieee-math.o.
31090 (CPPFLAGS-s_lib_version.c): Remove variable.
31091 ($(objpfx)libieee.a): Remove rule.
31092 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31093 * math/ieee-math.c: Remove.
31094 * math/libm-test-support.c (matherr): Remove.
31095 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31096 and license notices. Include <math-svid-compat.h> and
31097 <shlib-compat.h>.
31098 (matherr): Undefine as macro. Use compat_symbol_reference.
31099 (_LIB_VERSION): Likewise.
31100 * math/test-matherr-2.c: New file.
31101 * math/test-matherr-3.c: Likewise.
31102 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31103 declaration.
31104 (__kernel_standard_f): Likewise.
31105 (__kernel_standard_l): Likewise.
31106 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31107 <math_private.h>. Include <math-svid-compat.h>.
31108 (_LIB_VERSION): Undefine as macro.
31109 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31110 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31111 [LIBM_SVID_COMPAT], use compat_symbol.
31112 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31113 <math_private.h>. Include <math-svid-compat.h>.
31114 (matherr): Undefine as macro.
31115 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31116 compat_symbol.
31117 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31118 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31119 compat_symbol_reference.
31120 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31121 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31122 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31123 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31124 (MATHERR_D): Remove declaration.
31125 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31126 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31127 [LIBM_BUILD] (pmatherrf): Likewise.
31128 [LIBM_BUILD] (pmatherr): Likewise.
31129 [LIBM_BUILD] (pmatherrl): Likewise.
31130 (DOMAIN): Likewise.
31131 (SING): Likewise.
31132 (OVERFLOW): Likewise.
31133 (UNDERFLOW): Likewise.
31134 (TLOSS): Likewise.
31135 (PLOSS): Likewise.
31136 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31137 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31138 compat_symbol.
31139 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31140 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31141 compat_symbol.
31142 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31143 * math/w_acos_compat.c: Likewise.
31144 * math/w_acosf_compat.c: Likewise.
31145 * math/w_acosh_compat.c: Likewise.
31146 * math/w_acoshf_compat.c: Likewise.
31147 * math/w_acoshl_compat.c: Likewise.
31148 * math/w_acosl_compat.c: Likewise.
31149 * math/w_asin_compat.c: Likewise.
31150 * math/w_asinf_compat.c: Likewise.
31151 * math/w_asinl_compat.c: Likewise.
31152 * math/w_atan2_compat.c: Likewise.
31153 * math/w_atan2f_compat.c: Likewise.
31154 * math/w_atan2l_compat.c: Likewise.
31155 * math/w_atanh_compat.c: Likewise.
31156 * math/w_atanhf_compat.c: Likewise.
31157 * math/w_atanhl_compat.c: Likewise.
31158 * math/w_cosh_compat.c: Likewise.
31159 * math/w_coshf_compat.c: Likewise.
31160 * math/w_coshl_compat.c: Likewise.
31161 * math/w_exp10_compat.c: Likewise.
31162 * math/w_exp10f_compat.c: Likewise.
31163 * math/w_exp10l_compat.c: Likewise.
31164 * math/w_exp2_compat.c: Likewise.
31165 * math/w_exp2f_compat.c: Likewise.
31166 * math/w_exp2l_compat.c: Likewise.
31167 * math/w_fmod_compat.c: Likewise.
31168 * math/w_fmodf_compat.c: Likewise.
31169 * math/w_fmodl_compat.c: Likewise.
31170 * math/w_hypot_compat.c: Likewise.
31171 * math/w_hypotf_compat.c: Likewise.
31172 * math/w_hypotl_compat.c: Likewise.
31173 * math/w_j0_compat.c: Likewise.
31174 * math/w_j0f_compat.c: Likewise.
31175 * math/w_j0l_compat.c: Likewise.
31176 * math/w_j1_compat.c: Likewise.
31177 * math/w_j1f_compat.c: Likewise.
31178 * math/w_j1l_compat.c: Likewise.
31179 * math/w_jn_compat.c: Likewise.
31180 * math/w_jnf_compat.c: Likewise.
31181 * math/w_jnl_compat.c: Likewise.
31182 * math/w_lgamma_main.c: Likewise.
31183 * math/w_lgamma_r_compat.c: Likewise.
31184 * math/w_lgammaf_main.c: Likewise.
31185 * math/w_lgammaf_r_compat.c: Likewise.
31186 * math/w_lgammal_main.c: Likewise.
31187 * math/w_lgammal_r_compat.c: Likewise.
31188 * math/w_log10_compat.c: Likewise.
31189 * math/w_log10f_compat.c: Likewise.
31190 * math/w_log10l_compat.c: Likewise.
31191 * math/w_log2_compat.c: Likewise.
31192 * math/w_log2f_compat.c: Likewise.
31193 * math/w_log2l_compat.c: Likewise.
31194 * math/w_log_compat.c: Likewise.
31195 * math/w_logf_compat.c: Likewise.
31196 * math/w_logl_compat.c: Likewise.
31197 * math/w_pow_compat.c: Likewise.
31198 * math/w_powf_compat.c: Likewise.
31199 * math/w_powl_compat.c: Likewise.
31200 * math/w_remainder_compat.c: Likewise.
31201 * math/w_remainderf_compat.c: Likewise.
31202 * math/w_remainderl_compat.c: Likewise.
31203 * math/w_scalb_compat.c: Likewise.
31204 * math/w_scalbf_compat.c: Likewise.
31205 * math/w_scalbl_compat.c: Likewise.
31206 * math/w_sinh_compat.c: Likewise.
31207 * math/w_sinhf_compat.c: Likewise.
31208 * math/w_sinhl_compat.c: Likewise.
31209 * math/w_sqrt_compat.c: Likewise.
31210 * math/w_sqrtf_compat.c: Likewise.
31211 * math/w_sqrtl_compat.c: Likewise.
31212 * math/w_tgamma_compat.c: Likewise.
31213 * math/w_tgammaf_compat.c: Likewise.
31214 * math/w_tgammal_compat.c: Likewise.
31215 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31216 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31217 * sysdeps/ieee754/k_standard.c: Likewise.
31218 * sysdeps/ieee754/k_standardf.c: Likewise.
31219 * sysdeps/ieee754/k_standardl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31222 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31223 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31224 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31225 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31226 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31227 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31228 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31230 Likewise.
31231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31232 Likewise.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31235 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31236 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31237
31238 2017-08-21 Florian Weimer <fweimer@redhat.com>
31239
31240 [BZ #21864]
31241 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31242 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31243 Move before inclusion of ../Rules.
31244
31245 2017-08-21 Florian Weimer <fweimer@redhat.com>
31246
31247 [BZ #21972]
31248 * assert/assert.h (assert): Use static_cast (bool) for C++.
31249 Use the ternary operator in the warning branch for GNU C.
31250 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31251 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31252 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31253 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31254 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31255
31256 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31257
31258 [BZ #18822]
31259 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31260 (__syscall_clock_gettime): Add attribute_hidden.
31261 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31262 (__start_context): Likewise.
31263
31264 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31265
31266 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31267 building libc.a.
31268 (hidden_proto): Likewise.
31269 (hidden_tls_proto): Likewise.
31270 (__hidden_proto): Likewise.
31271
31272 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31273
31274 * include/libc-symbols.h (attribute_hidden): Enable hidden
31275 visibility in libc.a compiled with PIE.
31276
31277 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31278
31279 [BZ #18822]
31280 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31281 Add attribute_hidden.
31282
31283 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31284
31285 [BZ #21864]
31286 * Makerules (all-nonlib): Add $(others-extras).
31287 * catgets/Makefile (others-extras): New.
31288 * elf/Makefile (others-extras): Likewise.
31289 * nss/Makefile (others-extras): Likewise.
31290
31291 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31292
31293 [BZ #18822]
31294 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31295 * elf/dl-open.c: Include <libc-internal.h>.
31296 (__libc_multiple_libcs): Removed.
31297 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31298 <hp-timing.h>.
31299 * include/libc-internal.h (__libc_multiple_libcs): New.
31300 * misc/sbrk.c: Include <libc-internal.h>.
31301 (__libc_multiple_libcs): Removed.
31302
31303 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31304
31305 [BZ #18822]
31306 * grp/initgroups.c (__nss_group_database): Removed.
31307 (__nss_initgroups_database): Likewise.
31308 * nscd/gai.c (__nss_hosts_database): Likewise.
31309 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31310 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31311 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31312 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31313 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31314 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31315 attribute_hidden.
31316 * nss/nsswitch.c (__nss_database_custom): Define only if
31317 USE_NSCD is defined.
31318 (__nss_configure_lookup): Use __nss_database_custom only if
31319 USE_NSCD is defined.
31320 * nss/nsswitch.h (__nss_database_custom): Declare only if
31321 USE_NSCD is defined. Add attribute_hidden.
31322 (__nss_setent): Add attribute_hidden.
31323 (__nss_endent): Likewise.
31324 (__nss_getent_r): Likewise.
31325 (__nss_getent): Likewise.
31326 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31327
31328 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31329
31330 [BZ #18822]
31331 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31332 libc_hidden_proto and libc_hidden_def.
31333
31334 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31335
31336 [BZ #18822]
31337 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31338 Add libc_hidden_proto.
31339 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31340 Add libc_hidden_def.
31341
31342 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 [BZ #21974]
31345 * gmon/Makefile (routines): Remove bb_init_func and
31346 bb_exit_func.
31347 (elide-routines.os): Removed.
31348 * gmon/bb_exit_func.c: Likewise.
31349 * gmon/bb_init_func.c: Likewise.
31350 * include/sys/gmon.h (__bb): Likewise.
31351 (__bb_init_func): Likewise.
31352 (__bb_exit_func): Likewise.
31353 * sysdeps/alpha/bb_init_func.S: Likewise.
31354
31355 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31356
31357 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31358 * include/setjmp.h (____longjmp_chk): Here. Add
31359 attribute_hidden.
31360
31361 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31362
31363 [BZ #18822]
31364 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31365 attribute_hidden.
31366 (__strspn_sse2): Likewise.
31367
31368 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31369
31370 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31371 (close_not_cancel_no_status): Likewise.
31372 (__close_nocancel): New macro.
31373 (__close_nocancel_nostatus): Likewise.
31374 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31375 macro.
31376 (close_not_cancel): Likewise.
31377 (close_not_cancel_no_status): Likewise.
31378 (__close_nocancel): New prototype.
31379 (__close_nocancel_nostatus): New function.
31380 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31381 * catgets/open_catalog.c (__open_catalog): Replace
31382 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31383 * gmon/gmon.c (write_gmon): Likewise.
31384 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31385 * intl/loadmsgcat.c (close): Likewise.
31386 * io/ftw.c (open_dir_stream): Likewise.
31387 (ftw_startup): Likewise.
31388 * libio/fileops.c (_IO_file_open): Likewise.
31389 (_IO_file_close_mmap): Likewise.
31390 (_IO_file_close): Likewise.
31391 * libio/iopopen.c (_IO_dup2): Likewise.
31392 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31393 * locale/loadlocale.c (_nl_load_locale): Likewise.
31394 * login/utmp_file.c (pututline_file): Likewise.
31395 (endutent_file): Likewise.
31396 * misc/daemon.c (daemon): Likewise.
31397 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31398 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31399 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31400 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31401 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31402 * nscd/nscd_helper.c (open_socket): Likewise.
31403 (__nscd_open_socket): Likewise.
31404 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31405 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31406 (__nscd_innetgr): Likewise.
31407 * nss/nss_db/db-open.c (internal_setent): Likewise.
31408 * resolv/res-close.c (__res_iclose): Likewise.
31409 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31410 * sysdeps/posix/closedir.c (__closedir): Likewise.
31411 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31412 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31413 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31414 (opendir_tail): Likewise.
31415 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31416 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31417 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31418 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31419 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31420 (gethostid): Likewise.
31421 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31423 Likewise.
31424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31425 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31426 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31427 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31428 Likewise.
31429 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31430 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31431 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31432 Likewise.
31433 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31434 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31435 Likewise.
31436 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31437 Likewise.
31438 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31439 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31440 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31441 __close_nocancel.
31442
31443 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31444 (openat_not_cancel_3): Likewise.
31445 (openat64_not_cancel_3): Likewise).
31446 (openat_not_cancel_3): Likewise).
31447 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31448 macro.
31449 (openat_not_cancel_3): Likewise.
31450 (openat64_not_cancel): Likewise.
31451 (openat64_not_cancel_3): Likewise.
31452 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31453 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31454 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31455 __open{64}_nocancel.
31456 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31457 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31458 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31459
31460 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31461
31462 [BZ #18822]
31463 * include/argz.h (__argz_create_sep): New function prototype.
31464 (__argz_append): Likewise.
31465 (__argz_add): Likewise.
31466 (__argz_add_sep): Likewise.
31467 (__argz_delete): Likewise.
31468 (__argz_insert): Likewise.
31469 (__argz_replace): Likewise.
31470 * string/argz.h (__argz_create_sep): Removed.
31471 (__argz_append): Likewise.
31472 (__argz_add): Likewise.
31473 (__argz_add_sep): Likewise.
31474 (__argz_delete): Likewise.
31475 (__argz_insert): Likewise.
31476 (__argz_replace): Likewise.
31477
31478 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31479
31480 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31481 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31482 (GNU_PROPERTY_STACK_SIZE): Likewie.
31483 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31484 (GNU_PROPERTY_LOPROC): Likewise.
31485 (GNU_PROPERTY_HIPROC): Likewise.
31486 (GNU_PROPERTY_LOUSER): Likewise.
31487 (GNU_PROPERTY_HIUSER): Likewise.
31488 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31489 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31490 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31491 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31492 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31493 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31494 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31495 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31496 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31497 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31498 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31499 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31500 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31501 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31502 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31503 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31504 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31505 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31506 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31507 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31508 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31509 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31510 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31511
31512 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31513
31514 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31515 in C++ mode.
31516
31517 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31518
31519 [BZ #21930]
31520 * math/math.h (isinf): Check if in C or C++ mode before using
31521 __builtin_types_compatible_p, since this is a C mode feature.
31522
31523 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31524
31525 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31526 (__write_nocancel): New macro.
31527 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31528 Rewrite as a function prototype.
31529 (write_not_cancel): Remove macro.
31530 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31531 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31532 (write_gmon): Likewise.
31533 * libio/fileops.c (_IO_new_file_write): Likewise.
31534 * login/utmp_file.c (pututline_file): Likewise.
31535 (updwtmp_file): Likewise.
31536 * stdio-common/psiginfo.c (psiginfo): Likewise.
31537 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31538 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31539 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31540 Likewise.
31541 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31542 Likewise.
31543
31544 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31545 (__read_nocancel): New macro.
31546 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31547 __read_nocancel.
31548 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31549 macro.
31550 (__read_nocancel): New prototype.
31551 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31552 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31553 with __read_nocancel.
31554 * intl/loadmsgcat.c (read): Likewise.
31555 * libio/fileops.c (_IO_file_read): Likewise.
31556 * locale/loadlocale.c (_nl_load_locale): Likewise.
31557 * login/utmp_file.c (getutent_r_file): Likewise.
31558 (internal_getut_r): Likewise.
31559 (getutline_r_file): Likewise.
31560 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31561 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31562 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31563 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31564 Likewise.
31565 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31566 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31567 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31568 Likewise.
31569 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31570 Likewise.
31571 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31572 Likewise.
31573 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31574 Likewise.
31575 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31576
31577 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31578
31579 [BZ #21966]
31580 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31581 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31582 usable.
31583
31584 2017-08-17 DJ Delorie <dj@redhat.com>
31585
31586 * bug17079.c: Update to new test harness.
31587 * test-digits-dots.c: Likewise.
31588 * test-netdb.c: Likewise.
31589 * tst-field.c: Likewise.
31590 * tst-nss-getpwent.c: Likewise.
31591 * tst-nss-static.c: Likewise.
31592 * tst-nss-test1.c: Likewise.
31593 * tst-nss-test2.c: Likewise.
31594 * tst-nss-test3.c: Likewise.
31595 * tst-nss-test4.c: Likewise.
31596 * tst-nss-test5.c: Likewise.
31597
31598 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31599
31600 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31601 (open_not_cancel_2): Likewise.
31602 (open_nocancel): New macro.
31603 (open64_nocancel): Likewise.
31604 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31605 (open_not_cancel_2): Likewise.
31606 (__open_nocancel): New prototype.
31607 (__open64_nocancel): Likewise.
31608 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31609 __open_nocancel.
31610 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31611 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31612 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31613 with __open_nocancel.
31614 * csu/check_fds.c (check_one_fd): Likewise.
31615 * gmon/gmon.c (write_gmon): Likewise.
31616 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31617 * intl/loadmsgcat.c (open): Likewise.
31618 * libio/fileops.c (_IO_file_open): Likewise.
31619 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31620 * locale/loadlocale.c (_nl_load_locale): Likewise.
31621 * login/utmp_file.c (setutent_file): Likewise.
31622 * misc/daemon.c (daemon): Likewise.
31623 * nss/nss_db/db-open.c (internal_setent): Likewise.
31624 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31625 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31626 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31627 (__opendir): Likewise.
31628 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31629 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31630 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31631 (gethostid): Likewise.
31632 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31633 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31634 Likewise.
31635 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31636 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31637 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31638 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31639 Likewise.
31640 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31641 Likewise.
31642 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31643 Likewise.
31644 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31645 Likewise.
31646 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31647 Likewise.
31648 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31649 Likewise.
31650 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31651 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31652
31653 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31654
31655 * benchtests/bench-skeleton.c (main): Add support for
31656 latency benchmarking.
31657 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31658
31659 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31660
31661 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31662 the startup object.
31663
31664 2017-08-17 Florian Weimer <fweimer@redhat.com>
31665
31666 * include/sys/socket.h (__opensock): Remove internal_function.
31667 * socket/opensock.c (__opensock): Likewise.
31668 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31669
31670 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31671
31672 [BZ #21944]
31673 * signal/bits/types/__sigval_t.h: New file.
31674 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31675 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31676 and define sigval_t using __sigval_t.
31677 * include/bits/types/__sigval_t.h: New file.
31678 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31679 instead of <bits/types/__sigval_t.h>.
31680 (struct sigevent): Use __sigval_t instead of sigval_t.
31681 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31682 instead of <bits/types/__sigval_t.h>.
31683 (siginfo_t): Use __sigval_t instead of sigval_t.
31684 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31685 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31686 (struct sigevent): Use __sigval_t instead of sigval_t.
31687 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31688 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31689 (siginfo_t): Use __sigval_t instead of sigval_t.
31690 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31691
31692 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31693
31694 * NEWS: Remove "[Add new features here]" for 2.27.
31695
31696 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31697
31698 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31699 libc.so.
31700
31701 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31702
31703 * NEWS: Mention x86-64 FMA optimization.
31704
31705 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31706
31707 [BZ #21912]
31708 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31709 Add e_expf-fma.
31710 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31711 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31712 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31713
31714 2017-08-16 Andreas Schwab <schwab@suse.de>
31715
31716 [BZ #16750]
31717 CVE-2009-5064
31718 * elf/ldd.bash.in: Never run file directly.
31719
31720 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31721
31722 [BZ #21955]
31723 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31724 (L(SP_INF_0)): Likewise.
31725
31726 2017-08-15 Florian Weimer <fweimer@redhat.com>
31727
31728 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31729 run-built-tests.
31730
31731 2017-08-15 Florian Weimer <fweimer@redhat.com>
31732
31733 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31734 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31735 BROKEN_THREAD_SIGNALS code.
31736 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31737 request_list): Remove caller_pid member used for
31738 BROKEN_THREAD_SIGNALS.
31739 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31740 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31741 Remove BROKEN_THREAD_SIGNALS support.
31742 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31743 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31744
31745 2017-08-15 Florian Weimer <fweimer@redhat.com>
31746
31747 * gmon/Makefile (tests): Add tst-gmon.
31748 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31749 Set.
31750 (tests-special): Add tst-gmon-prof.out.
31751 (tst-gmon.out): Depend on clean-tst-gmon-data.
31752 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31753 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31754 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31755 startup object.
31756 * aclocal.m4 (GPROF): Set and substitute.
31757 * config.amke.in (GPROF): Set.
31758 * configure: Regenerate.
31759
31760 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31761
31762 * elf/elf.h A (NT_PPC_TAR): New macro.
31763 (NT_PPC_PPR): Likewise.
31764 (NT_PPC_DSCR): Likewise.
31765 (NT_PPC_EBB): Likewise.
31766 (NT_PPC_PMU): Likewise.
31767 (NT_PPC_TM_CGPR): Likewise.
31768 (NT_PPC_TM_CFPR): Likewise.
31769 (NT_PPC_TM_CVMX): Likewise.
31770 (NT_PPC_TM_CVSX): Likewise.
31771 (NT_PPC_TM_SPR): Likewise.
31772 (NT_PPC_TM_CTAR): Likewise.
31773 (NT_PPC_TM_CPPR): Likewise.
31774 (NT_PPC_TM_CDSCR): Likewise.
31775
31776 2017-08-15 Florian Weimer <fweimer@redhat.com>
31777
31778 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31779 regparm (2) instead of internal_function.
31780 (_MCOUNT_DECL): Adjust.
31781
31782 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31783
31784 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31785 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31786
31787 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31788
31789 * conform/data/sys/wait.h-data (si_value): Do not expect for
31790 XPG42.
31791
31792 2017-08-14 Florian Weimer <fweimer@redhat.com>
31793
31794 [BZ #21962]
31795 NSS: Create stubs for accidentally exported lookup functions.
31796 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31797 Remove declaration.
31798 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31799 (ether_hostton): Call __nss_ethers_lookup2 instead.
31800 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31801 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31802 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31803 (setup): Call __nss_netgroup_lookup2 instead.
31804 * nss/Makefile (routines): Add compat-lookup.
31805 * nss/Versions (GLIBC_2.27): Add symbol version.
31806 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31807 (DB_COMPAT_FCT): Remove.
31808 * nss/compat-lookup.c: New file.
31809 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31810 from databases.def.
31811 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31812 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31813 (netname2user): Call __nss_publickey_lookup2 instead.
31814 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31815 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31816 instead.
31817
31818 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31819 Sergei Trofimovich <slyfox@inbox.ru>
31820
31821 [BZ #21908]
31822 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31823 Rename to MMAP2_PAGE_UNIT.
31824 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31825 __OFF_T_MATCHES_OFF64_T is not defined.
31826 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31827 uint64_t.
31828 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31829 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31830
31831 2017-08-14 Florian Weimer <fweimer@redhat.com>
31832
31833 i386: Do not set internal_function.
31834 * config.h.in (USE_REGPARMS, internal_function): Remove.
31835 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31836 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31837
31838 2017-08-14 Florian Weimer <fweimer@redhat.com>
31839
31840 * elf/dl-init.c (_dl_init): Remove internal_function.
31841 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31842 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31843
31844 2017-08-14 Florian Weimer <fweimer@redhat.com>
31845
31846 * elf/rtld.c (_dl_start): Remove internal_function.
31847 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31848 _dl_start.
31849
31850 2017-08-14 Florian Weimer <fweimer@redhat.com>
31851
31852 * elf/dl-fini.c (_dl_fini): Remove internal_function
31853 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31854
31855 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31856
31857 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31858 (bit_cpu_SHSTK): Likewise.
31859 (index_cpu_IBT): Likewise.
31860 (index_cpu_SHSTK): Likewise.
31861 (reg_IBT): Likewise.
31862 (reg_SHSTK): Likewise.
31863 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31864 Handle index_cpu_IBT and index_cpu_SHSTK.
31865
31866 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31867
31868 [BZ #19982]
31869 * po/fr.po: Fix spelling mistake.
31870
31871 2017-08-13 Florian Weimer <fweimer@redhat.com>
31872
31873 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31874 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31875 (_dl_catch_error, _dl_receive_error): Likewise.
31876 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31877 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31878 (_dl_deallocate_tls): Likewise.
31879 * include/dlfcn.h (_dl_addr): Likewise.
31880 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31881 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31882 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31883 Likewise.
31884
31885 2017-08-13 Florian Weimer <fweimer@redhat.com>
31886
31887 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31888 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31889 internal_function.
31890 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31891
31892 2017-08-13 Florian Weimer <fweimer@redhat.com>
31893
31894 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31895 internal_function.
31896 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31897 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31898 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31899 internal_function from _dl_make_stack_executable_hook member.
31900 (_dl_make_stack_executable): Remove internal_function.
31901 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31902 Likewise.
31903 * sysdeps/unix/sysv/linux/dl-execstack.c
31904 (_dl_make_stack_executable): Likewise.
31905
31906 2017-08-13 Florian Weimer <fweimer@redhat.com>
31907
31908 * sysdeps/unix/sysv/linux/netlinkaccess.h
31909 (__netlink_assert_response): Remove internal_function.
31910 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31911 (__netlink_assert_response): Likewise.
31912
31913 2017-08-13 Florian Weimer <fweimer@redhat.com>
31914
31915 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31916 internal_function.
31917 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31918
31919 2017-08-13 Florian Weimer <fweimer@redhat.com>
31920
31921 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31922 internal_function.
31923 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31924 * inet/netgroup.h (__internal_setnetgrent)
31925 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31926 * inet/getnetgrent_r.c (__internal_setnetgrent)
31927 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31928 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31929 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31930 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31931 * nss/nsswitch.h (db_lookup_function): Likewise.
31932
31933 2017-08-13 Florian Weimer <fweimer@redhat.com>
31934
31935 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31936 Remove internal_function.
31937 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31938 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31939 message argument on the stack.
31940 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31941 Likeweise.
31942
31943 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31944
31945 Adapt test case data to the changes in the thousands
31946 separators.
31947
31948 [BZ #20756]
31949 * localedata/tst-langinfo.sh: Adapt test case data.
31950 * stdlib/tst-strfmon_l.c: Likewise.
31951 * stdlib/tst-strtod4.c: Likewise.
31952 * stdlib/tst-strtod5i.c: Likewise.
31953
31954 2017-08-11 Florian Weimer <fweimer@redhat.com>
31955
31956 [BZ #21242]
31957 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31958 Suppress pedantic warning resulting from statement expression.
31959 (__ASSERT_FUNCTION): Add missing __extension__.
31960
31961 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31962
31963 * benchtests/bench-memmove-large.c: Print output in JSON
31964 format.
31965 * benchtests/bench-memmove.c: Likewise.
31966
31967 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31968 * benchtests/bench-memchr.c (do_one_test): Likewise.
31969 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31970 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31971 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31972 * benchtests/bench-memmove.c (do_one_test): Likewise.
31973 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31974 * benchtests/bench-memset.c (do_one_test): Likewise.
31975 * benchtests/bench-string.h (test_init): Remove memsets.
31976
31977 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31978
31979 * manual/lang.texi
31980 (Computing the Width of an Integer Data Type): Rename section to
31981 "Width of an Integer Type". Remove inaccurate statement regarding
31982 lack of C language facilities for determining width of integer
31983 types, and reorder content to improve flow and context of
31984 discussion.
31985
31986 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31987
31988 * lang.texi (va_copy): Change standard from ISO to C99.
31989 (__va_copy): Add standard and header annotation.
31990 Update description for clarity of origins and current use.
31991
31992 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31993
31994 [BZ #21941]
31995 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31996 xssqrtqp requires operands to be in Vector Registers
31997 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31998 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31999 (__ieee754_sqrtf128): Likewise.
32000
32001 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32002
32003 * sysdeps/aarch64/memcmp.S (memcmp):
32004 Rewrite of optimized memcmp.
32005
32006 2017-08-10 Florian Weimer <fweimer@redhat.com>
32007
32008 Introduce ld.so exceptions.
32009 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32010 (_dl_exception_create, _dl_exception_create_format)
32011 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32012 (_dl_catch_exception): Declare.
32013 (_dl_catch_error): Update comment.
32014 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32015 errstring, malloced members with exception member.
32016 (_dl_out_of_memory): Remove.
32017 (fatal_error): New function, extracted from _dl_signal_error.
32018 (_dl_signal_exception, _dl_signal_cexception): New functions.
32019 (_dl_signal_error): Call _dl_exception_create to allocate an
32020 exception object.
32021 (_dl_catch_exception): New function, based on _dl_catch_error.
32022 (_dl_catch_error): Implement using _dl_catch_exception.
32023 * elf/dl-exception.c: New file.
32024 * elf/Makefile (dl-routines): Add dl-exception.
32025 (elide-routines.os): Likewise.
32026 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32027 _dl_exception_create_format, _dl_exception_free.
32028 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32029 _dl_signal_exception.
32030 * elf/dl-lookup.c (make_string): Remove.
32031 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32032 _dl_signal_cexception, _dl_exception_free.
32033 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32034 _dl_signal_exception.
32035 * elf/dl-sym.c (do_sym): Likewise.
32036 * elf/dl-version.c (make_string): Remove.
32037 (match_symbol): Use _dl_exception_create_format,
32038 _dl_signal_cexception, _dl_exception_free.
32039 (_dl_check_map_versions): Likewise.
32040 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32041 _dl_catch_exception.
32042 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32043 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32044 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32045 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32046 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32047 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32048 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32049 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32050 Likewise.
32051 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32053 (ld.so): Likewise.
32054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32055 (ld.so): Likewise.
32056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32057 Likewise.
32058 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32059 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32060 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32061 Likewise.
32062 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32063 Likewise.
32064 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32065
32066 2017-08-10 Florian Weimer <fweimer@redhat.com>
32067
32068 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32069 attribute_hidden, internal_function.
32070 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32071 internal_function.
32072
32073 2017-08-10 Florian Weimer <fweimer@redhat.com>
32074
32075 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32076 function which calls __builtin_unreachable.
32077
32078 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32079
32080 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32081 Indian monetary formatting
32082 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32083 test cases.
32084
32085 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32086
32087 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32088 Fix typo in comment.
32089
32090 [BZ #21928]
32091 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32092 PTRACE_SEIZE_DEVEL): Remove.
32093 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32094 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32098
32099 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32100
32101 * posix/bits/types.h (__qaddr_t): Remove.
32102
32103 [BZ #21457]
32104 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32105 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32106 __glibc_reserved1.
32107 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32108 (ucontext_t): Use __ctx with uc_flags.
32109 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32110 (__ctxt): Likewise.
32111 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32112 __glibc_reserved1.
32113 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32114 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32115 __glibc_reserved1.
32116 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32117 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32118 __glibc_reserved1.
32119 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32120 macro.
32121 (ucontext_t): Use __ctx with uc_flags.
32122 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32123 (ucontext_t): Use __ctx with uc_flags.
32124 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32125 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32126 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32127 (ucontext_t): Use __ctx with uc_flags.
32128 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32129 undefine further down.
32130 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32131 __glibc_reserved1.
32132 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32133 undefine further down.
32134 (ucontext_t): Use __ctx with uc_flags.
32135 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32136 undefine further down.
32137 (ucontext_t): Use __ctx with uc_flags.
32138 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32139 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32140 Rename uc_pad to __glibc_reserved1.
32141 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32142 undefine further down.
32143 (ucontext_t): Use __ctx with uc_flags.
32144 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32145 further down.
32146 (ucontext_t): Use __ctx with uc_flags.
32147 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32148 __ctx with uc_flags.
32149 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32150 (ucontext_t): Use __ctx with uc_flags.
32151 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32152 __ctx with uc_flags.
32153
32154 2017-08-09 Florian Weimer <fweimer@redhat.com>
32155
32156 [BZ #21932]
32157 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32158 before early return.
32159
32160 2017-08-09 Andreas Schwab <schwab@suse.de>
32161
32162 [BZ #21041]
32163 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32164 renamed alias.
32165
32166 [BZ #21041]
32167 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32168 tst-compat-forwarder.
32169 (modules-names): Add tst-compat-forwarder-mod.
32170 ($(objpfx)tst-compat-forwarder): Depend on
32171 $(objpfx)tst-compat-forwarder-mod.so.
32172 * nptl/tst-compat-forwarder.c: New file.
32173 * nptl/tst-compat-forwarder-mod.c: New file.
32174
32175 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32176
32177 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32178 comments.
32179
32180 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32181 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32182 memcpy_falkor.
32183 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32184 Bump.
32185 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32186 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32187 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32188 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32189 Add falkor.
32190 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32191 New macro.
32192
32193 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32194
32195 [BZ #759]
32196 * manual/setjmp.texi (getcontex): Document uc_stack value
32197 compatibility differences.
32198
32199 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32200
32201 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32202 (old_malloc_hook): Likewise.
32203 (old_memalign_hook): Likewise.
32204 (old_realloc_hook): Likewise.
32205 (struct hdr): Likewise.
32206 (flood): Likewise.
32207 (freehook): Likewise.
32208 (mallochook): Likewise.
32209 (memalignhook): Likewise.
32210 (reallochook): Likewise.
32211 (mprobe): Likewise.
32212 * malloc/mtrace.c (mallwatch): Likewise.
32213 (tr_old_free_hook): Likewise.
32214 (tr_old_malloc_hook): Likewise.
32215 (tr_old_realloc_hook): Likewise.
32216 (tr_old_memalign_hook): Likewise.
32217 (tr_where): Likewise.
32218 (lock_and_info): Likewise.
32219 (tr_freehook): Likewise.
32220 (tr_mallochook): Likewise.
32221 (tr_reallochook): Likewise.
32222 (tr_memalignhook): Likewise.
32223 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32224 * misc/mmap.c (__mmap): Likewise.
32225 * misc/mmap64.c (__mmap64): Likewise.
32226 * misc/mprotect.c (__mprotect): Likewise.
32227 * misc/msync.c (msync): Likewise.
32228 * misc/munmap.c (__munmap): Likewise.
32229 * posix/posix_madvise.c (posix_madvise): Likewise.
32230 * socket/send.c (__send): Likewise.
32231 * socket/sendto.c (__sendto): Likewise.
32232 * socket/setsockopt.c (__setsockopt): Likewise.
32233 * string/memcmp.c (__ptr_t): Remove macro.
32234 (MEMCMP): Use void * instead of ptr_t.
32235 * string/memrchr.c (__ptr_t): Remove macro.
32236 (__memrchr): Use void * instead of ptr_t.
32237 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32238 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32239 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32240 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32241 * sysdeps/mach/msync.c (msync): Likewise.
32242 * sysdeps/mach/munmap.c (__munmap): Likewise.
32243 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32244 Likewise.
32245 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32246 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32247 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32248 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32249 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32250 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32251 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32252 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32253 Likewise.
32254 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32255 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32256 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32257 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32258 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32259 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32260 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32261 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32262 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32263 Likewise.
32264 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32265 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32266 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32267 (MEMCMP): Use void * instead of ptr_t.
32268 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32269 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32270
32271 2017-08-08 Florian Weimer <fweimer@redhat.com>
32272
32273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32274 return statement.
32275
32276 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32277
32278 [BZ #21913]
32279 * csu/libc-tls.c: Include <startup.h> first.
32280 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32281 * elf/dl-tunables.c: Include <startup.h> first.
32282 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32283 * sysdeps/generic/startup.h: New file.
32284 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32285 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32286 (I386_USE_SYSENTER): New. Defined to 0.
32287
32288 2017-08-08 Andreas Schwab <schwab@suse.de>
32289
32290 [BZ #21041]
32291 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32292 * nptl/pt-system.c (system): Likewise.
32293
32294 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32295
32296 [BZ #21780]
32297 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32298 EOPNOTSUPP.
32299 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32300 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32301 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32302 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32303 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32304 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32305 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32306
32307 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32308
32309 [BZ #21899]
32310 * bits/sigaction.h (struct sigaction): Define sa_handler and
32311 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32312 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32313 [__USE_XOPEN_EXTENDED].
32314 (SA_RESTART): Likewise.
32315 (SA_NODEFER): Likewise.
32316 (SA_RESETHAND): Likewise.
32317 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32318 (struct sigaction): Define sa_handler and sa_sigaction using union
32319 also for [__USE_XOPEN_EXTENDED].
32320 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32321 [__USE_XOPEN_EXTENDED].
32322 (SA_RESTART): Likewise.
32323 (SA_NODEFER): Likewise.
32324 (SA_RESETHAND): Likewise.
32325 * sysdeps/unix/sysv/linux/bits/sigaction.h
32326 (struct sigaction): Define sa_handler and sa_sigaction using union
32327 also for [__USE_XOPEN_EXTENDED].
32328 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32329 [__USE_XOPEN_EXTENDED].
32330 (SA_RESTART): Likewise.
32331 (SA_NODEFER): Likewise.
32332 (SA_RESETHAND): Likewise.
32333 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32334 (struct sigaction): Define sa_handler and sa_sigaction using union
32335 also for [__USE_XOPEN_EXTENDED].
32336 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32337 [__USE_XOPEN_EXTENDED].
32338 (SA_RESTART): Likewise.
32339 (SA_NODEFER): Likewise.
32340 (SA_RESETHAND): Likewise.
32341 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32342 (struct sigaction): Define sa_handler and sa_sigaction using union
32343 also for [__USE_XOPEN_EXTENDED].
32344 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32345 [__USE_XOPEN_EXTENDED].
32346 (SA_RESTART): Likewise.
32347 (SA_NODEFER): Likewise.
32348 (SA_RESETHAND): Likewise.
32349 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32350 (struct sigaction): Define sa_handler and sa_sigaction using union
32351 also for [__USE_XOPEN_EXTENDED].
32352 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32353 [__USE_XOPEN_EXTENDED].
32354 (SA_RESTART): Likewise.
32355 (SA_NODEFER): Likewise.
32356 (SA_RESETHAND): Likewise.
32357 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32358 (struct sigaction): Define sa_handler and sa_sigaction using union
32359 also for [__USE_XOPEN_EXTENDED].
32360 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32361 [__USE_XOPEN_EXTENDED].
32362 (SA_RESTART): Likewise.
32363 (SA_NODEFER): Likewise.
32364 (SA_RESETHAND): Likewise.
32365 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32366 (struct sigaction): Define sa_handler and sa_sigaction using union
32367 also for [__USE_XOPEN_EXTENDED].
32368 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32369 [__USE_XOPEN_EXTENDED].
32370 (SA_RESTART): Likewise.
32371 (SA_NODEFER): Likewise. Define directly rather than as alias.
32372 (SA_RESETHAND): Likewise.
32373 (SA_INTERRUPT): Define only for [__USE_MISC].
32374 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32375 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32376 [__USE_MISC].
32377 (SA_STACK): Define only for [__USE_MISC].
32378 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32379 (struct sigaction): Define sa_handler and sa_sigaction using union
32380 also for [__USE_XOPEN_EXTENDED].
32381 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32382 [__USE_XOPEN_EXTENDED].
32383 (SA_RESTART): Likewise.
32384 (SA_NODEFER): Likewise.
32385 (SA_RESETHAND): Likewise.
32386 (SA_NOPTRACE): Define only for [__USE_MISC].
32387
32388 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32389 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32390 (struct catalog_info): Likewise.
32391 * inet/htontest.c (lo): Likewise.
32392 (foo): Likewise.
32393 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32394 * inet/inet_net.c (inet_network): Likewise.
32395 * inet/inet_netof.c (inet_netof): Likewise.
32396 * inet/rcmd.c (__ivaliduser): Likewise.
32397 (iruserok): Likewise.
32398 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32399 * locale/programs/locale-spec.c (locale_special): Likewise.
32400 * nis/nis_findserv.c (struct findserv_req): Likewise.
32401 (__nis_findfastest_with_timeout): Likewise.
32402 * nss/test-netdb.c (test_network): Likewise.
32403 * resolv/inet_neta.c (inet_neta): Likewise.
32404 * resolv/ns_date.c (ns_datetosecs): Likewise.
32405 (SECS_PER_DAY): Likewise.
32406 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32407 Likewise.
32408 * resolv/res_comp.c (__putlong): Likewise.
32409 (__putshort): Likewise.
32410 (_getlong): Likewise.
32411 (_getshort): Likewise.
32412 * resolv/res_debug.c (p_time): Likewise.
32413 (precsize_ntoa): Likewise.
32414 (precsize_aton): Likewise.
32415 (latlon2ul): Likewise.
32416 (loc_aton): Likewise.
32417 (loc_ntoa): Likewise.
32418 * resolv/res_hconf.c (struct netaddr): Likewise.
32419 (_res_hconf_reorder_addrs): Likewise.
32420 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32421 (clnttcp_control): Likewise.
32422 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32423 (clntudp_control): Likewise.
32424 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32425 (clntunix_control): Likewise.
32426 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32427 * sunrpc/rpc/auth.h (union des_block): Likewise.
32428 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32429 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32430 (xdrrec_create): Likewise.
32431 (xdrrec_endofrecord): Likewise.
32432 (flush_out): Likewise.
32433 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32434 (xdrstdio_putlong): Likewise.
32435 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32436 Likewise.
32437
32438 * misc/sys/cdefs.h (__long_double_t): Remove.
32439 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32440 instead of __long_double_t,
32441 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32442
32443 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32444
32445 * benchtests/scripts/compare_strings.py: Avoid display error when
32446 running on a text terminal.
32447
32448 * benchtests/scripts/compare_strings.py (main): Add an
32449 optional -base option.
32450 (process_results): New argument base_func.
32451
32452 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32453 hardcoding memcpy.
32454 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32455 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32456
32457 2017-08-07 Andreas Schwab <schwab@suse.de>
32458
32459 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32460 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32461 * intl/Makefile ($(objpfx)tst-gettext.out)
32462 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32463 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32464 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32465 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32466 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32467 * posix/Makefile ($(objpfx)globtest.out)
32468 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32469 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32470 ($(objpfx)tst-printf.out): Likewise.
32471 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32472 ($(objpfx)tst-setcontext3.out): Likewise.
32473
32474 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32475
32476 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32477 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32478 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32479 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32480 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32481 and mptan-fma.
32482 (CFLAGS-doasin-fma.c): New.
32483 (CFLAGS-dosincos-fma.c): Likewise.
32484 (CFLAGS-e_asin-fma.c): Likewise.
32485 (CFLAGS-e_atan2-fma.c): Likewise.
32486 (CFLAGS-e_exp-fma.c): Likewise.
32487 (CFLAGS-e_log-fma.c): Likewise.
32488 (CFLAGS-e_pow-fma.c): Likewise.
32489 (CFLAGS-halfulp-fma.c): Likewise.
32490 (CFLAGS-mpa-fma.c): Likewise.
32491 (CFLAGS-mpatan-fma.c): Likewise.
32492 (CFLAGS-mpatan2-fma.c): Likewise.
32493 (CFLAGS-mpexp-fma.c): Likewise.
32494 (CFLAGS-mplog-fma.c): Likewise.
32495 (CFLAGS-mpsqrt-fma.c): Likewise.
32496 (CFLAGS-mptan-fma.c): Likewise.
32497 (CFLAGS-s_atan-fma.c): Likewise.
32498 (CFLAGS-sincos32-fma.c): Likewise.
32499 (CFLAGS-slowexp-fma.c): Likewise.
32500 (CFLAGS-slowpow-fma.c): Likewise.
32501 (CFLAGS-s_sin-fma.c): Likewise.
32502 (CFLAGS-s_tan-fma.c): Likewise.
32503 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32504 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32505 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32506 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32507 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32508 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32509 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32510 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32511 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32512 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32513 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32514 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32515 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32516 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32517 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32518 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32519 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32520 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32522 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32523 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32525 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32526 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32527 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32529 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32530 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32531 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32532 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32533 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32534
32535 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32536
32537 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32538 (min_of_type_f): New macro.
32539 (min_of_type_): Likewise.
32540 (min_of_type_l): Likewise.
32541 (min_of_type_f128): Likewise.
32542 (min_of_type): Define using __MATH_TG and taking an expression
32543 argument.
32544 (math_check_force_underflow): Pass expression instead of type to
32545 min_of_type.
32546 (math_check_force_underflow_nonneg): Likewise.
32547
32548 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32549
32550 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32551 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32552 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32553
32554 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32555
32556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32557 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32558 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32559 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32560 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32561 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32562 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32563 memmove_chk-nonshared and memset_chk-nonshared
32564 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32565 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32566 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32567 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32568 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32569 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32570 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32571 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32572 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32573 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32574 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32575 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32576 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32577 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32578 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32579 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32580 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32581 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32582 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32583 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32584 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32585 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32586 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32587 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32588 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32589 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32590 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32591 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32592 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32594 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32596 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32597 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32598 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32599 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32600 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32601 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32602 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32603 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32604 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32605 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32606 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32607 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32608 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32609 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32610 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32611 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32612 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32613 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32614 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32615 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32616 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32617 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32618 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32619 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32620 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32621 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32622 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32623 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32624 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32625 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32626 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32627 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32628 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32629 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32630 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32631 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32632 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32633 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32634 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32635 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32636 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32637 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32638 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32639 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32640 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32641 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32642 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32643 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32644 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32645 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32646 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32647 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32648 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32649 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32650 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32651 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32652 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32653 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32654 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32655 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32656 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32657 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32658 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32659 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32660 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32661 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32662 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32663 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32664 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32665 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32666 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32667 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32668 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32669 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32670 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32671 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32672
32673 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32674
32675 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32676 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32677 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32678 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32679 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32680 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32681 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32682 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32683 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32684 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32685 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32686 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32687 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32688 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32689 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32690 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32691 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32692 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32693 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32694 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32695 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32696 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32697 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32698 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32699 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32700 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32701 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32702 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32703 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32704 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32705 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32706 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32707 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32708 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32709 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32710 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32711 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32712 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32713 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32714 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32715 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32716 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32717 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32718 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32719 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32720 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32721 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32722 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32723 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32724 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32725 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32726 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32727 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32730 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32731 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32732 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32733 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32734 ...
32735 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32736 Don't include <sysdep.h> nor <init-arch.h>.
32737 (_ZGVbN2v_cos): Removed.
32738 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32739 ...
32740 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32741 Don't include <sysdep.h> nor <init-arch.h>.
32742 (_ZGVdN4v_cos): Removed.
32743 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32744 ...
32745 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32746 Don't include <sysdep.h> nor <init-arch.h>.
32747 (_ZGVeN8v_cos): Removed.
32748 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32749 ...
32750 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32751 Don't include <sysdep.h> nor <init-arch.h>.
32752 (_ZGVbN2v_exp): Removed.
32753 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32754 ...
32755 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32756 Don't include <sysdep.h> nor <init-arch.h>.
32757 (_ZGVdN4v_exp): Removed.
32758 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32759 ...
32760 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32761 Don't include <sysdep.h> nor <init-arch.h>.
32762 (_ZGVeN8v_exp): Removed.
32763 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32764 ...
32765 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32766 Don't include <sysdep.h> nor <init-arch.h>.
32767 (_ZGVbN2v_log): Removed.
32768 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32769 ...
32770 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32771 Don't include <sysdep.h> nor <init-arch.h>.
32772 (_ZGVdN4v_log): Removed.
32773 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32774 ...
32775 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32776 Don't include <sysdep.h> nor <init-arch.h>.
32777 (_ZGVeN8v_log): Removed.
32778 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32779 ...
32780 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32781 Don't include <sysdep.h> nor <init-arch.h>.
32782 (_ZGVbN2vv_pow): Removed.
32783 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32784 ...
32785 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32786 Don't include <sysdep.h> nor <init-arch.h>.
32787 (_ZGVdN4vv_pow): Removed.
32788 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32789 ...
32790 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32791 Don't include <sysdep.h> nor <init-arch.h>.
32792 (_ZGVeN8vv_pow): Removed.
32793 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32794 ...
32795 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32796 Don't include <sysdep.h> nor <init-arch.h>.
32797 (_ZGVbN2v_sin): Removed.
32798 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32799 ...
32800 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32801 Don't include <sysdep.h> nor <init-arch.h>.
32802 (_ZGVbN4v_sin): Removed.
32803 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32804 ...
32805 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32806 Don't include <sysdep.h> nor <init-arch.h>.
32807 (_ZGVbN8v_sin): Removed.
32808 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32809 ...
32810 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32811 Don't include <sysdep.h> nor <init-arch.h>.
32812 (_ZGVbN2vvv_sincos): Removed.
32813 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32814 ...
32815 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32816 Don't include <sysdep.h> nor <init-arch.h>.
32817 (_ZGVdN4vvv_sincos): Removed.
32818 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32819 ...
32820 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32821 Don't include <sysdep.h> nor <init-arch.h>.
32822 (_ZGVeN8vvv_sincos): Removed.
32823 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32824 ...
32825 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32826 Don't include <sysdep.h> nor <init-arch.h>.
32827 (_ZGVeN16v_cosf): Removed.
32828 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32829 ...
32830 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32831 Don't include <sysdep.h> nor <init-arch.h>.
32832 (_ZGVbN4v_cosf): Removed.
32833 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32834 ...
32835 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32836 Don't include <sysdep.h> nor <init-arch.h>.
32837 (_ZGVdN8v_cosf): Removed.
32838 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32839 ...
32840 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32841 Don't include <sysdep.h> nor <init-arch.h>.
32842 (_ZGVeN16v_expf): Removed.
32843 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32844 ...
32845 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32846 Don't include <sysdep.h> nor <init-arch.h>.
32847 (_ZGVbN4v_expf): Removed.
32848 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32849 ...
32850 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32851 Don't include <sysdep.h> nor <init-arch.h>.
32852 (_ZGVdN8v_expf): Removed.
32853 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32854 ...
32855 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32856 Don't include <sysdep.h> nor <init-arch.h>.
32857 (_ZGVeN16v_logf): Removed.
32858 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32859 ...
32860 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32861 Don't include <sysdep.h> nor <init-arch.h>.
32862 (_ZGVbN4v_logf): Removed.
32863 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32864 ...
32865 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32866 Don't include <sysdep.h> nor <init-arch.h>.
32867 (_ZGVdN8v_logf): Removed.
32868 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32869 ...
32870 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32871 Don't include <sysdep.h> nor <init-arch.h>.
32872 (_ZGVeN16vv_powf): Removed.
32873 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32874 ...
32875 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32876 Don't include <sysdep.h> nor <init-arch.h>.
32877 (_ZGVbN4vv_powf): Removed.
32878 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32879 ...
32880 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32881 Don't include <sysdep.h> nor <init-arch.h>.
32882 (_ZGVdN8vv_powf): Removed.
32883 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32884 ...
32885 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32886 Don't include <sysdep.h> nor <init-arch.h>.
32887 (_ZGVeN16vvv_sincosf): Removed.
32888 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32889 ...
32890 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32891 Don't include <sysdep.h> nor <init-arch.h>.
32892 (_ZGVbN4vvv_sincosf): Removed.
32893 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32894 ...
32895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32896 Don't include <sysdep.h> nor <init-arch.h>.
32897 (_ZGVdN8vvv_sincosf): Removed.
32898 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32899 ...
32900 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32901 Don't include <sysdep.h> nor <init-arch.h>.
32902 (_ZGVeN16v_sinf): Removed.
32903 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32904 ...
32905 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32906 Don't include <sysdep.h> nor <init-arch.h>.
32907 (_ZGVbN4v_sinf): Removed.
32908 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32909 ...
32910 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32911 Don't include <sysdep.h> nor <init-arch.h>.
32912 (_ZGVdN8v_sinf): Removed.
32913
32914 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32915
32916 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32917 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32918 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32919 s_rint-sse4_1 and s_rintf-sse4_1.
32920 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32921 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32922 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32923 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32924 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32925 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32926 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32927 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32928 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32929 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32930 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32931 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32932 (__ceil): Removed.
32933 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32934 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32935 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32936 (__ceilf): Removed.
32937 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32938 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32939 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32940 (__floor): Removed.
32941 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32942 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32943 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32944 (__floorf): Removed.
32945 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32946 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32947 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32948 (__nearbyint): Removed.
32949 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32950 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32951 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32952 (__nearbyintf): Removed.
32953 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32954 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32955 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32956 (__rint): Removed.
32957 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32958 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32959 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32960 (__rintf): Removed.
32961
32962 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32963
32964 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32965 SHARED. Avoid dynamic relocation against main in static PIE.
32966
32967 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32968
32969 [BZ #21815]
32970 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32971 (LDFLAGS-tst-prelink): Likewise.
32972
32973 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32974
32975 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32976 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32977 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32978 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32979 (INTERNAL_SYSCALL_NCS): Likewise.
32980 (LOADARGS_1): Likewise.
32981 (LOADARGS_5): Likewise.
32982 (RESTOREARGS_1): Likewise.
32983 (RESTOREARGS_5): Likewise.
32984
32985 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32986
32987 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32988 (MEMPCPY_SYMBOL): Likewise.
32989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32990 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32992 in libc.a.
32993 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32994 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32995 Likewise.
32996 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32997 (__hidden_ver1): Don't use in libc.a.
32998 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32999 (__mempcpy): Don't create a weak alias in libc.a.
33000 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33001 libc.a.
33002 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33003 (__hidden_ver1): Don't use in libc.a.
33004
33005 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33006
33007 * config.make.in (have-insert): New.
33008 * configure.ac (libc_cv_insert): New. Set to yes if linker
33009 supports INSERT in linker script.
33010 (AC_SUBST(libc_cv_insert): New.
33011 * configure: Regenerated.
33012 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33013 if $(have-insert) == yes.
33014
33015 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33016
33017 * elf/Makefile (tests): Add vismain only if
33018 $(have-protected-data) == yes.
33019 (tests-pie): Likewise.
33020
33021 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 [BZ #21871]
33024 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33025 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33026
33027 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33028
33029 [BZ #21790]
33030 * sysdeps/i386/i586/memset.S
33031 (__memset_zero_constant_len_parameter): Removed.
33032 * sysdeps/i386/i686/memset.S
33033 (__memset_zero_constant_len_parameter): Likewise.
33034 * sysdeps/i386/i686/multiarch/memset_chk.S
33035 (__memset_zero_constant_len_parameter): Likewise.
33036 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33037 Likewise.
33038
33039 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33040
33041 * stdlib/getentropy.c (getentropy): Change return type to int.
33042
33043 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33044
33045 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33046
33047 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33048
33049 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33050 u_intN_t.
33051 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33052 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33053 Likewise.
33054 (ieee_float_shape_type): Likewise.
33055 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33056 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33057 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33058 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33059 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33060 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33061 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33062 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33063 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33064 Likewise.
33065 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33066 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33067 (__ieee754_yn): Likewise.
33068 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33069 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33071 Likewise.
33072 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33073 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33074 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33075 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33076 (__erfc): Likewise.
33077 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33078 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33079 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33080 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33081 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33082 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33083 Likewise.
33084 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33085 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33086 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33087 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33088 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33089 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33090 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33091 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33092 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33093 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33094 (__issignaling): Likewise.
33095 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33096 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33097 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33098 Likewise.
33099 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33100 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33101 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33102 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33103 Likewise.
33104 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33105 Likewise.
33106 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33107 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33108 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33109 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33110 (__erfcf): Likewise.
33111 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33112 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33113 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33114 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33115 Likewise.
33116 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33117 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33118 Likewise.
33119 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33120 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33121 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33122 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33123 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33124 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33125 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33126 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33127 Likewise.
33128 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33129 Likewise.
33130 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33131 Likewise.
33132 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33133 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33134 Likewise.
33135 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33136 Likewise.
33137 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33138 (__ieee754_ynl): Likewise.
33139 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33140 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33141 Likewise.
33142 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33143 Likewise.
33144 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33145 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33146 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33147 Likewise.
33148 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33149 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33150 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33151 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33152 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33153 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33154 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33155 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33156 Likewise.
33157 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33159 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33160 Likewise.
33161 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33162 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33163 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33164 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33165 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33167 Likewise.
33168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33169 Likewise.
33170 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33171 Likewise.
33172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33173 Likewise.
33174 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33175 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33177 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33178 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33181 Likewise.
33182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33183 Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33186 Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33188 (__ieee754_remainderl): Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33193 Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33196 Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33198 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33199 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33200 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33201 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33203 Likewise.
33204 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33205 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33206 (__ieee754_y0l): Likewise.
33207 (pzero): Likewise.
33208 (qzero): Likewise.
33209 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33210 (__ieee754_y1l): Likewise.
33211 (pone): Likewise.
33212 (qone): Likewise.
33213 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33214 (__ieee754_ynl): Likewise.
33215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33216 (__ieee754_lgammal_r): Likewise.
33217 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33218 Likewise.
33219 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33220 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33221 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33222 (__erfcl): Likewise.
33223 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33224 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33225 Likewise.
33226 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33227 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33228 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33229 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33230 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33232 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33233 Likewise.
33234 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33235 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33236 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33238 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33239 Likewise.
33240 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33241 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33242 Likewise.
33243 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33244 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33245 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33246 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33247 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33248
33249 2017-08-03 Florian Weimer <fweimer@redhat.com>
33250
33251 [BZ #21885]
33252 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33253 on memory allocation failure.
33254
33255 2017-08-03 Alan Modra <amodra@gmail.com>
33256
33257 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33258 tst-tlsopt-powerpc.c with function name change and no test harness.
33259 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33260 Call tls_get_addr_opt_test.
33261 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33262 (modules-names): Add mod-tlsopt-powerpc.
33263 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33264 (tst-tlsopt-powerpc): Depend on .so.
33265 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33266 define. Expand use in TLS_GD and TLS_LD.
33267
33268 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33269
33270 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33271 function.
33272 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33273
33274 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33275
33276 [BZ #21686]
33277 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33278 comparing size with that of double.
33279 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33280 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33281 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33282 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33283 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33284 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33285 unsigned __int128 types.
33286
33287 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33288
33289 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33290 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33291 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33292 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33293 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33294
33295 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33296
33297 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33298
33299 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33300
33301 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33302 of SHARED.
33303 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33304 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33306 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33307 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33308 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33309 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33310
33311 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33312
33313 [BZ #21685]
33314 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33315 bit-field expressions passed to sizeof or typeof.
33316 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33317 (__TGMATH_F128): Likewise.
33318 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33319 (__TGMATH_CF128): Likewise.
33320 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33321 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33322 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33323 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33324 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33325 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33326 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33327 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33328 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33329 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33330 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33331 (__TGMATH_UNARY_IMAG): Likewise.
33332 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33333 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33334 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33335 type.
33336 (define_vars_for_type): Handle bit_field type specially.
33337 (Tests.__init__): Declare structure with bit-field element.
33338
33339 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33340
33341 [BZ #21791]
33342 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33343 (MEMCPY_CHK): Define only if SHARED is defined.
33344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33345 Likewise.
33346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33347 Likewise.
33348
33349 See ChangeLog.18 for earlier changes.