1 2017-11-24 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
4 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
7 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
9 (CFLAGS-libm-test-support-float64x.c): New variable.
10 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
11 $(f128-loader-link) to gnulib-tests.
13 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
14 (libm_alias_float128_other_r): If
15 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
17 (libm_alias_float128_r): Add semicolon after weak_alias call.
18 * sysdeps/generic/libm-alias-ldouble.h
19 (libm_alias_ldouble_other_r_f128): New macro.
20 (libm_alias_ldouble_other_r_f64x): Likewise.
21 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22 and libm_alias_ldouble_other_r_f64x.
23 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25 (libm_alias_ldouble_other_r_f128): New macro.
26 (libm_alias_ldouble_other_r_f64x): Likewise.
27 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
28 and libm_alias_ldouble_other_r_f64x.
30 * stdlib/strfroml.c: Always include <stdlib.h>.
31 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
32 undefine as macro and define as weak alias.
33 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
34 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
36 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
37 Define and later undefine as macro and define as weak alias.
39 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
40 Define and later undefine as macro. Define as weak alias if
42 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
43 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
44 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
45 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
46 Define and later undefine as macro. Define as weak alias if
48 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
49 Define and later undefine as macro. Define as weak alias if
51 * sysdeps/ieee754/float128/strtof128_l.c
52 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
53 Define and later undefine as macro. Define as weak alias if
55 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
56 Define and later undefine as macro. Define as weak alias if
58 * sysdeps/ieee754/ldbl-128/strtold_l.c
59 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
60 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
61 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
62 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
63 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
64 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
65 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
66 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
67 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
68 * sysdeps/ieee754/ldbl-96/strtold_l.c
69 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
70 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
71 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
72 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
74 * math/test-float64x.h: New file.
75 * math/Makefile (type-float64x-yes): New variable.
76 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
78 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
80 (min_of_type_): Likewise.
81 (min_of_type_l): Likewise.
82 (min_of_type_f128): Likewise.
83 (min_of_type): Pass () as last argument of __MATH_TG.
85 * stdlib/tst-strtod-round-skeleton.c
86 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
89 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
90 for combinations of long double with _Float64 and _Float64x.
92 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
93 (__DECL_SIMD_cosf32): Likewise.
94 (__DECL_SIMD_cosf64): Likewise.
95 (__DECL_SIMD_cosf32x): Likewise.
96 (__DECL_SIMD_cosf64x): Likewise.
97 (__DECL_SIMD_cosf128x): Likewise.
98 (__DECL_SIMD_sinf16): Likewise.
99 (__DECL_SIMD_sinf32): Likewise.
100 (__DECL_SIMD_sinf64): Likewise.
101 (__DECL_SIMD_sinf32x): Likewise.
102 (__DECL_SIMD_sinf64x): Likewise.
103 (__DECL_SIMD_sinf128x): Likewise.
104 (__DECL_SIMD_sincosf16): Likewise.
105 (__DECL_SIMD_sincosf32): Likewise.
106 (__DECL_SIMD_sincosf64): Likewise.
107 (__DECL_SIMD_sincosf32x): Likewise.
108 (__DECL_SIMD_sincosf64x): Likewise.
109 (__DECL_SIMD_sincosf128x): Likewise.
110 (__DECL_SIMD_logf16): Likewise.
111 (__DECL_SIMD_logf32): Likewise.
112 (__DECL_SIMD_logf64): Likewise.
113 (__DECL_SIMD_logf32x): Likewise.
114 (__DECL_SIMD_logf64x): Likewise.
115 (__DECL_SIMD_logf128x): Likewise.
116 (__DECL_SIMD_expf16): Likewise.
117 (__DECL_SIMD_expf32): Likewise.
118 (__DECL_SIMD_expf64): Likewise.
119 (__DECL_SIMD_expf32x): Likewise.
120 (__DECL_SIMD_expf64x): Likewise.
121 (__DECL_SIMD_expf128x): Likewise.
122 (__DECL_SIMD_powf16): Likewise.
123 (__DECL_SIMD_powf32): Likewise.
124 (__DECL_SIMD_powf64): Likewise.
125 (__DECL_SIMD_powf32x): Likewise.
126 (__DECL_SIMD_powf64x): Likewise.
127 (__DECL_SIMD_powf128x): Likewise.
129 * stdlib/Versions (libc): Move entries for wcstof128 and
131 * wcsmbs/Versions (libc): ... here.
132 Include <float128-abi.h>.
134 2017-11-24 Florian Weimer <fweimer@redhat.com>
136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
138 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
139 <bits/mman-shared.h>.
140 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
142 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
143 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
144 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
145 <bits/mman-shared.h>.
147 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
150 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
152 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
154 2017-11-22 Mike FABIAN <mfabian@redhat.com>
157 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
158 and implement the collation rules for pl from CLDR on top of that.
159 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
160 of locales to be built for testing.
161 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
163 2017-11-23 Joseph Myers <joseph@codesourcery.com>
165 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
166 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
167 libm_alias_ldouble_other.
168 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
169 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
170 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
171 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
172 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
173 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
174 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
175 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
176 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
177 libm_alias_ldouble_r.
178 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
179 libm_alias_ldouble_other.
180 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
182 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
183 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
184 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
185 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
186 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
187 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
188 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
190 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
191 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
192 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
194 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
196 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
197 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
198 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
200 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
201 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
202 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
203 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
204 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
205 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
206 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
207 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
208 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
209 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
210 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
212 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
213 libm_alias_ldouble_other.
214 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
215 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
216 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
218 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
219 libm_alias_ldouble_other.
220 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
221 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
222 * sysdeps/ia64/fpu/w_lgammal_main.c
223 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
224 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
226 2017-11-23 Florian Weimer <fweimer@redhat.com>
228 * malloc/malloc.c (tcache_thread_shutdown): Rename from
229 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
230 alike. Remove freeres marker.
231 * malloc/arena.c (arena_thread_freeres): Call
232 tcache_thread_shutdown.
234 2017-11-23 Florian Weimer <fweimer@redhat.com>
237 Export nscd hash function as __nss_hash.
238 * include/nss.h (__nss_hash): Declare.
239 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
241 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
242 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
244 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
245 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
246 * nss/Makefiles (routines): Add nss_hash.
247 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
248 * nss/nss_hash.c: Rename from nis/nis_hash.c.
249 (__nss_hash): Rename from __nis_hash. Define hidden alias.
250 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
252 2017-11-23 Florian Weimer <fweimer@redhat.com>
255 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
256 Return error code, not -1.
257 * signal/tst-sigwait-eintr.c: New file.
258 * signal/Makefile (tests): Add tst-sigwait-eintr.
260 2017-11-23 Florian Weimer <fweimer@redhat.com>
262 Linux: Add memfd_create system call wrapper
263 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
265 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
266 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
267 [__USE_GNU] (memfd_create): Declare.
268 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
269 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
270 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
271 * sysdeps/unix/sysv/linux/**.abilist: Update.
272 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
274 2017-11-22 Joseph Myers <joseph@codesourcery.com>
276 * localedata/gen-locale.sh: Fix typo in variable name.
278 * resolv/res_debug.c (p_secstodate): Condition definition on
279 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
280 directly as __p_secstodate, and as a compat symbol. Do not use
281 libresolv_hidden_def.
282 * resolv/resolv.h (p_secstodate): Remove macro and function
284 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
286 * include/resolv.h (__p_secstodate): Do not use
287 libresolv_hidden_proto.
288 * resolv/Makefile (tests): Move tst-p_secstodate to ....
289 (tests-internal): ... here.
290 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
291 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
292 and declare and use __p_secstodate and use compat_symbol_reference
294 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
295 implementation returning 77.
298 * resolv/res_debug.c: Include <libc-diag.h>.
299 (p_secstodate): Assert time_t at least as wide as u_long. On
300 overflow, use integer seconds since the epoch as output, or use
301 "<overflow>" as output and set errno to EOVERFLOW if integer
302 seconds since the epoch would be 14 or more characters.
303 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
305 * resolv/tst-p_secstodate.c: New file.
306 * resolv/Makefile (tests): Add tst-p_secstodate.
307 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
309 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
310 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
311 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
313 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
315 * posix/regcomp.c (init_word_char): Add comments.
317 2017-11-22 Joseph Myers <joseph@codesourcery.com>
320 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
321 strlen to compute length of ut_user and set trailing NUL byte of
324 2017-11-21 Mike FABIAN <mfabian@redhat.com>
327 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
328 using “copy "iso14651_t1"” and then implementing the
329 collation rules for lv from CLDR on top of that.
330 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
331 of locales to be built for testing.
332 * lv_LV.UTF-8.in: New file with test data to test the Latvian
335 2017-11-21 Joseph Myers <joseph@codesourcery.com>
337 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
338 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
339 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
340 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
341 [__USE_MISC] (MADV_HWPOISON): New macro.
342 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
344 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
346 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
347 -Wmissing-braces on GCC 4.9.
349 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
351 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
352 * sysdeps/s390/s390-32/start.S (_start): Likewise
353 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
354 (thread_start): Likewise.
355 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
356 (thread_start): Likewise.
357 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
358 (__makecontext_ret): Likewise.
359 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
360 (__makecontext_ret): Likewise.
362 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
364 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
365 __wcschrnul): Remove attribute_hidden.
367 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
369 regex: don't assume uint64_t or uint32_t
370 This avoids -Werror=overflow errors for 32-bit systems in
371 the 64-bit case. Problem reported by Joseph Myers in:
372 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
373 Also, when this code is used in Gnulib it ports to platforms
374 that lack uint64_t and uint32_t. The C standard doesn't guarantee
375 them, and on some 32-bit compilers there is no uint64_t.
376 Problem reported by Gianluigi Tiesi in:
377 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
378 * posix/regcomp.c (init_word_char): Don't assume that the types
379 uint64_t and uint32_t exist. Adapted from Gnulib patch
380 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
381 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
383 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
385 * sysdeps/aarch64/memset-reg.h: New file.
386 * sysdeps/aarch64/memset.S: Use it.
387 (__memset): Rename to MEMSET macro.
388 [ZVA_MACRO]: Use zva_macro.
389 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
390 Add memset_generic and memset_falkor.
391 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
392 (__libc_ifunc_impl_list): Add memset ifuncs.
393 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
394 local variable zva_size.
395 * sysdeps/aarch64/multiarch/memset.c: New file.
396 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
397 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
398 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
399 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
400 (DCZID_DZP_MASK): New macro.
401 (DCZID_BS_MASK): Likewise.
402 (init_cpu_features): Read and set zva_size.
403 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
404 (struct cpu_features): New member zva_size.
406 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
407 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
408 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
410 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
411 backwards. Fix timing computation.
412 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
413 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
414 on memset by N at a time. Fix timing computation.
416 2017-11-20 Florian Weimer <fweimer@redhat.com>
418 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
419 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
421 2017-11-19 Florian Weimer <fweimer@redhat.com>
423 manual: Document mprotect
424 * manual/memory.texi (Memory Protection): New section.
425 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
426 documentation of PROT_* flags and reference the Memory Protection
429 2017-11-19 Florian Weimer <fweimer@redhat.com>
431 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
432 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
433 (Scatter-Gather): ... to here. Remove misleading comment.
435 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
437 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
440 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
441 when /proc/<pid>/setgroups does not exist.
443 2017-11-18 Florian Weimer <fweimer@redhat.com>
445 * sysdeps/unix/sysv/linux/tst-ttyname.c
446 (become_root_in_mount_ns): Remove.
447 (do_in_chroot_1): Call support_enter_mount_namespace.
448 (do_in_chroot_2): Likewise.
449 (do_test): Call support_become_root early.
451 2017-11-18 Florian Weimer <fweimer@redhat.com>
453 * support/namespace.h (support_enter_mount_namespace): Declare.
454 * support/support_enter_mount_namespace.c: New file.
455 * support/Makefile (libsupport-routines): Add
456 support_enter_mount_namespace.
458 2017-11-18 Florian Weimer <fweimer@redhat.com>
460 * support/temp_file.c (support_create_temp_directory): Use
461 test_dir and do not rely on the presence of the XXXXXX suffix.
462 * support/temp_file.h (support_create_temp_directory): Update
464 * support/tst-xreadlink.c (do_test): Adjust.
465 * support/support_chroot.c (support_chroot_create): Likewise.
467 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
469 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
471 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
474 2017-11-17 Joseph Myers <joseph@codesourcery.com>
476 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
477 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
478 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
479 (ceill): Define using libm_alias_ldouble.
480 * sysdeps/x86_64/fpu/s_copysignl.S: Include
481 <libm-alias-ldouble.h>.
482 (copysignl): Define using libm_alias_ldouble.
483 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
484 (fabsl): Define using libm_alias_ldouble.
485 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
486 (floorl): Define using libm_alias_ldouble.
487 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
488 (fmaxl): Define using libm_alias_ldouble.
489 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
490 (fminl): Define using libm_alias_ldouble.
491 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
492 (llrintl): Define using libm_alias_ldouble.
494 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
495 <libm-alias-ldouble.h>.
496 (nearbyintl): Define using libm_alias_ldouble.
497 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
498 (truncl): Define using libm_alias_ldouble.
499 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
500 <libm-alias-ldouble.h>.
501 (lrintl): Define using libm_alias_ldouble.
503 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
504 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
505 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
506 (asinhl): Define using libm_alias_ldouble.
507 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
508 (atanl): Define using libm_alias_ldouble.
509 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
510 (cbrtl): Define using libm_alias_ldouble.
511 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
512 (ceill): Define using libm_alias_ldouble.
513 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
514 (copysignl): Define using libm_alias_ldouble.
515 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
516 (fabsl): Define using libm_alias_ldouble.
517 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
518 (floorl): Define using libm_alias_ldouble.
519 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
520 (fmaxl): Define using libm_alias_ldouble.
521 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
522 (fminl): Define using libm_alias_ldouble.
523 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
524 (frexpl): Define using libm_alias_ldouble.
525 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
526 (llrintl): Define using libm_alias_ldouble.
527 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
528 (logbl): Define using libm_alias_ldouble.
529 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
530 (lrintl): Define using libm_alias_ldouble.
531 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
532 (nearbyintl): Define using libm_alias_ldouble.
533 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
534 (nextafterl): Define using libm_alias_ldouble.
535 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
536 (remquol): Define using libm_alias_ldouble.
537 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
538 (rintl): Define using libm_alias_ldouble.
539 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
540 (truncl): Define using libm_alias_ldouble.
541 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
542 (fmaxl): Define using libm_alias_ldouble.
543 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
544 (fminl): Define using libm_alias_ldouble.
546 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
547 to C syntax instead of availability and properties of types.
548 * bits/floatn.h [!__ASSEMBLER]: Likewise.
549 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
550 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
551 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
552 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
553 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
555 2017-11-17 Florian Weimer <fweimer@redhat.com>
557 support_become_root: Enable file creation in namespaces.
558 * support/support_become_root.c (setup_mapping): New function.
559 (support_become_root): Call it.
561 2017-11-17 Joseph Myers <joseph@codesourcery.com>
563 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
566 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
568 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
569 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
571 2017-11-16 Joseph Myers <joseph@codesourcery.com>
573 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
575 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
578 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
580 * INSTALL: Fix botched up regeneration.
582 * NEWS: Update sourceare link to https.
583 * configure.ac: Likewise.
584 * crypt/md5test-giant.c: Likewise.
585 * dlfcn/bug-atexit1.c: Likewise.
586 * dlfcn/bug-atexit2.c: Likewise.
587 * localedata/README: Likewise.
588 * malloc/tst-mallocfork.c: Likewise.
589 * manual/install.texi: Likewise.
590 * nptl/tst-pthread-getattr.c: Likewise.
591 * stdio-common/tst-fgets.c: Likewise.
592 * stdio-common/tst-fwrite.c: Likewise.
593 * sunrpc/Makefile: Likewise.
594 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
595 * wcsmbs/tst-mbrtowc2.c: Likewise.
596 * configure: Regenerate.
597 * INSTALL: Regenerate.
599 2017-11-15 Martin Sebor <msebor@redhat.com>
601 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
602 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
603 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
605 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
608 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
609 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
612 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
613 Defer is_pty check until end of the function.
614 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
617 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
618 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
620 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
621 (__ttyname_r): Likewise.
623 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
626 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
628 * manual/terminal.texi (Is It a Terminal):
629 Mention ENODEV for ttyname and ttyname_r.
631 2017-11-15 Joseph Myers <joseph@codesourcery.com>
633 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
636 * sysdeps/unix/sysv/linux/bits/mman-linux.h
637 [__USE_MISC] (MADV_WIPEONFORK): New macro.
638 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
639 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
640 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
641 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
643 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
645 * signal/sigrelse.c (sigrelse): Optimize implementation.
647 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
648 (__sigpause): Rely on __sigsuspend to implement single thread
649 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
651 2017-11-15 Joseph Myers <joseph@codesourcery.com>
653 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
654 kernel version to 4.14.
656 2017-11-15 Steve Ellcey <sellcey@cavium.com>
659 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
660 Check if ifname is too long.
662 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
664 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
666 2017-11-15 Mike FABIAN <mfabian@redhat.com>
668 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
669 was accidentally lost.
671 2017-11-15 Mike FABIAN <mfabian@redhat.com>
673 * localedata/locales/az_IR: Add standard copyright header.
675 2017-11-15 Florian Weimer <fweimer@redhat.com>
678 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
679 not just the top one. Output a new "subheaps" statistic.
681 2017-11-15 Florian Weimer <fweimer@redhat.com>
684 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
685 under the per-arena lock.
686 * malloc/Makefile (tests): Add tst-malloc_info.
687 (tst-malloc_info): Link with libpthread.
688 * malloc/tst-malloc_info.c: New file.
690 2017-11-15 Joseph Myers <joseph@codesourcery.com>
693 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
694 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
695 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
696 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
697 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
698 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
699 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
700 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
701 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
702 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
703 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
704 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
705 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
706 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
707 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
708 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
709 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
710 (__floating_type): Likewise.
711 (__real_integer_type): Likewise.
712 (__complex_integer_type): Likewise.
713 (__expr_is_real): Likewise.
714 (__tgmath_real_type_sub): Likewise.
715 (__tgmath_real_type): Likewise.
716 (__tgmath_complex_type_sub): Likewise.
717 (__tgmath_complex_type): Likewise.
718 (__TGMATH_F128): Likewise.
719 (__TGMATH_CF128): Likewise.
720 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
722 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
723 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
725 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
727 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
728 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
729 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
730 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
732 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
733 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
735 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
736 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
737 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
739 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
740 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
741 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
745 2017-11-14 Joseph Myers <joseph@codesourcery.com>
747 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
748 for stpncpy calls for GCC 8.
749 (test_strncat): Disable -Wstringop-truncation warning for strncat
750 calls for GCC 8. Disable -Wstringop-overflow= warning for one
751 strncat call for GCC 7.
752 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
754 (test_memcmp): Use memcpy instead of strncpy for calls not copying
757 * string/bug-strncat1.c: Include <libc-diag.h>.
758 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
760 2017-11-13 Claude Paroz <claude@2xlibre.net>
763 * localedata/locales/aa_DJ: Improved readibility by replacing
764 <Uxxxx> sequences in the ASCII printable range by their ASCII
765 character equivalents.
766 * localedata/locales/aa_ER: Likewise.
767 * localedata/locales/aa_ER@saaho: Likewise.
768 * localedata/locales/aa_ET: Likewise.
769 * localedata/locales/af_ZA: Likewise.
770 * localedata/locales/agr_PE: Likewise.
771 * localedata/locales/ak_GH: Likewise.
772 * localedata/locales/am_ET: Likewise.
773 * localedata/locales/anp_IN: Likewise.
774 * localedata/locales/ar_AE: Likewise.
775 * localedata/locales/ar_BH: Likewise.
776 * localedata/locales/ar_DZ: Likewise.
777 * localedata/locales/ar_EG: Likewise.
778 * localedata/locales/ar_IN: Likewise.
779 * localedata/locales/ar_IQ: Likewise.
780 * localedata/locales/ar_JO: Likewise.
781 * localedata/locales/ar_KW: Likewise.
782 * localedata/locales/ar_LB: Likewise.
783 * localedata/locales/ar_LY: Likewise.
784 * localedata/locales/ar_MA: Likewise.
785 * localedata/locales/ar_OM: Likewise.
786 * localedata/locales/ar_QA: Likewise.
787 * localedata/locales/ar_SA: Likewise.
788 * localedata/locales/ar_SD: Likewise.
789 * localedata/locales/ar_SS: Likewise.
790 * localedata/locales/ar_SY: Likewise.
791 * localedata/locales/ar_TN: Likewise.
792 * localedata/locales/ar_YE: Likewise.
793 * localedata/locales/as_IN: Likewise.
794 * localedata/locales/ast_ES: Likewise.
795 * localedata/locales/ayc_PE: Likewise.
796 * localedata/locales/az_AZ: Likewise.
797 * localedata/locales/az_IR: Likewise.
798 * localedata/locales/be_BY: Likewise.
799 * localedata/locales/be_BY@latin: Likewise.
800 * localedata/locales/bem_ZM: Likewise.
801 * localedata/locales/ber_DZ: Likewise.
802 * localedata/locales/ber_MA: Likewise.
803 * localedata/locales/bg_BG: Likewise.
804 * localedata/locales/bhb_IN: Likewise.
805 * localedata/locales/bho_IN: Likewise.
806 * localedata/locales/bi_VU: Likewise.
807 * localedata/locales/bn_BD: Likewise.
808 * localedata/locales/bn_IN: Likewise.
809 * localedata/locales/bo_CN: Likewise.
810 * localedata/locales/bo_IN: Likewise.
811 * localedata/locales/br_FR: Likewise.
812 * localedata/locales/brx_IN: Likewise.
813 * localedata/locales/bs_BA: Likewise.
814 * localedata/locales/byn_ER: Likewise.
815 * localedata/locales/ca_AD: Likewise.
816 * localedata/locales/ca_ES: Likewise.
817 * localedata/locales/ca_FR: Likewise.
818 * localedata/locales/ca_IT: Likewise.
819 * localedata/locales/ce_RU: Likewise.
820 * localedata/locales/chr_US: Likewise.
821 * localedata/locales/cmn_TW: Likewise.
822 * localedata/locales/crh_UA: Likewise.
823 * localedata/locales/cs_CZ: Likewise.
824 * localedata/locales/csb_PL: Likewise.
825 * localedata/locales/cv_RU: Likewise.
826 * localedata/locales/cy_GB: Likewise.
827 * localedata/locales/da_DK: Likewise.
828 * localedata/locales/de_AT: Likewise.
829 * localedata/locales/de_BE: Likewise.
830 * localedata/locales/de_CH: Likewise.
831 * localedata/locales/de_DE: Likewise.
832 * localedata/locales/de_IT: Likewise.
833 * localedata/locales/de_LI: Likewise.
834 * localedata/locales/de_LU: Likewise.
835 * localedata/locales/doi_IN: Likewise.
836 * localedata/locales/dv_MV: Likewise.
837 * localedata/locales/dz_BT: Likewise.
838 * localedata/locales/el_CY: Likewise.
839 * localedata/locales/el_GR: Likewise.
840 * localedata/locales/en_AG: Likewise.
841 * localedata/locales/en_AU: Likewise.
842 * localedata/locales/en_BW: Likewise.
843 * localedata/locales/en_CA: Likewise.
844 * localedata/locales/en_DK: Likewise.
845 * localedata/locales/en_GB: Likewise.
846 * localedata/locales/en_HK: Likewise.
847 * localedata/locales/en_IE: Likewise.
848 * localedata/locales/en_IL: Likewise.
849 * localedata/locales/en_IN: Likewise.
850 * localedata/locales/en_NG: Likewise.
851 * localedata/locales/en_NZ: Likewise.
852 * localedata/locales/en_PH: Likewise.
853 * localedata/locales/en_SG: Likewise.
854 * localedata/locales/en_US: Likewise.
855 * localedata/locales/en_ZA: Likewise.
856 * localedata/locales/en_ZM: Likewise.
857 * localedata/locales/en_ZW: Likewise.
858 * localedata/locales/eo: Likewise.
859 * localedata/locales/es_AR: Likewise.
860 * localedata/locales/es_BO: Likewise.
861 * localedata/locales/es_CL: Likewise.
862 * localedata/locales/es_CO: Likewise.
863 * localedata/locales/es_CR: Likewise.
864 * localedata/locales/es_CU: Likewise.
865 * localedata/locales/es_DO: Likewise.
866 * localedata/locales/es_EC: Likewise.
867 * localedata/locales/es_ES: Likewise.
868 * localedata/locales/es_GT: Likewise.
869 * localedata/locales/es_HN: Likewise.
870 * localedata/locales/es_MX: Likewise.
871 * localedata/locales/es_NI: Likewise.
872 * localedata/locales/es_PA: Likewise.
873 * localedata/locales/es_PE: Likewise.
874 * localedata/locales/es_PR: Likewise.
875 * localedata/locales/es_PY: Likewise.
876 * localedata/locales/es_SV: Likewise.
877 * localedata/locales/es_US: Likewise.
878 * localedata/locales/es_UY: Likewise.
879 * localedata/locales/es_VE: Likewise.
880 * localedata/locales/et_EE: Likewise.
881 * localedata/locales/eu_ES: Likewise.
882 * localedata/locales/eu_ES@euro: Likewise.
883 * localedata/locales/fa_IR: Likewise.
884 * localedata/locales/ff_SN: Likewise.
885 * localedata/locales/fi_FI: Likewise.
886 * localedata/locales/fil_PH: Likewise.
887 * localedata/locales/fo_FO: Likewise.
888 * localedata/locales/fr_BE: Likewise.
889 * localedata/locales/fr_CA: Likewise.
890 * localedata/locales/fr_CH: Likewise.
891 * localedata/locales/fr_FR: Likewise.
892 * localedata/locales/fr_LU: Likewise.
893 * localedata/locales/fur_IT: Likewise.
894 * localedata/locales/fy_DE: Likewise.
895 * localedata/locales/fy_NL: Likewise.
896 * localedata/locales/ga_IE: Likewise.
897 * localedata/locales/gd_GB: Likewise.
898 * localedata/locales/gez_ER: Likewise.
899 * localedata/locales/gez_ET: Likewise.
900 * localedata/locales/gl_ES: Likewise.
901 * localedata/locales/gu_IN: Likewise.
902 * localedata/locales/gv_GB: Likewise.
903 * localedata/locales/ha_NG: Likewise.
904 * localedata/locales/hak_TW: Likewise.
905 * localedata/locales/he_IL: Likewise.
906 * localedata/locales/hi_IN: Likewise.
907 * localedata/locales/hif_FJ: Likewise.
908 * localedata/locales/hne_IN: Likewise.
909 * localedata/locales/hr_HR: Likewise.
910 * localedata/locales/hsb_DE: Likewise.
911 * localedata/locales/ht_HT: Likewise.
912 * localedata/locales/hu_HU: Likewise.
913 * localedata/locales/hy_AM: Likewise.
914 * localedata/locales/i18n: Likewise.
915 * localedata/locales/ia_FR: Likewise.
916 * localedata/locales/id_ID: Likewise.
917 * localedata/locales/ig_NG: Likewise.
918 * localedata/locales/ik_CA: Likewise.
919 * localedata/locales/is_IS: Likewise.
920 * localedata/locales/it_CH: Likewise.
921 * localedata/locales/it_IT: Likewise.
922 * localedata/locales/iu_CA: Likewise.
923 * localedata/locales/ja_JP: Likewise.
924 * localedata/locales/ka_GE: Likewise.
925 * localedata/locales/kk_KZ: Likewise.
926 * localedata/locales/kl_GL: Likewise.
927 * localedata/locales/kn_IN: Likewise.
928 * localedata/locales/ko_KR: Likewise.
929 * localedata/locales/kok_IN: Likewise.
930 * localedata/locales/ks_IN: Likewise.
931 * localedata/locales/ks_IN@devanagari: Likewise.
932 * localedata/locales/ku_TR: Likewise.
933 * localedata/locales/kw_GB: Likewise.
934 * localedata/locales/ky_KG: Likewise.
935 * localedata/locales/lb_LU: Likewise.
936 * localedata/locales/lg_UG: Likewise.
937 * localedata/locales/li_BE: Likewise.
938 * localedata/locales/li_NL: Likewise.
939 * localedata/locales/lij_IT: Likewise.
940 * localedata/locales/ln_CD: Likewise.
941 * localedata/locales/lo_LA: Likewise.
942 * localedata/locales/lt_LT: Likewise.
943 * localedata/locales/lv_LV: Likewise.
944 * localedata/locales/lzh_TW: Likewise.
945 * localedata/locales/mag_IN: Likewise.
946 * localedata/locales/mai_IN: Likewise.
947 * localedata/locales/mg_MG: Likewise.
948 * localedata/locales/mhr_RU: Likewise.
949 * localedata/locales/mi_NZ: Likewise.
950 * localedata/locales/mk_MK: Likewise.
951 * localedata/locales/ml_IN: Likewise.
952 * localedata/locales/mn_MN: Likewise.
953 * localedata/locales/mni_IN: Likewise.
954 * localedata/locales/mr_IN: Likewise.
955 * localedata/locales/ms_MY: Likewise.
956 * localedata/locales/mt_MT: Likewise.
957 * localedata/locales/my_MM: Likewise.
958 * localedata/locales/nan_TW: Likewise.
959 * localedata/locales/nan_TW@latin: Likewise.
960 * localedata/locales/nb_NO: Likewise.
961 * localedata/locales/nds_DE: Likewise.
962 * localedata/locales/nds_NL: Likewise.
963 * localedata/locales/ne_NP: Likewise.
964 * localedata/locales/nhn_MX: Likewise.
965 * localedata/locales/niu_NU: Likewise.
966 * localedata/locales/niu_NZ: Likewise.
967 * localedata/locales/nl_AW: Likewise.
968 * localedata/locales/nl_BE: Likewise.
969 * localedata/locales/nl_NL: Likewise.
970 * localedata/locales/nn_NO: Likewise.
971 * localedata/locales/nr_ZA: Likewise.
972 * localedata/locales/nso_ZA: Likewise.
973 * localedata/locales/oc_FR: Likewise.
974 * localedata/locales/om_ET: Likewise.
975 * localedata/locales/om_KE: Likewise.
976 * localedata/locales/or_IN: Likewise.
977 * localedata/locales/os_RU: Likewise.
978 * localedata/locales/pa_IN: Likewise.
979 * localedata/locales/pa_PK: Likewise.
980 * localedata/locales/pap_AW: Likewise.
981 * localedata/locales/pap_CW: Likewise.
982 * localedata/locales/pl_PL: Likewise.
983 * localedata/locales/ps_AF: Likewise.
984 * localedata/locales/pt_BR: Likewise.
985 * localedata/locales/pt_PT: Likewise.
986 * localedata/locales/quz_PE: Likewise.
987 * localedata/locales/raj_IN: Likewise.
988 * localedata/locales/ro_RO: Likewise.
989 * localedata/locales/ru_RU: Likewise.
990 * localedata/locales/ru_UA: Likewise.
991 * localedata/locales/rw_RW: Likewise.
992 * localedata/locales/sa_IN: Likewise.
993 * localedata/locales/sat_IN: Likewise.
994 * localedata/locales/sc_IT: Likewise.
995 * localedata/locales/sd_IN: Likewise.
996 * localedata/locales/sd_IN@devanagari: Likewise.
997 * localedata/locales/se_NO: Likewise.
998 * localedata/locales/sgs_LT: Likewise.
999 * localedata/locales/shs_CA: Likewise.
1000 * localedata/locales/si_LK: Likewise.
1001 * localedata/locales/sid_ET: Likewise.
1002 * localedata/locales/sk_SK: Likewise.
1003 * localedata/locales/sl_SI: Likewise.
1004 * localedata/locales/sm_WS: Likewise.
1005 * localedata/locales/so_DJ: Likewise.
1006 * localedata/locales/so_ET: Likewise.
1007 * localedata/locales/so_KE: Likewise.
1008 * localedata/locales/so_SO: Likewise.
1009 * localedata/locales/sq_AL: Likewise.
1010 * localedata/locales/sq_MK: Likewise.
1011 * localedata/locales/sr_ME: Likewise.
1012 * localedata/locales/sr_RS: Likewise.
1013 * localedata/locales/sr_RS@latin: Likewise.
1014 * localedata/locales/ss_ZA: Likewise.
1015 * localedata/locales/st_ZA: Likewise.
1016 * localedata/locales/sv_FI: Likewise.
1017 * localedata/locales/sv_SE: Likewise.
1018 * localedata/locales/sw_KE: Likewise.
1019 * localedata/locales/sw_TZ: Likewise.
1020 * localedata/locales/szl_PL: Likewise.
1021 * localedata/locales/ta_IN: Likewise.
1022 * localedata/locales/ta_LK: Likewise.
1023 * localedata/locales/tcy_IN: Likewise.
1024 * localedata/locales/te_IN: Likewise.
1025 * localedata/locales/tg_TJ: Likewise.
1026 * localedata/locales/th_TH: Likewise.
1027 * localedata/locales/the_NP: Likewise.
1028 * localedata/locales/ti_ER: Likewise.
1029 * localedata/locales/ti_ET: Likewise.
1030 * localedata/locales/tig_ER: Likewise.
1031 * localedata/locales/tk_TM: Likewise.
1032 * localedata/locales/tl_PH: Likewise.
1033 * localedata/locales/tn_ZA: Likewise.
1034 * localedata/locales/to_TO: Likewise.
1035 * localedata/locales/tpi_PG: Likewise.
1036 * localedata/locales/tr_CY: Likewise.
1037 * localedata/locales/tr_TR: Likewise.
1038 * localedata/locales/ts_ZA: Likewise.
1039 * localedata/locales/tt_RU: Likewise.
1040 * localedata/locales/tt_RU@iqtelif: Likewise.
1041 * localedata/locales/ug_CN: Likewise.
1042 * localedata/locales/uk_UA: Likewise.
1043 * localedata/locales/unm_US: Likewise.
1044 * localedata/locales/ur_IN: Likewise.
1045 * localedata/locales/ur_PK: Likewise.
1046 * localedata/locales/uz_UZ: Likewise.
1047 * localedata/locales/uz_UZ@cyrillic: Likewise.
1048 * localedata/locales/ve_ZA: Likewise.
1049 * localedata/locales/vi_VN: Likewise.
1050 * localedata/locales/wa_BE: Likewise.
1051 * localedata/locales/wae_CH: Likewise.
1052 * localedata/locales/wal_ET: Likewise.
1053 * localedata/locales/wo_SN: Likewise.
1054 * localedata/locales/xh_ZA: Likewise.
1055 * localedata/locales/yi_US: Likewise.
1056 * localedata/locales/yo_NG: Likewise.
1057 * localedata/locales/yue_HK: Likewise.
1058 * localedata/locales/yuw_PG: Likewise.
1059 * localedata/locales/zh_CN: Likewise.
1060 * localedata/locales/zh_HK: Likewise.
1061 * localedata/locales/zh_SG: Likewise.
1062 * localedata/locales/zh_TW: Likewise.
1063 * localedata/locales/zu_ZA: Likewise.
1065 2017-11-13 Florian Weimer <fweimer@redhat.com>
1067 * support/next_to_fault.h, support/next_to_fault.c: New files.
1068 * support/Makefile (libsupport-routines): Add next_to_fault.
1069 * resolv/tst-inet_pton.c (struct next_to_fault)
1070 (next_to_fault_allocate, next_to_fault_free): Remove.
1071 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
1073 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
1075 * elf/dl-support.c: Include <dl-procruntime.c>.
1076 * include/link.h: Include <link_map.h>.
1077 * sysdeps/generic/dl-procruntime.c: New file.
1078 * sysdeps/generic/link_map.h: Likewise.
1079 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
1080 the writable ld.so namespace.
1082 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
1084 timezone: pacify GCC -Wstringop-truncation
1085 Problem reported by Martin Sebor in:
1086 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
1087 * timezone/zic.c (writezone): Use memcpy, not strncpy.
1089 2017-11-12 Florian Weimer <fweimer@redhat.com>
1091 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
1093 (tests): Add tst-xreadlink.
1094 * support/support.h (xstrndup): Declare.
1095 * support/xunistd.h (xunlink, xreadlink): Declare.
1096 * support/temp_file.h (support_create_temp_directory): Declare.
1097 * support/temp_file.c (support_create_temp_directory): New function.
1098 * support/support_chroot.c (support_chroot_create): Use it.
1099 * support/xreadlink.c: New file.
1100 * support/xstrndup.c: Likewise.
1101 * support/xunlink.c: Likewise.
1102 * support/tst-xreadlink.c: Likewise.
1104 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
1106 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
1108 2017-11-11 Florian Weimer <fweimer@redhat.com>
1112 * resolv/res_comp.c (printable_string, binary_hnok)
1113 (binary_leading_dash): New functions.
1114 (res_hnok): Reimplement using these functions and ns_name_pton.
1115 (res_ownok): Likewise.
1116 (res_mailok): Reimplement using printable_string, ns_name_pton and
1118 (res_dnok): Reimplement using printable_string and ns_name_pton.
1119 * resolv/tst-res_hnok.c (tests): Add additional tests.
1120 (LETTERDIGITS, PRINTABLE): Define.
1121 (do_test): Adjust one_char results.
1123 2017-11-11 Florian Weimer <fweimer@redhat.com>
1126 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
1127 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
1129 2017-11-11 Florian Weimer <fweimer@redhat.com>
1131 * resolv/tst-ns_name_pton.c: New file.
1132 * resolv/Makefile (tests): Add tst-ns_name_pton.
1133 (tst-ns_name_pton): Link against libresolv.
1135 2017-11-11 Florian Weimer <fweimer@redhat.com>
1137 * resolv/tst-res_hnok.c: New file.
1138 * resolv/Makefile (tests): Add tst-res_hnok.
1139 (tst-res_hnok): Link against libresolv.
1141 2017-11-11 Florian Weimer <fweimer@redhat.com>
1143 * resolv/tst-resolv-network.c: Use test framework instead explicit
1146 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
1148 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
1150 [!_ISOMAC] (STR_HELPER): New.
1151 [!_ISOMAC] (STR): Likewise.
1152 [!_ISOMAC] (TEST_SIZE): Likewise.
1153 [!_ISOMAC] (TEST_ALIGN): Likewise.
1154 [!_ISOMAC] (TEST_OFFSET): Likewise.
1155 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
1156 field offsets of jmp_buf as well as sigjmp_buf.
1157 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
1158 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
1159 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
1160 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
1161 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
1162 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
1163 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
1164 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
1165 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
1166 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
1168 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
1170 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
1175 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
1176 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
1177 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
1178 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
1179 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
1180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
1182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
1184 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
1185 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
1186 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
1188 2017-11-07 Joseph Myers <joseph@codesourcery.com>
1191 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1192 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
1193 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1194 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
1195 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1196 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
1197 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1198 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
1199 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1200 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
1201 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1202 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
1203 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1204 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
1205 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1206 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
1207 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1208 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
1209 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1210 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
1211 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1212 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
1213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1214 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
1215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1216 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
1217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1218 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
1219 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1220 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
1221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1222 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
1223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1224 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
1225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1226 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
1227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1228 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
1229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1230 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
1231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1232 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
1233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1234 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
1235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1236 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
1237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1238 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
1239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1240 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
1241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1242 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
1243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1244 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
1245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1246 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
1247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1248 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
1249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1250 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
1251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1252 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
1253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1254 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
1255 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1256 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
1257 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1258 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
1259 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1260 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
1261 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1262 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
1263 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1264 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
1265 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1266 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
1267 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1268 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
1269 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1270 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
1271 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1272 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
1273 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1274 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
1275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1276 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
1277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1278 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
1280 * stdlib/tst-strtod.h (F16): New macro.
1286 (IF_FLOAT16): Likewise.
1287 (IF_FLOAT32): Likewise.
1288 (IF_FLOAT64): Likewise.
1289 (IF_FLOAT32X): Likewise.
1290 (IF_FLOAT64X): Likewise.
1291 (IF_FLOAT128X): Likewise.
1292 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
1293 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
1294 (STRTOD_TEST_FOREACH): Likewise.
1295 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
1296 (CHOOSE_f64): Likewise.
1297 (CHOOSE_f32x): Likewise.
1298 (CHOOSE_f64x): Likewise.
1300 2017-11-07 Andreas Schwab <schwab@suse.de>
1302 * nptl/Makefile (tests-internal): Remove tst-typesizes.
1304 2017-11-07 Mike FABIAN <mfabian@redhat.com>
1307 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
1309 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
1312 2017-11-07 Claude Paroz <claude@2xlibre.net>
1315 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
1317 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
1319 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
1322 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1325 * nptl/allocatestack.c (allocate_stack): Check if
1326 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
1327 __PTHREAD_MUTEX_HAVE_PREV is defined.
1328 * nptl/descr.h (pthread): Likewise.
1329 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1331 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1332 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1333 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
1334 * sysdeps/nptl/bits/thread-shared-types.h
1335 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
1337 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
1338 of __WORDSIZE for internal layout.
1339 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
1340 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
1341 instead of __WORDSIZE whether to use an union for __spins and __list
1343 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
1345 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
1346 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
1348 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
1349 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1351 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1352 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1354 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1355 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1357 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
1358 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1360 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
1361 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1363 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
1364 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1366 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
1367 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1369 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
1370 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1372 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
1373 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1375 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
1376 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1378 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
1379 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1381 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
1382 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1384 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
1385 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1387 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
1388 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1391 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
1393 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
1394 checks for expected input type size.
1395 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1396 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1398 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1399 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
1400 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1401 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
1402 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1403 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
1404 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
1405 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
1406 superflous runtime assert check.
1407 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
1409 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
1411 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1413 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
1415 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
1417 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
1419 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
1420 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
1421 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1423 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1425 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1427 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
1429 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1431 * nptl/pthread_attr_setinheritsched.c
1432 (__pthread_attr_setinheritsched): Likewise.
1433 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
1435 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
1437 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
1438 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
1439 __old_pthread_attr_setstack): Likewise.
1440 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1442 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1444 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
1446 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1447 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1449 * nptl/tst-typesizes.c: Remove file.
1451 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
1452 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
1453 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
1454 checks for internal pthread_mutex_t offsets.
1455 * sysdeps/aarch64/nptl/pthread-offsets.h
1456 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
1457 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
1458 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
1459 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
1460 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
1461 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
1462 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
1463 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
1464 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
1465 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
1466 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
1467 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
1468 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
1469 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
1470 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
1471 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
1472 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
1473 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
1475 2017-11-07 Florian Weimer <fweimer@redhat.com>
1477 * bits/mman-linux.h: Move ...
1478 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
1480 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
1483 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1485 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
1486 Redefine STRNLEN as __strnlen_power8.
1488 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1490 * signal/sighold.c (sighold): Optimize implementation.
1492 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
1493 __NR_rt_sigqueueinfo.
1495 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1497 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
1498 assume __NR_rt_sigtimedwait.
1499 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
1500 and add LIBC_CANCEL_HANDLED for cancellation marking.
1501 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1503 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
1504 (sysdeps_routines): Add memchr_noneon.
1505 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
1506 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
1507 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
1508 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
1509 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
1510 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
1511 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
1513 * sysdeps/arm/arm-ifunc.h: New file.
1514 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
1515 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
1516 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
1517 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
1518 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
1519 (__memcpy_neon): Avoid create hidden alias.
1520 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
1521 (__memcpy_vfp): Likewise.
1522 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
1523 (sysdep_routines): Add memcpy_arm.
1524 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
1526 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
1529 * Makerules (make-link-multidir): New.
1530 * config.make.in (multidir): New.
1531 * configure.ac (libc_cv_multidir): New. AC_SUBST.
1532 * configure: Regenerated.
1533 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
1534 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
1535 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
1538 2017-11-06 Joseph Myers <joseph@codesourcery.com>
1541 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
1542 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
1544 2017-11-04 Mike FABIAN <mfabian@redhat.com>
1546 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
1549 2017-11-04 Florian Weimer <fweimer@redhat.com>
1551 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
1553 2017-11-03 Joseph Myers <joseph@codesourcery.com>
1555 * math/math.h [__HAVE_DISTINCT_FLOAT16
1556 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
1557 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
1558 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
1559 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
1560 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
1561 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
1562 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1563 (__MATH_TG_F32): New macro.
1564 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1565 (__MATH_TG_F64X): Likewise.
1566 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1567 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
1569 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
1571 * po/de.po: Update translations.
1572 * po/ru.po: Likewise.
1574 2017-11-03 Florian Weimer <fweimer@redhat.com>
1576 * manual/filesys.texi (Hard Links): Document linkat.
1578 2017-11-03 Joseph Myers <joseph@codesourcery.com>
1580 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
1581 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
1582 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
1583 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
1584 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
1585 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
1586 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
1587 the same as _Float128.
1588 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
1589 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
1590 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
1593 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
1595 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
1597 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
1599 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1600 (strtof32x): Likewise.
1601 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1602 (strtof64x): Likewise.
1603 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1604 (strtof128x): Likewise.
1605 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1606 (strfromf16): Likewise.
1607 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1608 (strfromf32): Likewise.
1609 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1610 (strfromf64): Likewise.
1611 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1612 (strfromf32x): Likewise.
1613 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1614 (strfromf64x): Likewise.
1615 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1616 (strfromf128x): Likewise.
1617 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
1618 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
1619 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
1620 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
1621 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
1622 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
1624 2017-11-03 Richard Henderson <rth@twiddle.net>
1626 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
1628 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1630 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
1632 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1634 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
1635 DT_TLSDESC_GOT initialization.
1636 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
1637 (_dl_tlsdesc_resolve_hold): Likewise.
1638 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
1639 (_dl_tlsdesc_resolve_hold): Likewise.
1640 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
1641 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1643 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1645 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
1647 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1650 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
1651 non-lazily for R_ARM_TLS_DESC.
1653 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1656 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
1657 R_ARM_TLS_DESC case.
1658 (elf_machine_lazy_rel): Remove the prelink check.
1660 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1662 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
1663 DT_TLSDESC_GOT initialization.
1664 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
1665 (_dl_tlsdesc_resolve_rela): Likewise.
1666 (_dl_tlsdesc_resolve_hold): Likewise.
1667 (_dl_tlsdesc_undefweak): Remove ldar.
1668 (_dl_tlsdesc_dynamic): Likewise.
1669 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
1670 (_dl_tlsdesc_resolve_rela): Likewise.
1671 (_dl_tlsdesc_resolve_hold): Likewise.
1672 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
1673 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1674 (_dl_tlsdesc_resolve_rela): Likewise.
1675 (_dl_tlsdesc_resolve_hold): Likewise.
1677 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1679 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
1680 binding and initialization non-lazily for R_AARCH64_TLSDESC.
1682 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1684 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
1685 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1687 2017-11-02 Joseph Myers <joseph@codesourcery.com>
1689 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
1691 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
1692 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
1693 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
1694 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
1695 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
1696 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
1697 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
1698 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
1699 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
1700 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
1701 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
1703 2017-11-02 Mike FABIAN <mfabian@redhat.com>
1706 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
1707 * localedata/locales/tpi_PG: Add standard header.
1709 2017-11-02 Florian Weimer <fweimer@redhat.com>
1711 test-errno-linux: quotactl can fail with EPERM in containers.
1712 * sysdeps/unix/sysv/linux/test-errno-linux.c
1713 (LIST, LIST_FORWARD): New macros.
1714 (check_error_in_list): New function.
1715 (test_wrp_rv): Accept list of permitted error codes.
1716 (test_wrp_rv2): Remove.
1717 (test_wrp): Call test_wrp_rv with list of error codes.
1718 (test_wrp2): Accept list of error codes.
1719 (do_test): Adjust. Allow EPERM for quotactl.
1721 2017-11-02 Florian Weimer <fweimer@redhat.com>
1723 * stdio-common/bug16.c (do_test): Use array_length.
1724 * stdio-common/errlist.c (_sys_nerr): Likewise.
1725 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
1726 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
1727 * stdio-common/psiginfo.c (psiginfo): Use array_length.
1728 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
1729 (do_test): Use array_length.
1730 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
1731 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
1732 * stdio-common/tst-printf-round.c (do_test): Likewise.
1733 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
1734 (CHECK): Use array_length.
1735 * stdio-common/tstdiomisc.c (t3, F): Likewise.
1736 * stdio-common/tstscanf.c (main): Likewise.
1737 * stdio-common/vfprintf.c (process_string_arg): Likewise.
1739 2017-11-02 Florian Weimer <fweimer@redhat.com>
1741 Add array_length and array_end macros.
1742 * include/array_length.h: New file.
1744 2017-11-02 Florian Weimer <fweimer@redhat.com>
1747 * posix/tst-glob-tilde.c (do_noescape): New variable.
1748 (one_test): Process it.
1749 (do_test): Set do_noescape. Add unescaping test case.
1751 2017-11-01 Joseph Myers <joseph@codesourcery.com>
1754 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
1755 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
1756 with appropriate macros defined and undefined.
1757 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
1758 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1759 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
1760 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1761 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
1762 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1763 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
1764 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1765 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
1766 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1769 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
1770 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
1771 that for long double. Do not condition define and undefine of
1772 _Mdouble_complex_ on [__CFLOAT128].
1774 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
1776 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1777 of <sysdeps/generic/sysdep.h>.
1778 (ALIGNARG): Removed.
1779 (ASM_SIZE_DIRECTIVE): Likewise.
1782 (ENTRY_CHK): Likewise.
1783 (END_CHK): Likewise.
1784 (syscall_error): Likewise.
1786 (PSEUDO_END): Likewise.
1788 (atom_text_section): Likewise.
1789 * sysdeps/x86/sysdep.h: New file.
1790 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1791 of <sysdeps/generic/sysdep.h>.
1792 (ALIGNARG): Removed.
1793 (ASM_SIZE_DIRECTIVE): Likewise.
1796 (ENTRY_CHK): Likewise.
1797 (END_CHK): Likewise.
1798 (syscall_error): Likewise.
1800 (PSEUDO_END): Likewise.
1802 (atom_text_section): Likewise.
1804 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
1806 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
1807 category of LC_CTYPE set to "i18n:2012".
1808 * localedata/locales/i18n_ctype: Regenerate.
1810 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
1812 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
1813 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1814 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1815 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1817 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
1818 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
1819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1820 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
1822 2017-10-31 Joseph Myers <joseph@codesourcery.com>
1825 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
1827 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
1829 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
1831 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1832 (CMPLXF32X): Likewise.
1833 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1834 (CMPLXF64X): Likewise.
1835 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1836 (CMPLXF128X): Likewise.
1839 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
1840 (__MATH_EVAL_FMT2): Define to add 0.0f.
1842 2017-10-31 Alan Modra <amodra@gmail.com>
1844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
1846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
1851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
1853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
1854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
1855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
1857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
1859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1860 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
1861 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
1862 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
1863 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1864 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
1865 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
1866 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1867 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1868 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1869 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1871 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1872 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1873 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1874 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
1875 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
1876 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1877 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1878 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1879 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1880 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
1881 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1882 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1883 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
1884 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
1885 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1886 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
1887 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
1888 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1889 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1890 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1891 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1892 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1893 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
1894 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1895 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1896 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1897 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
1898 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
1899 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1900 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1901 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1902 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1903 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1904 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1905 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1906 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1907 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1908 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1909 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1910 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
1911 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1912 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
1913 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
1914 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
1916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
1917 include sysdep.h and math_ldbl_opt.h.
1919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
1920 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
1921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
1923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
1924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
1925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
1930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
1934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
1935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
1937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
1938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
1939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
1940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
1941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
1942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
1944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1946 2017-10-31 Alan Modra <amodra@gmail.com>
1948 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
1949 string/strncase_l.c, not string/strncase.c.
1950 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
1951 (libc_hidden_def): Redefine.
1953 2017-10-31 Alan Modra <amodra@gmail.com>
1955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
1956 (__STRCMP, STRCMP, __strcasecmp_l): Define.
1957 (__strcasecmp): Don't define.
1959 2017-10-31 Alan Modra <amodra@gmail.com>
1961 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
1963 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1964 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1965 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1967 2017-10-31 Alan Modra <amodra@gmail.com>
1969 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
1972 2017-10-31 Alan Modra <amodra@gmail.com>
1974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
1975 Redefine only when SHARED.
1977 2017-10-30 Joseph Myers <joseph@codesourcery.com>
1979 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1980 Include <bits/math-finite.h> with appropriate macros defined and
1982 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1983 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1984 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1985 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1986 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1988 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
1989 [!_Mlong_double_] (_Mlong_double_): Likewise.
1990 [!_Mfloat16_] (_Mfloat16_): Likewise.
1991 [!_Mfloat32_] (_Mfloat32_): Likewise.
1992 [!_Mfloat64_] (_Mfloat64_): Likewise.
1993 [!_Mfloat128_] (_Mfloat128_): Likewise.
1994 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
1995 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
1996 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
1997 (_Mdouble_): Define without indirection through those macros.
1998 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
1999 [!_Mfloat128_] (_Mfloat128_): Likewise.
2000 [_Mlong_double_] (_Mlong_double_): Likewise.
2001 (_Mdouble_): Define without indirection through those macros.
2002 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
2003 not add -D_Mlong_double_=double.
2004 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
2005 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
2007 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
2009 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
2011 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
2013 * sysdeps/x86/libc-start.c: Reformat.
2015 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
2018 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
2022 (L(Src2)): Likewise.
2023 (L(1)): Renamed to ...
2026 2017-10-30 Joseph Myers <joseph@codesourcery.com>
2028 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
2029 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
2030 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
2031 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
2032 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
2033 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
2034 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
2035 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
2036 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
2037 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
2038 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
2039 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
2040 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
2041 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
2042 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
2043 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
2044 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
2045 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
2046 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
2047 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
2048 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
2049 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
2050 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
2051 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
2052 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
2053 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
2054 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
2055 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
2056 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
2057 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
2058 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
2059 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
2060 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
2061 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
2062 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
2063 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
2064 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
2065 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
2066 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
2067 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
2068 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
2069 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
2070 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
2071 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
2072 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
2073 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
2074 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
2075 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
2076 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
2077 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
2078 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
2079 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
2080 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
2081 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
2082 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
2083 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
2084 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
2085 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
2086 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
2087 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
2088 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
2089 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
2090 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
2091 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
2092 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
2093 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
2095 2017-10-30 Florian Weimer <fweimer@redhat.com>
2097 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
2099 * io/tst-mkdirat.c (do_test): Likewise.
2100 * io/tst-mkfifoat.c (do_test): Likewise.
2101 * io/tst-mknodat.c (do_test): Likewise.
2102 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
2103 * locale/programs/locale.c (select_dirs): Likewise.
2104 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
2105 * posix/bug-glob2.c (my_readdir): Likewise.
2106 * posix/tst-dir.c (main): Likewise.
2107 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
2108 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
2110 2017-10-30 Florian Weimer <fweimer@redhat.com>
2112 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
2115 2017-10-30 Florian Weimer <fweimer@redhat.com>
2117 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
2118 Convert to support/test-driver.c.
2119 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
2120 New macro parameters.
2121 (PRINTF): Remove macro. Use test_verbose conditionals instead.
2122 * posix/tst-gnuglob.c: New file.
2123 * posix/tst-gnuglob64.c: Likewise.
2124 * posix/Makefile (tests): Add tst-gnuglob64.
2126 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
2129 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
2130 and use a better translation for March in “mon”.
2131 * localedata/locales/csb_PL: Use more ASCII to improve the
2132 readability of the source.
2134 2017-10-30 Mike FABIAN <mfabian@redhat.com>
2137 * localedata/locales/km_KH: Use ASCII as much
2138 as possible for better readability of the source and
2139 remove useless comments.
2140 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
2141 was commented out and apparently wrong anyway because it was
2142 using Lao characters. If Buddhist era should be used
2143 for km_KH, a native speaker should write the correct formaat
2145 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
2146 (According to CLDR, the first weekday for Cambodia is Sunday).
2147 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
2148 (These were using Lao characters which must be wrong. If we get
2149 the correct data from a native speaker, we could add it back, until
2150 then it is better not to have name_mr and name_mrs at all than
2153 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
2155 * locale/loadlocale.c: Correct size of
2156 _nl_value_type_LC_<category> arrays.
2158 2017-10-27 Joseph Myers <joseph@codesourcery.com>
2160 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
2161 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
2162 with appropriate macros defined and undefined.
2163 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
2164 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
2165 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
2166 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
2167 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
2169 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
2171 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
2174 2017-10-27 Mike FABIAN <mfabian@redhat.com>
2176 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
2177 with lowercase letters to make it agree with CLDR.
2179 2017-10-27 Mike FABIAN <mfabian@redhat.com>
2182 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
2183 first letters of yesstr and nostr in yesexpr and noexpr,
2184 not for the full words.
2185 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
2186 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
2187 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
2188 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
2189 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
2190 first letters of yesstr and nostr in yesexpr and noexpr,
2191 until now only English was matched in yesexpr and noexpr.
2192 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
2193 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
2194 fil but not for tl. As tl and fil are very similar, using fil
2195 is probably better than using English.
2197 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
2200 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
2201 in yesstr and nostr.
2203 2017-10-26 Joseph Myers <joseph@codesourcery.com>
2205 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
2206 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
2207 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
2209 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
2211 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
2213 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
2215 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2216 (SNANF128X): Likewise.
2218 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
2219 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
2220 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2221 (HUGE_VAL_F32): Likewise.
2222 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2223 (HUGE_VAL_F64): Likewise.
2224 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2225 (HUGE_VAL_F32X): Likewise.
2226 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2227 (HUGE_VAL_F64X): Likewise.
2228 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2229 (HUGE_VAL_F128X): Likewise.
2231 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
2233 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
2234 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
2235 for the br_FR locale.
2237 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
2240 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
2242 2017-10-25 Carlos O'Donell <carlos@redhat.com>
2244 * locale/programs/record-status.h: Define globals, and function
2245 prototypes. Move function bodies...
2246 * locale/programs/record-status.c: ... to here. New file.
2247 * iconv/Makefile (iconv_prog-modules): Add record-status.
2248 * locale/Makefile (lib-modules): Likewise.
2249 * iconv/iconv_prog.c: Remove verbose.
2250 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
2251 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
2252 record a warning about ASCII compatibility.
2253 * locale/programs/ld-monetary.c (monetary_finish): If
2254 warn_int_curr_symbol is true then record a warning about the symbol
2255 not being in our ISO 4217 list.
2256 * locale/programs/locale.c: Include record-status.h. Remove verbose.
2257 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
2258 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
2259 (OPT_NO_WARN): Define.
2261 (options): Add entry for --no-warnings, and --warnings.
2262 (set_warnings): New function to enable/disable warnings.
2263 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
2264 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
2265 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
2266 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
2267 Pass flags to generate_locale.
2268 (generate_locale): Accept new flag argument and pass it to localedef
2270 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
2271 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
2273 * localedata/Makefile (test-input-data): Use full file name.
2274 * localedata/da_DK.in: Rename to...
2275 * localedata/da_DK.ISO-8859-1.in: ...this.
2276 * localedata/de_DE.in: Rename to...
2277 * localedata/de_DE.ISO-8859-1.in: ...this.
2278 * localedata/en_US.in: Rename to...
2279 * localedata/en_US.ISO-8859-1.in: ...this.
2280 * localedata/fr_FR.in: Rename to...
2281 * localedata/fr_FR.UTF-8.in: ... this.
2282 * localedata/hr_HR.in: Rename to...
2283 * localedata/hr_HR.ISO-8859-2.in: ...this.
2284 * localedata/hu_HU.in: Rename to...
2285 * localedata/hu_HU.UTF-8.in: ...this.
2286 * localedata/si_LK.in: Rename to...
2287 * localedata/si_LK.UTF-8.in: ...this.
2288 * localedata/sv_SE.in: Rename to...
2289 * localedata/sv_SE.ISO-8859-1.in: ...this.
2290 * localedata/tr_TR.in: Rename to...
2291 * localedata/tr_TR.UTF-8.in: ...this.
2292 * localedata/uk_UA.in: Rename to...
2293 * localedata/uk_UA.UTF-8.in: ...this.
2294 * localedata/sort-test.sh: Test file is locale name with the
2297 * localedata/unicode-gen/Makefile (check_i18n): Rename to
2298 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
2300 * localedata/locales/i18n_ctype: Regenerate.
2301 * localedata/locales/tr_TR: Likewise.
2302 * localedata/locales/translit_circle: Likewise.
2303 * localedata/locales/translit_cjk_compat: Likewise.
2304 * localedata/locales/translit_combining: Likewise.
2305 * localedata/locales/translit_compat: Likewise.
2306 * localedata/locales/translit_font: Likewise.
2307 * localedata/locales/translit_fraction: Likewise.
2309 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2311 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
2312 lxvd2x/stxvd2x with lvx/stvx.
2313 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2315 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
2317 * include/alloc_buffer.h: Replace "if if " with "if " in
2319 * sysdeps/mips/memcpy.S: Likkewise.
2320 * sysdeps/mips/memset.S: Likewise.
2321 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2323 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
2325 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
2328 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2331 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
2333 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
2334 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
2335 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
2336 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
2337 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
2338 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
2339 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
2341 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2343 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
2344 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
2345 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
2346 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
2347 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
2348 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
2349 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
2350 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
2351 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
2352 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
2353 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
2354 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
2356 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2358 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
2359 as possible for better readability of the source.
2360 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
2361 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
2362 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
2363 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
2364 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
2365 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
2366 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
2367 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
2368 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
2369 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
2370 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
2371 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
2372 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
2373 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
2374 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
2375 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
2376 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
2377 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
2378 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
2379 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
2380 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
2381 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
2382 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
2383 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
2384 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
2385 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
2386 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
2387 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
2388 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
2389 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
2390 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
2391 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
2392 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
2393 * localedata/locales/en_US (LC_MESSAGES): Likewise.
2394 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
2395 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
2396 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
2397 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
2398 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
2399 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
2400 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
2401 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
2402 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
2403 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
2404 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
2405 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
2406 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
2407 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
2408 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
2409 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
2410 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
2411 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
2412 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
2413 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
2414 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
2415 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
2416 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
2417 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
2418 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
2419 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
2420 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
2421 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
2422 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
2423 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
2424 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
2425 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
2426 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
2427 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
2428 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
2429 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
2430 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
2431 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
2432 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
2433 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
2434 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
2435 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
2436 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
2437 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
2438 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
2439 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
2440 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
2441 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
2442 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
2443 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
2444 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
2445 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
2446 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
2447 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
2448 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
2449 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
2450 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
2451 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
2452 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
2453 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
2454 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
2455 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
2456 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
2457 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
2458 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
2459 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
2460 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
2461 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
2462 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
2463 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
2464 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
2465 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
2466 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
2467 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
2468 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
2469 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
2470 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
2471 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
2472 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
2473 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
2474 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
2475 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
2476 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
2477 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
2478 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
2479 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
2480 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
2481 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
2482 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
2483 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
2484 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
2485 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
2486 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
2487 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
2488 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
2489 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
2490 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
2491 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
2492 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
2493 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
2494 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
2495 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
2496 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
2497 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
2498 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
2499 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
2500 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
2501 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
2502 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
2503 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
2504 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
2505 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
2506 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
2507 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
2508 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
2509 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
2510 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
2511 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
2512 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
2513 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
2514 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
2515 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
2516 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
2517 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
2518 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
2519 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
2520 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
2521 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
2522 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
2523 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
2524 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
2525 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
2526 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
2527 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
2528 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
2529 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
2530 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
2531 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
2532 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
2533 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
2535 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2537 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
2538 (Use first letters of yesstr and nostr correctly instead of using
2541 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2543 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
2544 (Use first letters of yesstr and nostr correctly).
2546 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2548 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
2549 also check for the first characters of yesstr and nostr.
2550 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
2551 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
2553 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2555 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
2556 also check for Chinese characters.
2558 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2560 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
2561 match also for the contents of yesstr and nostr. As the first letter
2562 of yesstr and nostr is equal, checking only for the first letter
2565 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2567 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
2568 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
2570 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2572 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
2573 of main contributor.
2575 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2577 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
2578 instead of using English.
2580 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2582 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
2583 by including the first letters of nostr and yesexpr in the regexp.
2584 Also make it more readable by using ASCII where possible.
2586 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2588 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
2589 the first letter of nostr in the regexp. It agrees with CLDR now.
2590 Also make it more readable by using ASCII where possible.
2592 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2594 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
2595 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
2596 these strings contain a U+17D6 (which somewhat looks like a colon)
2597 instead of a real colon to separate the full words for “yes”
2598 and “no” from the single letter responses.
2600 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2602 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
2603 it agree with CLDR (include the first letter of yesstr).
2604 Also make it more readable by using ASCII where possible.
2606 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2608 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
2609 and improve yesexpr and noexpr. The yesstr and nostr apparently
2610 came from CLDR. And CLDR has a bug there: these strings contain
2611 a U+0903 (which looks like a colon) instead of a real colon
2612 to separate the full words for “yes” and “no” from the single
2615 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2617 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
2618 letters of the full yesstr and nostr in yesexpr and noexpr.
2620 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2622 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
2623 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
2624 * localedata/locales/an_ES: Make source more readable by using ASCII
2627 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2630 * localedata/locales/yuw_PG: New file.
2631 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
2632 * locale/iso-639.def: Add Yau (Uruwa).
2634 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2636 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
2638 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2640 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
2641 (__libc_realloc): Likewise.
2642 (_mid_memalign): Likewise.
2643 (__libc_calloc): Likewise.
2645 2017-10-23 Mike FABIAN <mfabian@redhat.com>
2647 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
2648 by adding the generic +1 and -0 as in all other locales.
2649 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
2650 day names and make it more readable by using ASCII where possible.
2652 2017-10-24 Joseph Myers <joseph@codesourcery.com>
2654 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
2655 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
2657 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2659 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
2660 WNOHANG in waitpid call.
2662 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
2664 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
2665 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
2667 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
2668 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
2669 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
2670 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
2671 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
2672 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
2673 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
2674 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
2677 2017-10-23 Michael Collison <michael.collison@arm.com>
2679 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
2680 with __builtin_sqrt.
2681 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
2682 with __builtin_sqrtf.
2683 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
2684 with __builtin_ceil.
2685 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
2686 with __builtin_ceilf.
2687 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
2688 with __builtin_floor.
2689 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
2690 with __builtin_floorf.
2691 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
2693 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
2694 with __builtin_fmaf.
2695 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
2696 with __builtin_fmax.
2697 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
2698 with __builtin_fmaxf.
2699 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
2700 with __builtin_fmin.
2701 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
2702 with __builtin_fminf.
2703 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
2704 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
2705 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
2706 with builtin_rint and conversion to int.
2707 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
2708 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
2709 with builtin_llround.
2710 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
2711 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
2712 with builtin_rint and conversion to long int.
2713 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
2714 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
2715 with builtin_lround.
2716 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
2717 with builtin_lroundf.
2718 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
2719 statements with __builtin_nearbyint.
2720 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
2721 statements with __builtin_nearbyintf.
2722 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
2723 with __builtin_rint.
2724 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
2725 with __builtin_rintf.
2726 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
2727 with __builtin_round.
2728 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
2729 with __builtin_roundf.
2730 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
2731 with __builtin_trunc.
2732 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
2733 with __builtin_truncf.
2734 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
2735 and s_l[l]round[f].c too.
2737 2017-10-23 Alan Modra <amodra@gmail.com>
2739 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
2740 Adjust stack after restoring regs. Add missing LR cfi_restore.
2742 2017-10-23 Alan Modra <amodra@gmail.com>
2744 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
2745 Move LR save and frame setup/teardown and LR restore to
2746 immediately around memset call. Provide cfi.
2748 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2750 * sysdeps/i386/fpu/e_powf.S: Removed.
2751 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
2752 * sysdeps/i386/fpu/w_powf.c: Likewise.
2753 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
2754 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2755 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2757 (CFLAGS-e_powf-sse2.c): New.
2758 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
2759 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
2761 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2763 * sysdeps/i386/fpu/e_log2f.S: Removed.
2764 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
2765 * sysdeps/i386/fpu/w_log2f.c: Likewise.
2766 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
2767 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2768 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2770 (CFLAGS-e_log2f-sse2.c): New.
2771 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
2772 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
2774 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2776 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2778 (CFLAGS-e_powf-fma.c): New.
2779 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
2780 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
2782 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2784 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2786 (CFLAGS-e_log2f-fma.c): New.
2787 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
2788 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
2790 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2792 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2794 (CFLAGS-e_logf-fma.c): New.
2795 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
2796 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
2798 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2800 * sysdeps/i386/fpu/e_logf.S: Removed.
2801 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
2802 * sysdeps/i386/fpu/w_logf.c: Likewise.
2803 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
2804 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
2805 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2806 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2808 (CFLAGS-e_logf-sse2.c): New.
2809 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
2810 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
2812 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2814 * sysdeps/i386/fpu/e_exp2f.S: Removed.
2815 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
2816 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
2817 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2818 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2820 (CFLAGS-e_exp2f-sse2.c): New.
2821 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
2822 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
2824 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2826 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2828 (CFLAGS-e_exp2f-fma.c): New.
2829 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
2830 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
2832 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2834 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
2835 * sysdeps/i386/fpu/e_expf.S: Likewise.
2836 * sysdeps/i386/fpu/math_errf.c: Likewise.
2837 * sysdeps/i386/fpu/w_expf.c: Likewise.
2838 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
2839 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2840 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
2841 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
2842 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2843 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2845 (CFLAGS-e_expf-sse2.c): New.
2846 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
2847 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
2849 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2851 * sysdeps/x86_64/fpu/e_expf.S: Removed.
2852 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
2853 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
2854 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
2856 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
2858 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
2859 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2861 (__redirect_expf): This.
2862 (SYMBOL_NAME): Changed to expf.
2863 (__ieee754_expf): Renamed to ...
2865 (__GI___expf): This.
2866 (__ieee754_expf): Add strong_alias.
2867 (__expf_finite): Likewise.
2869 Include <sysdeps/ieee754/flt-32/e_expf.c>.
2871 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
2874 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
2877 2017-10-21 Florian Weimer <fweimer@redhat.com>
2879 * posix/Makefile (tests): Add tst-glob-tilde.
2880 (tests-special): Add tst-glob-tilde-mem.out
2881 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
2882 (tst-glob-tilde-mem.out): Add mtrace check.
2883 * posix/tst-glob-tilde.c: New file.
2885 2017-10-20 Joseph Myers <joseph@codesourcery.com>
2887 * bits/floatn-common.h: New file.
2888 * math/Makefile (headers): Add bits/floatn-common.h.
2889 * bits/floatn.h: Include <bits/floatn-common.h>.
2890 * sysdeps/ia64/bits/floatn.h: Likewise.
2891 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2892 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
2893 * sysdeps/powerpc/bits/floatn.h: Likewise.
2894 * sysdeps/x86/bits/floatn.h: Likewise.
2896 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2898 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
2899 indicates whether compiler emits an warning for alias for
2900 functions with incompatible types.
2903 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
2904 the auxiliary process is terminated by a signal before calling _exit
2907 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2910 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
2912 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
2913 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
2914 and bit_arch_XSAVEC_Usable if needed.
2915 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
2916 and bit_arch_Use_dl_runtime_resolve_opt.
2917 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2919 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2920 (bit_arch_Prefer_No_AVX512): Updated.
2921 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
2922 (bit_arch_XSAVEC_Usable): New.
2923 (STATE_SAVE_OFFSET): Likewise.
2924 (STATE_SAVE_MASK): Likewise.
2925 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
2926 (cpu_features): Add xsave_state_size and xsave_state_full_size.
2927 (index_arch_Use_dl_runtime_resolve_opt): Removed.
2928 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2929 (index_arch_XSAVEC_Usable): New.
2930 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2931 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
2932 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
2934 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
2935 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
2936 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
2937 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
2938 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
2939 _dl_runtime_resolve_xsavec.
2940 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
2942 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
2943 instead of VEC_SIZE.
2944 (REGISTER_SAVE_BND0): Removed.
2945 (REGISTER_SAVE_BND1): Likewise.
2946 (REGISTER_SAVE_BND3): Likewise.
2947 (REGISTER_SAVE_RAX): Always defined to 0.
2949 (_dl_runtime_resolve_avx): Likewise.
2950 (_dl_runtime_resolve_avx_slow): Likewise.
2951 (_dl_runtime_resolve_avx_opt): Likewise.
2952 (_dl_runtime_resolve_avx512): Likewise.
2953 (_dl_runtime_resolve_avx512_opt): Likewise.
2954 (_dl_runtime_resolve_sse): Likewise.
2955 (_dl_runtime_resolve_sse_vex): Likewise.
2957 (_dl_runtime_resolve_fxsave): Likewise.
2958 (USE_XSAVE): Likewise.
2959 (_dl_runtime_resolve_xsave): Likewise.
2960 (USE_XSAVEC): Likewise.
2961 (_dl_runtime_resolve_xsavec): Likewise.
2962 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
2964 (_dl_runtime_resolve_avx512_opt): Likewise.
2965 (_dl_runtime_resolve_avx): Likewise.
2966 (_dl_runtime_resolve_avx_opt): Likewise.
2967 (_dl_runtime_resolve_sse): Likewise.
2968 (_dl_runtime_resolve_sse_vex): Likewise.
2969 (_dl_runtime_resolve_fxsave): New.
2970 (_dl_runtime_resolve_xsave): Likewise.
2971 (_dl_runtime_resolve_xsavec): Likewise.
2973 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
2977 * posix/glob.c (__glob): Fix one-byte overflow.
2979 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2981 * malloc/malloc.c (sysdep-cancel.h): Add include.
2983 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2985 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
2987 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
2989 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
2990 (tests): Remove $(objpfx)ga_test depdendency.
2991 * resolv/ga_test.c: Remove file.
2993 2017-10-20 Mike FABIAN <mfabian@redhat.com>
2996 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
2997 * localedata/locales/kab_DZ: New file.
2999 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
3001 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
3002 _dl_relocate_static_pie instead of _dl_start to compute load
3003 address in static PIE.
3005 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
3007 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
3009 2017-10-20 Mike FABIAN <mfabian@redhat.com>
3012 * localedata/SUPPORTED: Add shn_MM/UTF-8.
3013 * localedata/locales/shn_MM: New file.
3015 2017-10-20 Florian Weimer <fweimer@redhat.com>
3018 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
3019 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
3020 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
3021 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
3022 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
3023 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
3025 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
3027 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3029 2017-10-19 Joseph Myers <joseph@codesourcery.com>
3031 * sysdeps/mips/ieee754/bits/floatn.h: New file.
3034 * sysdeps/mips/bits/long-double.h: Move to ....
3035 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
3037 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
3039 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
3041 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
3042 H.J. Lu <hongjiu.lu@intel.com>
3045 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3046 GLRO(dl_platform) to NULL.
3047 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
3048 (modules-names): Add tst-platformmod-1 and
3049 x86_64/tst-platformmod-2.
3050 (CFLAGS-tst-platform-1.c): New.
3051 (CFLAGS-tst-platformmod-1.c): Likewise.
3052 (CFLAGS-tst-platformmod-2.c): Likewise.
3053 (LDFLAGS-tst-platformmod-2.so): Likewise.
3054 ($(objpfx)tst-platform-1): Likewise.
3055 ($(objpfx)tst-platform-1.out): Likewise.
3056 (tst-platform-1-ENV): Likewise.
3057 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
3058 * sysdeps/x86_64/tst-platform-1.c: New file.
3059 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
3060 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
3062 2017-10-19 Mike FABIAN <mfabian@redhat.com>
3065 * locale/iso-639.def: Add Karbi.
3066 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
3067 * localedata/locales/mjw_IN: New file.
3069 2017-10-18 Joseph Myers <joseph@codesourcery.com>
3071 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
3072 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
3073 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
3074 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
3075 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
3076 (libm_alias_ldouble_other_r): Also create _Float128 alias.
3077 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
3079 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
3080 (libm_alias_ldouble_other_r): Also create _Float128 alias.
3081 * manual/math.texi (Mathematics): Document additional architecture
3082 support for _Float128.
3083 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
3084 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3085 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3087 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3088 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3089 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3090 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3091 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3092 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3093 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3095 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3097 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3099 2017-10-18 Renlin Li <renlin.li@arm.com>
3101 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
3102 _DYNAMIC symbol to calculate load address.
3104 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
3106 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
3107 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
3109 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
3110 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
3112 2017-10-18 Mike FABIAN <mfabian@redhat.com>
3115 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
3116 and improve readability by using more ASCII.
3117 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
3118 and improve readability by using more ASCII.
3120 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
3122 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
3123 not all targets support atomics on bool.
3125 2017-10-17 Joseph Myers <joseph@codesourcery.com>
3127 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
3128 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
3130 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
3131 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
3132 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
3133 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
3134 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
3135 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
3137 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3139 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
3142 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
3145 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
3146 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
3147 (do_check_remalloced_chunk): Fix build bug.
3148 (do_check_malloc_state): Add assert that checks arena->top.
3149 (malloc_consolidate): Remove initialization.
3150 (int_mallinfo): Remove call to malloc_consolidate.
3151 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3153 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
3155 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
3156 (have_fastchunks): Remove.
3157 (clear_fastchunks): Remove.
3158 (set_fastchunks): Remove.
3159 (malloc_state): Add have_fastchunks.
3160 (malloc_init_state): Use have_fastchunks.
3161 (do_check_malloc_state): Remove incorrect invariant checks.
3162 (_int_malloc): Use have_fastchunks.
3163 (_int_free): Likewise.
3164 (malloc_consolidate): Likewise.
3166 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
3168 * malloc/malloc.c (tcache_put): Inline.
3169 (tcache_get): Inline.
3171 2017-10-17 Jordi Mallach <jordi@gnu.org>
3173 Aurelien Jarno <aurelien@aurel32.net>
3175 * localedata/locales/ca_ES@valencia: New file.
3176 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
3178 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
3181 * math/math.h: Let signbit use the builtin in C++ mode with gcc
3184 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3186 * scripts/build-many-glibcs.py (Context.add_all_configs):
3187 Add arm-linux-gnueabihf multiarch extra_glibcs.
3189 * sysdeps/generic/ifunc-init.h: New file.
3190 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
3192 2017-10-17 Mike FABIAN <mfabian@redhat.com>
3195 * localedata/locales/el_GR: Set n_cs_precedes to 0.
3196 * localedata/locales/el_CY: copy "el_GR" because it is identical.
3197 * stdlib/tst-strfmon_l.c: adapt test case.
3199 2017-10-16 Joseph Myers <joseph@codesourcery.com>
3201 * sysdeps/generic/float128-abi.h: New file.
3202 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
3203 non-__prefixed symbols to ....
3204 * math/Versions: ... here. Include <float128-abi.h>.
3205 * stdlib/Versions ... and here. Include <float128-abi.h>
3207 2017-10-16 Florian Weimer <fweimer@redhat.com>
3209 * version.h (VERSION): Switch to ".9000" as the development
3212 2017-10-16 Florian Weimer <fweimer@redhat.com>
3215 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
3216 compat_symbol_reference to access non-default version.
3218 2017-10-16 Florian Weimer <fweimer@redhat.com>
3220 * malloc/Makefile (others-extras): Set to mcheck-init.o.
3222 2017-10-16 Carlos O'Donell <carlos@redhat.com>
3224 * include/shlib-compat.h (compat_symbol_reference): Update
3227 2017-10-16 Joseph Myers <joseph@codesourcery.com>
3229 * math/Makefile (test-types): Add
3230 $(type-float128-$(float128-alias-fcts)).
3231 * math/test-float128.h (TYPE_STR): Define conditional on
3232 [FLT128_MANT_DIG == LDBL_MANT_DIG].
3233 (ULP_IDX): Likewise.
3234 (ULP_I_IDX): Likewise.
3236 * stdlib/strtold.c: Include <bits/floatn.h>
3237 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
3238 and later undefine as macro. Define as weak alias if
3240 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
3241 and later undefine as macro. Define as weak alias if
3243 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
3244 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
3245 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3246 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
3247 Define and later undefine as macro. Define as weak alias if
3249 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
3251 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
3252 Define and later undefine as macro. Define as weak alias if
3254 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
3255 Define and later undefine as macro. Define as weak alias if
3258 2017-10-15 Carlos O'Donell <carlos@redhat.com>
3260 * localedata/collate-test.c (allocate_arrays): Don't use \n in
3261 record_verbose messages.
3263 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
3266 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
3267 to silence -O3 -Wall warning with GCC 7.
3269 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
3271 * Makeconfig (+link-static-before-libc): Use the first of
3272 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
3273 * gmon/Makefile (tests): Add tst-gmon-static.
3274 (tests-static): Likewise.
3275 (CFLAGS-tst-gmon-static.c): New.
3276 (CRT-tst-gmon-static): Likewise.
3277 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
3278 (tst-gmon-static-ENV): Likewise.
3279 (tests-special): Likewise.
3280 ($(objpfx)tst-gmon-static.out): Likewise.
3281 (clean-tst-gmon-static-data): Likewise.
3282 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
3283 * gmon/tst-gmon-static-gprof.sh: New file.
3284 * gmon/tst-gmon-static.c: Likewise.
3286 2017-10-13 Carlos O'Donell <carlos@redhat.com>
3289 * locale/programs/linereader.c (get_string): Don't warn on
3290 non-symbolic character.
3293 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
3297 * locale/programs/record-status.h: New file
3298 * locale/programs/locale.c: Add comment.
3299 * locale/programs/charmap-dir.c: Don't include error.h.
3300 (charmap_opendir): Use record_error.
3301 * locale/programs/charmap.c: Don't include error.h.
3302 (charmap_read): Use record_error, and record_warning.
3303 (parse_charmap): Likewise.
3304 * locale/programs/ld-address.c: Don't include error.h.
3305 (address_finish): Use record_error, and record_warning.
3306 * locale/programs/ld-collate.c: Don't include error.h.
3307 (collate_finish): Use record_error, and record_error_at_line.
3308 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
3309 (ctype_class_new): Likewise.
3310 (ctype_map_new): Likewise.
3311 (set_one_default): Likewise.
3312 (set_class_defaults): Likewise.
3313 (translit_flatten): Likewise.
3314 (allocate_arrays): Use record_error, and record_verbose.
3315 * locale/programs/ld-identification.c: Don't include error.h.
3316 (indentation_finish): Use record_error and record_warning.
3317 * locale/programs/ld-measurement.c: Don't include error.h.
3318 (measurement_finish): Use record_error.
3319 * locale/programs/ld-messages.c
3320 (message_finish): Likewise.
3321 * locale/programs/ld-monetary.c
3322 (monetary_finish): Likewise.
3323 * locale/programs/ld-name.c (name_finish): Use record_error
3325 * locale/programs/ld-numeric.c
3326 (numeric_finish): Use record_error.
3327 * locale/programs/ld-paper.c: Don't include error.h.
3328 (paper_finish): Use record_error.
3329 * locale/programs/ld-telephone.c: Don't include error.h.
3330 (telephone_finish): Use record_error.
3331 * locale/programs/ld-time.c (time_finish): Likewise.
3332 * locale/programs/linereader.h (lr_error): Make inline func.
3333 * locale/programs/localedef.c: Define recorded_warning_count,
3334 and recorded_error_count.
3335 (main): Use record_error. Use recorded_error_count and
3336 recorded_warning_count to issue correct error returns.
3337 (add_to_readlist): Use record_error.
3338 (find_locale): Likewise.
3339 (load_locale): Likewise.
3340 * locale/programs/localedef.h: Remove be_quiet
3341 and WITH_CUR_LOCALE.
3342 * locale/programs/locarchive.c (compare_from_file): Use
3344 * locale/programs/locfile.c (write_locale_data): Use
3346 * locale/programs/repertoire.c: Dont include error.h.
3347 (repertoire_complain): Use record_error.
3348 * localedata/tst-fmon.sh: Expect failures from localedef.
3349 * localedata/tst-locale.sh: Likewise.
3350 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
3352 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
3353 (REPORTS): Likewise.
3355 (i18n): Rename to...
3356 (i18n_ctype): ...this.
3357 (i18n-report): Rename to...
3358 (i18n_ctype-report): ...this.
3359 * localedata/locales/i18n_ctype: Regenerate.
3360 * localedata/locales/i18n: copy i18n_ctype.
3362 2017-10-13 Joseph Myers <joseph@codesourcery.com>
3364 * stdlib/strfroml.c: Include <bits/floatn.h>.
3365 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
3366 Define before include of <stdlib.h> and undefine afterwards, then
3367 define as weak alias.
3369 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
3370 Undefine and restore default definition. Use
3371 libm_alias_ldouble_other.
3373 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
3376 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
3379 2017-10-13 James Clarke <jrtc27@jrtc27.com>
3381 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3382 Assign sym_map to be map for local symbols, as TLS relocations
3383 use sym_map to determine whether the symbol is defined and to
3384 extract the TLS information.
3385 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3388 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3391 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
3392 (math_force_eval): Add powerpc version.
3395 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
3397 (do_test): Likewise.
3398 * stdio-common/tst-printf.sh: Likewise.
3399 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
3400 ifdef clause in order to set the carry bit right. Replace r0 by
3401 0 without changing the behavior.
3403 2017-10-13 Joseph Myers <joseph@codesourcery.com>
3405 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
3406 <libm-alias-ldouble.h>.
3407 (fabsl): Define using libm_alias_ldouble.
3408 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
3409 <libm-alias-ldouble.h>.
3410 (fabsl): Define using libm_alias_ldouble.
3412 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
3413 Remove conditional code.
3415 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
3416 Rename to __clog10_internal_l.
3417 (__clog10_internal_l): Define aliases using
3418 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
3421 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3423 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
3424 * benchtests/sincosf-inputs: New file.
3425 * benchtests/cosf-inputs: New file.
3426 * benchtests/sinf-inputs: New file.
3428 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3430 * posix/tst-spawn.c (do_test): Wait for both children.
3432 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
3435 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
3436 tests-pie): Add tst-gmon-pie.
3437 (CFLAGS-tst-gmon-pie.c): New.
3438 (CRT-tst-gmon-pie): Likewise.
3439 (tst-gmon-pie-ENV): Likewise.
3440 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
3441 ($(objpfx)tst-gmon-pie.out): Likewise.
3442 (clean-tst-gmon-pie-data): Likewise.
3443 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
3444 * gmon/gmon.c [PIC]: Include <link.h>.
3445 [PIC] (callback): New function.
3446 (write_hist): Add an argument for load address. Subtract load
3448 (write_call_graph): Likewise.
3449 (write_gmon): Call __dl_iterate_phdr to get load address, pass
3450 it to write_hist and write_call_graph.
3451 * gmon/tst-gmon-pie.c: New file.
3453 2017-10-11 Joseph Myers <joseph@codesourcery.com>
3455 * math/Makefile (test-types-basic): New variable.
3456 (test-types): Likewise.
3457 (libm-test-support): Use $(test-types) instead of $(types).
3458 (libm-tests-base-normal): Likewise.
3459 (libm-tests-base-finite): Likewise.
3460 (libm-tests-base-inline): Likewise.
3461 (generated): Likewise.
3462 ($(objpfx)libm-test-support-$(t).c): Likewise.
3463 (libm-tests-for-type iterator): Likewise.
3464 (libm-test-support iterator): Likewise.
3465 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
3466 (ulp_idx): Use ULP_IDX.
3467 * math/test-ldouble.h: Include <float.h>.
3468 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
3469 (ULP_IDX): New macro.
3470 (ULP_I_IDX): Likewise.
3471 * math/test-double.h (ULP_IDX): Likewise.
3472 (ULP_I_IDX): Likewise.
3473 * math/test-float.h (ULP_IDX): Likewise.
3474 (ULP_I_IDX): Likewise.
3475 * math/test-float128.h (ULP_IDX): Likewise.
3476 (ULP_I_IDX): Likewise.
3478 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3480 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
3481 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3482 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3483 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
3484 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3485 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
3487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3489 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3490 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
3491 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3492 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3494 (SINGLE_THREAD_BY_GLOBAL): Define.
3495 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3497 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3499 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3501 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3503 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
3504 (SINGLE_THREAD_BY_GLOBAL): Likewise.
3505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3508 2017-10-11 Andreas Schwab <schwab@suse.de>
3510 * nis/Makefile (aux): Remove.
3511 * nscd/Makefile (aux): Add nscd_hash.
3512 (nscd-modules): Likewise.
3513 ($(objpfx)nscd): Don't depend on libnsl.
3514 * nscd/nscd_hash.c: New file.
3515 * nscd/nscd_hash.h: Likewise.
3516 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
3517 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
3518 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
3519 instead of <nis/rpcsvc/nis.h>.
3520 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
3522 2017-10-11 Florian Weimer <fweimer@redhat.com>
3525 Avoid large NSS buffers with many addresses, aliases.
3526 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
3527 using dynarrays and struct alloc_buffer.
3528 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
3529 (tst-nss-files-hosts-multi): Link with -ldl.
3530 * nss/tst-nss-files-hosts-multi.c: New file.
3532 2017-10-11 Florian Weimer <fweimer@redhat.com>
3535 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
3536 scratch_buffer. Eliminate gotos.
3538 2017-10-11 Joseph Myers <joseph@codesourcery.com>
3540 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
3541 libm_alias_ldouble_other.
3542 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
3543 undefine and redefine.
3544 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3545 (exp10l): Do not define here.
3546 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
3547 (weak_alias): Undefine and redefine.
3548 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
3549 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3550 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
3551 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
3553 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
3554 [!__fma] (fma): Define using libm_alias_double.
3555 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
3556 [!__fmaf] (fmaf): Define using libm_alias_float.
3557 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
3558 (fmal): Define using libm_alias_ldouble.
3560 2017-10-10 Joseph Myers <joseph@codesourcery.com>
3562 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
3564 (libm_alias_double_other): Likewise.
3565 (libm_alias_double_r): Use libm_alias_double_other_r.
3566 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
3568 (libm_alias_float_other): Likewise.
3569 (libm_alias_float_r): Use libm_alias_float_other_r.
3570 * sysdeps/generic/libm-alias-float128.h
3571 (libm_alias_float128_other_r): New macro.
3572 (libm_alias_float128_other): Likewise.
3573 (libm_alias_float128_r): Use libm_alias_float128_other_r.
3574 * sysdeps/generic/libm-alias-ldouble.h
3575 (libm_alias_ldouble_other_r): New macro.
3576 (libm_alias_ldouble_other): Likewise.
3577 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
3578 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
3579 (libm_alias_double_other_r): New macro.
3580 (libm_alias_double_other): Likewise.
3581 (libm_alias_double_r): Use libm_alias_double_other_r.
3582 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
3583 (libm_alias_ldouble_other_r): New macro.
3584 (libm_alias_ldouble_other): Likewise.
3585 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
3586 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
3587 [!USE_AS_COMPAT]: Use libm_alias_double_other.
3588 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
3589 [!USE_AS_COMPAT]: Use libm_alias_float_other.
3590 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
3591 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
3592 * math/w_exp2f.c: Use libm_alias_float_other.
3593 * math/w_expf.c: Likewise.
3594 * math/w_log2f.c: Likewise.
3595 * math/w_logf.c: Likewise.
3596 * math/w_powf.c: Likewise.
3597 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
3598 [!__exp2f]: Use libm_alias_float_other.
3599 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
3600 [!__expf]: Use libm_alias_float_other.
3601 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
3602 [!__log2f]: Use libm_alias_float_other.
3603 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
3604 [!__logf]: Use libm_alias_float_other.
3605 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
3606 [!__powf]: Use libm_alias_float_other.
3608 2017-10-10 Florian Weimer <fweimer@redhat.com>
3610 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
3612 (_nss_files_gethostbyname3_r): Call it.
3614 2017-10-09 Joseph Myers <joseph@codesourcery.com>
3616 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
3617 error. Remove default definition of declare_mgen_alias.
3618 [!declare_mgen_alias_r]: Likewise.
3619 * sysdeps/generic/math-type-macros-double.h
3620 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
3621 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
3622 (declare_mgen_alias_r): Likewise.
3623 * sysdeps/generic/math-type-macros-float128.h
3624 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
3625 * sysdeps/generic/math-type-macros-ldouble.h
3626 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
3627 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
3629 (declare_mgen_alias_r_s): Likewise.
3630 (declare_mgen_alias_r): Likewise.
3631 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
3632 (lgamma_r): Define using libm_alias_double_r.
3633 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
3634 (lgammaf_r): Define using libm_alias_float_r.
3635 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
3636 (lgammal_r): Define using libm_alias_ldouble_r.
3637 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
3638 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3640 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3642 * lib/glob.c (__glob_pattern_type): Remove now-spurious
3645 2017-10-09 Joseph Myers <joseph@codesourcery.com>
3647 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
3649 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
3652 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
3653 [__cplusplus >= 201103] (__USE_ISOC99): Define.
3654 * math/Makefile (test-math-cxx11): New test.
3655 * math/test-math-cxx11.cc: New file.
3657 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
3659 * login/openpty.c (openpty): Close slave pty file descriptor on error.
3661 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
3662 call to allocate the slave pty file descriptor.
3664 2017-10-06 Joseph Myers <joseph@codesourcery.com>
3666 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
3667 [!__fma] (fma): Define using libm_alias_double.
3668 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
3669 [!__fma] (fma): Define using libm_alias_double.
3671 * sysdeps/ieee754/float128/float128_private.h: Include
3672 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
3673 (libm_alias_ldouble_r): Undefine and redefine.
3674 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
3675 <libm-alias-ldouble.h>.
3676 (asinhl): Define using libm_alias_ldouble.
3677 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
3678 <libm-alias-ldouble.h>.
3679 (atanl): Define using libm_alias_ldouble.
3680 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
3681 <libm-alias-ldouble.h>.
3682 (cbrtl): Define using libm_alias_ldouble.
3683 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
3684 <libm-alias-ldouble.h>.
3685 (ceill): Define using libm_alias_ldouble.
3686 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
3687 <libm-alias-ldouble.h>.
3688 (copysignl): Define using libm_alias_ldouble.
3689 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
3690 <libm-alias-ldouble.h>.
3691 (cosl): Define using libm_alias_ldouble.
3692 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
3693 <libm-alias-ldouble.h>.
3694 (erfl): Define using libm_alias_ldouble.
3696 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
3697 <libm-alias-ldouble.h>.
3698 (expm1l): Define using libm_alias_ldouble.
3699 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
3700 <libm-alias-ldouble.h>.
3701 (fabsl): Define using libm_alias_ldouble.
3702 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
3703 <libm-alias-ldouble.h>.
3704 (floorl): Define using libm_alias_ldouble.
3705 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
3706 <libm-alias-ldouble.h>.
3707 (fmal): Define using libm_alias_ldouble.
3708 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
3709 <libm-alias-ldouble.h>.
3710 (frexpl): Define using libm_alias_ldouble.
3711 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
3713 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
3714 <libm-alias-ldouble.h>.
3715 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
3717 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
3718 <libm-alias-ldouble.h>.
3719 (getpayloadl): Define using libm_alias_ldouble.
3720 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
3721 <libm-alias-ldouble.h>.
3722 (llrintl): Define using libm_alias_ldouble.
3723 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
3724 <libm-alias-ldouble.h>.
3725 (llroundl): Define using libm_alias_ldouble.
3726 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
3727 <libm-alias-ldouble.h>.
3728 (logbl): Define using libm_alias_ldouble.
3729 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
3730 <libm-alias-ldouble.h>.
3731 (lrintl): Define using libm_alias_ldouble.
3732 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
3733 <libm-alias-ldouble.h>.
3734 (lroundl): Define using libm_alias_ldouble.
3735 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
3736 <libm-alias-ldouble.h>.
3737 (modfl): Define using libm_alias_ldouble.
3738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
3739 <libm-alias-ldouble.h>.
3740 (nearbyintl): Define using libm_alias_ldouble.
3741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
3742 <libm-alias-ldouble.h>.
3743 (nextafterl): Define using libm_alias_ldouble.
3744 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
3745 <libm-alias-ldouble.h>.
3746 (nextupl): Define using libm_alias_ldouble.
3747 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
3748 <libm-alias-ldouble.h>.
3749 (remquol): Define using libm_alias_ldouble.
3750 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
3751 <libm-alias-ldouble.h>.
3752 (rintl): Define using libm_alias_ldouble.
3753 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
3754 <libm-alias-ldouble.h>.
3755 (roundevenl): Define using libm_alias_ldouble.
3756 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
3757 <libm-alias-ldouble.h>.
3758 (roundl): Define using libm_alias_ldouble.
3759 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
3760 using libm_alias_ldouble.
3761 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
3762 <libm-alias-ldouble.h>.
3763 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
3764 Define using libm_alias_ldouble.
3765 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
3766 <libm-alias-ldouble.h>.
3767 (sincosl): Define using libm_alias_ldouble.
3768 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
3769 <libm-alias-ldouble.h>.
3770 (sinl): Define using libm_alias_ldouble.
3771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
3772 <libm-alias-ldouble.h>.
3773 (tanhl): Define using libm_alias_ldouble.
3774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
3775 <libm-alias-ldouble.h>.
3776 (tanl): Define using libm_alias_ldouble.
3777 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3778 <libm-alias-ldouble.h>.
3779 (totalorderl): Define using libm_alias_ldouble.
3780 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3781 <libm-alias-ldouble.h>.
3782 (totalordermagl): Define using libm_alias_ldouble.
3783 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
3784 <libm-alias-ldouble.h>.
3785 (truncl): Define using libm_alias_ldouble.
3786 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
3788 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
3790 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
3791 <libm-alias-ldouble.h>.
3792 (weak_alias): Do not undefine and redefine.
3793 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3794 (copysignl): Define with long_double_symbol only if [IS_IN
3796 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
3797 <libm-alias-ldouble.h>.
3798 (weak_alias): Do not undefine and redefine.
3799 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3800 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
3801 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
3802 <libm-alias-ldouble.h>.
3803 (weak_alias): Do not undefine and redefine.
3804 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3805 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
3806 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
3807 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
3810 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
3813 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
3816 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
3823 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
3831 2017-10-06 Carlos O'Donell <carlos@redhat.com>
3834 * malloc/malloc.c (tcache_shutting_down): Use bool type.
3835 (tcache_thread_freeres): Set tcache_shutting_down before
3837 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
3838 * malloc/tst-malloc-tcache-leak.c: New file.
3840 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3842 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
3843 back to powerpc32 file.
3844 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3845 (memrchr): Add __memrchr_power8 to ifunc list.
3846 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
3847 extra bytes for unaligned inputs.
3849 2017-10-06 Joseph Myers <joseph@codesourcery.com>
3851 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
3852 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3857 2017-10-05 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/arm/libm-test-ulps: Update.
3861 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
3862 <libm-alias-ldouble.h>.
3863 (asinhl): Define using libm_alias_ldouble.
3864 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
3865 <libm-alias-ldouble.h>.
3866 (cbrtl): Define using libm_alias_ldouble.
3867 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
3868 <libm-alias-ldouble.h>.
3869 (copysignl): Define using libm_alias_ldouble.
3870 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
3871 <libm-alias-ldouble.h>.
3872 (cosl): Define using libm_alias_ldouble.
3873 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
3874 <libm-alias-ldouble.h>.
3875 (erfl): Define using libm_alias_ldouble.
3877 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
3878 <libm-alias-ldouble.h>.
3879 (fmal): Define using libm_alias_ldouble.
3880 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
3881 <libm-alias-ldouble.h>.
3882 (frexpl): Define using libm_alias_ldouble.
3883 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
3885 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
3886 <libm-alias-ldouble.h>.
3887 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
3889 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
3890 <libm-alias-ldouble.h>.
3891 (getpayloadl): Define using libm_alias_ldouble.
3892 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
3893 <libm-alias-ldouble.h>.
3894 (llrintl): Define using libm_alias_ldouble.
3895 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
3896 <libm-alias-ldouble.h>.
3897 (llroundl): Define using libm_alias_ldouble.
3898 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
3899 <libm-alias-ldouble.h>.
3900 (lrintl): Define using libm_alias_ldouble.
3901 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
3902 <libm-alias-ldouble.h>.
3903 (lroundl): Define using libm_alias_ldouble.
3904 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
3905 <libm-alias-ldouble.h>.
3906 (modfl): Define using libm_alias_ldouble.
3907 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
3908 <libm-alias-ldouble.h>.
3909 (nextupl): Define using libm_alias_ldouble.
3910 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
3911 <libm-alias-ldouble.h>.
3912 (remquol): Define using libm_alias_ldouble.
3913 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
3914 <libm-alias-ldouble.h>.
3915 (roundevenl): Define using libm_alias_ldouble.
3916 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
3917 <libm-alias-ldouble.h>.
3918 (roundl): Define using libm_alias_ldouble.
3919 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
3920 using libm_alias_ldouble.
3921 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
3922 <libm-alias-ldouble.h>.
3923 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
3924 <libm-alias-ldouble.h>.
3925 (setpayloadsigl): Define using libm_alias_ldouble.
3926 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
3927 <libm-alias-ldouble.h>.
3928 (sincosl): Define using libm_alias_ldouble.
3929 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
3930 <libm-alias-ldouble.h>.
3931 (sinl): Define using libm_alias_ldouble.
3932 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
3933 <libm-alias-ldouble.h>.
3934 (tanhl): Define using libm_alias_ldouble.
3935 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
3936 <libm-alias-ldouble.h>.
3937 (tanl): Define using libm_alias_ldouble.
3938 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3939 <libm-alias-ldouble.h>.
3940 (totalorderl): Define using libm_alias_ldouble.
3941 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3942 <libm-alias-ldouble.h>.
3943 (totalordermagl): Define using libm_alias_ldouble.
3944 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
3946 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
3949 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
3951 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3953 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3954 (__libc_ifunc_impl_list): Likewise.
3955 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3956 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
3958 * benchtests/bench-memmove-walk.c: New file.
3959 * benchtests/Makefile (string-benchset): Add it.
3961 * benchtests/bench-memset-walk.c: New file.
3962 * benchtests/Makefile (string-benchset): Add it.
3964 * benchtests/bench-memcpy-walk.c: New file.
3965 * benchtests/Makefile (string-benchset): Add it.
3967 2017-10-05 Florian Weimer <fweimer@redhat.com>
3969 nscd: Eliminate compilation time dependency in the build output.
3970 * nscd/nscd_stat.c (STATDATA_VERSION)
3971 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
3972 (STATDATA_VERSION_FULL): New macro definitions.
3973 (compilation): Remove.
3974 (struct statdata): Adjust version member.
3975 (send_stats): Set version from STATDATA_VERSION_FULL.
3976 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
3978 2017-10-05 Joseph Myers <joseph@codesourcery.com>
3980 * configure.ac (--enable-add-ons): Remove option.
3981 (machine): Do not mention add-ons in comment.
3982 (LIBC_PRECONFIGURE): Likewise.
3983 (add_ons): Remove variable and sanity checks and logic to locate
3985 (add_ons_automatic): Remove variable.
3986 (configured_add_ons): Likewise.
3987 (add_ons_sfx): Likewise.
3988 (add_ons_pfx): Likewise.
3989 (add_on_subdirs): Likewise.
3990 (sysnames_add_ons): Likewise. Remove loop over add-ons and
3991 consideration of add-ons in Implies handling.
3992 (sysdeps_add_ons): Likewise.
3993 * configure: Regenerated.
3994 * libidn/configure.ac: Remove.
3995 * libidn/configure: Likewise.
3996 * sysdeps/unix/inet/configure.ac: New file.
3997 * sysdeps/unix/inet/configure: New generated file.
3998 * sysdeps/unix/inet/Subdirs: Add libidn.
3999 * Makeconfig (sysdeps-srcdirs): Remove variable.
4000 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
4001 ($(common-objpfx)config.status): Do not depend on add-on files.
4002 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
4004 (all-subdirs): Do not include $(add-on-subdirs).
4005 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
4006 * config.make.in (add-ons): Remove variable.
4007 (add-on-subdirs): Likewise.
4008 (sysdeps-add-ons): Likewise.
4009 * manual/Makefile (add-chapters): Remove.
4010 ($(objpfx)texis): Do not depend on $(add-chapters).
4011 (nonexamples): Do not handle $(add-chapters).
4012 (examples): Do not handle $(add-ons).
4013 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
4015 * manual/install.texi (Installation): Do not mention add-ons.
4016 (--enable-add-ons): Do not document configure option.
4017 * INSTALL: Regenerated.
4018 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
4019 * manual/maint.texi (Hierarchy Conventions): Do not mention
4021 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
4023 * scripts/gen-sorted.awk: Do not handle Subdirs files from
4025 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
4026 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
4028 2017-10-05 Andreas Schwab <schwab@suse.de>
4031 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
4032 (_IO_flush_all_lockp): Always lock list_all_lock.
4033 (_IO_flush_all_linebuffered): Likewise.
4034 (_IO_unbuffer_all): Likewise.
4036 2017-10-05 Florian Weimer <fweimer@redhat.com>
4039 Do not flush stdio streams on abort.
4040 * stdlib/abort.c (fflush): Remove macro definition.
4041 (abort): Remove stages related to stdio flushing.
4043 2017-10-05 Florian Weimer <fweimer@redhat.com>
4045 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
4047 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
4049 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4051 2017-10-05 Florian Weimer <fweimer@redhat.com>
4053 * support/support_format_hostent.c (support_format_hostent): Add
4054 more error information for NETDB_INTERNAL.
4056 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
4058 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
4059 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
4060 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
4061 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
4062 AC_DEFINE if multi-arch is enabled.
4063 * sysdeps/i386/configure: Regenerated.
4065 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
4067 * Makeconfig (+link-static-before-libc): Use
4068 $(DEFAULT-LDFLAGS-$(@F)).
4069 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
4070 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
4071 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
4073 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
4075 * elf/Makefile (tests): Add tst-main1.
4076 (modules-names): Add tst-main1mod.
4077 ($(objpfx)tst-main1): New.
4078 (CRT-tst-main1): Likewise.
4079 (LDFLAGS-tst-main1): Likewise.
4080 (LDLIBS-tst-main1): Likewise.
4081 (tst-main1mod.so-no-z-defs): Likewise.
4082 * elf/tst-main1.c: New file.
4083 * elf/tst-main1mod.c: Likewise.
4085 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
4087 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
4089 2017-10-04 Joseph Myers <joseph@codesourcery.com>
4091 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
4092 (fma): Define using libm_alias_double.
4093 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
4094 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
4096 (fmal): Do not define as compat symbol here.
4097 * sysdeps/alpha/fpu/s_fma.c: New file.
4099 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4101 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
4103 2017-10-04 Joseph Myers <joseph@codesourcery.com>
4106 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
4108 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
4110 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
4111 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
4112 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
4113 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
4114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4115 Include <math_ldbl_opt.h>
4116 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
4118 (compat_symbol): Undefine and redefine.
4119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
4121 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
4122 (compat_symbol): Undefine and redefine.
4123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
4124 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
4125 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
4127 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
4128 GLIBC_2.0 copysignl symbol.
4129 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4130 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
4132 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
4134 2017-10-04 Florian Weimer <fweimer@redhat.com>
4136 * scripts/check-local-headers.sh: Ignore nspr4 header file
4137 directory in addition to nspr.
4139 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
4142 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
4143 * configure: Regenerate.
4144 * crypt/Makefile (nss-cpp-flags): New variable.
4145 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
4146 (CPPFLAGS-md5-crypt.c): Use it.
4147 * scripts/check-local-headers.sh: Ignore nspr header file
4150 2017-10-04 Andreas Schwab <schwab@suse.de>
4152 * nis/Makefile (services): Remove compat.
4153 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
4154 ($(objpfx)libnss_compat.so): Remove rule.
4155 * nis/Versions (libnss_compat): Remove.
4156 * nss/Makefile (services): Add compat.
4157 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
4158 * nss/Versions (libnss_compat): Define.
4159 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
4160 Don't include <rpc/types.h>. Replace bool_t by bool.
4161 * nss/nss_compat/compat-initgroups.c: Likewise.
4162 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
4163 instead of <rpcsrv/ypclnt.h>.
4164 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
4165 yp_get_default_domain.
4166 * nss/nss_compat/compat-pwd.c: Likewise.
4167 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
4168 yp_get_default_domain.
4169 * nss/nss_compat/nisdomain.c: New file.
4170 * nss/nss_compat/nisdomain.h: Likewise.
4172 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4175 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
4176 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4178 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4181 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
4182 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
4184 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4186 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
4187 "movl main@GOTOFF(%ebx), %eax".
4189 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4191 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
4192 allow undefined _DYNAMIC in PIE libc.a.
4193 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
4196 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4198 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
4201 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4203 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
4206 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4208 * math/test-math-iscanonical.cc (error): Replace bool with int.
4210 2017-10-03 Joseph Myers <joseph@codesourcery.com>
4212 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
4213 (modf): Define using libm_alias_double, only if [!__modf].
4214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
4215 <libm-alias-double.h>.
4216 (modf): Define using libm_alias_double, only if [!__modf].
4217 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
4219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
4220 (weak_alias): Do not undefine and redefine.
4221 (strong_alias): Likewise.
4222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
4223 (weak_alias): Likewise.
4224 (strong_alias): Likewise.
4226 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
4227 (logb): Define using libm_alias_double, only if [!__logb].
4228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
4229 <libm-alias-double.h>.
4230 (logb): Define using libm_alias_double, only if [!__logb].
4231 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
4232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
4233 (weak_alias): Do not undefine and redefine.
4234 (strong_alias): Likewise.
4235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
4236 (weak_alias): Likewise.
4237 (strong_alias): Likewise.
4239 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4241 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
4242 Check SHARED instead PIC.
4244 2017-10-03 Joseph Myers <joseph@codesourcery.com>
4246 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
4247 [!__fmaf] (fmaf): Define using libm_alias_float.
4249 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
4250 (frexp): Define using libm_alias_double.
4251 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
4252 <libm-alias-double.h>.
4253 (frexp): Define using libm_alias_double.
4254 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
4257 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4260 * math/math.h: Trivial fix for unbalanced parentheses in comment.
4261 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
4262 (CFLAGS-test-math-iscanonical.cc): New variable.
4263 * math/test-math-iscanonical.cc: New file.
4264 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
4265 Provide a C++ implementation based on function overloading,
4266 rather than using __MATH_TG, which uses C-only builtins.
4267 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
4269 * sysdeps/powerpc/powerpc64le/Makefile
4270 (CFLAGS-test-math-iscanonical.cc): New variable.
4272 2017-10-03 Joseph Myers <joseph@codesourcery.com>
4274 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
4275 (ceil): Define using libm_alias_double.
4276 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
4277 (floor): Define using libm_alias_double.
4278 * sysdeps/ieee754/dbl-64/s_llround.c: Include
4279 <libm-alias-double.h>.
4280 (llround): Define using libm_alias_double.
4281 * sysdeps/ieee754/dbl-64/s_lround.c: Include
4282 <libm-alias-double.h>.
4283 (lround): Define using libm_alias_double.
4284 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
4285 <libm-alias-double.h>.
4286 (nearbyint): Define using libm_alias_double.
4287 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
4288 <libm-alias-double.h>.
4289 (remquo): Define using libm_alias_double.
4290 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
4291 (rint): Define using libm_alias_double.
4292 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
4293 (round): Define using libm_alias_double.
4294 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
4295 (trunc): Define using libm_alias_double.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
4297 <libm-alias-double.h>.
4298 (ceil): Define using libm_alias_double.
4299 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
4300 <libm-alias-double.h>.
4301 (floor): Define using libm_alias_double.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
4303 <libm-alias-double.h>.
4304 (llround): Define using libm_alias_double.
4305 [_LP64] (lround): Likewise.
4306 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
4307 <libm-alias-double.h>.
4308 [!_LP64] (lround): Define using libm_alias_double.
4309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
4310 <libm-alias-double.h>.
4311 (nearbyint): Define using libm_alias_double.
4312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
4313 <libm-alias-double.h>.
4314 (remquo): Define using libm_alias_double.
4315 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
4316 <libm-alias-double.h>.
4317 (rint): Define using libm_alias_double.
4318 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
4319 <libm-alias-double.h>.
4320 (round): Define using libm_alias_double.
4321 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
4322 <libm-alias-double.h>.
4323 (trunc): Define using libm_alias_double.
4324 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
4325 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
4326 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
4327 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
4328 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
4329 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
4330 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
4331 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
4332 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
4334 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4336 * math/w_remainder.c: New file.
4337 * math/w_remainderf.c: New file.
4338 * math/w_remainderl.c: New file.
4340 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4342 * elf/rtld.c (BOOTSTRAP_MAP): New.
4343 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
4344 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4346 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4348 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4351 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4353 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
4354 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
4355 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
4356 rtld_hidden_data_ver): Define to empty.
4357 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
4358 __assert_perror_fail): Likewise.
4359 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4360 (__rewinddir): Likewise.
4361 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4362 (__profile_frequency): Likewise.
4363 * include/setjmp.h (__sigsetjmp): Likewise.
4364 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
4365 __libc_sigaction): Likewise.
4366 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
4367 not set hidden attribute.
4368 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
4369 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
4370 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
4371 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
4372 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
4373 __fxstatat64): Likewise.
4374 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4375 (__uname): Likewise.
4376 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4377 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
4378 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
4379 (NO_RTLD_HIDDEN): Set.
4380 * sysdeps/mach/hurd/configure: Refresh.
4381 * config.h.in: Refresh.
4383 2017-10-02 Joseph Myers <joseph@codesourcery.com>
4385 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
4386 (atan): Define using libm_alias_double.
4387 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
4388 (tan): Define using libm_alias_double.
4389 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
4390 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
4392 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
4393 define as weak alias of __atan. Do not define any aliases if
4395 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
4396 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
4397 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
4398 as weak alias of __tan. Do not define any aliases if [__tan].
4399 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
4400 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
4401 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
4403 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
4404 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
4405 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
4406 and define as weak alias of __atan.
4407 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
4409 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
4410 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
4411 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
4412 define as weak alias of __tan.
4414 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4416 * math/w_lgamma.c: New file.
4417 * math/w_lgammaf.c: New file.
4418 * math/w_lgammal.c: New file.
4420 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4422 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
4423 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
4424 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
4425 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
4426 * sysdeps/ieee754/flt-32/w_logf.c: New file.
4427 * sysdeps/ieee754/flt-32/w_powf.c: New file.
4428 * sysdeps/i386/fpu/w_log2f.c: New file.
4429 * sysdeps/i386/fpu/w_logf.c: New file.
4430 * sysdeps/i386/fpu/w_powf.c: New file.
4431 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
4432 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
4433 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
4435 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4436 H.J. Lu <hongjiu.lu@intel.com>
4438 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
4439 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
4440 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
4441 * sysdeps/ieee754/flt-32/w_expf.c: New file.
4442 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
4444 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
4445 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
4446 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
4447 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
4448 * sysdeps/i386/fpu/w_exp2f.c: New file.
4449 * sysdeps/i386/fpu/w_expf.c: New file.
4450 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
4451 * sysdeps/x86_64/fpu/w_expf.c: New file.
4453 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4455 * math/Versions (logf): New libm symbol at GLIBC_2.27.
4458 * math/w_log2f.c: New file.
4459 * math/w_logf.c: New file.
4460 * math/w_powf.c: New file.
4461 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
4462 * math/w_logf_compat.c (__logf_compat): Likewise.
4463 * math/w_powf_compat.c (__powf_compat): Likewise.
4464 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
4465 * sysdeps/ia64/fpu/e_logf.S: Likewise.
4466 * sysdeps/ia64/fpu/e_powf.S: Likewise.
4467 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4468 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4469 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4470 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4471 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4472 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4473 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4474 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4475 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4476 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4477 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4478 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4487 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4488 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4489 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4490 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4491 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4496 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4497 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4498 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4500 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4502 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4503 (sysdep_routines): Add memrchr_power8.
4504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4505 (memrchr): Add __memrchr_power8 to list of memrchr functions.
4506 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
4508 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
4509 (memrchr): Add __memrchr_power8 to ifunc list.
4510 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
4512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4515 * sysdeps/unix/sysv/linux/posix_fadvise64.c
4516 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
4518 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4519 (__posix_fallocate64_l64): Likewise.
4521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4524 * sysdeps/unix/sysv/linux/sched_setaffinity.c
4525 (__sched_setaffinity_new): Add libc_hidden_proto and
4528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4531 * include/glob.h (__glob64): Add libc_hidden_proto.
4532 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
4535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4538 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
4541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4544 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
4546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4549 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
4552 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4555 * csu/version.c (__libc_print_version): Add attribute_hidden.
4557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4560 * include/libc-internal.h (__init_misc): Add attribute_hidden.
4562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4565 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
4567 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4570 * nscd/nscd_helper.c (__nis_hash): New prototype.
4572 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4575 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
4576 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
4578 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4579 * termios/tcgetattr.c (__tcgetattr): Likewise.
4581 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4584 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
4585 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
4586 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
4587 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
4588 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
4590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4593 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
4595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4598 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
4599 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
4601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4604 * intl/hash-string.h (__hash_string): Add attribute_hidden.
4606 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4609 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
4610 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
4612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4615 * include/ifreq.h: New file.
4616 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
4617 (__ifreq): Likewise.
4618 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
4619 (__ifreq): Likewise.
4621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4624 * include/idna.h: New file.
4625 * inet/getnameinfo.c: Include <idna.h> instead of
4627 (__idna_to_unicode_lzlz): Removed.
4628 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
4630 (__idna_to_ascii_lz): Removed.
4631 (__idna_to_unicode_lzlz): Likewise.
4633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4636 * include/plural-exp.h: New file.
4637 * intl/plural-exp.c: Include <plural-exp.h> instead of
4640 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4643 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
4644 "getsourcefilter.h".
4645 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
4646 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
4647 "getsourcefilter.h".
4648 (__get_sol): Removed.
4650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4653 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
4655 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
4657 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4660 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
4663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4666 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
4668 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4671 * include/search.h (__tdestroy): Add libc_hidden_proto.
4672 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
4674 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4677 * include/assert.h (__assert_fail_base): Add attribute_hidden.
4679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4682 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
4685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4688 * include/signal.h (__kill): Add libc_hidden_proto.
4689 (__sigblock): Likewise.
4690 (__sigprocmask): Likewise.
4691 (__sigaltstack): Likewise.
4692 * signal/kill.c (__kill): Add libc_hidden_def.
4693 * signal/sigblock.c (__sigblock): Likewise.
4694 * signal/sigprocmask.c (__sigprocmask): Likewise.
4695 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4696 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4697 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4698 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4699 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
4701 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4703 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4704 (__sigprocmask): Likewise.
4705 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
4707 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4708 (__sigprocmask): Likewise.
4709 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4712 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4715 * include/string.h (__strsep): Add libc_hidden_proto.
4716 * string/strsep.c (__strsep): Add libc_hidden_def.
4718 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4721 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
4723 (__spawni): Likewise.
4725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4728 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
4729 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
4732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4735 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
4737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4740 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
4741 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
4742 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4743 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
4744 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
4746 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
4747 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
4749 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4752 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
4753 (__dcigettext): Likewise.
4755 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4758 * include/sys/sysinfo.h (__get_nprocs_conf): Add
4760 (__get_nprocs): Likewise.
4761 (__get_phys_pages): Likewise.
4762 (__get_avphys_pages): Likewise.
4763 (__get_child_max): Add attribute_hidden.
4764 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
4765 (__get_nprocs): Likewise.
4766 (__get_phys_pages): Likewise.
4767 (__get_avphys_pages): Likewise.
4768 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
4770 (__get_nprocs): Likewise.
4771 (__get_phys_pages): Likewise.
4772 (__get_avphys_pages): Likewise.
4773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
4775 (__get_nprocs_conf): Likewise.
4776 (__get_phys_pages): Likewise.
4777 (__get_avphys_pages): Likewise.
4779 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4782 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
4784 (__netlink_close): Likewise.
4785 (__netlink_free_handle): Likewise.
4786 (__netlink_request): Likewise.
4788 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4791 * include/rpc/rpc.h (__rpc_thread_variables): Add
4793 (__rpc_thread_svc_cleanup): Likewise.
4794 (__rpc_thread_clnt_cleanup): Likewise.
4795 (__rpc_thread_key_cleanup): Likewise.
4797 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4800 * include/sys/uio.h (__readv): Add libc_hidden_proto.
4801 (__writev): Likewise.
4802 * misc/readv.c (__readv): Add libc_hidden_def.
4803 * misc/writev.c (__writev): Likewise.
4804 * sysdeps/posix/readv.c (__readv): Likewise.
4805 * sysdeps/posix/writev.c (__writev): Likewise.
4806 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
4807 (__readv): Likewise.
4808 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
4809 (__writev): Likewise.
4811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4814 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
4815 (__regcomp): Add libc_hidden_proto.
4816 (__regexec): Likewise.
4817 (__regfree): Likewise.
4818 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
4819 (__regfree): Likewise.
4820 * posix/regexec.c (__regexec): Likewise.
4822 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4825 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
4826 (__getutent): Likewise.
4827 (__getutid): Likewise.
4828 (__getutline): Likewise.
4829 (__pututline): Likewise.
4830 (__getutent_r): Likewise.
4831 (__getutid_r): Likewise.
4832 (__getutline_r): Likewise.
4833 (__utmpname): Add attribute_hidden.
4834 (__setutent): Likewise.
4835 (__endutent): Likewise.
4836 * login/getutent.c (__getutent): Add libc_hidden_def.
4837 * login/getutent_r.c (__getutent_r): Likewise.
4838 (__pututline): Likewise.
4839 * login/getutid.c (__getutid): Likewise.
4840 * login/getutid_r.c (__getutid_r): Likewise.
4841 * login/getutline.c (__getutline): Likewise.
4842 * login/getutline_r.c (__getutline_r): Likewise.
4843 * login/updwtmp.c (__updwtmp): Likewise.
4845 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4848 * include/dirent.h (__opendir): Always add attribute_hidden.
4849 (__fdopendir): Likewise.
4850 (__closedir): Likewise.
4851 (__readdir): Likewise.
4852 (__readdir64): Add libc_hidden_proto.
4853 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
4854 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
4855 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
4856 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
4859 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4862 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
4863 * include/netdb.h (__gethostbyaddr_r): Likewise.
4864 (__gethostbyname_r): Likewise.
4865 (__gethostbyname2_r): Likewise.
4866 (__getnetbyaddr_r): Likewise.
4867 (__getnetbyname_r): Likewise.
4868 (__getservbyname_r): Likewise.
4869 (__getservbyport_r): Likewise.
4870 (__getprotobyname_r): Likewise.
4871 (__getprotobynumber_r): Likewise.
4872 (__getnetgrent_r): Likewise.
4873 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
4874 (__getrpcbynumber_r): Likewise.
4875 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
4877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4880 * include/stdio.h (__fcloseall): Add attribute_hidden.
4881 (__getline): Likewise.
4882 (__path_search): Likewise.
4883 (__gen_tempname): Likewise.
4884 (__libc_message): Likewise.
4885 (__flockfile): Likewise.
4886 (__funlockfile): Likewise.
4887 (__fxprintf): Likewise.
4888 (__fxprintf_nocancel): Likewise.
4890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4893 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
4894 (__sgetsgent_r): Likewise.
4896 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4899 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
4900 (__statfs64): Likewise.
4901 (__fstatfs64): Likewise.
4902 * include/sys/statvfs.h (__statvfs64): Likewise.
4903 (__fstatvfs64): Likewise.
4904 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
4905 (__statfs_filesize_max): Likewise.
4906 (__statfs_symlinks): Likewise.
4907 (__statfs_chown_restricted): Likewise.
4909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4912 * include/time.h (__tzstring): Add attribute_hidden.
4913 (__tzfile_read): Likewise.
4914 (__tzfile_compute): Likewise.
4915 (__tzfile_default): Likewise.
4916 (__tzset_parse_tz): Likewise.
4917 (__offtime): Likewise.
4918 (__asctime_r): Likewise.
4919 (__tzset): Likewise.
4920 (__tz_convert): Likewise.
4921 (__getdate_r): Likewise.
4922 (__getclktck): Likewise.
4924 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4927 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
4928 (__nscd_unmap): Likewise.
4929 (__nscd_cache_search): Likewise.
4930 (__nscd_get_nl_timestamp): Likewise.
4931 (__nscd_getpwnam_r): Likewise.
4932 (__nscd_getpwuid_r): Likewise.
4933 (__nscd_getgrnam_r): Likewise.
4934 (__nscd_getgrgid_r): Likewise.
4935 (__nscd_gethostbyname_r): Likewise.
4936 (__nscd_gethostbyname2_r): Likewise.
4937 (__nscd_gethostbyaddr_r): Likewise.
4938 (__nscd_getai): Likewise.
4939 (__nscd_getgrouplist): Likewise.
4940 (__nscd_getservbyname_r): Likewise.
4941 (__nscd_getservbyport_r): Likewise.
4942 (__nscd_innetgr): Likewise.
4943 (__nscd_setnetgrent): Likewise.
4945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4948 * include/gmp.h: Declare internal functions only if _ISOMAC is
4950 (__mpn_extract_double): Add attribute_hidden.
4951 (__mpn_extract_long_double): Likewise.
4952 (__mpn_extract_float128): Likewise.
4953 (__mpn_construct_float): Likewise.
4954 (__mpn_construct_double): Likewise.
4955 (__mpn_construct_long_double): Likewise.
4956 (__mpn_construct_float128): Likewise.
4957 (mpn_add_1): Likewise.
4958 (mpn_addmul_1): Likewise.
4959 (mpn_add_n): Likewise.
4960 (mpn_cmp): Likewise.
4961 (mpn_divrem): Likewise.
4962 (mpn_lshift): Likewise.
4963 (mpn_mul): Likewise.
4964 (mpn_mul_1): Likewise.
4965 (mpn_rshift): Likewise.
4966 (mpn_sub_1): Likewise.
4967 (mpn_submul_1): Likewise.
4968 (mpn_sub_n): Likewise.
4970 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4973 * include/wchar.h (__wcsnlen): Add attribute_hidden.
4974 (__wcscat): Likewise.
4975 (__btowc): Likewise.
4976 (__wcrtomb): Likewise.
4977 (__mbsrtowcs): Likewise.
4978 (__wcsrtombs): Likewise.
4979 (__mbsnrtowcs): Likewise.
4980 (__wcsnrtombs): Likewise.
4981 (__wcsncpy): Likewise.
4982 (__wcpncpy): Likewise.
4983 (__wmemcpy): Likewise.
4984 (__wmempcpy): Likewise.
4985 (__wmemmove): Likewise.
4986 (__wcschrnul): Likewise.
4987 (__vfwscanf): Likewise.
4988 (__vswprintf): Likewise.
4989 (__fwprintf): Likewise.
4990 (__vfwprintf): Likewise.
4992 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4995 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
4996 (__getgrgid_r): Likewise.
4997 (__getgrnam_r): Likewise.
4998 * include/pwd.h (__getpwuid_r): Likewise.
4999 (__getpwnam_r): Likewise.
5000 (__fgetpwent_r): Likewise.
5001 * include/shadow.h (__getspnam_r): Likewise.
5002 (__sgetspent_r): Likewise.
5003 (__fgetspent_r): Likewise.
5005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5008 * include/unistd.h (__access): Add attribute_hidden.
5009 (__lseek64): Likewise.
5010 (__libc_pread64): Likewise.
5011 (__pipe2): Likewise.
5012 (__sleep): Likewise.
5013 (__chdir): Likewise.
5014 (__fchdir): Likewise.
5015 (__getcwd): Likewise.
5016 (__rmdir): Likewise.
5017 (__execvpe): Likewise.
5018 (__execve): Likewise.
5019 (__setsid): Likewise.
5020 (__getuid): Likewise.
5021 (__geteuid): Likewise.
5022 (__getgid): Likewise.
5023 (__getegid): Likewise.
5024 (__getgroups): Likewise.
5025 (__group_member): Likewise.
5026 (__ttyname_r): Likewise.
5027 (__isatty): Likewise.
5028 (__readlink): Likewise.
5029 (__unlink): Likewise.
5030 (__gethostname): Likewise.
5031 (__profil): Likewise.
5032 (__getdtablesize): Likewise.
5034 (__ftruncate): Likewise.
5035 (__ftruncate64): Likewise.
5037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5040 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
5041 * argp/argp-fs-xinl.c: Likewise.
5042 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
5043 * argp/argp-parse.c: Include <argp.h>.
5044 * argp/argp-xinl.c: Likewise.
5045 * include/argp-fmtstream.h: New file.
5046 * include/argp.h (__argp_error): Add attribute_hidden.
5047 (__argp_failure): Likewise.
5048 (__argp_input): Likewise.
5049 (__argp_state_help): Likewise.
5051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5054 * include/wchar.h (____wcstof_l_internal): New prototype.
5055 (____wcstod_l_internal): Likewise.
5056 (____wcstold_l_internal): Likewise.
5057 (____wcstol_l_internal): Likewise.
5058 (____wcstoul_l_internal): Likewise.
5059 (____wcstoll_l_internal): Likewise.
5060 (____wcstoull_l_internal): Likewise.
5061 (____wcstof128_l_internal): Likewise.
5062 * sysdeps/ieee754/float128/wcstof128.c
5063 (____wcstof128_l_internal): Removed.
5064 * sysdeps/ieee754/float128/wcstof128_l.c
5065 (____wcstof128_l_internal): Likewise.
5066 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
5067 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
5068 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
5069 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
5070 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
5071 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
5072 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
5073 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
5074 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
5075 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
5077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5080 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
5081 instead of <sys/statvfs.h>.
5082 (__internal_statvfs): Removed.
5083 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
5084 instead of <sys/statvfs.h>.
5085 (__internal_statvfs64): Removed.
5086 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
5087 "internal_statvfs.h" instead of <sys/statvfs.h>.
5088 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
5089 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
5090 instead of <sys/statvfs.h>.
5091 (__internal_statvfs): Removed.
5092 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
5093 instead of <sys/statvfs.h>.
5094 (__internal_statvfs64): Removed.
5096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5099 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
5100 (__gconv_close): Likewise.
5101 (__gconv): Likewise.
5102 (__gconv_find_transform): Likewise.
5103 (__gconv_lookup_cache): Likewise.
5104 (__gconv_compare_alias_cache): Likewise.
5105 (__gconv_load_cache): Likewise.
5106 (__gconv_get_path): Likewise.
5107 (__gconv_close_transform): Likewise.
5108 (__gconv_release_cache): Likewise.
5109 (__gconv_find_shlib): Likewise.
5110 (__gconv_release_shlib): Likewise.
5111 (__gconv_get_builtin_trans): Likewise.
5112 (__gconv_compare_alias): Likewise.
5113 * include/dlfcn.h (_dlerror_run): Likewise.
5114 * include/stdio.h (__fortify_fail_abort): Likewise.
5115 * include/time.h (__tz_compute): Likewise.
5116 (__strptime_internal): Likewise.
5117 * intl/gettextP.h (_nl_find_domain): Likewise.
5118 (_nl_load_domain): Likewise.
5119 (_nl_find_msg): Likewise.
5120 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
5121 (EXTRACT_PLURAL_EXPRESSION): Likewise.
5122 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
5123 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
5124 (__gai_find_request): Likewise.
5125 (__gai_remove_request): Likewise.
5126 (__gai_notify): Likewise.
5127 (__gai_notify_only): Likewise.
5128 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
5129 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
5130 (_dl_non_dynamic_init): Likewise.
5131 (_dl_aux_init): Likewise.
5132 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
5133 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
5135 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
5136 (__wcsmbs_clone_conv): Likewise.
5137 (__wcsmbs_named_conv): Likewise.
5139 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5142 * include/stdlib.h (__random): Add attribute_hidden.
5143 (__random_r): Likewise.
5144 (__srandom_r): Likewise.
5145 (__initstate_r): Likewise.
5146 (__setstate_r): Likewise.
5147 (__erand48_r): Likewise.
5148 (__nrand48_r): Likewise.
5149 (__jrand48_r): Likewise.
5150 (__srand48_r): Likewise.
5151 (__seed48_r): Likewise.
5152 (__lcong48_r): Likewise.
5153 (__drand48_iterate): Likewise.
5154 (__setenv): Likewise.
5155 (__unsetenv): Likewise.
5156 (__clearenv): Likewise.
5157 (__ptsname_r): Likewise.
5158 (__posix_openpt): Likewise.
5159 (__add_to_environ): Likewise.
5160 (__realpath): Add libc_hidden_proto.
5161 (__ecvt_r): Likewise.
5162 (__fcvt_r): Likewise.
5163 (__qecvt_r): Likewise.
5164 (__qfcvt_r): Likewise.
5165 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
5166 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
5168 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5171 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
5172 * include/time.h (__mktime_internal): Likewise.
5173 * libio/iolibio.h (__fopen_internal): Likewise.
5175 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
5177 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
5179 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
5180 Correct offset used to restore PIC register.
5182 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
5185 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
5186 code to load address of __getcontext_ret when generating PIC code.
5188 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
5190 * elf/Makefile (tests-static-internal): Add
5191 tst-tls1-static-non-pie.
5192 (LDFLAGS-tst-tls1-static-non-pie): New.
5193 * elf/tst-tls1-static-non-pie.c: New file.
5195 2017-09-29 Joseph Myers <joseph@codesourcery.com>
5197 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
5198 (asinh): Define using libm_alias_double.
5199 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
5200 (cbrt): Define using libm_alias_double.
5201 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
5202 <libm-alias-double.h>.
5203 (copysign): Define using libm_alias_double.
5204 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
5205 (erf): Define using libm_alias_double.
5207 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
5208 (expm1): Define using libm_alias_double.
5209 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
5210 (fabs): Define using libm_alias_double.
5211 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
5213 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
5214 <libm-alias-double.h>.
5215 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
5217 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
5218 <libm-alias-double.h>.
5219 (getpayload): Define using libm_alias_double.
5220 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
5221 <libm-alias-double.h>.
5222 (llrint): Define using libm_alias_double.
5223 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
5224 (lrint): Define using libm_alias_double.
5225 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
5226 <libm-alias-double.h>.
5227 (nextup): Define using libm_alias_double.
5228 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
5229 <libm-alias-double.h>.
5230 (roundeven): Define using libm_alias_double.
5231 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
5233 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
5234 <libm-alias-double.h>.
5235 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
5236 using libm_alias_double.
5237 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
5238 (cos): Define using libm_alias_double.
5240 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
5241 <libm-alias-double.h>.
5242 (sincos): Define using libm_alias_double.
5243 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
5244 (tanh): Define using libm_alias_double.
5245 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5246 <libm-alias-double.h>.
5247 (totalorder): Define using libm_alias_double.
5248 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5249 <libm-alias-double.h>.
5250 (totalordermag): Define using libm_alias_double.
5251 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
5253 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
5255 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
5256 <libm-alias-double.h>.
5257 (getpayload): Define using libm_alias_double.
5258 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
5259 <libm-alias-double.h>.
5260 (roundeven): Define using libm_alias_double.
5261 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
5262 <libm-alias-double.h>.
5263 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5264 <libm-alias-double.h>.
5265 (totalorder): Define using libm_alias_double.
5266 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5267 <libm-alias-double.h>.
5268 (totalordermag): Define using libm_alias_double.
5269 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
5270 libc compat symbol here.
5271 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
5272 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
5273 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
5274 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
5275 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
5276 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
5277 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
5278 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
5279 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
5280 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
5282 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
5284 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
5285 _dl_relocate_static_pie instead of _dl_start to compute load
5286 address in static PIE. Return 0 if _DYNAMIC is undefined for
5289 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
5291 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
5292 _DYNAMIC is undefined for static executable.
5294 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
5296 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
5298 2017-09-29 Joseph Myers <joseph@codesourcery.com>
5300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5302 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
5304 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5305 (__ieee754_lgamma_r): Use fabs rather than __fabs.
5306 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5307 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5308 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5309 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
5310 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5311 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5312 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
5313 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
5314 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5315 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
5317 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
5318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5320 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
5322 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
5324 * math/bits/cmathcalls.h (cimag): Remove inline.
5325 (creal): Remove inline.
5326 (conj): Remove inline.
5328 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5330 * math/Makefile (type-float-routines): Add e_powf_log2_data.
5331 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
5332 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
5333 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
5334 (issignalingf_inline): Likewise.
5335 (POWF_LOG2_TABLE_BITS): Likewise.
5336 (POWF_LOG2_POLY_ORDER): Likewise.
5337 (POWF_SCALE_BITS): Likewise.
5338 (POWF_SCALE): Likewise.
5339 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
5340 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
5341 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
5343 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5345 * math/Makefile (type-float-routines): Add e_log2f_data.
5346 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
5347 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
5348 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
5349 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
5350 * sysdeps/i386/fpu/e_log2f_data.c: New file.
5351 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
5352 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
5354 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5356 * math/Makefile (type-float-routines): Add e_logf_data.
5357 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
5358 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
5359 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
5360 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
5361 * sysdeps/i386/fpu/e_logf_data.c: New file.
5362 * sysdeps/ia64/fpu/e_logf_data.c: New file.
5363 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
5365 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
5367 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
5368 undefined _DYNAMIC in PIE libc.a.
5369 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
5372 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
5374 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
5375 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
5376 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
5377 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
5378 (__signbit): Remove.
5379 (__signbitl): Remove.
5380 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
5381 (__signbit): Remove.
5382 (__signbitl): Remove.
5383 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
5384 (__signbit): Remove.
5385 (__signbitl): Remove.
5386 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
5387 (__signbit): Remove.
5388 (__signbitl): Remove.
5389 * sysdeps/tile/bits/mathinline.h: Delete file.
5390 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
5391 (__signbit): Remove.
5392 (__signbitl): Remove.
5394 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
5396 * math/math.h: Improve handling of C99 isgreater macros.
5397 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
5398 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
5399 * sysdeps/powerpc/bits/mathinline.h: Likewise.
5400 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5401 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5403 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
5405 * sysdeps/aarch64/libm-test-ulps: Update.
5407 2017-09-28 Joseph Myers <joseph@codesourcery.com>
5410 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5411 math_opt_barrier on argument when doing arithmetic on it.
5412 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5413 Likewise. Use math_force_eval not math_opt_barrier after
5415 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
5416 math_opt_barrier on argument when doing arithmetic on it.
5417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5420 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
5422 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
5424 (__freeifaddrs): Likewise.
5426 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5428 * include/dirent.h (__dirfd): New declaration.
5429 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
5431 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
5432 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
5433 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
5434 * include/unistd.h (__revoke): New declaration.
5435 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
5437 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5438 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
5440 * include/dirent.h (__seekdir): New declaration.
5441 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
5442 redefine as weak alias.
5443 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
5445 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
5446 and use libc_hidden_def on them.
5447 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
5449 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
5450 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
5451 instead of getifaddrs and freeifaddrs.
5453 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
5456 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
5457 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
5458 (__dso_handle): Remove declaration.
5459 * dlfcn/tstatexit.c (__dso_handle): Removed.
5460 (main): Don't check __dso_handle.
5461 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
5462 (main): Don't check __dso_handle.
5463 * include/dso_handle.h: New file.
5464 * malloc/mtrace.c: Include <dso_handle.h>.
5465 (mtrace): Pass __dso_handle directly.
5466 * nptl/pthread_atfork.c: Include <dso_handle.h>.
5467 (__dso_handle): Remove declaration.
5468 (__pthread_atfork): Pass __dso_handle directly.
5469 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
5470 (__dso_handle): Removed.
5471 * posix/wordexp-test.c: Include <dso_handle.h>.
5472 (__dso_handle): Remove declaration.
5473 (__app_register_atfork): Pass __dso_handle directly.
5474 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
5475 (__dso_handle): Remove declaration.
5476 (at_quick_exit): Pass __dso_handle directly.
5477 * stdlib/atexit.c: Include <dso_handle.h>.
5478 (__dso_handle): Remove declaration.
5479 (atexit): Pass __dso_handle directly.
5480 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
5481 (__dso_handle): Removed.
5483 2017-09-26 Joseph Myers <joseph@codesourcery.com>
5485 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
5488 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
5490 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
5491 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
5492 values to correct default value for given type.
5494 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
5497 * elf/Makefile (tests): Add tst-debug1.
5498 ($(objpfx)tst-debug1): New.
5499 ($(objpfx)tst-debug1.out): Likewise.
5500 ($(objpfx)tst-debug1mod1.so): Likewise.
5501 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
5503 * elf/tst-debug1.c: New file.
5505 2017-09-26 Joseph Myers <joseph@codesourcery.com>
5507 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
5508 Define using __ifunc.
5510 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5512 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
5515 2017-09-26 Joseph Myers <joseph@codesourcery.com>
5518 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
5520 2017-09-26 Florian Weimer <fweimer@redhat.com>
5522 * resolv/Makefile (tests-internal): Fix typo in comment.
5524 2017-09-26 Florian Weimer <fweimer@redhat.com>
5526 * resolv/nss_dns/dns-host.c: Fix typo in comment.
5528 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5530 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
5531 Use an union instead of a max_align_t array for __space,
5532 so that __space is the same size on all platforms.
5533 * malloc/scratch_buffer_grow_preserve.c
5534 (__libc_scratch_buffer_grow_preserve): Likewise.
5537 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
5539 * posix/Makefile (routines): Add glob-lstat-compat and
5540 glob64-lstat-compat.
5541 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
5542 * posix/glob-lstat-compat.c: New file.
5543 * posix/glob64-lstat-compat.c: Likewise.
5544 * posix/tst-glob_lstat_compat.c: Likewise.
5545 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
5546 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
5547 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
5548 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
5550 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
5551 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
5552 * posix/glob.c (glob_lstat): New function.
5553 (glob): Rename to __glob and add versioned symbol to 2.27.
5554 (glob_in_dir): Use glob_lstat.
5555 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
5556 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5557 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
5559 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
5560 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
5561 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
5562 gl_lstat on glob call.
5563 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
5565 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5566 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5567 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5568 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5569 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5570 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5571 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5572 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5573 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5574 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5575 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5576 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5579 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5581 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5582 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5583 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5584 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5585 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5588 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5589 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5590 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5592 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
5594 * configure.ac (AS): Require binutils 2.25 or later.
5595 * configure: Regenerated.
5597 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5600 * stdlib/test-atexit-race-common.c (do_test): Minimize required
5603 2017-09-25 DJ Delorie <dj@redhat.com>
5606 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
5609 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5611 * sysdeps/ieee754/dbl-64/sincos32.h
5612 [SINCCOS32_H]: Remove define.
5613 [SINCOS32_H]: Define.
5615 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5617 * math/Versions (expf): New libm symbol at GLIBC_2.27.
5619 * math/w_exp2f.c: New file.
5620 * math/w_expf.c: New file.
5621 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
5622 * math/w_expf_compat.c (__expf_compat): Likewise.
5623 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
5624 * sysdeps/ia64/fpu/e_expf.S: Likewise.
5625 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5626 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5627 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5628 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5629 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5630 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5631 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5632 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5633 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5634 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5635 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5636 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5645 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5646 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5647 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5649 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5654 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5655 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5656 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5658 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5660 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
5661 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
5662 (roundtoint, converttoint): Likewise.
5663 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
5664 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
5665 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
5666 * sysdeps/ieee754/flt-32/math_config.h: New file.
5667 * sysdeps/ieee754/flt-32/math_errf.c: New file.
5668 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
5669 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
5670 * sysdeps/i386/fpu/math_errf.c: New file.
5671 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
5672 * sysdeps/ia64/fpu/math_errf.c: New file.
5673 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
5674 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
5676 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5678 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
5679 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
5680 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
5681 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
5682 to make sure that these symbols are defined.
5683 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
5685 (__need_NULL): Do not define.
5686 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
5688 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
5689 CMGROUP_MAX, cmsgcred): Do not define.
5690 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
5692 * bits/socket.h: Likewise.
5693 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
5694 __gettimeofday instead of gettimeofday.
5695 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
5696 instead of settimeofday.
5698 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5700 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
5701 (asinhf): Define using libm_alias_float.
5702 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
5703 (atanf): Define using libm_alias_float.
5704 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
5705 (cbrtf): Define using libm_alias_float.
5706 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
5707 (ceilf): Define using libm_alias_float.
5708 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
5709 <libm-alias-float.h>.
5710 (copysignf): Define using libm_alias_float.
5711 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
5712 (cosf): Define using libm_alias_float.
5713 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
5714 (erff): Define using libm_alias_float.
5716 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
5717 (expm1f): Define using libm_alias_float.
5718 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
5719 (fabsf): Define using libm_alias_float.
5720 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
5721 (floorf): Define using libm_alias_float.
5722 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
5723 (frexpf): Define using libm_alias_float.
5724 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
5726 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
5727 <libm-alias-float.h>.
5728 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
5730 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
5731 <libm-alias-float.h>.
5732 (getpayloadf): Define using libm_alias_float.
5733 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
5734 <libm-alias-float.h>.
5735 (llrintf): Define using libm_alias_float.
5736 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
5737 <libm-alias-float.h>.
5738 (llroundf): Define using libm_alias_float.
5739 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
5740 (logbf): Define using libm_alias_float.
5741 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
5742 (lrintf): Define using libm_alias_float.
5743 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
5744 (lroundf): Define using libm_alias_float.
5745 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
5746 (modff): Define using libm_alias_float.
5747 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
5748 <libm-alias-float.h>.
5749 (nearbyintf): Define using libm_alias_float.
5750 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
5751 <libm-alias-float.h>.
5752 (nextafterf): Define using libm_alias_float.
5753 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
5754 <libm-alias-float.h>.
5755 (nextupf): Define using libm_alias_float.
5756 * sysdeps/ieee754/flt-32/s_remquof.c: Include
5757 <libm-alias-float.h>.
5758 (remquof): Define using libm_alias_float.
5759 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
5760 (rintf): Define using libm_alias_float.
5761 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
5762 <libm-alias-float.h>.
5763 (roundevenf): Define using libm_alias_float.
5764 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
5765 (roundf): Define using libm_alias_float.
5766 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
5767 using libm_alias_float.
5768 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
5769 <libm-alias-float.h>.
5770 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
5771 Define using libm_alias_float.
5772 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
5773 <libm-alias-float.h>.
5774 (sincosf): Define using libm_alias_float.
5775 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
5776 (sinf): Define using libm_alias_float.
5777 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
5778 (tanf): Define using libm_alias_float.
5779 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
5780 (tanhf): Define using libm_alias_float.
5781 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5782 <libm-alias-float.h>.
5783 (totalorderf): Define using libm_alias_float.
5784 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5785 <libm-alias-float.h>.
5786 (totalordermagf): Define using libm_alias_float.
5787 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
5788 (truncf): Define using libm_alias_float.
5789 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
5791 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
5794 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5797 math/math.h: Let fpclassify use the builtin in C++ mode, even
5798 when optimazing for size.
5800 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5802 * csu/Makefile (generated): Do not add version-info.h.
5803 (before-compile): Likewise.
5804 (all-Banner-files): Remove variable.
5805 ($(objpfx)version-info.h): Remove rule.
5806 * csu/version.c (banner): Do not include "version-info.h".
5807 * libidn/Banner: Remove.
5808 * manual/contrib.texi (Simon Josefsson): New entry.
5810 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5812 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5813 Remove conditionals on LDBL_MANT_DIG.
5814 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
5815 (__ieee754_lgammal_r): Likewise.
5817 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5819 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
5821 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
5822 _Float128 and L(). Replace _Float128 with long double and L(x)
5823 with xL, throughout the file.
5824 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5825 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5826 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5827 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5829 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
5832 sysdeps/ieee754/ldbl-128ibm.
5833 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
5834 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
5835 of including it. Keep _Float128 and L() intact. These will be
5836 reviewed by a separate patch.
5837 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5838 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5842 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
5845 (__finitef128): Define to __redirect___finitef128.
5846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
5847 (__isinff128): Define to __redirect___isinff128.
5848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
5849 (__isnanf128): Define to __redirect___isnanf128.
5851 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5853 * sysdeps/powerpc/powerpc64le/Makefile
5854 (CFLAGS-tst-strtod-nan-locale.c): New variable.
5855 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
5857 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5858 Carlos O'Donell <carlos@redhat.com>
5861 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
5862 * stdlib/test-dlclose-exit-race.c: New file.
5863 * stdlib/test-dlclose-exit-race-helper.c: New file.
5864 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
5866 2017-09-21 Joseph Myers <joseph@codesourcery.com>
5868 * crypt/Banner: Remove file.
5869 * nptl/Banner: Likewise.
5870 * resolv/Banner: Likewise.
5871 * soft-fp/Banner: Likewise.
5872 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
5873 ($(objpfx)version.d): Remove dependency on banner.h.
5874 ($(objpfx)version.os): Likewise.
5875 * nptl/version.c (banner): Do not include banner.h.
5876 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
5877 Jelinek and BIND code.
5879 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5880 Carlos O'Donell <carlos@redhat.com>
5882 * support/xdlfcn.h: New file.
5883 * support/xdlfcn.c: New file.
5884 * support/Makefile (libsupport-routines): Add xdlfcn.
5885 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
5887 2017-09-20 Joseph Myers <joseph@codesourcery.com>
5890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5891 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
5892 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
5893 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
5894 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5895 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
5896 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
5897 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5899 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5900 Ricky Zhou <rickyz@google.com>
5901 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
5904 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
5906 (__new_exitfn): Fail registration when we finished at_exit processing.
5907 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5908 * stdlib/on_exit.c (__on_exit): Likewise.
5909 * stdlib/exit.c (__exit_funcs_done): New variable.
5910 (__run_exit_handlers): Use __exit_funcs_lock.
5911 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
5913 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
5914 (test-cxa_atexit-race, test-on_exit-race): New tests.
5915 * stdlib/test-atexit-race-common.c: New file.
5916 * stdlib/test-atexit-race.c: New file.
5917 * stdlib/test-at_quick_exit-race.c: New file.
5918 * stdlib/test-cxa_atexit-race.c: New file.
5919 * stdlib/test-on_exit-race.c: New file.
5921 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
5923 * benchtests/Makefile: Add exp2f and log2f benchmarks.
5924 * benchtests/exp2f-inputs: Copy of expf-inputs.
5925 * benchtests/log2f-inputs: Copy of logf-inputs.
5927 2017-09-19 Joseph Myers <joseph@codesourcery.com>
5929 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
5930 Explicitly take address of first element of array arguments in
5931 call to INLINE_SYSCALL.
5933 2017-09-19 Andreas Schwab <schwab@suse.de>
5936 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
5938 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
5940 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
5941 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
5942 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5943 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
5944 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5945 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5946 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5947 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5948 * posix/Makefile (tests): Add tst-fexecve.
5949 * posix/tst-fexecve.c: New file.
5951 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5953 * benchtests/Makefile: Add logf benchmark.
5954 * benchtests/logf-inputs: Add reduced trace from wrf_r.
5956 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5958 * benchtests/Makefile: Add expf benchmark.
5959 * benchtests/expf-inputs: Add reduced trace from wrf_r.
5961 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5963 * csu/Makefile: Add -funwind-tables to libc-start.c.
5964 * debug/Makefile: Add -funwind-tables to backtrace.c.
5965 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
5966 * sysdeps/arm/Makefile: Likewise.
5967 * sysdeps/i386/Makefile: Likewise.
5968 * sysdeps/m68k/Makefile: Likewise.
5969 * sysdeps/mips/Makefile: Likewise.
5970 * sysdeps/nios2/Makefile: Likewise.
5971 * sysdeps/sh/Makefile: Likewise.
5972 * sysdeps/sparc/Makefile: Likewise.
5974 2017-09-19 Joseph Myers <joseph@codesourcery.com>
5976 * benchtests/Makefile (bench-math): Add trunc and truncf.
5977 (CFLAGS-bench-trunc.c): New variable.
5978 (CFLAGS-bench-truncf.c): Likewise.
5979 * benchtests/trunc-inputs: New file.
5980 * benchtests/truncf-inputs: Likewise.
5982 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5984 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
5986 2017-09-18 Joseph Myers <joseph@codesourcery.com>
5988 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
5989 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
5991 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
5992 (exp10l): Define as weak alias.
5993 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
5994 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
5996 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
5997 (remainderl): Define as weak alias.
5999 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
6000 (fmal): Define using libm_alias_ldouble.
6001 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
6002 (acoshl): Define using libm_alias_ldouble.
6003 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
6004 (acosl): Define using libm_alias_ldouble.
6005 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
6006 (asinl): Define using libm_alias_ldouble.
6007 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
6008 (atan2l): Define using libm_alias_ldouble.
6009 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
6010 (atanhl): Define using libm_alias_ldouble.
6011 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
6012 (coshl): Define using libm_alias_ldouble.
6013 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
6014 (exp10l): Define using libm_alias_ldouble.
6015 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
6016 (exp2l): Define using libm_alias_ldouble.
6017 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
6018 (expl): Define using libm_alias_ldouble.
6019 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
6020 (fmodl): Define using libm_alias_ldouble.
6021 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
6022 (hypotl): Define using libm_alias_ldouble.
6023 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
6024 (j0l): Define using libm_alias_ldouble.
6026 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
6027 (j1l): Define using libm_alias_ldouble.
6029 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
6030 (jnl): Define using libm_alias_ldouble.
6032 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
6033 (log10l): Define using libm_alias_ldouble.
6034 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
6035 (log2l): Define using libm_alias_ldouble.
6036 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
6037 (logl): Define using libm_alias_ldouble.
6038 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
6039 (powl): Define using libm_alias_ldouble.
6040 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
6041 (remainderl): Define using libm_alias_ldouble.
6042 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
6043 (sinhl): Define using libm_alias_ldouble.
6044 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
6045 (sqrtl): Define using libm_alias_ldouble.
6046 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
6047 (tgammal): Define using libm_alias_ldouble.
6048 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
6049 (exp10l): Do not use long_double_symbol here.
6050 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
6051 [LIBM_SVID_COMPAT] (remainderl): Likewise.
6052 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
6053 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6054 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6055 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6056 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6057 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6058 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6059 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
6060 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6061 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6062 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6063 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6064 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6065 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6066 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6067 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6068 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6069 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6070 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6071 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6073 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
6075 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
6076 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
6078 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
6080 * io/read.c (read): Add libc_hidden_weak.
6081 * sysdeps/mach/hurd/read.c (read): Likewise.
6082 * io/write.c (write): Likewise.
6083 * sysdeps/mach/hurd/write.c (write): Likewise.
6084 * io/pread64.c (__pread64): Likewise.
6085 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
6086 * posix/pread64.c (__pread64): Add libc_hidden_def.
6088 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6090 * benchtests/scripts/compare_strings.py: New option -g.
6091 (draw_graph): Print a message that a graph is being generated.
6092 (process_results): Generate graph only if -g is passed.
6093 (main): Process option -g.
6095 * benchtests/scripts/compare_strings.py (process_results):
6096 Better spacing for output.
6098 * benchtests/scripts/compare_strings.py: Use argparse.
6099 * benchtests/README: Document existence of compare_strings.py.
6101 2017-09-15 Joseph Myers <joseph@codesourcery.com>
6103 * math/s_fma.c: Include <libm-alias-double.h>.
6104 (fma): Define using libm_alias_double.
6105 * math/s_nextafter.c: Include <libm-alias-double.h>.
6106 (nextafter): Define using libm_alias_double.
6107 * math/w_acos_compat.c: Include <libm-alias-double.h>.
6108 (acos): Define using libm_alias_double.
6109 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
6110 (aocsh): Define using libm_alias_double.
6111 * math/w_asin_compat.c: Include <libm-alias-double.h>.
6112 (asin): Define using libm_alias_double.
6113 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
6114 (atan2): Define using libm_alias_double.
6115 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
6116 (atanh): Define using libm_alias_double.
6117 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
6118 (cosh): Define using libm_alias_double.
6119 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
6120 (exp10): Define using libm_alias_double.
6121 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
6122 (exp2): Define using libm_alias_double.
6123 * math/w_exp_compat.c: Include <libm-alias-double.h>.
6124 (exp): Define using libm_alias_double.
6125 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
6126 (fmod): Define using libm_alias_double.
6127 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
6128 (hypot): Define using libm_alias_double.
6129 * math/w_j0_compat.c: Include <libm-alias-double.h>.
6130 (j0): Define using libm_alias_double.
6132 * math/w_j1_compat.c: Include <libm-alias-double.h>.
6133 (j1): Define using libm_alias_double.
6135 * math/w_jn_compat.c: Include <libm-alias-double.h>.
6136 (jn): Define using libm_alias_double.
6138 * math/w_log10_compat.c: Include <libm-alias-double.h>.
6139 (log10): Define using libm_alias_double.
6140 * math/w_log2_compat.c: Include <libm-alias-double.h>.
6141 (log2): Define using libm_alias_double.
6142 * math/w_log_compat.c: Include <libm-alias-double.h>.
6143 (log): Define using libm_alias_double.
6144 * math/w_pow_compat.c: Include <libm-alias-double.h>.
6145 (pow): Define using libm_alias_double.
6146 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
6147 (remainder): Define using libm_alias_double.
6148 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
6149 (sinh): Define using libm_alias_double.
6150 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
6151 (sqrt): Define using libm_alias_double.
6152 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
6153 (tgamma): Define using libm_alias_double.
6154 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
6155 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
6156 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
6157 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
6158 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
6159 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
6160 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
6161 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
6162 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
6163 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
6164 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
6165 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
6166 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6167 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
6168 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
6169 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
6170 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
6171 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
6172 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
6173 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
6174 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
6175 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
6176 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
6177 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
6178 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
6180 * math/e_acoshl.c: Remove.
6181 * math/e_acosl.c: Likewise.
6182 * math/e_asinl.c: Likewise.
6183 * math/e_atan2l.c: Likewise.
6184 * math/e_atanhl.c: Likewise.
6185 * math/e_coshl.c: Likewise.
6186 * math/e_expl.c: Likewise.
6187 * math/e_fmodl.c: Likewise.
6188 * math/e_gammal_r.c: Likewise.
6189 * math/e_hypotl.c: Likewise.
6190 * math/e_j0l.c: Likewise.
6191 * math/e_j1l.c: Likewise.
6192 * math/e_jnl.c: Likewise.
6193 * math/e_lgammal_r.c: Likewise.
6194 * math/e_log10l.c: Likewise.
6195 * math/e_log2l.c: Likewise.
6196 * math/e_logl.c: Likewise.
6197 * math/e_powl.c: Likewise.
6198 * math/e_rem_pio2l.c: Likewise.
6199 * math/e_sinhl.c: Likewise.
6200 * math/e_sqrtf128.c: Likewise.
6201 * math/e_sqrtl.c: Likewise.
6202 * math/k_cosl.c: Likewise.
6203 * math/k_sinl.c: Likewise.
6204 * math/k_tanl.c: Likewise.
6205 * math/s_asinhl.c: Likewise.
6206 * math/s_atanl.c: Likewise.
6207 * math/s_cbrtl.c: Likewise.
6208 * math/s_erfl.c: Likewise.
6209 * math/s_expm1l.c: Likewise.
6210 * math/s_log1pl.c: Likewise.
6211 * math/s_tanhl.c: Likewise.
6213 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
6217 [$(subdir) = math] (sysdep_calls): New variable. Has the
6218 previous contents of sysdep_routines, but re-sorted..
6219 [$(subdir) = math] (sysdep_routines): Re-use the contents from
6221 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
6222 defined in sysdep_calls and replace by the respective m_* names.
6223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
6224 (compat_symbol): Undefine to avoid duplicated compat symbols in
6227 2017-09-15 Joseph Myers <joseph@codesourcery.com>
6229 * math/s_fmaf.c: Include <libm-alias-float.h>.
6230 (fmaf): Define using libm_alias_float.
6231 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
6232 (acosf): Define using libm_alias_float.
6233 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
6234 (acoshf): Define using libm_alias_float.
6235 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
6236 (asinf): Define using libm_alias_float.
6237 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
6238 (atan2f): Define using libm_alias_float.
6239 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
6240 (atanhf): Define using libm_alias_float.
6241 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
6242 (coshf): Define using libm_alias_float.
6243 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
6244 (exp10f): Define using libm_alias_float.
6245 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
6246 (fmodf): Define using libm_alias_float.
6247 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
6248 (hypotf): Define using libm_alias_float.
6249 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
6250 (j0f): Define using libm_alias_float.
6252 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
6253 (j1f): Define using libm_alias_float.
6255 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
6256 (jnf): Define using libm_alias_float.
6258 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
6259 (log10f): Define using libm_alias_float.
6260 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
6261 (log2f): Define using libm_alias_float.
6262 * math/w_logf_compat.c: Include <libm-alias-float.h>.
6263 (logf): Define using libm_alias_float.
6264 * math/w_powf_compat.c: Include <libm-alias-float.h>.
6265 (powf): Define using libm_alias_float.
6266 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
6267 (remainderf): Define using libm_alias_float.
6268 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
6269 (sinhf): Define using libm_alias_float.
6270 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
6271 (sqrtf): Define using libm_alias_float.
6272 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
6273 (tgammaf): Define using libm_alias_float.
6275 2017-09-14 Joseph Myers <joseph@codesourcery.com>
6277 * include/math.h (roundeven): Change hidden_proto call to
6279 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
6281 [NO_LONG_DOUBLE] (__j0l): New strong alias.
6282 (y0): Rename to __y0 and define as weak alias.
6283 [NO_LONG_DOUBLE] (__y0l): New strong alias.
6284 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
6286 (y0f): Rename to __y0f and define as weak alias.
6287 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
6289 [NO_LONG_DOUBLE] (__j1l): New strong alias.
6290 (y1): Rename to __y1 and define as weak alias.
6291 [NO_LONG_DOUBLE] (__y1l): New strong alias.
6292 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
6294 (y1f): Rename to __y1f and define as weak alias.
6295 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
6297 [NO_LONG_DOUBLE] (__jnl): New strong alias.
6298 (yn): Rename to __yn and define as weak alias.
6299 [NO_LONG_DOUBLE] (__ynl): New strong alias.
6300 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
6302 (ynf): Rename to __ynf and define as weak alias.
6303 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
6304 (fromfp): Define as weak alias.
6305 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
6306 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
6307 (fromfpx): Define as weak alias.
6308 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
6309 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
6310 __getpayload and define as weak alias.
6311 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
6312 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
6313 __roundeven and define as weak alias.
6314 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
6315 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
6317 (setpayload): Define as weak alias.
6318 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
6319 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
6321 (setpayloadsig): Define as weak alias.
6322 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
6323 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
6324 __totalorder and define as weak alias.
6325 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
6326 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
6327 to __totalordermag and define as weak alias.
6328 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
6329 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
6330 (ufromfp): Define as weak alias.
6331 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
6332 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
6334 (ufromfpx): Define as weak alias.
6335 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
6336 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
6337 Rename to __getpayload and define as weak alias.
6338 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
6339 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
6340 Rename to __roundeven and define as weak alias.
6341 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
6342 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
6343 Rename to __totalorder and define as weak alias.
6344 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
6345 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
6346 (totalordermag): Rename to __totalordermag and define as weak
6348 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
6349 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
6351 (__roundevenl): Likewise.
6352 (__totalorderl): Likewise.
6353 (__totalordermagl): Likewise
6354 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
6356 (fromfpf128): Define as weak alias.
6357 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
6359 (fromfpxf128): Define as weak alias.
6360 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
6362 (setpayloadf128): Define as weak alias.
6363 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
6364 __setpayloadsigf128.
6365 (setpayloadsigf128): Define as weak alias.
6366 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
6368 (ufromfpf128): Define as weak alias.
6369 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
6371 (ufromfpxf128): Define as weak alias.
6372 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
6373 (fromfpf): Define as weak alias.
6374 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
6376 (fromfpxf): Define as weak alias.
6377 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
6378 __getpayloadf and define as weak alias.
6379 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
6380 __roundevenf and define as weak alias.
6381 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
6383 (setpayloadf): Define as weak alias.
6384 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
6386 (setpayloadsigf): Define as weak alias.
6387 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
6388 __totalorderf and define as weak alias.
6389 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
6390 Rename to __totalordermagf and define as weak alias.
6391 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
6393 (ufromfpf): Define as weak alias.
6394 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
6396 (ufromfpxf): Define as weak alias.
6397 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
6399 (fromfpl): Define as weak alias.
6400 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
6402 (fromfpxl): Define as weak alias.
6403 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
6404 to __getpayloadl and define as weak alias.
6405 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
6406 __roundevenl and define as weak alias.
6407 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
6409 (setpayloadl): Define as weak alias.
6410 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
6412 (setpayloadsigl): Define as weak alias.
6413 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
6414 to __totalorderl and define as weak alias.
6415 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
6416 Rename to __totalordermagl and define as weak alias.
6417 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
6419 (ufromfpl): Define as weak alias.
6420 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
6422 (ufromfpxl): Define as weak alias.
6423 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
6425 (fromfpl): Define as weak alias.
6426 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
6428 (fromfpxl): Define as weak alias.
6429 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
6430 Rename to __getpayloadl and define as weak alias.
6431 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
6432 to __roundevenl and define as weak alias. Call __roundeven
6433 instead of roundeven.
6434 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
6436 (setpayloadl): Define as weak alias.
6437 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
6439 (setpayloadsigl): Define as weak alias.
6440 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
6441 Rename to __totalorderl and define as weak alias.
6442 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
6443 Rename to __totalordermagl and define as weak alias.
6444 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
6446 (ufromfpl): Define as weak alias.
6447 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
6449 (ufromfpxl): Define as weak alias.
6450 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
6452 (fromfpl): Define as weak alias.
6453 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
6455 (fromfpxl): Define as weak alias.
6456 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
6457 __getpayloadl and define as weak alias.
6458 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
6459 __roundevenl and define as weak alias.
6460 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
6462 (setpayloadl): Define as weak alias.
6463 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
6465 (setpayloadsigl): Define as weak alias.
6466 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
6467 __totalorderl and define as weak alias.
6468 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
6469 Rename to __totalordermagl and define as weak alias.
6470 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
6472 (ufromfpl): Define as weak alias.
6473 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
6475 (ufromfpxl): Define as weak alias.
6477 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6479 * benchtests/bench-string.h (realloc_bufs): New function.
6480 (test_init): Call it.
6481 * benchtests/bench-memset-large.c (do_test): Likewise.
6482 * benchtests/bench-memset.c (do_test): Likewise.
6484 * benchtests/bench-memset-large.c: Print output in JSON
6486 * benchtests/bench-memset.c: Likewise.
6488 2017-09-14 Mike FABIAN <mfabian@redhat.com>
6491 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
6492 * iconvdata/Makefile: Add IBM858.
6493 * iconvdata/gconv-modules: Likewise.
6494 * iconvdata/tst-tables.sh: Likewise.
6495 * iconvdata/ibm858.c: New file.
6496 * localedata/charmaps/IBM858: Likewise.
6498 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
6501 * locales/niu_NZ (LC_TIME): copy "niu_NU".
6502 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
6504 2017-09-14 Mike FABIAN <mfabian@redhat.com>
6507 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
6508 and add tel_int_fmt.
6510 2017-09-14 Joseph Myers <joseph@codesourcery.com>
6512 * sysdeps/generic/libm-alias-float128.h: New file.
6513 * sysdeps/generic/math-type-macros-float128.h: Include
6514 <libm-alias-float128.h>.
6515 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6517 2017-09-13 Joseph Myers <joseph@codesourcery.com>
6519 * sysdeps/generic/libm-alias-ldouble.h: New file.
6520 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
6521 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
6522 * sysdeps/generic/math-type-macros-ldouble.h: Include
6523 <libm-alias-ldouble.h>.
6524 [!declare_mgen_alias] (declare_mgen_alias): Define to use
6527 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6529 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
6530 * math/w_exp_compat.c: ... here.
6531 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
6532 * math/w_expf_compat.c: ... here.
6533 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
6534 * math/w_expl_compat.c: ... here.
6535 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
6536 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
6537 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
6538 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
6540 2017-09-13 Joseph Myers <joseph@codesourcery.com>
6542 * math/w_scalbln_template.c (strong_alias): Do not undefine and
6544 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
6546 (ldexpl): Only define as compat symbol for libc, not libm.
6547 (scalbnl): Define as compat symbol for libc here.
6548 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
6549 define for [IS_IN (libc)].
6550 (__ldexpl_2): Remove alias.
6551 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
6552 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
6553 name in long_double_symbol call.
6554 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
6555 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6556 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6557 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
6558 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
6560 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
6561 Define as compat symbol.
6563 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6565 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
6566 * sysdeps/unix/sysv/linux/alpha/Makefile
6567 [$(subdir) = csu] (sysdep_routines): Remove rule.
6569 2017-09-13 Joseph Myers <joseph@codesourcery.com>
6571 * sysdeps/generic/libm-alias-double.h: New file.
6572 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
6573 * sysdeps/generic/math-type-macros-double.h: Include
6574 <libm-alias-double.h>.
6575 [declare_mgen_alias] (declare_mgen_alias): Define to use
6577 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
6578 (M_LIBM_NEED_COMPAT): Remove macro.
6579 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
6580 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
6581 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
6583 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6584 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6585 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6586 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6587 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6588 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6589 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6590 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6591 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6592 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6593 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6594 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6595 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6596 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6597 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6598 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6599 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6600 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6601 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6602 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6603 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6604 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6605 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6606 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6607 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6608 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6609 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6610 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
6611 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
6613 (declare_mgen_alias): New macro.
6614 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
6615 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
6616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
6617 (M_LIBM_NEED_COMPAT): Remove macro.
6618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
6619 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
6621 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
6622 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
6624 2017-09-12 Joseph Myers <joseph@codesourcery.com>
6626 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
6627 (declare_mgen_alias_2): Remove.
6628 * sysdeps/generic/math-type-macros-double.h
6629 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
6631 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
6633 (ldexp): Define with declare_mgen_alias.
6636 2017-09-12 Steve Ellcey <sellcey@cavium.com>
6638 * grp/initgroups.c: Include config.h.
6639 (DEFAULT_CONFIG): New macro.
6640 (internal_getgrouplist): Use DEFAULT_CONFIG.
6641 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6642 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
6643 (DEFAULT_DEFCONFIG): New macro.
6644 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
6645 * nss/grp-lookup.c: Include config.h
6646 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
6647 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
6648 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
6649 * manual/nss.texi: Update default values section.
6651 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
6654 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
6656 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
6657 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6658 Handle MathVec_Prefer_No_AVX512.
6659 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
6660 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
6663 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
6665 * posix/sched_primax.c (__sched_get_priority_max): Add
6667 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
6668 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6669 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6670 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
6671 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
6672 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
6673 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
6674 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
6677 2017-09-11 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/generic/libm-alias-float.h: New file.
6680 * sysdeps/generic/math-type-macros-float.h: Include
6681 <libm-alias-float.h>.
6682 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6684 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
6687 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
6688 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
6689 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
6690 (HWCAP_IMPORTANT): Likewise.
6691 (HWCAP_X86_64): New enum.
6692 (HWCAP_X86_AVX512_1): Updated.
6693 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
6694 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
6695 (modules-names): Add x86_64/tst-x86_64mod-1.
6696 (LDFLAGS-tst-x86_64mod-1.so): New.
6697 ($(objpfx)tst-x86_64-1): Likewise.
6698 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
6699 (tst-x86_64-1-clean): Likewise.
6700 * sysdeps/x86_64/tst-x86_64-1.c: New file.
6701 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
6703 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6705 * po/sv.po: Update translations.
6706 * po/fr.po: Likewise.
6708 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6710 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
6712 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
6714 * elf/rtld-Rules: Fix $(error) use.
6716 2017-09-09 Mike FABIAN <mfabian@redhat.com>
6719 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
6720 * locale/iso-639.def: Change “Bengali” to “Bangla”.
6721 * localedata/locales/bn_BD: “Bengali” was still used in some
6722 comments. Change it to “Bangla”.
6724 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
6726 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
6728 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6730 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
6731 thunderx2t99p1 to list of cpu names.
6732 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6733 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
6735 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6737 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
6738 Use strcmp instead of tunable_is_name.
6740 2017-09-08 Joseph Myers <joseph@codesourcery.com>
6742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6743 (F_GET_RW_HINT): New macro.
6744 [__USE_GNU] (F_SET_RW_HINT): Likewise.
6745 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
6746 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
6747 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
6748 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
6749 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
6750 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
6751 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
6752 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
6754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6755 (F_ADD_SEALS): New macro.
6756 [__USE_GNU] (F_GET_SEALS): Likewise.
6757 [__USE_GNU] (F_SEAL_SEAL): Likewise.
6758 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
6759 [__USE_GNU] (F_SEAL_GROW): Likewise.
6760 [__USE_GNU] (F_SEAL_WRITE): Likewise.
6762 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6764 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
6765 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
6766 * posix/glob_internal.h (__glob_pattern_type):
6767 * posix/glob.c (glob):
6768 * posix/glob_pattern_p.c (__glob_pattern_p):
6771 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
6772 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6773 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
6774 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
6775 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
6777 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
6778 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
6779 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6781 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6782 * sysdeps/wordsize-64/glob.c: Likewise.
6783 * sysdeps/wordsize-64/glob64.c: Likewise.
6784 * sysdeps/wordsize-64/globfree.c: Likewise.
6785 * sysdeps/wordsize-64/globfree64.c: Likewise.
6786 * sysdeps/unix/sysv/linux/glob.c: New file.
6787 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
6788 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
6789 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
6790 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
6791 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
6792 adds !GLOB_NO_OLD_VERSION as an extra condition.
6793 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
6794 using relative path instead of absolute one.
6795 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
6796 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6797 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6798 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
6799 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
6800 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
6803 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
6804 (glob): Use the same scratch buffer for both getlogin_r and
6805 getpwnam_r. Don’t require preallocation of the login name. This
6806 simplifies storage allocation, and corrects the handling of
6810 * posix/glob.c (glob): Port recent patches to platforms
6812 (glob): Fix longstanding misuse of errno after getpwnam_r, which
6813 returns an error number rather than setting errno.
6815 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
6816 instead of GCC extension.
6817 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
6818 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
6819 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
6823 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
6824 * posix/bug-glob1.c: Remove file.
6825 * posix/tst-glob_symlinks.c: New file.
6826 * posix/glob.c (__lstat64): New macro.
6827 (is_dir): New function.
6828 (glob, glob_in_dir): Match symlinks even if they are dangling.
6829 (link_stat, link_exists_p): Remove. All uses removed.
6833 * posix/glob.c (struct readdir_result): Remove skip_entry member.
6834 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
6839 * posix/Makefile (routines): Add globfree, globfree64, and
6841 * posix/flexmember.h: New file.
6842 * posix/glob_internal.h: Likewise.
6843 * posix/glob_pattern_p.c: Likewise.
6844 * posix/globfree.c: Likewise.
6845 * posix/globfree64.c: Likewise.
6846 * sysdeps/gnu/globfree64.c: Likewise.
6847 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
6848 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6849 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
6850 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6851 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6852 * sysdeps/wordsize-64/globfree.c: Likewise.
6853 * sysdeps/wordsize-64/globfree64.c: Likewise.
6854 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
6855 [NDEBUG): Remove comments.
6856 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
6857 (dirent_type): New type. Use uint_fast8_t not
6858 uint8_t, as C99 does not require uint8_t.
6859 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
6860 (struct readdir_result): Use dirent_type. Do not define skip_entry
6861 unless it is needed; this saves a byte on platforms lacking d_ino.
6862 (readdir_result_type, readdir_result_skip_entry):
6863 New functions, replacing ...
6864 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6865 these functions, which were removed. This makes the callers
6866 easier to read. All callers changed.
6867 (D_INO_TO_RESULT): Now empty if there is no d_ino.
6868 (size_add_wrapv, glob_use_alloca): New static functions.
6869 (glob, glob_in_dir): Check for size_t overflow in several places,
6870 and fix some size_t checks that were not quite right.
6871 Remove old code using SHELL since Bash no longer
6873 (glob, prefix_array): Separate MS code better.
6874 (glob_in_dir): Remove old Amiga and VMS code.
6875 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
6877 (glob_in_dir): Do not rely on undefined behavior in accessing
6878 struct members beyond their bounds. Use a flexible array member
6880 (link_stat): Rename from link_exists2_p and return -1/0 instead of
6881 0/1. Caller changed.
6882 (glob): Fix memory leaks.
6883 * posix/glob64 (globfree64): Move to separate file.
6884 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
6885 (globfree64): Remove hidden alias.
6886 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
6888 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
6890 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
6892 Move compat code to separate file.
6893 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
6896 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
6898 * resolv/tst-resolv-qtypes.c (domain): Changed to
6899 "const char domain[] =".
6901 2017-09-07 Joseph Myers <joseph@codesourcery.com>
6903 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6906 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
6907 (TCP_MD5SIG_EXT): Likewise.
6908 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
6909 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
6910 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
6912 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
6914 2017-09-07 Mike FABIAN <mfabian@redhat.com>
6916 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
6918 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
6921 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
6923 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6925 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
6926 before assuming that the file is empty. Avoid testing buffer content
6929 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6932 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6934 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
6936 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
6938 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
6940 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6942 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
6944 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
6947 2017-09-06 Florian Weimer <fweimer@redhat.com>
6949 * malloc/dynarray_emplace_enlarge.c
6950 (__libc_dynarray_emplace_enlarge): Add missing else.
6952 2017-09-06 Florian Weimer <fweimer@redhat.com>
6955 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
6956 case of failure to obtain the global conf object.
6958 2017-09-06 Florian Weimer <fweimer@redhat.com>
6961 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
6962 dynarray allocation failure.
6964 2017-09-06 Florian Weimer <fweimer@redhat.com>
6966 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
6967 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
6968 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
6970 (response): Call them. Add 'p', '6' flag processing.
6971 (test_reverse): New function.
6972 (test_get2_any): Call it.
6973 (test_no_inet6): Add 'p' test.
6974 (test_inet6): Likewise.
6976 2017-09-06 Florian Weimer <fweimer@redhat.com>
6978 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
6979 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
6981 (test_gai): Adjust query names. Add additional tests.
6982 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
6983 test_get2. Adjust query names. Add additional tests.
6984 (test_no_inet6): New function, extracted from threadfunc.
6985 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
6986 Add additional tests.
6988 2017-09-06 Mike FABIAN <mfabian@redhat.com>
6991 * localedata/unicode-gen/utf8_gen.py: Set the width for
6992 characters with Prepended_Concatenation_Mark property to 1
6993 * localedata/charmaps/UTF-8: Updated using the improved script.
6995 2017-09-06 Mike FABIAN <mfabian@redhat.com>
6998 * localedata/unicode-gen/utf8_gen.py: Improve the script to
6999 use the range notation for all ranges of neighbouring characters
7000 with the same width.
7002 2017-09-05 Joseph Myers <joseph@codesourcery.com>
7004 * sysdeps/generic/math-type-macros-double.h: Include
7005 <math-svid-compat.h>.
7006 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
7007 * sysdeps/generic/math-type-macros-float.h: Include
7008 <math-svid-compat.h>.
7009 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
7010 * sysdeps/generic/math-type-macros-ldouble.h: Include
7011 <math-svid-compat.h>.
7012 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
7013 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
7015 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
7016 * math/w_acosf_compat.c: Likewise.
7017 * math/w_acosh_compat.c: Likewise.
7018 * math/w_acoshf_compat.c: Likewise.
7019 * math/w_acoshl_compat.c: Likewise.
7020 * math/w_acosl_compat.c: Likewise.
7021 * math/w_asin_compat.c: Likewise.
7022 * math/w_asinf_compat.c: Likewise.
7023 * math/w_asinl_compat.c: Likewise.
7024 * math/w_atan2_compat.c: Likewise.
7025 * math/w_atan2f_compat.c: Likewise.
7026 * math/w_atan2l_compat.c: Likewise.
7027 * math/w_atanh_compat.c: Likewise.
7028 * math/w_atanhf_compat.c: Likewise.
7029 * math/w_atanhl_compat.c: Likewise.
7030 * math/w_cosh_compat.c: Likewise.
7031 * math/w_coshf_compat.c: Likewise.
7032 * math/w_coshl_compat.c: Likewise.
7033 * math/w_exp10_compat.c: Likewise.
7034 * math/w_exp10f_compat.c: Likewise.
7035 * math/w_exp10l_compat.c: Likewise.
7036 * math/w_exp2_compat.c: Likewise.
7037 * math/w_exp2f_compat.c: Likewise.
7038 * math/w_exp2l_compat.c: Likewise.
7039 * math/w_fmod_compat.c: Likewise.
7040 * math/w_fmodf_compat.c: Likewise.
7041 * math/w_fmodl_compat.c: Likewise.
7042 * math/w_hypot_compat.c: Likewise.
7043 * math/w_hypotf_compat.c: Likewise.
7044 * math/w_hypotl_compat.c: Likewise.
7045 * math/w_j0_compat.c: Likewise.
7046 * math/w_j0f_compat.c: Likewise.
7047 * math/w_j0l_compat.c: Likewise.
7048 * math/w_j1_compat.c: Likewise.
7049 * math/w_j1f_compat.c: Likewise.
7050 * math/w_j1l_compat.c: Likewise.
7051 * math/w_jn_compat.c: Likewise.
7052 * math/w_jnf_compat.c: Likewise.
7053 * math/w_jnl_compat.c: Likewise.
7054 * math/w_lgamma_r_compat.c: Likewise.
7055 * math/w_lgammaf_r_compat.c: Likewise.
7056 * math/w_lgammal_r_compat.c: Likewise.
7057 * math/w_log10_compat.c: Likewise.
7058 * math/w_log10f_compat.c: Likewise.
7059 * math/w_log10l_compat.c: Likewise.
7060 * math/w_log2_compat.c: Likewise.
7061 * math/w_log2f_compat.c: Likewise.
7062 * math/w_log2l_compat.c: Likewise.
7063 * math/w_log_compat.c: Likewise.
7064 * math/w_logf_compat.c: Likewise.
7065 * math/w_logl_compat.c: Likewise.
7066 * math/w_pow_compat.c: Likewise.
7067 * math/w_powf_compat.c: Likewise.
7068 * math/w_powl_compat.c: Likewise.
7069 * math/w_remainder_compat.c: Likewise.
7070 * math/w_remainderf_compat.c: Likewise.
7071 * math/w_remainderl_compat.c: Likewise.
7072 * math/w_sinh_compat.c: Likewise.
7073 * math/w_sinhf_compat.c: Likewise.
7074 * math/w_sinhl_compat.c: Likewise.
7075 * math/w_sqrt_compat.c: Likewise.
7076 * math/w_sqrtf_compat.c: Likewise.
7077 * math/w_sqrtl_compat.c: Likewise.
7078 * math/w_tgamma_compat.c: Likewise.
7079 * math/w_tgammaf_compat.c: Likewise.
7080 * math/w_tgammal_compat.c: Likewise.
7081 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
7083 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
7084 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
7086 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
7087 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
7089 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
7090 * sysdeps/i386/fpu/w_sqrt.c: New file.
7091 * sysdeps/ia64/fpu/w_acos.c: Likewise.
7092 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7093 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7094 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7095 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7096 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7097 * sysdeps/ia64/fpu/w_asin.c: Likewise.
7098 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7099 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7100 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7101 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7102 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7103 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7104 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7105 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7106 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7107 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7108 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7109 * sysdeps/ia64/fpu/w_exp.c: Likewise.
7110 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7111 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7112 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7113 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7114 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7115 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7116 * sysdeps/ia64/fpu/w_expf.c: Likewise.
7117 * sysdeps/ia64/fpu/w_expl.c: Likewise.
7118 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7119 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7120 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7121 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7122 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7123 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7124 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7125 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7126 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7127 * sysdeps/ia64/fpu/w_log.c: Likewise.
7128 * sysdeps/ia64/fpu/w_log10.c: Likewise.
7129 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7130 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7131 * sysdeps/ia64/fpu/w_log2.c: Likewise.
7132 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7133 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7134 * sysdeps/ia64/fpu/w_logf.c: Likewise.
7135 * sysdeps/ia64/fpu/w_logl.c: Likewise.
7136 * sysdeps/ia64/fpu/w_pow.c: Likewise.
7137 * sysdeps/ia64/fpu/w_powf.c: Likewise.
7138 * sysdeps/ia64/fpu/w_powl.c: Likewise.
7139 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7140 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7141 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7142 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7143 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7144 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7145 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7146 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7147 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7148 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
7149 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
7150 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
7151 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
7153 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7154 * sysdeps/ieee754/k_standard.c: Likewise.
7155 * sysdeps/ieee754/k_standardf.c: Likewise.
7156 * sysdeps/ieee754/k_standardl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7160 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
7161 long_double_symbol call on [LIBM_SVID_COMPAT].
7162 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7163 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7164 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7165 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7166 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7167 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7168 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7169 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7170 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7171 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7172 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7173 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7174 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7175 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7176 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7177 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7178 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7179 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7180 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7181 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7182 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
7183 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
7185 2017-09-05 Steve Ellcey <sellcey@cavium.com>
7187 * include/shlib-compat.h (TEST_COMPAT): New Macro.
7188 * malloc/tst-mallocstate.c: Convert from test-skeleton
7189 to test-driver. Ifdef code using TEST_COMPAT macro.
7190 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
7191 * math/test-matherr.c: Likewise.
7193 2017-09-05 Joseph Myers <joseph@codesourcery.com>
7196 * debug/pcprofiledump.c (main): Use byte-swapped mask when
7197 comparing word with byte-swapped constant.
7199 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
7202 * locale/iso-639.def: add Miskito.
7203 * localedata/SUPPORTED: Add miq_NI/UTF-8.
7204 * localedata/locales/miq_NI: New file.
7206 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
7209 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
7210 (__mkdir): Likewise.
7211 * io/chmod.c (__chmod): Add libc_hidden_def.
7212 * io/mkdir.c (__mkdir): Likewise.
7213 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7214 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7215 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
7216 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
7218 2017-09-04 Joseph Myers <joseph@codesourcery.com>
7220 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7224 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
7225 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7227 2017-09-04 Florian Weimer <fweimer@redhat.com>
7229 * math/math.h: Issue warning if log is defined.
7231 2017-09-04 Joseph Myers <joseph@codesourcery.com>
7233 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7234 kernel version to 4.13.
7236 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7238 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
7239 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
7241 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
7242 just <bits/types.h>.
7243 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
7244 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
7245 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
7246 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
7247 * misc/preadv2.c: Include <errno.h>.
7248 * misc/preadv64v2.c: Include <errno.h>.
7249 * misc/pwritev2.c: Include <errno.h>.
7250 * misc/pwritev64v2.c: Include <errno.h>.
7251 * sysdeps/posix/preadv2.c: Include <errno.h>.
7252 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
7253 Fix <unistd.h> inclusion.
7254 * sysdeps/posix/pwritev2.c: Include <errno.h>.
7255 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
7256 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
7257 __strtoul_internal): New functions.
7258 * sysdeps/posix/pause.c: Include <sigsetops.h>.
7259 * sysdeps/posix/system.c: Include <sigsetops.h>.
7260 * sysdeps/mach/hurd/i386/Makefile
7261 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
7262 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7263 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7264 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
7265 __feraiseexcept_renamed to feraiseexcept instead of
7267 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
7268 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
7269 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
7270 RWF_NOWAIT): Define to 0 if undefined already.
7271 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
7273 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
7274 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
7276 2017-09-01 Joseph Myers <joseph@codesourcery.com>
7278 * manual/math.texi (pow10): Do not document.
7281 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
7282 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
7283 * math/libm-test-exp10.inc (pow10_test): Remove.
7284 (do_test): Do not call pow10.
7285 * math/w_exp10_compat.c (pow10): Make into compat symbol.
7286 [NO_LONG_DOUBLE] (pow10l): Likewise.
7287 * math/w_exp10f_compat.c (pow10f): Likewise.
7288 * math/w_exp10l_compat.c (pow10l): Likewise.
7289 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
7290 (pow10): Make into compat symbol.
7291 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
7292 (pow10f): Make into compat symbol.
7293 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
7294 (pow10l): Make into compat symbol.
7295 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
7297 (CFLAGS-nldbl-pow10.c): Remove variable..
7298 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
7299 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
7300 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
7301 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
7302 Undefine and redefine.
7303 (pow10l): Make into compat symbol.
7304 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
7305 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7306 * sysdeps/arm/libm-test-ulps: Likewise.
7307 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
7308 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7309 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7310 * sysdeps/microblaze/libm-test-ulps: Likewise.
7311 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7312 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7313 * sysdeps/nios2/libm-test-ulps: Likewise.
7314 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7315 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7316 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7317 * sysdeps/sh/libm-test-ulps: Likewise.
7318 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7319 * sysdeps/tile/libm-test-ulps: Likewise.
7320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7322 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7324 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
7326 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
7328 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
7329 "../ChangeLog.old/ChangeLog.8".
7330 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
7331 "../ChangeLog.old/ChangeLog.14".
7333 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
7335 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
7338 2017-09-01 Joseph Myers <joseph@codesourcery.com>
7340 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
7342 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
7344 * csu/version.c (banner): Remove "by Roland McGrath et al.".
7345 * nptl/Banner: Remove "by Ulrich Drepper et al.".
7347 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7349 * stdlib/tst-atexit-common.c (do_test): Test support for at least
7352 2017-09-01 Zack Weinberg <zackw@panix.com>
7354 * math/math.h (HUGE_VAL): Improve commentary.
7356 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7357 Andreas Schwab <schwab@suse.de>
7360 * include/stdio.h (__gen_tempfd): New function.
7361 * stdio-common/Makefile (routines): Add gentempfd.
7362 * stdio-common/gentempfd.c: New file.
7363 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
7364 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
7367 2017-09-01 Florian Weimer <fweimer@redhat.com>
7371 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
7372 result to determine success or failure, not the errno value.
7373 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
7374 (tst-nss-files-hosts-erange): Link with -ldl.
7375 * nss/tst-nss-files-hosts-erange.c: New file.
7376 * nss/tst-resolv-basic.c (response): Handle nodata.example.
7377 (do_test): Add NO_DATA tests.
7378 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
7381 2017-09-01 Florian Weimer <fweimer@redhat.com>
7384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
7385 coming from gethostbyname2_r.
7387 2017-09-01 Florian Weimer <fweimer@redhat.com>
7389 * support/namespace.h (struct support_chroot_configuration): Add
7391 (struct support_chroot): Add path_hosts, path_host_conf.
7392 * support/support_chroot.c (write_file): New function.
7393 (support_chroot_create): Call it to process /etc/resolv.conf,
7394 /etc/hosts, /etc/host.conf.
7395 (support_chroot_free): Update.
7397 2017-09-01 Florian Weimer <fweimer@redhat.com>
7399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
7400 status indicates it is set.
7402 2017-09-01 Florian Weimer <fweimer@redhat.com>
7404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
7405 function lookup failures more reliable.
7407 2017-09-01 Florian Weimer <fweimer@redhat.com>
7409 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
7410 (getcanonname): Likewise.
7411 (gaih_inet): Likewise.
7413 2017-09-01 Florian Weimer <fweimer@redhat.com>
7415 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
7416 (getcanonname): Likewise.
7417 (gaih_inet): Likewise.
7419 2017-08-31 Steve Ellcey <sellcey@cavium.com>
7420 Richard Henderson <rth@twiddle.net>
7422 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
7423 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
7424 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
7425 (IREG_SIZE, OREG_SIZE): New macros.
7426 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
7427 (IREG_SIZE, OREG_SIZE): New macros.
7428 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
7429 (IREG_SIZE): New macro.
7430 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
7431 (IREG_SIZE): New macro.
7432 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
7434 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
7435 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
7436 (__CONCATX): Handle exceptions correctly on large values that may
7438 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
7439 Initialize if not already set.
7440 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
7442 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7444 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
7445 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
7447 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
7449 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
7451 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
7453 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
7455 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
7457 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
7459 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
7460 (NO_CANCELLATION): Likewise.
7461 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
7463 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
7465 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
7467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
7468 (NO_CANCELLATION): Likewise.
7469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
7470 (NO_CANCELLATION): Likewise.
7471 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
7473 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
7475 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
7477 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
7479 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
7481 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
7482 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
7484 2017-08-31 Steve Ellcey <sellcey@cavium.com>
7486 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
7489 2017-08-31 Florian Weimer <fweimer@redhat.com>
7491 * include/libc-symbols.h (internal_function): Remove.
7493 2017-08-31 Florian Weimer <fweimer@redhat.com>
7495 * stdlib/fmtmsg.c (internal_addseverity): Remove
7498 2017-08-31 Florian Weimer <fweimer@redhat.com>
7500 * stdio-common/printf_fp.c (group_number): Remove
7502 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
7504 2017-08-31 Florian Weimer <fweimer@redhat.com>
7506 * posix/fnmatch.c (internal_function): Remove definition.
7507 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
7508 * posix/regcomp.c (peek_token, init_word_char)
7509 (duplicate_node_closure, fetch_token, peek_token)
7510 (peek_token_bracket, build_range_exp, build_collating_symbol):
7512 * posix/regex_internal.c (re_string_construct_common)
7513 (create_ci_newstate, create_cd_newstate, re_string_allocate)
7514 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
7515 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
7516 (re_string_translate_buffer, re_string_reconstruct)
7517 (re_string_peek_byte_case, re_string_fetch_byte_case)
7518 (re_string_destruct, re_string_context_at, re_node_set_alloc)
7519 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
7520 (re_node_set_add_intersect, re_node_set_init_union)
7521 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
7522 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
7523 (re_dfa_add_node, calc_state_hash, re_acquire_state)
7524 (re_acquire_state_context): Likewise.
7525 * posix/regex_internal.h (internal_function): Remove definition.
7526 (re_string_realloc_buffers, build_wcs_buffer)
7527 (build_wcs_upper_buffer, build_upper_buffer)
7528 (re_string_translate_buffer, re_string_context_at)
7529 (re_string_char_size_at, re_string_wchar_at)
7530 (re_string_elem_size_at): Likewise.
7531 * posix/regexec.c (match_ctx_init, match_ctx_clean)
7532 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
7533 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
7534 (re_search_internal, re_search_2_stub, re_search_stub)
7535 (re_copy_regs, prune_impossible_nodes, check_matching)
7536 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
7537 (free_fail_stack_return, sift_states_iter_mb)
7538 (sift_states_backward, build_sifted_states)
7539 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
7540 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
7541 (check_subexp_limits, sift_states_bkref, merge_state_array)
7542 (find_recover_state, transit_state, merge_state_with_log)
7543 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
7544 (transit_state_mb, transit_state_bkref, get_subexp)
7545 (get_subexp_sub, find_subexp_node, check_arrival)
7546 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
7547 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
7548 (check_node_accept_bytes, find_collation_sequence_value)
7549 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
7550 (acquire_init_state_context, check_halt_node_context)
7551 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
7552 (sub_epsilon_src_nodes): Likewise.
7553 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
7554 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
7555 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
7556 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
7557 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
7558 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
7559 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
7560 * sysdeps/posix/ttyname.c (getttyname): Likewise.
7561 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7562 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
7564 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
7566 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
7567 (PWRITEV): Likewise.
7568 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
7569 (PWRITEV): Likewise.
7570 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
7571 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
7573 2017-08-31 Florian Weimer <fweimer@redhat.com>
7575 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
7576 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
7577 Remove internal_function.
7578 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7579 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
7580 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
7581 (__deallocate_stack, __libc_pthread_init)
7582 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
7583 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
7584 (__libc_disable_asynccancel, __librt_disable_asynccancel):
7586 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
7587 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
7588 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
7590 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
7591 (__pthread_mutex_unlock_usercnt): Likewise.
7593 2017-08-31 Florian Weimer <fweimer@redhat.com>
7595 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
7596 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
7597 (fts_safe_changedir): Remove internal_function.
7598 * io/ftw.c (internal_function): Remove definition.
7599 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
7601 2017-08-31 Florian Weimer <fweimer@redhat.com>
7603 * inet/deadline.c (__deadline_current_time)
7604 (__deadline_from_timeval, __deadline_to_ms): Remove
7606 * inet/getnameinfo.c (nrl_domainname): Likewise.
7607 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
7608 * inet/inet6_option.c (add_pad): Likewise.
7609 * inet/net-internal.h (__deadline_current_time)
7610 (__deadline_from_timeval, __deadline_to_ms): Likewise.
7611 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
7612 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
7613 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
7615 2017-08-31 Joseph Myers <joseph@codesourcery.com>
7617 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
7618 include <bits/nan.h>.
7619 * math/Makefile (headers): Remove bits/nan.h.
7620 * bits/nan.h: Remove.
7621 * sysdeps/ieee754/bits/nan.h: Likewise.
7622 * sysdeps/mips/bits/nan.h: Likewise.
7624 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
7625 not include <bits/inf.h>.
7626 * math/Makefile (headers): Remove bits/inf.h.
7627 * bits/inf.h: Remove.
7628 * sysdeps/ieee754/bits/inf.h: Likewise.
7630 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
7631 bits/huge_vall.h or bits/huge_val_flt128.h.
7632 (HUGE_VAL): Define directly here.
7633 [__USE_ISOC99] (HUGE_VALF): Likewise.
7634 [__USE_ISOC99] (HUGE_VALL): Likewise.
7635 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7636 (HUGE_VAL_F128): Likewise.
7637 * math/Makefile (headers): Remove bits/huge_val.h,
7638 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
7639 * bits/huge_val.h: Remove.
7640 * bits/huge_val_flt128.h: Likewise.
7641 * bits/huge_valf.h: Likewise.
7642 * bits/huge_vall.h: Likewise.
7643 * sysdeps/ia64/bits/huge_vall.h: Likewise.
7644 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7645 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
7646 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
7647 * sysdeps/sh/bits/huge_val.h: Likewise.
7648 * sysdeps/sparc/bits/huge_vall.h: Likewise.
7649 * sysdeps/x86/bits/huge_vall.h: Likewise.
7651 2017-08-31 Florian Weimer <fweimer@redhat.com>
7653 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
7655 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
7657 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
7658 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7659 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
7660 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
7661 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7662 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7663 * elf/dl-libc.c (dlerror_run): Likewise.
7664 * elf/dl-load.c (add_name_to_object, decompose_rpath)
7665 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
7666 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
7667 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
7669 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
7670 (_dl_higher_prime_number, _dl_strtoul): Likewise.
7671 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
7672 * elf/dl-profile.c (_dl_start_profile): Likewise.
7673 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
7674 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
7676 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
7677 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
7678 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
7679 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
7680 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
7681 (_dl_allocate_tls_storage): Likewise.
7682 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
7683 (_dl_check_all_versions): Likewise.
7684 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7685 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
7686 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
7687 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7688 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
7689 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
7690 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
7691 internal_function from __dl_start.
7692 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
7693 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7694 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
7695 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
7696 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
7697 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
7698 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
7699 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
7700 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
7701 (_dl_next_ld_env_entry, _dl_important_hwcaps)
7702 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
7703 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
7704 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
7705 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
7706 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
7708 (struct rtld_global_ro): Remove internal_function from the
7709 _dl_lookup_symbol_x member.
7710 (_dl_symbol_value): Remove. No longer defined anywhere.
7711 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
7713 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7714 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7715 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
7716 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
7717 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
7718 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
7719 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
7720 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
7721 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
7722 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7723 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7724 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7726 2017-08-31 Florian Weimer <fweimer@redhat.com>
7728 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
7729 Remove internal_function.
7730 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7732 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7735 2017-08-31 Florian Weimer <fweimer@redhat.com>
7737 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
7738 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
7739 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
7741 2017-08-31 Florian Weimer <fweimer@redhat.com>
7743 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
7744 (__gai_enqueue_request): Remove internal_function.
7745 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
7746 (__gai_remove_request, __gai_notify, __gai_notify_only)
7747 (__gai_sigqueue): Likewise.
7748 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
7749 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7750 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
7751 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7754 2017-08-31 Florian Weimer <fweimer@redhat.com>
7756 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
7757 * include/dirent.h (__opendirat, __getdents, __getdents64)
7758 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
7759 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
7760 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7761 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7763 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
7765 2017-08-31 Florian Weimer <fweimer@redhat.com>
7767 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
7769 (GETCWD_RETURN_TYPE): Likewise.
7771 2017-08-31 Florian Weimer <fweimer@redhat.com>
7773 * include/time.h (__tz_compute, __strptime_internal): Remove
7775 * time/strptime_l.c (__strptime_internal): Likewise.
7776 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
7778 2017-08-31 Florian Weimer <fweimer@redhat.com>
7780 * iconv/gconv.c (__gconv): Remove internal_function.
7781 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
7782 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
7783 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
7784 (__gconv_release_cache): Likewise.
7785 * iconv/gconv_close.c (__gconv_close): Likewise.
7786 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
7787 (read_conf_file, __gconv_get_path): Likewise.
7788 * iconv/gconv_db.c (derivation_lookup, add_derivation)
7789 (__gconv_release_step, gen_steps, increment_counter)
7790 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
7791 (__gconv_close_transform, free_modules_db): Likewise.
7792 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
7794 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
7795 (__gconv_find_transform, __gconv_lookup_cache)
7796 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
7797 (__gconv_close_transform, __gconv_release_cache)
7798 (__gconv_loaded_object, __gconv_release_shlib)
7799 (__gconv_compare_alias): Likewise.
7800 * iconv/gconv_open.c (__gconv_open): Likewise.
7801 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
7802 * iconv/iconvconfig.c (add_module): Likewise.
7803 * intl/dcigettext.c (plural_lookup, guess_category_value)
7804 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
7805 * intl/eval-plural.h (plural_eval): Likewise.
7806 * intl/finddomain.c (_nl_find_domain): Likewise.
7807 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
7808 (_nl_load_domain, _nl_find_msg): Likewise.
7809 (internal_function): Remove definition.
7810 * intl/loadinfo.h (internal_function): Likewise.
7811 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
7813 * intl/localealias.c (internal_function): Remove definition.
7814 (read_alias_file): Remove internal_function.
7815 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
7816 * intl/plural-exp.h (internal_function): Remove definition.
7817 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
7819 * intl/plural.c: Regenerate.
7820 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
7821 * locale/coll-lookup.c (__collidx_table_lookup)
7822 (__collseq_table_lookup): Likewise.
7823 * locale/coll-lookup.h (__collidx_table_lookup)
7824 (__collseq_table_lookup): Likewise.
7825 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
7826 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7827 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
7828 (_nl_unload_locale): Likewise.
7829 * locale/localeinfo.h (struct __locale_data): Remove
7830 internal_function from cleanup member.
7831 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
7832 (_nl_remove_locale, _nl_load_locale_from_archive)
7833 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
7834 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
7835 (_nl_cleanup_time): Remove internal_function.
7836 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
7837 (_nl_parse_alt_digit): Likewise.
7838 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
7839 (_nl_select_era_entry): Likewise.
7840 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
7841 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7842 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7843 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7844 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7846 2017-08-31 Florian Weimer <fweimer@redhat.com>
7848 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
7849 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
7850 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
7851 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
7853 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
7854 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
7855 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
7856 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7858 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
7860 2017-08-31 Florian Weimer <fweimer@redhat.com>
7862 * misc/getttyent.c (skip, value): Remove internal_function.
7863 * misc/syslog.c (openlog_internal): Likewise.
7864 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
7866 2017-08-31 Florian Weimer <fweimer@redhat.com>
7868 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
7869 (__nss_rewrite_field): Remove internal_function.
7870 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7871 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7872 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7873 * nss/nsswitch.c (nss_parse_file, nss_getline)
7874 (nss_parse_service_list, nss_new_service): Likewise.
7875 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
7876 * nss/valid_field.c (__nss_valid_field): Likewise.
7877 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7879 2017-08-31 Florian Weimer <fweimer@redhat.com>
7881 * malloc/arena.c (__malloc_fork_lock_parent)
7882 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
7883 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
7884 internal_function from defintions.
7885 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
7886 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
7887 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
7888 internal_function from declarations.
7889 * malloc/malloc.c (internal_function): Do not define.
7890 (mem2mem_check): Remove internal_function from declaration.
7891 (munmap_chunk, mremap_chunk): Remove internal_function.
7892 * malloc/mtrace.c (tr_where): Likewise.
7894 2017-08-31 Florian Weimer <fweimer@redhat.com>
7896 * include/rpc/pmap_clnt.h (__get_socket): Remove
7898 * sunrpc/auth_des.c (synchronize): Likewise.
7899 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
7900 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
7901 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
7902 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
7903 (key_call): Likewise.
7904 * sunrpc/pm_getport.c (__get_socket): Likewise.
7905 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
7906 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
7907 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
7908 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
7909 (invalidate): Likewise.
7910 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
7911 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
7912 (set_input_fragment, get_input_bytes): Likewise.
7914 2017-08-31 Florian Weimer <fweimer@redhat.com>
7916 * malloc/malloc.c (_int_free): Remove locked variable and related
7919 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
7922 * Makerules (build-module-helper-objlist): Filter out
7923 $(elf-objpfx)sofini.os.
7924 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
7927 2017-08-31 Florian Weimer <fweimer@redhat.com>
7929 * libio/fcloseall.c: Assume weak_alias is defined.
7930 * libio/feof.c: Likewise.
7931 * libio/fileno.c: Likewise.
7932 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
7933 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7935 (_IO_file_open): Call __open directly.
7936 (_IO_new_file_sync): Assume ESPIPE is defined.
7937 (_IO_file_seekoff_maybe_mmap): Call __read directly.
7938 (_IO_new_file_write): Call __write directly.
7939 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
7940 * libio/ftello64.c (__ftello64): Assume EIO is defined.
7941 * libio/genops.c: Assume _LIBC is defined.
7942 (save_for_backup): Remove internal_function.
7943 * libio/getc.c: Assume weak_alias is defined.
7944 * libio/getwc.c: Likewise.
7945 * libio/iofclose.c: Assume _LIBC is defined.
7946 * libio/iofdopen.c: Likewise.
7947 (_IO_fcntl): Remove macro definition.
7948 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
7949 Call __fcntl directly.
7950 * libio/iofflush.c: Assume weak_alias is defined.
7951 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
7953 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
7954 * libio/iofgets.c: Likewise.
7955 * libio/iofopen.c: Assume _LIBC is defined.
7956 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
7957 * libio/iofputs.c: Assume weak_alias is defined.
7958 * libio/iofread.c: Likewise.
7959 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
7960 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7961 * libio/ioftell.c: Assume weak_alias is defined.
7962 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
7963 * libio/iofwide.c: Assume _LIBC is defined.
7964 (_IO_fwide): Drop SHARED conditional because it is implied by
7966 * libio/iofwrite.c: Assume weak_alias is defined.
7967 * libio/iogetdelim.c: Likewise.
7968 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
7969 * libio/iogetwline.c (wmemcpy): Remove macro definition.
7970 (_IO_getwline): Call __wmemcpy directly.
7971 * libio/iopopen.c: Assume _LIBC is defined.
7972 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7973 (_IO_close): Remove macro definitions.
7974 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
7976 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
7978 * libio/ioputs.c: Assume weak_alias is defined.
7979 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
7980 * libio/iosetbuffer.c: Assume weak_alias is defined.
7981 * libio/iosetvbuf.c: Likewise.
7982 * libio/ioungetc.c: Likewise.
7983 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
7984 libc_hidden_def, libc_hidden_weak, NULL are defined.
7985 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
7986 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
7988 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7990 (_IO_old_file_init_internal): Drop SHARED conditional because it
7991 is implied by SHLIB_COMPAT.
7992 (_IO_old_file_fopen): Call __open directly.
7993 (_IO_old_file_sync): Assume ESPIPE is defined.
7994 (_IO_old_file_write): Call __write directly.
7995 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
7996 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
7997 Call __fcntl directly.
7998 * libio/oldiofgetpos.c: Assume weak_alias is defined.
7999 (_IO_old_fgetpos): Assume EIO is defined.
8000 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
8001 (_IO_old_fgetpos64): Assume EIO is defined.
8002 * libio/oldiofsetpos.c: Assume weak_alias is defined.
8003 (_IO_old_fsetpos): Assume EIO is defined.
8004 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
8005 (_IO_old_fsetpos64): Assume EIO is defined.
8006 * libio/oldiopopen.c: Assume _LIBC is defined.
8007 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
8008 (_IO_close): Remove macro definitions.
8009 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
8011 (_IO_old_proc_close): Call __close, __waitpid directly.
8012 * libio/put.c: Assume weak_alias is defined.
8013 * libio/stdfiles.c: Assume _LIBC is defined.
8014 * libio/stdio.c: Likewise.
8015 * libio/wfileops.c: Likewise.
8016 (_IO_wfile_sync): Assume ESPIPE is defined.
8017 * libio/wgenops.c: Assume _LIBC is defined.
8018 (save_for_wbackup): Remove internal_function.
8020 2017-08-31 Florian Weimer <fweimer@redhat.com>
8022 * malloc/malloc.c (top_check): Change return type to void. Remove
8024 * malloc/hooks.c (top_check): Likewise.
8025 (malloc_check, realloc_check, memalign_check): Adjust.
8027 2017-08-30 Joseph Myers <joseph@codesourcery.com>
8030 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
8031 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
8032 sigcontext and namespace requirements.
8033 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
8034 * sysdeps/m68k/sys/ucontext.h: Likewise.
8035 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
8036 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
8037 <bits/sigcontext.h>.
8038 (__ctx): Define earlier.
8039 (mcontext_t): Define structure contents rather than using struct
8041 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
8042 __glibc_reserved1 instead of __reserved.
8043 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
8044 <bits/sigcontext.h>.
8045 (__ctx): Define earlier.
8046 (mcontext_t): Define structure contents rather than using struct
8048 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
8049 mcontext_t instead of struct sigcontext.
8050 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
8051 <bits/sigcontext.h>.
8052 (__ctx): Define earlier.
8053 (mcontext_t): Define structure contents rather than using struct
8055 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
8056 <bits/sigcontext.h>.
8057 (__ctx): Define earlier.
8058 (mcontext_t): Define structure contents rather than using struct
8060 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
8061 mcontext_t instead of struct sigcontext.
8062 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
8063 mcontext_t instead of struct sigcontext.
8064 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
8065 <bits/sigcontext.h>.
8067 (struct __ia64_fpreg_mcontext): New type.
8068 (mcontext_t): Define structure contents rather than using struct
8070 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
8071 (uc_sigmask): Define using __ctx.
8072 (uc_stack): Likewise.
8073 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
8074 <bits/sigcontext.h>.
8075 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8076 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
8077 <bits/sigcontext.h>.
8078 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
8079 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
8080 <bits/sigcontext.h>.
8081 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
8082 <bits/sigcontext.h>.
8083 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
8084 <bits/sigcontext.h>.
8085 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
8086 <bits/sigcontext.h>.
8087 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
8088 <bits/sigcontext.h>.
8089 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
8090 <bits/sigcontext.h>.
8091 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
8092 <bits/sigcontext.h>.
8093 (__ctx): Define earlier.
8094 (mcontext_t): Define structure contents rather than using struct
8096 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
8097 <bits/sigcontext.h>. Include <bits/types.h>.
8098 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
8099 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
8100 (test-xfail-XPG42/ucontext.h/conform): Likewise.
8101 (test-xfail-UNIX98/signal.h/conform): Likewise.
8102 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8103 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8104 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8105 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8106 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8107 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8108 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8109 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8110 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8112 2017-08-30 Florian Weimer <fweimer@redhat.com>
8114 * malloc/dynarray_emplace_enlarge.c
8115 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
8116 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8117 * malloc/tst-dynarray.c (test_long_overflow): New function.
8120 2017-08-30 Florian Weimer <fweimer@redhat.com>
8122 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
8123 (set_arena_corrupt): Remove definitions.
8124 (mtrim): Do not check for corrupt arena.
8125 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
8128 2017-08-30 Florian Weimer <fweimer@redhat.com>
8131 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
8133 (ptmalloc_init): Do not set or use check_action.
8134 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
8135 call to malloc_printerr. Remove return statement.
8136 (free_check): Likewise. Remove arena unlock.
8137 (top_check): Update comment. Adjust call to malloc_printerr.
8138 Remove heap repair code.
8139 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
8140 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
8141 (sysmalloc): Adjust call to malloc_printerr.
8142 (munmap_chunk, __libc_realloc): Likewise. Remove return
8144 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
8145 Remove errout label and corresponding gotos.
8146 (_int_free): Likewise. Remove arena unlock.
8147 (do_set_mallopt_check): Do not set check_action.
8148 (malloc_printerr): Adjust parameter list. Do not mark arena as
8150 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
8152 * manual/probes.texi (Memory Allocation Probes): Remove
8153 memory_mallopt_check_action.
8155 2017-08-30 Steve Ellcey <sellcey@cavium.com>
8157 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
8158 Use pointer to uint64_t instead of long int for sp.
8160 2017-08-30 Florian Weimer <fweimer@redhat.com>
8163 * malloc/malloc.c (malloc_printerr): Always terminate the process,
8164 without printing a backtrace. Do not leak any information in the
8166 * manual/memory.texi (Heap Consistency Checking): Update.
8167 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
8169 2017-08-30 Florian Weimer <fweimer@redhat.com>
8171 Do not scale NPTL tests with available number of CPUs.
8172 * nptl/tst-cond16.c (count): Set to constant value of 8.
8173 * nptl/tst-cond18.c (count): Likewise.
8175 2017-08-29 Joseph Myers <joseph@codesourcery.com>
8178 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
8179 Define to take a second argument that is a macro that
8180 concatentates a suffix, not the suffix itself.
8181 (__CONCAT_d): New macro.
8182 (__CONCAT_f): Likewise.
8183 (__CONCAT_l): Likewise.
8185 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
8187 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
8190 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8191 Aurelien Jarno <aurelien@aurel32.net>
8192 Maciej W. Rozycki <macro@imgtec.com>
8195 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
8196 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
8197 `mips16-syscall6' and `mips16-syscall7'.
8198 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
8199 (CFLAGS-mips16-syscall7.c): Remove.
8200 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
8201 Remove `__mips16_syscall5', `__mips16_syscall6' and
8202 `__mips16_syscall7'.
8203 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
8204 (__mips16_syscall0): Rename `__mips16_syscall_return' to
8205 `__mips_syscall_return'.
8206 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
8207 (__mips16_syscall1): Likewise.
8208 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
8209 (__mips16_syscall2): Likewise.
8210 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
8211 (__mips16_syscall3): Likewise.
8212 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
8213 (__mips16_syscall4): Likewise.
8214 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
8216 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
8218 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
8220 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
8221 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
8222 `__mips16_syscall5'. Remove prototype.
8223 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
8224 `__mips16_syscall6'. Remove prototype.
8225 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
8226 `__mips16_syscall7'. Remove prototype.
8227 (__nomips16, __mips16_syscall_return): Move to...
8228 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
8229 (__nomips16, __mips_syscall_return): ... here.
8230 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
8231 `__mips16_syscall_return' to `__mips_syscall_return'.
8232 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
8233 `internal_syscall##nr'.
8234 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
8235 `internal_syscall##nr'.
8236 (FORCE_FRAME_POINTER): Remove.
8237 (__mips_syscall5): New prototype.
8238 (internal_syscall5): Rewrite to call `__mips_syscall5'.
8239 (__mips_syscall6): New prototype.
8240 (internal_syscall6): Rewrite to call `__mips_syscall6'.
8241 (__mips_syscall7): New prototype.
8242 (internal_syscall7): Rewrite to call `__mips_syscall7'.
8243 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
8244 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
8245 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
8246 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
8247 (sysdep_routines): Add libc-do-syscall.
8248 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
8249 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
8251 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8254 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
8255 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
8256 (advise_stack_range): New function.
8257 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
8258 stack non required to advise_stack_range at allocatestack.c
8260 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8262 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
8264 2017-08-29 Florian Weimer <fweimer@redhat.com>
8267 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
8268 __end_fct. Mangle __end_fct after setting it to NULL.
8269 * iconv/Makefile (tests): Add tst-gconv-init-failure.
8270 (modules-names, modules-names-tests): Add
8271 tst-gconv-init-failure-mod.
8272 (gconv-modules): New target.
8273 (tst-gconv-init-failure-mod.so): Link against libsupport.
8274 (tst-gconv-init-failure): Depend on gconv-modules,
8275 tst-gconv-init-failure-mod.so.
8276 * iconv/tst-gconv-init-failure-mod.c: New file.
8277 * iconv/tst-gconv-init-failure.c: Likewise.
8278 * iconv/test-gconv-modules: Likewise.
8280 2017-08-29 Florian Weimer <fweimer@redhat.com>
8283 * iconv/gconv_db.c (free_derivation): Remove redundant
8285 (gen_steps): Unconditionally mangle __btowc_fct after
8287 (increment_counter): Likewise. Do not call init_fct for internal
8290 2017-08-29 Joseph Myers <joseph@codesourcery.com>
8293 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
8294 (_MSUF_): Remove macro.
8295 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
8297 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
8298 (__REDIRFROM_X): New macro.
8299 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
8301 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
8302 (__REDIRTO_X): Likewise.
8303 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
8305 (__MATH_REDIRCALL_2): Likewise.
8306 (__MATH_REDIRCALL_INTERNAL): Likewise.
8307 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
8308 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
8309 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
8310 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
8311 * math/test-finite-macros.c: New file.
8312 * math/Makefile (tests): Add test-finite-macros.
8313 (CFLAGS-test-finite-macros.c): New variable.
8315 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
8316 Jeff Law <law@redhat.com>
8319 Mangle NULL pointers in iconv/gconv.
8320 * iconv/gconv_cache.c (find_module): Demangle init_fct before
8321 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
8322 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
8323 is non-NULL before demangling the end_fct. Check for NULL
8324 end_fct after demangling.
8325 (__gconv_release_step): Demangle the end_fct before checking
8326 it for NULL. Remove assert on __shlibc_handle != NULL.
8327 (gen_steps): Don't check btowc_fct for NULL before mangling.
8328 Demangle init_fct before checking for NULL.
8329 (increment_counter): Likewise.
8330 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
8331 end_fct for NULL before mangling.
8332 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
8335 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
8338 * locale/iso-639.def: add Morisyen.
8340 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8343 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
8344 (iszero): New C++ implementation that does not use
8345 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
8346 signaling nans are enabled, since __builtin_types_compatible_p
8347 is a C-only feature.
8348 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
8349 defined, include ieee754_float128.h for access to the union and
8350 member ieee854_float128.ieee.
8351 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
8352 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
8353 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8354 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
8355 options of test-math-zero on powerpc64le.
8357 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
8359 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
8360 Change double to float.
8362 2017-08-28 Joseph Myers <joseph@codesourcery.com>
8364 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
8366 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
8367 conditional code; define contents only for [LIBM_SVID_COMPAT].
8369 2017-08-28 Florian Weimer <fweimer@redhat.com>
8371 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
8372 (abi-lp64_be-options): Remove.
8373 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
8374 (abi-hard-options): Likewise.
8375 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
8376 (abi-o32_hard-options, abi-o32_soft_2008-options)
8377 (abi-o32_hard_2008-options, abi-n32_soft-options)
8378 (abi-n32_hard-options, abi-n32_soft_2008-options)
8379 (abi-n32_hard_2008-options, abi-n64_soft-options)
8380 (abi-n64_hard-options, abi-n64_soft_2008-options)
8381 (abi-n64_hard_2008-options): Likewise.
8382 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
8383 (abi-64-v1-options, abi-64-v2-options): Likewise.
8384 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
8385 (abi-64-options): Likewise.
8386 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
8387 (abi-64-options): Likewise.
8388 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
8389 (abi-64-options): Likewise.
8390 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
8391 (abi-64-options, abi-x32-options): Likewise.
8393 2017-08-28 Florian Weimer <fweimer@redhat.com>
8395 Store supported list of SYS_* system calls in the source tree.
8396 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8397 (bits/syscall.h): Generate from list file.
8398 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
8399 [$(subdir) = misc] (tests): Add tst-syscall-list.
8400 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
8401 [$(subdir) = misc] (tst-syscall-list-macros.list)
8402 [$(subdir) = misc] (tst-syscall-list-nr.list)
8403 (tst-syscall-list-sys.list): Helper targets for new
8404 tst-syscall-list test.
8405 [$(subdir) = misc] (tst-syscall-list.out): Run test script
8406 tst-syscall-list.sh.
8407 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
8408 target. Do not include bits/syscall.d.
8409 [$(subdir) = misc] (generated): Do not update.
8410 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
8411 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
8412 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
8413 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
8415 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8417 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
8418 (tst-cxa_atexit, tst-on_exit): Likewise.
8419 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
8420 tst-cxa_atexit, and tst-on_exit.
8421 * stdlib/tst-atexit-common.c: New file.
8422 * stdlib/tst-atexit.c: New file.
8423 * stdlib/tst-at_quick_exit.c: New file.
8424 * stdlib/tst-cxa_atexit.c: New file.
8425 * stdlib/tst-on_exit.c: New file.
8427 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8429 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
8430 * mach/stack_chk_fail_local.c: New file.
8431 * hurd/stack_chk_fail_local.c: New file.
8432 * mach/Machrules ($(interface-library)-routines): Add
8433 stack_chk_fail_local.
8434 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
8435 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
8436 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
8437 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
8438 * hurd/Makefile (CFLAGS-hurdstartup.o,
8439 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
8441 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
8443 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
8444 (index_cpu_*, index_arch_*): Removed.
8446 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
8448 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
8449 Use uint64_t instead of unsigned long.
8451 2017-08-25 Joseph Myers <joseph@codesourcery.com>
8453 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
8454 [__HAVE_DISTINCT_FLOAT128].
8456 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
8457 of <bits/math-finite.h>.
8458 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
8459 inclusion of <bits/math-finite.h>.
8460 * math/bits/math-finite.h (__REDIRTO_X): Do not define
8461 conditionally on [__MATH_DECLARING_LDOUBLE && defined
8462 __NO_LONG_DOUBLE_MATH].
8463 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
8464 (__MATH_REDIRCALL_2): Likewise.
8465 (__MATH_REDIRCALL_INTERNAL): Likewise.
8466 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
8467 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
8468 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
8470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8487 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
8488 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
8489 w_sqrtf_compat-ppc32.
8491 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8493 * math/math.h [defined __cplusplus] (issignaling): In the long
8494 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
8495 is not defined. Call __issignaling, otherwise.
8497 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8499 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
8500 syscall definitions and replace __builtin_expect with __glibc_likely.
8501 * sysdeps/unix/syscall-template.S: Update comment about cancellable
8503 (SYSCALL_CANCELLABLE): Removedefinition
8504 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
8506 (PSEUDO_END): Likewise.
8507 [IS_IN (libpthread)] (CENABLE): Likewise.
8508 [IS_IN (libpthread)] (CDISABLE): Likewise.
8509 [IS_IN (libc)] (CENABLE): Likewise.
8510 [IS_IN (libc)] (CENABLE): Likewise.
8511 [IS_IN (librt)] (CDISABLE): Likewise.
8512 [IS_IN (librt)] (CDISABLE): Likewise.
8513 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8514 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
8516 (PSEUDO_END): Likewise.
8517 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
8518 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
8519 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
8520 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
8521 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
8522 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
8523 (CENABLE): Likewise.
8524 (CDISABLE): Likewise.
8525 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8526 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
8528 (PSEUDO_END): Likewise.
8529 [IS_IN (libpthread)] (CENABLE): Likewise.
8530 [IS_IN (libpthread)] (CDISABLE): Likewise.
8531 [IS_IN (libc)] (CENABLE): Likewise.
8532 [IS_IN (libc)] (CENABLE): Likewise.
8533 [IS_IN (librt)] (CDISABLE): Likewise.
8534 [IS_IN (librt)] (CDISABLE): Likewise.
8535 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8536 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
8538 (PSEUDO_END): Likewise.
8539 [IS_IN (libpthread)] (CENABLE): Likewise.
8540 [IS_IN (libpthread)] (CDISABLE): Likewise.
8541 [IS_IN (libc)] (CENABLE): Likewise.
8542 [IS_IN (libc)] (CENABLE): Likewise.
8543 [IS_IN (librt)] (CDISABLE): Likewise.
8544 [IS_IN (librt)] (CDISABLE): Likewise.
8545 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8546 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
8548 (PSEUDO_END): Likewise.
8549 [IS_IN (libpthread)] (CENABLE): Likewise.
8550 [IS_IN (libpthread)] (CDISABLE): Likewise.
8551 [IS_IN (libc)] (CENABLE): Likewise.
8552 [IS_IN (libc)] (CENABLE): Likewise.
8553 [IS_IN (librt)] (CDISABLE): Likewise.
8554 [IS_IN (librt)] (CDISABLE): Likewise.
8555 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8556 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
8558 (PSEUDO_END): Likewise.
8559 [IS_IN (libpthread)] (CENABLE): Likewise.
8560 [IS_IN (libpthread)] (CDISABLE): Likewise.
8561 [IS_IN (libc)] (CENABLE): Likewise.
8562 [IS_IN (libc)] (CENABLE): Likewise.
8563 [IS_IN (librt)] (CDISABLE): Likewise.
8564 [IS_IN (librt)] (CDISABLE): Likewise.
8565 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8566 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
8568 (PSEUDO_END): Likewise.
8569 [IS_IN (libpthread)] (CENABLE): Likewise.
8570 [IS_IN (libpthread)] (CDISABLE): Likewise.
8571 [IS_IN (libc)] (CENABLE): Likewise.
8572 [IS_IN (libc)] (CENABLE): Likewise.
8573 [IS_IN (librt)] (CDISABLE): Likewise.
8574 [IS_IN (librt)] (CDISABLE): Likewise.
8575 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8576 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
8578 (PSEUDO_END): Likewise.
8579 [IS_IN (libpthread)] (CENABLE): Likewise.
8580 [IS_IN (libpthread)] (CDISABLE): Likewise.
8581 [IS_IN (libc)] (CENABLE): Likewise.
8582 [IS_IN (libc)] (CENABLE): Likewise.
8583 [IS_IN (librt)] (CDISABLE): Likewise.
8584 [IS_IN (librt)] (CDISABLE): Likewise.
8585 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8586 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
8588 (PSEUDO_END): Likewise.
8589 [IS_IN (libpthread)] (CENABLE): Likewise.
8590 [IS_IN (libpthread)] (CDISABLE): Likewise.
8591 [IS_IN (libc)] (CENABLE): Likewise.
8592 [IS_IN (libc)] (CENABLE): Likewise.
8593 [IS_IN (librt)] (CDISABLE): Likewise.
8594 [IS_IN (librt)] (CDISABLE): Likewise.
8595 (SINGLE_THREAD_P): Likewise.
8596 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
8598 (PSEUDO_END): Likewise.
8599 [IS_IN (libpthread)] (CENABLE): Likewise.
8600 [IS_IN (libpthread)] (CDISABLE): Likewise.
8601 [IS_IN (libc)] (CENABLE): Likewise.
8602 [IS_IN (libc)] (CENABLE): Likewise.
8603 [IS_IN (librt)] (CDISABLE): Likewise.
8604 [IS_IN (librt)] (CDISABLE): Likewise.
8605 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8606 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
8608 (PSEUDO_END): Likewise.
8609 [IS_IN (libpthread)] (CENABLE): Likewise.
8610 [IS_IN (libpthread)] (CDISABLE): Likewise.
8611 [IS_IN (libc)] (CENABLE): Likewise.
8612 [IS_IN (libc)] (CENABLE): Likewise.
8613 [IS_IN (librt)] (CDISABLE): Likewise.
8614 [IS_IN (librt)] (CDISABLE): Likewise.
8615 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8616 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
8617 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8618 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
8619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
8621 (PSEUDO_END): Likewise.
8622 [IS_IN (libpthread)] (CENABLE): Likewise.
8623 [IS_IN (libpthread)] (CDISABLE): Likewise.
8624 [IS_IN (libc)] (CENABLE): Likewise.
8625 [IS_IN (libc)] (CENABLE): Likewise.
8626 [IS_IN (librt)] (CDISABLE): Likewise.
8627 [IS_IN (librt)] (CDISABLE): Likewise.
8628 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
8631 (PSEUDO_END): Likewise.
8632 [IS_IN (libpthread)] (CENABLE): Likewise.
8633 [IS_IN (libpthread)] (CDISABLE): Likewise.
8634 [IS_IN (libc)] (CENABLE): Likewise.
8635 [IS_IN (libc)] (CENABLE): Likewise.
8636 [IS_IN (librt)] (CDISABLE): Likewise.
8637 [IS_IN (librt)] (CDISABLE): Likewise.
8638 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8639 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
8641 (PSEUDO_END): Likewise.
8642 [IS_IN (libpthread)] (CENABLE): Likewise.
8643 [IS_IN (libpthread)] (CDISABLE): Likewise.
8644 [IS_IN (libc)] (CENABLE): Likewise.
8645 [IS_IN (libc)] (CENABLE): Likewise.
8646 [IS_IN (librt)] (CDISABLE): Likewise.
8647 [IS_IN (librt)] (CDISABLE): Likewise.
8648 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
8650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8651 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
8652 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
8654 (PSEUDO_END): Likewise.
8655 [IS_IN (libpthread)] (CENABLE): Likewise.
8656 [IS_IN (libpthread)] (CDISABLE): Likewise.
8657 [IS_IN (libc)] (CENABLE): Likewise.
8658 [IS_IN (libc)] (CENABLE): Likewise.
8659 [IS_IN (librt)] (CDISABLE): Likewise.
8660 [IS_IN (librt)] (CDISABLE): Likewise.
8661 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8662 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
8664 (PSEUDO_END): Likewise.
8665 [IS_IN (libpthread)] (CENABLE): Likewise.
8666 [IS_IN (libpthread)] (CDISABLE): Likewise.
8667 [IS_IN (libc)] (CENABLE): Likewise.
8668 [IS_IN (libc)] (CENABLE): Likewise.
8669 [IS_IN (librt)] (CDISABLE): Likewise.
8670 [IS_IN (librt)] (CDISABLE): Likewise.
8671 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8673 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
8675 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
8677 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8679 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8681 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8684 * string/stratcliff.c (do_test): Declare size, nchars, inner,
8685 middle and outer with size_t instead of int. Repleace %d and
8686 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
8687 "MAX (outer, nchars - 64)" to support unsigned outer and
8688 nchars. Also exit loop when outer == 0.
8690 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8692 * include/fcntl.h (__fcntl_nocancel): Remove definition.
8693 * include/signal.h (__sigsuspend_nocancel): Likewise.
8694 * include/time.h (__nanosleep_nocancel): Likewise.
8695 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
8696 * login/utmp_file.c: Include non cancellable syscall header.
8697 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
8700 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8702 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
8703 .byte sequences with AVX512F instructions.
8704 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
8705 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8706 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8707 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
8709 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8712 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
8713 Steve Ellcey <sellcey@cavium.com>
8715 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
8716 Use PTR_REG macro in cmp instruction.
8718 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8720 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
8721 Change the return type of the ifunc resolver to match the return
8722 type of the target function.
8724 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8726 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
8727 (preadv64): Likewise.
8728 (pwrite64(: Likewise.
8729 (pwritev64): Likewise.
8731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8732 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
8733 (LOAD_ARGS_0): Likewise.
8734 (LOAD_ARGS_1): Likewise.
8735 (LOAD_ARGS_2): Likewise.
8736 (LOAD_ARGS_3): Likewise.
8737 (LOAD_ARGS_4): Likewise.
8738 (LOAD_ARGS_5): Likewise.
8739 (LOAD_ARGS_6): Likewise.
8740 (LOAD_REGS_0): Likewise.
8741 (LOAD_REGS_1): Likewise.
8742 (LOAD_REGS_2): Likewise.
8743 (LOAD_REGS_3): Likewise.
8744 (LOAD_REGS_4): Likewise.
8745 (LOAD_REGS_5): Likewise.
8746 (LOAD_REGS_6): Likewise.
8747 (ASM_ARGS_0): Likewise.
8748 (ASM_ARGS_1): Likewise.
8749 (ASM_ARGS_2): Likewise.
8750 (ASM_ARGS_3): Likewise.
8751 (ASM_ARGS_4): Likewise.
8752 (ASM_ARGS_5): Likewise.
8753 (ASM_ARGS_6): Likewise.
8754 (LOAD_ARGS_TYPES_1): Likewise.
8755 (LOAD_ARGS_TYPES_2): Likewise.
8756 (LOAD_ARGS_TYPES_3): Likewise.
8757 (LOAD_ARGS_TYPES_4): Likewise.
8758 (LOAD_ARGS_TYPES_5): Likewise.
8759 (LOAD_ARGS_TYPES_6): Likewise.
8760 (LOAD_REGS_TYPES_1): Likewise.
8761 (LOAD_REGS_TYPES_2): Likewise.
8762 (LOAD_REGS_TYPES_3): Likewise.
8763 (LOAD_REGS_TYPES_4): Likewise.
8764 (LOAD_REGS_TYPES_5): Likewise.
8765 (LOAD_REGS_TYPES_6): Likewise.
8766 (TYPEFY): New define.
8768 (internal_syscall0): Likewise.
8769 (internal_syscall1): Likewise.
8770 (internal_syscall2): Likewise.
8771 (internal_syscall3): Likewise.
8772 (internal_syscall4): Likewise.
8773 (internal_syscall5): Likewise.
8774 (internal_syscall6): Likewise.
8775 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
8776 (INTERNAL_SYSCALL_NCS): Remove define.
8777 (internal_syscall1): Add define.
8779 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8781 * math/w_remainder_compat.c: Remove duplicate inclusion of
8783 * math/w_remainderf_compat.c: Likewise.
8784 * math/w_remainderl_compat.c: Likewise.
8786 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8790 2017-08-22 Joseph Myers <joseph@codesourcery.com>
8793 * math/tgmath.h (__floating_type): Simplify definitions.
8794 (__real_integer_type): New macro.
8795 (__complex_integer_type): Likewise.
8796 (__expr_is_real): Likewise.
8797 (__tgmath_real_type_sub): Update comment to describe handling of
8799 (__tgmath_complex_type_sub): New macro.
8800 (__tgmath_complex_type): Likewise.
8801 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8802 (__TGMATH_CF128): Use __expr_is_real.
8803 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
8805 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8806 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
8807 * math/gen-tgmath-tests.py (Type.create_type): Create complex
8810 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8812 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
8814 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
8816 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
8819 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
8820 nanosleep_not_cancel with __nanosleep_nocancel.
8821 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
8822 (__nanosleep_nocancel): New macro.
8823 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
8825 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
8827 (__nanosleep_nocancel): New prototype.
8829 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
8830 pause_not_cancel with __pause_nocancel.
8831 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
8832 (__pause_nocancel): New macro.
8833 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
8835 (__pause_nocancel): New prototype.
8836 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
8838 2017-08-22 Martin Sebor <msebor@redhat.com>
8840 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
8841 to return a pointer to the same type as the target function.
8843 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8847 * include/printf.h (__printf_fphex): Add attribute_hidden.
8848 (__guess_grouping): New prototype.
8849 * stdio-common/printf_fp.c (__guess_grouping): Removed.
8850 * stdio-common/reg-printf.c (__register_printf_specifier): Add
8851 libc_hidden_proto and libc_hidden_def.
8852 * stdlib/strfmon_l.c (__guess_grouping): Removed.
8853 (__vstrfmon_l): Remove the third argument passed to
8856 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8858 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
8859 definition for issignaling that does not rely on __MATH_TG,
8860 since __MATH_TG uses __builtin_types_compatible_p, which is only
8861 available in C mode.
8862 (CFLAGS-test-math-issignaling.cc): New variable.
8863 * math/Makefile [CXX] (tests): Add test-math-issignaling.
8864 * math/test-math-issignaling.cc: New test for C++ implementation
8865 of type-generic issignaling.
8866 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8867 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
8868 options of test-math-issignaling on powerpc64le.
8870 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8872 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8874 (hidden_proto): Likewise.
8875 (hidden_tls_proto): Likewise.
8876 (__hidden_proto): Likewise.
8878 2017-08-22 Florian Weimer <fweimer@redhat.com>
8880 math: Statically link tests of internal functionality.
8881 * math/Makefile (tests): Remove atest-exp, atest-sincos,
8883 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
8884 (gmp-objs): Remove assignment.
8885 (atest-exp, atest-sincos, atest-exp2): Remove targets.
8887 2017-08-22 Joseph Myers <joseph@codesourcery.com>
8890 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
8892 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
8894 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
8897 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
8898 variable definitions above inclusion of ../Rules.
8900 2017-08-21 Joseph Myers <joseph@codesourcery.com>
8902 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
8903 case calling __builtin_unreachable.
8905 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8907 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
8909 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
8910 (__waitpid_nocancel): New macro.
8911 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
8913 (__waitpid_nocancel): Replace macro with a function.
8914 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
8917 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
8919 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
8920 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
8922 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
8923 __writev_nocancel_nostatus.
8924 (write_call_graph): Likewise.
8925 (write_bb_counts): Likewise.
8926 * resolv/herror.c (herror): Likewise.
8927 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
8929 (__writev_nocancel_nostatus): New macro.
8930 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
8932 (__writev_nocancel_nostatus): New function.
8934 2017-08-21 Joseph Myers <joseph@codesourcery.com>
8937 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8939 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8941 (hidden_proto): Likewise.
8942 (hidden_tls_proto): Likewise.
8943 (__hidden_proto): Likewise.
8946 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
8947 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
8957 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8958 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8959 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8960 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8961 GLIBC_2.0 sqrtl symbol.
8963 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
8964 [__USE_MISC] (_LIB_VERSION): Likewise.
8965 [__USE_MISC] (struct exception): Likewise.
8966 [__USE_MISC] (matherr): Likewise.
8967 [__USE_MISC] (DOMAIN): Likewise.
8968 [__USE_MISC] (SING): Likewise.
8969 [__USE_MISC] (OVERFLOW): Likewise.
8970 [__USE_MISC] (UNDERFLOW): Likewise.
8971 [__USE_MISC] (TLOSS): Likewise.
8972 [__USE_MISC] (PLOSS): Likewise.
8973 [__USE_MISC] (HUGE): Likewise.
8974 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
8975 * math/math-svid-compat.h: New file.
8976 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
8978 * include/math.h [!_ISOMAC] (__matherr): Remove.
8979 * manual/arith.texi (FP Exceptions): Do not document matherr.
8980 * math/Makefile (tests): Change test-matherr to test-matherr-3.
8981 (tests-internal): New variable.
8982 (install-lib): Do not add libieee.a.
8983 (non-lib.a): Likewise.
8984 (extra-objs): Do not add libieee.a and ieee-math.o.
8985 (CPPFLAGS-s_lib_version.c): Remove variable.
8986 ($(objpfx)libieee.a): Remove rule.
8987 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
8988 * math/ieee-math.c: Remove.
8989 * math/libm-test-support.c (matherr): Remove.
8990 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
8991 and license notices. Include <math-svid-compat.h> and
8993 (matherr): Undefine as macro. Use compat_symbol_reference.
8994 (_LIB_VERSION): Likewise.
8995 * math/test-matherr-2.c: New file.
8996 * math/test-matherr-3.c: Likewise.
8997 * sysdeps/generic/math_private.h (__kernel_standard): Remove
8999 (__kernel_standard_f): Likewise.
9000 (__kernel_standard_l): Likewise.
9001 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
9002 <math_private.h>. Include <math-svid-compat.h>.
9003 (_LIB_VERSION): Undefine as macro.
9004 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
9005 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
9006 [LIBM_SVID_COMPAT], use compat_symbol.
9007 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
9008 <math_private.h>. Include <math-svid-compat.h>.
9009 (matherr): Undefine as macro.
9010 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
9012 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
9013 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
9014 compat_symbol_reference.
9015 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
9016 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
9017 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
9018 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
9019 (MATHERR_D): Remove declaration.
9020 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
9021 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
9022 [LIBM_BUILD] (pmatherrf): Likewise.
9023 [LIBM_BUILD] (pmatherr): Likewise.
9024 [LIBM_BUILD] (pmatherrl): Likewise.
9027 (OVERFLOW): Likewise.
9028 (UNDERFLOW): Likewise.
9031 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
9032 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
9034 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
9035 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
9037 * math/lgamma-compat.h: Include <math-svid-compat.h>.
9038 * math/w_acos_compat.c: Likewise.
9039 * math/w_acosf_compat.c: Likewise.
9040 * math/w_acosh_compat.c: Likewise.
9041 * math/w_acoshf_compat.c: Likewise.
9042 * math/w_acoshl_compat.c: Likewise.
9043 * math/w_acosl_compat.c: Likewise.
9044 * math/w_asin_compat.c: Likewise.
9045 * math/w_asinf_compat.c: Likewise.
9046 * math/w_asinl_compat.c: Likewise.
9047 * math/w_atan2_compat.c: Likewise.
9048 * math/w_atan2f_compat.c: Likewise.
9049 * math/w_atan2l_compat.c: Likewise.
9050 * math/w_atanh_compat.c: Likewise.
9051 * math/w_atanhf_compat.c: Likewise.
9052 * math/w_atanhl_compat.c: Likewise.
9053 * math/w_cosh_compat.c: Likewise.
9054 * math/w_coshf_compat.c: Likewise.
9055 * math/w_coshl_compat.c: Likewise.
9056 * math/w_exp10_compat.c: Likewise.
9057 * math/w_exp10f_compat.c: Likewise.
9058 * math/w_exp10l_compat.c: Likewise.
9059 * math/w_exp2_compat.c: Likewise.
9060 * math/w_exp2f_compat.c: Likewise.
9061 * math/w_exp2l_compat.c: Likewise.
9062 * math/w_fmod_compat.c: Likewise.
9063 * math/w_fmodf_compat.c: Likewise.
9064 * math/w_fmodl_compat.c: Likewise.
9065 * math/w_hypot_compat.c: Likewise.
9066 * math/w_hypotf_compat.c: Likewise.
9067 * math/w_hypotl_compat.c: Likewise.
9068 * math/w_j0_compat.c: Likewise.
9069 * math/w_j0f_compat.c: Likewise.
9070 * math/w_j0l_compat.c: Likewise.
9071 * math/w_j1_compat.c: Likewise.
9072 * math/w_j1f_compat.c: Likewise.
9073 * math/w_j1l_compat.c: Likewise.
9074 * math/w_jn_compat.c: Likewise.
9075 * math/w_jnf_compat.c: Likewise.
9076 * math/w_jnl_compat.c: Likewise.
9077 * math/w_lgamma_main.c: Likewise.
9078 * math/w_lgamma_r_compat.c: Likewise.
9079 * math/w_lgammaf_main.c: Likewise.
9080 * math/w_lgammaf_r_compat.c: Likewise.
9081 * math/w_lgammal_main.c: Likewise.
9082 * math/w_lgammal_r_compat.c: Likewise.
9083 * math/w_log10_compat.c: Likewise.
9084 * math/w_log10f_compat.c: Likewise.
9085 * math/w_log10l_compat.c: Likewise.
9086 * math/w_log2_compat.c: Likewise.
9087 * math/w_log2f_compat.c: Likewise.
9088 * math/w_log2l_compat.c: Likewise.
9089 * math/w_log_compat.c: Likewise.
9090 * math/w_logf_compat.c: Likewise.
9091 * math/w_logl_compat.c: Likewise.
9092 * math/w_pow_compat.c: Likewise.
9093 * math/w_powf_compat.c: Likewise.
9094 * math/w_powl_compat.c: Likewise.
9095 * math/w_remainder_compat.c: Likewise.
9096 * math/w_remainderf_compat.c: Likewise.
9097 * math/w_remainderl_compat.c: Likewise.
9098 * math/w_scalb_compat.c: Likewise.
9099 * math/w_scalbf_compat.c: Likewise.
9100 * math/w_scalbl_compat.c: Likewise.
9101 * math/w_sinh_compat.c: Likewise.
9102 * math/w_sinhf_compat.c: Likewise.
9103 * math/w_sinhl_compat.c: Likewise.
9104 * math/w_sqrt_compat.c: Likewise.
9105 * math/w_sqrtf_compat.c: Likewise.
9106 * math/w_sqrtl_compat.c: Likewise.
9107 * math/w_tgamma_compat.c: Likewise.
9108 * math/w_tgammaf_compat.c: Likewise.
9109 * math/w_tgammal_compat.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9111 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9112 * sysdeps/ieee754/k_standard.c: Likewise.
9113 * sysdeps/ieee754/k_standardf.c: Likewise.
9114 * sysdeps/ieee754/k_standardl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9117 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9118 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9119 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9120 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9121 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9122 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9123 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9128 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9130 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9131 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9133 2017-08-21 Florian Weimer <fweimer@redhat.com>
9136 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
9137 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
9138 Move before inclusion of ../Rules.
9140 2017-08-21 Florian Weimer <fweimer@redhat.com>
9143 * assert/assert.h (assert): Use static_cast (bool) for C++.
9144 Use the ternary operator in the warning branch for GNU C.
9145 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
9146 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
9147 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
9148 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
9149 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
9151 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9154 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9155 (__syscall_clock_gettime): Add attribute_hidden.
9156 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
9157 (__start_context): Likewise.
9159 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9161 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
9163 (hidden_proto): Likewise.
9164 (hidden_tls_proto): Likewise.
9165 (__hidden_proto): Likewise.
9167 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9169 * include/libc-symbols.h (attribute_hidden): Enable hidden
9170 visibility in libc.a compiled with PIE.
9172 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9175 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
9176 Add attribute_hidden.
9178 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9181 * Makerules (all-nonlib): Add $(others-extras).
9182 * catgets/Makefile (others-extras): New.
9183 * elf/Makefile (others-extras): Likewise.
9184 * nss/Makefile (others-extras): Likewise.
9186 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9189 * csu/libc-start.c (__libc_multiple_libcs): Removed.
9190 * elf/dl-open.c: Include <libc-internal.h>.
9191 (__libc_multiple_libcs): Removed.
9192 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
9194 * include/libc-internal.h (__libc_multiple_libcs): New.
9195 * misc/sbrk.c: Include <libc-internal.h>.
9196 (__libc_multiple_libcs): Removed.
9198 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9201 * grp/initgroups.c (__nss_group_database): Removed.
9202 (__nss_initgroups_database): Likewise.
9203 * nscd/gai.c (__nss_hosts_database): Likewise.
9204 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
9205 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
9206 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
9207 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
9208 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
9209 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
9211 * nss/nsswitch.c (__nss_database_custom): Define only if
9212 USE_NSCD is defined.
9213 (__nss_configure_lookup): Use __nss_database_custom only if
9214 USE_NSCD is defined.
9215 * nss/nsswitch.h (__nss_database_custom): Declare only if
9216 USE_NSCD is defined. Add attribute_hidden.
9217 (__nss_setent): Add attribute_hidden.
9218 (__nss_endent): Likewise.
9219 (__nss_getent_r): Likewise.
9220 (__nss_getent): Likewise.
9221 (DEFINE_DATABASE): Declare __nss_##arg##_database.
9223 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
9226 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
9227 libc_hidden_proto and libc_hidden_def.
9229 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
9232 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
9233 Add libc_hidden_proto.
9234 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
9235 Add libc_hidden_def.
9237 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
9240 * gmon/Makefile (routines): Remove bb_init_func and
9242 (elide-routines.os): Removed.
9243 * gmon/bb_exit_func.c: Likewise.
9244 * gmon/bb_init_func.c: Likewise.
9245 * include/sys/gmon.h (__bb): Likewise.
9246 (__bb_init_func): Likewise.
9247 (__bb_exit_func): Likewise.
9248 * sysdeps/alpha/bb_init_func.S: Likewise.
9250 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
9252 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
9253 * include/setjmp.h (____longjmp_chk): Here. Add
9256 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
9259 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
9261 (__strspn_sse2): Likewise.
9263 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9265 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
9266 (close_not_cancel_no_status): Likewise.
9267 (__close_nocancel): New macro.
9268 (__close_nocancel_nostatus): Likewise.
9269 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
9271 (close_not_cancel): Likewise.
9272 (close_not_cancel_no_status): Likewise.
9273 (__close_nocancel): New prototype.
9274 (__close_nocancel_nostatus): New function.
9275 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
9276 * catgets/open_catalog.c (__open_catalog): Replace
9277 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
9278 * gmon/gmon.c (write_gmon): Likewise.
9279 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9280 * intl/loadmsgcat.c (close): Likewise.
9281 * io/ftw.c (open_dir_stream): Likewise.
9282 (ftw_startup): Likewise.
9283 * libio/fileops.c (_IO_file_open): Likewise.
9284 (_IO_file_close_mmap): Likewise.
9285 (_IO_file_close): Likewise.
9286 * libio/iopopen.c (_IO_dup2): Likewise.
9287 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9288 * locale/loadlocale.c (_nl_load_locale): Likewise.
9289 * login/utmp_file.c (pututline_file): Likewise.
9290 (endutent_file): Likewise.
9291 * misc/daemon.c (daemon): Likewise.
9292 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9293 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9294 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
9295 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9296 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9297 * nscd/nscd_helper.c (open_socket): Likewise.
9298 (__nscd_open_socket): Likewise.
9299 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9300 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
9301 (__nscd_innetgr): Likewise.
9302 * nss/nss_db/db-open.c (internal_setent): Likewise.
9303 * resolv/res-close.c (__res_iclose): Likewise.
9304 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
9305 * sysdeps/posix/closedir.c (__closedir): Likewise.
9306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
9307 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9308 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
9309 (opendir_tail): Likewise.
9310 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
9311 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
9312 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9313 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9314 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
9315 (gethostid): Likewise.
9316 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
9317 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9319 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9320 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
9321 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
9322 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
9324 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
9325 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
9326 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
9328 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
9329 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9331 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9333 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9334 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9335 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9338 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
9339 (openat_not_cancel_3): Likewise.
9340 (openat64_not_cancel_3): Likewise).
9341 (openat_not_cancel_3): Likewise).
9342 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
9344 (openat_not_cancel_3): Likewise.
9345 (openat64_not_cancel): Likewise.
9346 (openat64_not_cancel_3): Likewise.
9347 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
9348 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
9349 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
9350 __open{64}_nocancel.
9351 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
9352 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9353 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9355 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9358 * include/argz.h (__argz_create_sep): New function prototype.
9359 (__argz_append): Likewise.
9360 (__argz_add): Likewise.
9361 (__argz_add_sep): Likewise.
9362 (__argz_delete): Likewise.
9363 (__argz_insert): Likewise.
9364 (__argz_replace): Likewise.
9365 * string/argz.h (__argz_create_sep): Removed.
9366 (__argz_append): Likewise.
9367 (__argz_add): Likewise.
9368 (__argz_add_sep): Likewise.
9369 (__argz_delete): Likewise.
9370 (__argz_insert): Likewise.
9371 (__argz_replace): Likewise.
9373 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9375 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
9376 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
9377 (GNU_PROPERTY_STACK_SIZE): Likewie.
9378 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
9379 (GNU_PROPERTY_LOPROC): Likewise.
9380 (GNU_PROPERTY_HIPROC): Likewise.
9381 (GNU_PROPERTY_LOUSER): Likewise.
9382 (GNU_PROPERTY_HIUSER): Likewise.
9383 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
9384 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
9385 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
9386 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
9387 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
9388 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
9389 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
9390 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
9391 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
9392 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
9393 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
9394 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
9395 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
9396 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
9397 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
9398 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
9399 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
9400 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
9401 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
9402 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
9403 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
9404 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
9405 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
9407 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9409 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
9412 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9415 * math/math.h (isinf): Check if in C or C++ mode before using
9416 __builtin_types_compatible_p, since this is a C mode feature.
9418 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9420 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
9421 (__write_nocancel): New macro.
9422 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
9423 Rewrite as a function prototype.
9424 (write_not_cancel): Remove macro.
9425 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
9426 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
9427 (write_gmon): Likewise.
9428 * libio/fileops.c (_IO_new_file_write): Likewise.
9429 * login/utmp_file.c (pututline_file): Likewise.
9430 (updwtmp_file): Likewise.
9431 * stdio-common/psiginfo.c (psiginfo): Likewise.
9432 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
9433 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
9434 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9436 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9439 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
9440 (__read_nocancel): New macro.
9441 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9443 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
9445 (__read_nocancel): New prototype.
9446 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
9447 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
9448 with __read_nocancel.
9449 * intl/loadmsgcat.c (read): Likewise.
9450 * libio/fileops.c (_IO_file_read): Likewise.
9451 * locale/loadlocale.c (_nl_load_locale): Likewise.
9452 * login/utmp_file.c (getutent_r_file): Likewise.
9453 (internal_getut_r): Likewise.
9454 (getutline_r_file): Likewise.
9455 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
9456 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9457 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
9458 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9460 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
9461 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
9462 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
9464 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9466 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
9468 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9470 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9472 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9475 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
9476 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
9479 2017-08-17 DJ Delorie <dj@redhat.com>
9481 * bug17079.c: Update to new test harness.
9482 * test-digits-dots.c: Likewise.
9483 * test-netdb.c: Likewise.
9484 * tst-field.c: Likewise.
9485 * tst-nss-getpwent.c: Likewise.
9486 * tst-nss-static.c: Likewise.
9487 * tst-nss-test1.c: Likewise.
9488 * tst-nss-test2.c: Likewise.
9489 * tst-nss-test3.c: Likewise.
9490 * tst-nss-test4.c: Likewise.
9491 * tst-nss-test5.c: Likewise.
9493 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9495 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
9496 (open_not_cancel_2): Likewise.
9497 (open_nocancel): New macro.
9498 (open64_nocancel): Likewise.
9499 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
9500 (open_not_cancel_2): Likewise.
9501 (__open_nocancel): New prototype.
9502 (__open64_nocancel): Likewise.
9503 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9505 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
9506 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
9507 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
9508 with __open_nocancel.
9509 * csu/check_fds.c (check_one_fd): Likewise.
9510 * gmon/gmon.c (write_gmon): Likewise.
9511 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
9512 * intl/loadmsgcat.c (open): Likewise.
9513 * libio/fileops.c (_IO_file_open): Likewise.
9514 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9515 * locale/loadlocale.c (_nl_load_locale): Likewise.
9516 * login/utmp_file.c (setutent_file): Likewise.
9517 * misc/daemon.c (daemon): Likewise.
9518 * nss/nss_db/db-open.c (internal_setent): Likewise.
9519 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
9520 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
9521 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
9522 (__opendir): Likewise.
9523 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
9524 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
9525 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
9526 (gethostid): Likewise.
9527 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
9528 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9531 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
9532 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
9533 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
9535 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9537 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
9539 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9541 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9543 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9545 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9546 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9548 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
9550 * benchtests/bench-skeleton.c (main): Add support for
9551 latency benchmarking.
9552 * benchtests/scripts/bench.py: Add support for latency benchmarking.
9554 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
9556 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
9559 2017-08-17 Florian Weimer <fweimer@redhat.com>
9561 * include/sys/socket.h (__opensock): Remove internal_function.
9562 * socket/opensock.c (__opensock): Likewise.
9563 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
9565 2017-08-16 Joseph Myers <joseph@codesourcery.com>
9568 * signal/bits/types/__sigval_t.h: New file.
9569 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
9570 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
9571 and define sigval_t using __sigval_t.
9572 * include/bits/types/__sigval_t.h: New file.
9573 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
9574 instead of <bits/types/__sigval_t.h>.
9575 (struct sigevent): Use __sigval_t instead of sigval_t.
9576 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
9577 instead of <bits/types/__sigval_t.h>.
9578 (siginfo_t): Use __sigval_t instead of sigval_t.
9579 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
9580 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
9581 (struct sigevent): Use __sigval_t instead of sigval_t.
9582 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
9583 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
9584 (siginfo_t): Use __sigval_t instead of sigval_t.
9585 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
9587 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9589 * NEWS: Remove "[Add new features here]" for 2.27.
9591 2017-08-16 Joseph Myers <joseph@codesourcery.com>
9593 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
9596 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9598 * NEWS: Mention x86-64 FMA optimization.
9600 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9603 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9605 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
9606 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
9607 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
9609 2017-08-16 Andreas Schwab <schwab@suse.de>
9613 * elf/ldd.bash.in: Never run file directly.
9615 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
9618 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
9619 (L(SP_INF_0)): Likewise.
9621 2017-08-15 Florian Weimer <fweimer@redhat.com>
9623 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
9626 2017-08-15 Florian Weimer <fweimer@redhat.com>
9628 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
9629 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
9630 BROKEN_THREAD_SIGNALS code.
9631 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
9632 request_list): Remove caller_pid member used for
9633 BROKEN_THREAD_SIGNALS.
9634 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
9635 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
9636 Remove BROKEN_THREAD_SIGNALS support.
9637 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9638 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
9640 2017-08-15 Florian Weimer <fweimer@redhat.com>
9642 * gmon/Makefile (tests): Add tst-gmon.
9643 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
9645 (tests-special): Add tst-gmon-prof.out.
9646 (tst-gmon.out): Depend on clean-tst-gmon-data.
9647 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
9648 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
9649 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
9651 * aclocal.m4 (GPROF): Set and substitute.
9652 * config.amke.in (GPROF): Set.
9653 * configure: Regenerate.
9655 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
9657 * elf/elf.h A (NT_PPC_TAR): New macro.
9658 (NT_PPC_PPR): Likewise.
9659 (NT_PPC_DSCR): Likewise.
9660 (NT_PPC_EBB): Likewise.
9661 (NT_PPC_PMU): Likewise.
9662 (NT_PPC_TM_CGPR): Likewise.
9663 (NT_PPC_TM_CFPR): Likewise.
9664 (NT_PPC_TM_CVMX): Likewise.
9665 (NT_PPC_TM_CVSX): Likewise.
9666 (NT_PPC_TM_SPR): Likewise.
9667 (NT_PPC_TM_CTAR): Likewise.
9668 (NT_PPC_TM_CPPR): Likewise.
9669 (NT_PPC_TM_CDSCR): Likewise.
9671 2017-08-15 Florian Weimer <fweimer@redhat.com>
9673 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
9674 regparm (2) instead of internal_function.
9675 (_MCOUNT_DECL): Adjust.
9677 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9679 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
9680 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9682 2017-08-14 Joseph Myers <joseph@codesourcery.com>
9684 * conform/data/sys/wait.h-data (si_value): Do not expect for
9687 2017-08-14 Florian Weimer <fweimer@redhat.com>
9690 NSS: Create stubs for accidentally exported lookup functions.
9691 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
9693 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
9694 (ether_hostton): Call __nss_ethers_lookup2 instead.
9695 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
9696 (ether_ntohost): Call __nss_ethers_lookup2 instead.
9697 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
9698 (setup): Call __nss_netgroup_lookup2 instead.
9699 * nss/Makefile (routines): Add compat-lookup.
9700 * nss/Versions (GLIBC_2.27): Add symbol version.
9701 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
9702 (DB_COMPAT_FCT): Remove.
9703 * nss/compat-lookup.c: New file.
9704 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
9706 * nss/service-lookup.c (NO_COMPAT): Remove definition.
9707 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
9708 (netname2user): Call __nss_publickey_lookup2 instead.
9709 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
9710 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
9713 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9714 Sergei Trofimovich <slyfox@inbox.ru>
9717 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
9718 Rename to MMAP2_PAGE_UNIT.
9719 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
9720 __OFF_T_MATCHES_OFF64_T is not defined.
9721 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
9723 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
9724 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
9726 2017-08-14 Florian Weimer <fweimer@redhat.com>
9728 i386: Do not set internal_function.
9729 * config.h.in (USE_REGPARMS, internal_function): Remove.
9730 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
9731 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
9733 2017-08-14 Florian Weimer <fweimer@redhat.com>
9735 * elf/dl-init.c (_dl_init): Remove internal_function.
9736 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
9737 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
9739 2017-08-14 Florian Weimer <fweimer@redhat.com>
9741 * elf/rtld.c (_dl_start): Remove internal_function.
9742 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
9745 2017-08-14 Florian Weimer <fweimer@redhat.com>
9747 * elf/dl-fini.c (_dl_fini): Remove internal_function
9748 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9750 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
9752 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
9753 (bit_cpu_SHSTK): Likewise.
9754 (index_cpu_IBT): Likewise.
9755 (index_cpu_SHSTK): Likewise.
9756 (reg_IBT): Likewise.
9757 (reg_SHSTK): Likewise.
9758 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9759 Handle index_cpu_IBT and index_cpu_SHSTK.
9761 2017-08-14 Mike FABIAN <mfabian@redhat.com>
9764 * po/fr.po: Fix spelling mistake.
9766 2017-08-13 Florian Weimer <fweimer@redhat.com>
9768 * elf/dl-addr.c (_dl_addr): Remove internal_function.
9769 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
9770 (_dl_catch_error, _dl_receive_error): Likewise.
9771 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
9772 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
9773 (_dl_deallocate_tls): Likewise.
9774 * include/dlfcn.h (_dl_addr): Likewise.
9775 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
9776 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
9777 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
9780 2017-08-13 Florian Weimer <fweimer@redhat.com>
9782 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
9783 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
9785 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
9787 2017-08-13 Florian Weimer <fweimer@redhat.com>
9789 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
9791 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
9792 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
9793 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
9794 internal_function from _dl_make_stack_executable_hook member.
9795 (_dl_make_stack_executable): Remove internal_function.
9796 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
9798 * sysdeps/unix/sysv/linux/dl-execstack.c
9799 (_dl_make_stack_executable): Likewise.
9801 2017-08-13 Florian Weimer <fweimer@redhat.com>
9803 * sysdeps/unix/sysv/linux/netlinkaccess.h
9804 (__netlink_assert_response): Remove internal_function.
9805 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9806 (__netlink_assert_response): Likewise.
9808 2017-08-13 Florian Weimer <fweimer@redhat.com>
9810 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
9812 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
9814 2017-08-13 Florian Weimer <fweimer@redhat.com>
9816 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
9818 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
9819 * inet/netgroup.h (__internal_setnetgrent)
9820 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9821 * inet/getnetgrent_r.c (__internal_setnetgrent)
9822 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9823 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
9824 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
9825 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
9826 * nss/nsswitch.h (db_lookup_function): Likewise.
9828 2017-08-13 Florian Weimer <fweimer@redhat.com>
9830 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
9831 Remove internal_function.
9832 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
9833 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
9834 message argument on the stack.
9835 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
9838 2017-08-12 Mike FABIAN <mfabian@redhat.com>
9840 Adapt test case data to the changes in the thousands
9844 * localedata/tst-langinfo.sh: Adapt test case data.
9845 * stdlib/tst-strfmon_l.c: Likewise.
9846 * stdlib/tst-strtod4.c: Likewise.
9847 * stdlib/tst-strtod5i.c: Likewise.
9849 2017-08-11 Florian Weimer <fweimer@redhat.com>
9852 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
9853 Suppress pedantic warning resulting from statement expression.
9854 (__ASSERT_FUNCTION): Add missing __extension__.
9856 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9858 * benchtests/bench-memmove-large.c: Print output in JSON
9860 * benchtests/bench-memmove.c: Likewise.
9862 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
9863 * benchtests/bench-memchr.c (do_one_test): Likewise.
9864 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
9865 * benchtests/bench-memcpy.c (do_one_test): Likewise.
9866 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
9867 * benchtests/bench-memmove.c (do_one_test): Likewise.
9868 * benchtests/bench-memset-large.c (do_one_test): Likewise.
9869 * benchtests/bench-memset.c (do_one_test): Likewise.
9870 * benchtests/bench-string.h (test_init): Remove memsets.
9872 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
9875 (Computing the Width of an Integer Data Type): Rename section to
9876 "Width of an Integer Type". Remove inaccurate statement regarding
9877 lack of C language facilities for determining width of integer
9878 types, and reorder content to improve flow and context of
9881 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
9883 * lang.texi (va_copy): Change standard from ISO to C99.
9884 (__va_copy): Add standard and header annotation.
9885 Update description for clarity of origins and current use.
9887 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9890 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
9891 xssqrtqp requires operands to be in Vector Registers
9892 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
9893 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
9894 (__ieee754_sqrtf128): Likewise.
9896 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9898 * sysdeps/aarch64/memcmp.S (memcmp):
9899 Rewrite of optimized memcmp.
9901 2017-08-10 Florian Weimer <fweimer@redhat.com>
9903 Introduce ld.so exceptions.
9904 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
9905 (_dl_exception_create, _dl_exception_create_format)
9906 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
9907 (_dl_catch_exception): Declare.
9908 (_dl_catch_error): Update comment.
9909 * elf/dl-error-skeleton.c (struct catch): Replace objname,
9910 errstring, malloced members with exception member.
9911 (_dl_out_of_memory): Remove.
9912 (fatal_error): New function, extracted from _dl_signal_error.
9913 (_dl_signal_exception, _dl_signal_cexception): New functions.
9914 (_dl_signal_error): Call _dl_exception_create to allocate an
9916 (_dl_catch_exception): New function, based on _dl_catch_error.
9917 (_dl_catch_error): Implement using _dl_catch_exception.
9918 * elf/dl-exception.c: New file.
9919 * elf/Makefile (dl-routines): Add dl-exception.
9920 (elide-routines.os): Likewise.
9921 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
9922 _dl_exception_create_format, _dl_exception_free.
9923 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
9924 _dl_signal_exception.
9925 * elf/dl-lookup.c (make_string): Remove.
9926 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
9927 _dl_signal_cexception, _dl_exception_free.
9928 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
9929 _dl_signal_exception.
9930 * elf/dl-sym.c (do_sym): Likewise.
9931 * elf/dl-version.c (make_string): Remove.
9932 (match_symbol): Use _dl_exception_create_format,
9933 _dl_signal_cexception, _dl_exception_free.
9934 (_dl_check_map_versions): Likewise.
9935 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
9936 _dl_catch_exception.
9937 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9938 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9939 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9940 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9941 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9942 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9943 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9944 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9946 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9953 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9954 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9955 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9957 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9959 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9961 2017-08-10 Florian Weimer <fweimer@redhat.com>
9963 * inet/net-internal.h (__inet6_scopeid_pton): Remove
9964 attribute_hidden, internal_function.
9965 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
9968 2017-08-10 Florian Weimer <fweimer@redhat.com>
9970 * malloc/malloc.c (get_max_fast): Reimplement as an inline
9971 function which calls __builtin_unreachable.
9973 2017-08-10 Mike FABIAN <mfabian@redhat.com>
9975 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
9976 Indian monetary formatting
9977 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
9980 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
9982 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
9983 Fix typo in comment.
9986 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
9987 PTRACE_SEIZE_DEVEL): Remove.
9988 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
9989 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9990 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9991 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9992 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9994 2017-08-09 Joseph Myers <joseph@codesourcery.com>
9996 * posix/bits/types.h (__qaddr_t): Remove.
9999 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
10000 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10002 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
10003 (ucontext_t): Use __ctx with uc_flags.
10004 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
10005 (__ctxt): Likewise.
10006 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10008 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
10009 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10011 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
10012 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10014 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
10016 (ucontext_t): Use __ctx with uc_flags.
10017 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
10018 (ucontext_t): Use __ctx with uc_flags.
10019 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
10020 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
10021 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
10022 (ucontext_t): Use __ctx with uc_flags.
10023 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
10024 undefine further down.
10025 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10027 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
10028 undefine further down.
10029 (ucontext_t): Use __ctx with uc_flags.
10030 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
10031 undefine further down.
10032 (ucontext_t): Use __ctx with uc_flags.
10033 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
10034 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
10035 Rename uc_pad to __glibc_reserved1.
10036 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
10037 undefine further down.
10038 (ucontext_t): Use __ctx with uc_flags.
10039 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
10041 (ucontext_t): Use __ctx with uc_flags.
10042 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
10043 __ctx with uc_flags.
10044 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
10045 (ucontext_t): Use __ctx with uc_flags.
10046 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
10047 __ctx with uc_flags.
10049 2017-08-09 Florian Weimer <fweimer@redhat.com>
10052 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
10053 before early return.
10055 2017-08-09 Andreas Schwab <schwab@suse.de>
10058 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
10062 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
10063 tst-compat-forwarder.
10064 (modules-names): Add tst-compat-forwarder-mod.
10065 ($(objpfx)tst-compat-forwarder): Depend on
10066 $(objpfx)tst-compat-forwarder-mod.so.
10067 * nptl/tst-compat-forwarder.c: New file.
10068 * nptl/tst-compat-forwarder-mod.c: New file.
10070 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
10072 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
10075 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
10076 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10078 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
10080 (__libc_ifunc_impl_list): Add __memcpy_falkor.
10081 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
10082 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
10083 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
10085 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
10088 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10091 * manual/setjmp.texi (getcontex): Document uc_stack value
10092 compatibility differences.
10094 2017-08-08 Joseph Myers <joseph@codesourcery.com>
10096 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
10097 (old_malloc_hook): Likewise.
10098 (old_memalign_hook): Likewise.
10099 (old_realloc_hook): Likewise.
10100 (struct hdr): Likewise.
10102 (freehook): Likewise.
10103 (mallochook): Likewise.
10104 (memalignhook): Likewise.
10105 (reallochook): Likewise.
10106 (mprobe): Likewise.
10107 * malloc/mtrace.c (mallwatch): Likewise.
10108 (tr_old_free_hook): Likewise.
10109 (tr_old_malloc_hook): Likewise.
10110 (tr_old_realloc_hook): Likewise.
10111 (tr_old_memalign_hook): Likewise.
10112 (tr_where): Likewise.
10113 (lock_and_info): Likewise.
10114 (tr_freehook): Likewise.
10115 (tr_mallochook): Likewise.
10116 (tr_reallochook): Likewise.
10117 (tr_memalignhook): Likewise.
10118 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
10119 * misc/mmap.c (__mmap): Likewise.
10120 * misc/mmap64.c (__mmap64): Likewise.
10121 * misc/mprotect.c (__mprotect): Likewise.
10122 * misc/msync.c (msync): Likewise.
10123 * misc/munmap.c (__munmap): Likewise.
10124 * posix/posix_madvise.c (posix_madvise): Likewise.
10125 * socket/send.c (__send): Likewise.
10126 * socket/sendto.c (__sendto): Likewise.
10127 * socket/setsockopt.c (__setsockopt): Likewise.
10128 * string/memcmp.c (__ptr_t): Remove macro.
10129 (MEMCMP): Use void * instead of ptr_t.
10130 * string/memrchr.c (__ptr_t): Remove macro.
10131 (__memrchr): Use void * instead of ptr_t.
10132 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
10133 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
10134 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
10135 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
10136 * sysdeps/mach/msync.c (msync): Likewise.
10137 * sysdeps/mach/munmap.c (__munmap): Likewise.
10138 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
10140 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10141 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
10142 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
10143 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
10144 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10145 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10146 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
10147 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
10149 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10150 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
10151 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
10152 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
10153 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
10154 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
10155 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
10156 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
10157 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
10159 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
10160 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
10161 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
10162 (MEMCMP): Use void * instead of ptr_t.
10163 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
10164 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
10166 2017-08-08 Florian Weimer <fweimer@redhat.com>
10168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
10171 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
10174 * csu/libc-tls.c: Include <startup.h> first.
10175 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
10176 * elf/dl-tunables.c: Include <startup.h> first.
10177 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
10178 * sysdeps/generic/startup.h: New file.
10179 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
10180 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
10181 (I386_USE_SYSENTER): New. Defined to 0.
10183 2017-08-08 Andreas Schwab <schwab@suse.de>
10186 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
10187 * nptl/pt-system.c (system): Likewise.
10189 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10192 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
10194 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
10195 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
10196 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
10197 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
10198 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10199 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10200 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10202 2017-08-07 Joseph Myers <joseph@codesourcery.com>
10205 * bits/sigaction.h (struct sigaction): Define sa_handler and
10206 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
10207 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10208 [__USE_XOPEN_EXTENDED].
10209 (SA_RESTART): Likewise.
10210 (SA_NODEFER): Likewise.
10211 (SA_RESETHAND): Likewise.
10212 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
10213 (struct sigaction): Define sa_handler and sa_sigaction using union
10214 also for [__USE_XOPEN_EXTENDED].
10215 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10216 [__USE_XOPEN_EXTENDED].
10217 (SA_RESTART): Likewise.
10218 (SA_NODEFER): Likewise.
10219 (SA_RESETHAND): Likewise.
10220 * sysdeps/unix/sysv/linux/bits/sigaction.h
10221 (struct sigaction): Define sa_handler and sa_sigaction using union
10222 also for [__USE_XOPEN_EXTENDED].
10223 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10224 [__USE_XOPEN_EXTENDED].
10225 (SA_RESTART): Likewise.
10226 (SA_NODEFER): Likewise.
10227 (SA_RESETHAND): Likewise.
10228 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
10229 (struct sigaction): Define sa_handler and sa_sigaction using union
10230 also for [__USE_XOPEN_EXTENDED].
10231 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10232 [__USE_XOPEN_EXTENDED].
10233 (SA_RESTART): Likewise.
10234 (SA_NODEFER): Likewise.
10235 (SA_RESETHAND): Likewise.
10236 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
10237 (struct sigaction): Define sa_handler and sa_sigaction using union
10238 also for [__USE_XOPEN_EXTENDED].
10239 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10240 [__USE_XOPEN_EXTENDED].
10241 (SA_RESTART): Likewise.
10242 (SA_NODEFER): Likewise.
10243 (SA_RESETHAND): Likewise.
10244 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10245 (struct sigaction): Define sa_handler and sa_sigaction using union
10246 also for [__USE_XOPEN_EXTENDED].
10247 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10248 [__USE_XOPEN_EXTENDED].
10249 (SA_RESTART): Likewise.
10250 (SA_NODEFER): Likewise.
10251 (SA_RESETHAND): Likewise.
10252 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10253 (struct sigaction): Define sa_handler and sa_sigaction using union
10254 also for [__USE_XOPEN_EXTENDED].
10255 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10256 [__USE_XOPEN_EXTENDED].
10257 (SA_RESTART): Likewise.
10258 (SA_NODEFER): Likewise.
10259 (SA_RESETHAND): Likewise.
10260 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10261 (struct sigaction): Define sa_handler and sa_sigaction using union
10262 also for [__USE_XOPEN_EXTENDED].
10263 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10264 [__USE_XOPEN_EXTENDED].
10265 (SA_RESTART): Likewise.
10266 (SA_NODEFER): Likewise. Define directly rather than as alias.
10267 (SA_RESETHAND): Likewise.
10268 (SA_INTERRUPT): Define only for [__USE_MISC].
10269 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
10270 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
10272 (SA_STACK): Define only for [__USE_MISC].
10273 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
10274 (struct sigaction): Define sa_handler and sa_sigaction using union
10275 also for [__USE_XOPEN_EXTENDED].
10276 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10277 [__USE_XOPEN_EXTENDED].
10278 (SA_RESTART): Likewise.
10279 (SA_NODEFER): Likewise.
10280 (SA_RESETHAND): Likewise.
10281 (SA_NOPTRACE): Define only for [__USE_MISC].
10283 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
10284 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
10285 (struct catalog_info): Likewise.
10286 * inet/htontest.c (lo): Likewise.
10288 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10289 * inet/inet_net.c (inet_network): Likewise.
10290 * inet/inet_netof.c (inet_netof): Likewise.
10291 * inet/rcmd.c (__ivaliduser): Likewise.
10292 (iruserok): Likewise.
10293 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
10294 * locale/programs/locale-spec.c (locale_special): Likewise.
10295 * nis/nis_findserv.c (struct findserv_req): Likewise.
10296 (__nis_findfastest_with_timeout): Likewise.
10297 * nss/test-netdb.c (test_network): Likewise.
10298 * resolv/inet_neta.c (inet_neta): Likewise.
10299 * resolv/ns_date.c (ns_datetosecs): Likewise.
10300 (SECS_PER_DAY): Likewise.
10301 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
10303 * resolv/res_comp.c (__putlong): Likewise.
10304 (__putshort): Likewise.
10305 (_getlong): Likewise.
10306 (_getshort): Likewise.
10307 * resolv/res_debug.c (p_time): Likewise.
10308 (precsize_ntoa): Likewise.
10309 (precsize_aton): Likewise.
10310 (latlon2ul): Likewise.
10311 (loc_aton): Likewise.
10312 (loc_ntoa): Likewise.
10313 * resolv/res_hconf.c (struct netaddr): Likewise.
10314 (_res_hconf_reorder_addrs): Likewise.
10315 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10316 (clnttcp_control): Likewise.
10317 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10318 (clntudp_control): Likewise.
10319 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10320 (clntunix_control): Likewise.
10321 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10322 * sunrpc/rpc/auth.h (union des_block): Likewise.
10323 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
10324 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
10325 (xdrrec_create): Likewise.
10326 (xdrrec_endofrecord): Likewise.
10327 (flush_out): Likewise.
10328 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
10329 (xdrstdio_putlong): Likewise.
10330 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
10333 * misc/sys/cdefs.h (__long_double_t): Remove.
10334 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
10335 instead of __long_double_t,
10336 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
10338 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10340 * benchtests/scripts/compare_strings.py: Avoid display error when
10341 running on a text terminal.
10343 * benchtests/scripts/compare_strings.py (main): Add an
10344 optional -base option.
10345 (process_results): New argument base_func.
10347 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
10349 * benchtests/bench-memcpy-large.c (test_name): Likewise.
10350 * benchtests/bench-memcpy-random.c (test_name): Likewise.
10352 2017-08-07 Andreas Schwab <schwab@suse.de>
10354 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
10355 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10356 * intl/Makefile ($(objpfx)tst-gettext.out)
10357 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
10358 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
10359 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10360 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10361 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
10362 * posix/Makefile ($(objpfx)globtest.out)
10363 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
10364 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
10365 ($(objpfx)tst-printf.out): Likewise.
10366 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
10367 ($(objpfx)tst-setcontext3.out): Likewise.
10369 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
10371 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10372 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
10373 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
10374 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
10375 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
10377 (CFLAGS-doasin-fma.c): New.
10378 (CFLAGS-dosincos-fma.c): Likewise.
10379 (CFLAGS-e_asin-fma.c): Likewise.
10380 (CFLAGS-e_atan2-fma.c): Likewise.
10381 (CFLAGS-e_exp-fma.c): Likewise.
10382 (CFLAGS-e_log-fma.c): Likewise.
10383 (CFLAGS-e_pow-fma.c): Likewise.
10384 (CFLAGS-halfulp-fma.c): Likewise.
10385 (CFLAGS-mpa-fma.c): Likewise.
10386 (CFLAGS-mpatan-fma.c): Likewise.
10387 (CFLAGS-mpatan2-fma.c): Likewise.
10388 (CFLAGS-mpexp-fma.c): Likewise.
10389 (CFLAGS-mplog-fma.c): Likewise.
10390 (CFLAGS-mpsqrt-fma.c): Likewise.
10391 (CFLAGS-mptan-fma.c): Likewise.
10392 (CFLAGS-s_atan-fma.c): Likewise.
10393 (CFLAGS-sincos32-fma.c): Likewise.
10394 (CFLAGS-slowexp-fma.c): Likewise.
10395 (CFLAGS-slowpow-fma.c): Likewise.
10396 (CFLAGS-s_sin-fma.c): Likewise.
10397 (CFLAGS-s_tan-fma.c): Likewise.
10398 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
10399 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
10400 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
10401 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
10402 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
10403 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
10404 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
10405 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
10406 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
10407 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
10408 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
10409 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
10410 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
10411 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
10412 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
10413 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
10414 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
10415 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
10416 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
10417 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
10418 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
10419 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
10420 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
10421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
10422 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10425 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10426 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10427 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10430 2017-08-04 Joseph Myers <joseph@codesourcery.com>
10432 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
10433 (min_of_type_f): New macro.
10434 (min_of_type_): Likewise.
10435 (min_of_type_l): Likewise.
10436 (min_of_type_f128): Likewise.
10437 (min_of_type): Define using __MATH_TG and taking an expression
10439 (math_check_force_underflow): Pass expression instead of type to
10441 (math_check_force_underflow_nonneg): Likewise.
10443 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10445 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
10446 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
10447 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
10449 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10452 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
10453 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
10454 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
10455 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
10456 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
10457 memcpy_chk-nonshared, mempcpy_chk-nonshared,
10458 memmove_chk-nonshared and memset_chk-nonshared
10459 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
10460 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
10461 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
10462 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
10463 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
10464 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
10465 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
10466 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
10467 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
10468 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
10469 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
10470 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
10471 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
10472 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
10473 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
10474 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
10475 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
10476 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
10477 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
10478 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
10479 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
10480 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
10481 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
10482 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
10483 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
10484 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
10485 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
10486 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
10487 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
10488 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
10489 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
10490 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
10491 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
10492 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
10493 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
10494 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
10495 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
10496 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
10497 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
10498 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
10499 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
10500 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
10501 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
10502 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
10503 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
10504 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
10505 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
10506 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
10507 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
10508 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
10509 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
10510 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
10511 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
10512 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
10513 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
10514 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
10515 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
10516 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
10517 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
10519 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
10521 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
10523 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
10524 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
10525 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
10526 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
10527 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
10528 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
10529 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
10530 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10532 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10533 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10534 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10535 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10536 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10537 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10538 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10539 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10540 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10541 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10542 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10543 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10544 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10545 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10547 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10549 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10550 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10551 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10552 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10553 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10554 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10555 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10556 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10557 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10558 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10561 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10562 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10563 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10564 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10565 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10566 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10568 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10570 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
10571 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
10572 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
10573 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
10574 svml_d_log2_core-sse2, svml_d_log4_core-sse,
10575 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
10576 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
10577 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
10578 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
10579 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
10580 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
10581 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
10582 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
10583 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
10584 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
10585 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
10586 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
10587 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
10588 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
10589 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
10590 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
10591 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
10592 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
10593 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
10594 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
10595 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
10596 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
10597 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
10598 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
10599 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
10600 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
10601 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
10602 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
10603 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
10604 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
10605 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
10606 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
10607 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
10608 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
10609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
10610 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
10611 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
10612 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
10613 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
10614 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
10615 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
10616 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
10617 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
10618 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
10619 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
10620 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
10621 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
10622 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
10623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
10624 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
10625 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
10626 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
10627 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
10628 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
10630 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
10631 Don't include <sysdep.h> nor <init-arch.h>.
10632 (_ZGVbN2v_cos): Removed.
10633 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
10635 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
10636 Don't include <sysdep.h> nor <init-arch.h>.
10637 (_ZGVdN4v_cos): Removed.
10638 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
10640 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
10641 Don't include <sysdep.h> nor <init-arch.h>.
10642 (_ZGVeN8v_cos): Removed.
10643 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
10645 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
10646 Don't include <sysdep.h> nor <init-arch.h>.
10647 (_ZGVbN2v_exp): Removed.
10648 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
10650 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
10651 Don't include <sysdep.h> nor <init-arch.h>.
10652 (_ZGVdN4v_exp): Removed.
10653 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
10655 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
10656 Don't include <sysdep.h> nor <init-arch.h>.
10657 (_ZGVeN8v_exp): Removed.
10658 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
10660 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
10661 Don't include <sysdep.h> nor <init-arch.h>.
10662 (_ZGVbN2v_log): Removed.
10663 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
10665 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
10666 Don't include <sysdep.h> nor <init-arch.h>.
10667 (_ZGVdN4v_log): Removed.
10668 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
10670 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
10671 Don't include <sysdep.h> nor <init-arch.h>.
10672 (_ZGVeN8v_log): Removed.
10673 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
10675 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
10676 Don't include <sysdep.h> nor <init-arch.h>.
10677 (_ZGVbN2vv_pow): Removed.
10678 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
10680 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
10681 Don't include <sysdep.h> nor <init-arch.h>.
10682 (_ZGVdN4vv_pow): Removed.
10683 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
10685 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
10686 Don't include <sysdep.h> nor <init-arch.h>.
10687 (_ZGVeN8vv_pow): Removed.
10688 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
10690 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
10691 Don't include <sysdep.h> nor <init-arch.h>.
10692 (_ZGVbN2v_sin): Removed.
10693 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
10695 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
10696 Don't include <sysdep.h> nor <init-arch.h>.
10697 (_ZGVbN4v_sin): Removed.
10698 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
10700 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
10701 Don't include <sysdep.h> nor <init-arch.h>.
10702 (_ZGVbN8v_sin): Removed.
10703 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
10705 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
10706 Don't include <sysdep.h> nor <init-arch.h>.
10707 (_ZGVbN2vvv_sincos): Removed.
10708 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
10710 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
10711 Don't include <sysdep.h> nor <init-arch.h>.
10712 (_ZGVdN4vvv_sincos): Removed.
10713 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
10715 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
10716 Don't include <sysdep.h> nor <init-arch.h>.
10717 (_ZGVeN8vvv_sincos): Removed.
10718 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
10720 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
10721 Don't include <sysdep.h> nor <init-arch.h>.
10722 (_ZGVeN16v_cosf): Removed.
10723 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
10725 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
10726 Don't include <sysdep.h> nor <init-arch.h>.
10727 (_ZGVbN4v_cosf): Removed.
10728 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
10730 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
10731 Don't include <sysdep.h> nor <init-arch.h>.
10732 (_ZGVdN8v_cosf): Removed.
10733 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
10735 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
10736 Don't include <sysdep.h> nor <init-arch.h>.
10737 (_ZGVeN16v_expf): Removed.
10738 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
10740 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
10741 Don't include <sysdep.h> nor <init-arch.h>.
10742 (_ZGVbN4v_expf): Removed.
10743 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
10745 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
10746 Don't include <sysdep.h> nor <init-arch.h>.
10747 (_ZGVdN8v_expf): Removed.
10748 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
10750 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
10751 Don't include <sysdep.h> nor <init-arch.h>.
10752 (_ZGVeN16v_logf): Removed.
10753 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
10755 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
10756 Don't include <sysdep.h> nor <init-arch.h>.
10757 (_ZGVbN4v_logf): Removed.
10758 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
10760 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
10761 Don't include <sysdep.h> nor <init-arch.h>.
10762 (_ZGVdN8v_logf): Removed.
10763 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
10765 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
10766 Don't include <sysdep.h> nor <init-arch.h>.
10767 (_ZGVeN16vv_powf): Removed.
10768 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
10770 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
10771 Don't include <sysdep.h> nor <init-arch.h>.
10772 (_ZGVbN4vv_powf): Removed.
10773 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
10775 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
10776 Don't include <sysdep.h> nor <init-arch.h>.
10777 (_ZGVdN8vv_powf): Removed.
10778 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
10780 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
10781 Don't include <sysdep.h> nor <init-arch.h>.
10782 (_ZGVeN16vvv_sincosf): Removed.
10783 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
10785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
10786 Don't include <sysdep.h> nor <init-arch.h>.
10787 (_ZGVbN4vvv_sincosf): Removed.
10788 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
10790 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
10791 Don't include <sysdep.h> nor <init-arch.h>.
10792 (_ZGVdN8vvv_sincosf): Removed.
10793 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
10795 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
10796 Don't include <sysdep.h> nor <init-arch.h>.
10797 (_ZGVeN16v_sinf): Removed.
10798 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
10800 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
10801 Don't include <sysdep.h> nor <init-arch.h>.
10802 (_ZGVbN4v_sinf): Removed.
10803 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
10805 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
10806 Don't include <sysdep.h> nor <init-arch.h>.
10807 (_ZGVdN8v_sinf): Removed.
10809 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10811 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10812 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
10813 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
10814 s_rint-sse4_1 and s_rintf-sse4_1.
10815 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
10816 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10817 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10818 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10819 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10820 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
10821 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
10822 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10823 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10824 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
10825 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
10826 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10828 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
10829 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
10830 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10831 (__ceilf): Removed.
10832 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
10833 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
10834 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10835 (__floor): Removed.
10836 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
10837 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
10838 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10839 (__floorf): Removed.
10840 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
10841 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
10842 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10843 (__nearbyint): Removed.
10844 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
10845 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
10846 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10847 (__nearbyintf): Removed.
10848 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
10849 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
10850 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10852 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
10853 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
10854 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10855 (__rintf): Removed.
10857 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10859 * sysdeps/i386/start.S (_start): Check Check PIC instead of
10860 SHARED. Avoid dynamic relocation against main in static PIE.
10862 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10865 * elf/Makefile (CFLAGS-tst-prelink.c): New.
10866 (LDFLAGS-tst-prelink): Likewise.
10868 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10870 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
10871 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
10872 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
10873 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10874 (INTERNAL_SYSCALL_NCS): Likewise.
10875 (LOADARGS_1): Likewise.
10876 (LOADARGS_5): Likewise.
10877 (RESTOREARGS_1): Likewise.
10878 (RESTOREARGS_5): Likewise.
10880 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10882 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
10883 (MEMPCPY_SYMBOL): Likewise.
10884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10885 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
10886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
10888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10889 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10891 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
10892 (__hidden_ver1): Don't use in libc.a.
10893 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10894 (__mempcpy): Don't create a weak alias in libc.a.
10895 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
10897 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
10898 (__hidden_ver1): Don't use in libc.a.
10900 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10902 * config.make.in (have-insert): New.
10903 * configure.ac (libc_cv_insert): New. Set to yes if linker
10904 supports INSERT in linker script.
10905 (AC_SUBST(libc_cv_insert): New.
10906 * configure: Regenerated.
10907 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
10908 if $(have-insert) == yes.
10910 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10912 * elf/Makefile (tests): Add vismain only if
10913 $(have-protected-data) == yes.
10914 (tests-pie): Likewise.
10916 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10919 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10920 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
10922 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10925 * sysdeps/i386/i586/memset.S
10926 (__memset_zero_constant_len_parameter): Removed.
10927 * sysdeps/i386/i686/memset.S
10928 (__memset_zero_constant_len_parameter): Likewise.
10929 * sysdeps/i386/i686/multiarch/memset_chk.S
10930 (__memset_zero_constant_len_parameter): Likewise.
10931 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
10934 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10936 * stdlib/getentropy.c (getentropy): Change return type to int.
10938 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10940 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10942 2017-08-03 Joseph Myers <joseph@codesourcery.com>
10944 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
10946 * math/s_nexttowardf.c (__nexttowardf): Likewise.
10947 * sysdeps/generic/math_private.h (ieee_double_shape_type):
10949 (ieee_float_shape_type): Likewise.
10950 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
10951 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
10952 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10953 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10954 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10955 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
10956 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
10957 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10958 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10960 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10961 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10962 (__ieee754_yn): Likewise.
10963 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10964 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10965 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
10967 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10968 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
10969 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
10970 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
10971 (__erfc): Likewise.
10972 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10973 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
10974 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
10975 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
10976 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
10977 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
10979 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10980 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
10981 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10982 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
10983 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10984 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
10985 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
10986 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
10987 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
10988 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10989 (__issignaling): Likewise.
10990 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
10991 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
10992 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10994 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10995 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10996 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10997 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
10999 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
11001 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
11002 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
11003 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
11004 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11005 (__erfcf): Likewise.
11006 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11007 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11008 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
11009 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
11011 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
11012 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
11014 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11015 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
11016 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11017 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
11018 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
11019 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11020 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
11021 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
11023 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
11025 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11027 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
11028 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11030 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11032 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11033 (__ieee754_ynl): Likewise.
11034 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11035 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
11037 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
11039 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11040 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
11041 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11043 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11044 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
11045 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
11046 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
11047 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
11048 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11049 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
11052 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11053 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
11054 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
11056 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11063 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11065 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11067 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11069 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
11077 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11082 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11083 (__ieee754_remainderl): Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11089 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11092 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11093 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
11094 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11095 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11096 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11097 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11099 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11100 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
11101 (__ieee754_y0l): Likewise.
11104 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11105 (__ieee754_y1l): Likewise.
11108 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11109 (__ieee754_ynl): Likewise.
11110 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
11111 (__ieee754_lgammal_r): Likewise.
11112 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
11114 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11115 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
11116 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11117 (__erfcl): Likewise.
11118 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11119 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
11121 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
11122 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
11123 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11124 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
11125 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
11126 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11127 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11129 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
11130 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11131 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
11132 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
11133 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11135 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
11136 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
11138 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
11139 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
11140 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
11141 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11142 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11144 2017-08-03 Florian Weimer <fweimer@redhat.com>
11147 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
11148 on memory allocation failure.
11150 2017-08-03 Alan Modra <amodra@gmail.com>
11152 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
11153 tst-tlsopt-powerpc.c with function name change and no test harness.
11154 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
11155 Call tls_get_addr_opt_test.
11156 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
11157 (modules-names): Add mod-tlsopt-powerpc.
11158 (mod-tlsopt-powerpc.so-no-z-defs): Define.
11159 (tst-tlsopt-powerpc): Depend on .so.
11160 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
11161 define. Expand use in TLS_GD and TLS_LD.
11163 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11165 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
11167 * sysdeps/posix/shm_open.c: Include <pthread.h>.
11169 2017-08-02 Joseph Myers <joseph@codesourcery.com>
11172 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
11173 comparing size with that of double.
11174 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
11175 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
11176 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
11177 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
11178 (__TGMATH_BINARY_REAL_IMAG): Likewise.
11179 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
11180 unsigned __int128 types.
11182 2017-08-02 Steve Ellcey <sellcey@cavium.com>
11184 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
11185 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
11186 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
11187 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
11188 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
11190 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
11192 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
11194 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
11196 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
11198 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11199 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11200 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11201 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11202 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11203 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11204 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11206 2017-08-02 Joseph Myers <joseph@codesourcery.com>
11209 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
11210 bit-field expressions passed to sizeof or typeof.
11211 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11212 (__TGMATH_F128): Likewise.
11213 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11214 (__TGMATH_CF128): Likewise.
11215 (__TGMATH_UNARY_REAL_ONLY): Likewise.
11216 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
11217 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
11218 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
11219 (__TGMATH_BINARY_REAL_ONLY): Likewise.
11220 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
11221 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
11222 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
11223 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
11224 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
11225 (__TGMATH_UNARY_REAL_IMAG): Likewise.
11226 (__TGMATH_UNARY_IMAG): Likewise.
11227 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
11228 (__TGMATH_BINARY_REAL_IMAG): Likewise.
11229 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
11231 (define_vars_for_type): Handle bit_field type specially.
11232 (Tests.__init__): Declare structure with bit-field element.
11234 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
11237 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
11238 (MEMCPY_CHK): Define only if SHARED is defined.
11239 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
11241 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
11244 See ChangeLog.18 for earlier changes.