1 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
4 (cfloat_versions): Take function argument without trailing 'f'.
5 Call libm_alias_float_other.
6 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
7 * sysdeps/alpha/fpu/cargf.c: Likewise.
8 * sysdeps/alpha/fpu/cimagf.c: Likewise.
9 * sysdeps/alpha/fpu/conjf.c: Likewise.
10 * sysdeps/alpha/fpu/crealf.c: Likewise.
11 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
12 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
13 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
14 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
15 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
16 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
28 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
29 (clog10f): Use libm_alias_float_other.
30 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
31 (ceilf): Define using libm_alias_float.
32 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
33 (copysignf): Define using libm_alias_float.
34 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
35 (fabsf): Define using libm_alias_float.
36 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
37 (floorf): Define using libm_alias_float.
38 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
39 (fmaxf): Define using libm_alias_float.
40 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
41 (fminf): Define using libm_alias_float.
42 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
43 (lrintf): Define using libm_alias_float.
45 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
46 (lroundf): Define using libm_alias_float.
48 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
49 (rintf): Define using libm_alias_float.
50 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
51 (truncf): Define using libm_alias_float.
53 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
54 (ceilf): Define using libm_alias_float.
55 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
56 (floorf): Define using libm_alias_float.
57 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
58 (fmaf): Define using libm_alias_float.
59 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
60 (fmaxf): Define using libm_alias_float.
61 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
62 (fminf): Define using libm_alias_float.
63 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
64 (llrintf): Define using libm_alias_float.
65 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
66 (llroundf): Define using libm_alias_float.
67 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
68 (lrintf): Define using libm_alias_float.
69 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
70 (lroundf): Define using libm_alias_float.
71 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
73 (nearbyintf): Define using libm_alias_float.
74 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
75 (rintf): Define using libm_alias_float.
76 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
77 (roundf): Define using libm_alias_float.
78 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
79 (truncf): Define using libm_alias_float.
81 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
82 (ceil): Define using libm_alias_double.
83 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
84 (copysign): Define using libm_alias_double.
85 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
86 (fabs): Define using libm_alias_double.
87 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
88 (floor): Define using libm_alias_double.
89 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
90 (fmax): Define using libm_alias_double.
91 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
92 (fmin): Define using libm_alias_double.
93 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
94 (lrint): Define using libm_alias_double.
96 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
97 (lround): Define using libm_alias_double.
99 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
100 (rint): Define using libm_alias_double.
101 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
102 (trunc): Define using libm_alias_double.
104 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
105 (libm_alias_double_r): Add semicolon after weak_alias call.
107 2017-11-27 Joseph Myers <joseph@codesourcery.com>
109 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
110 (ceil): Define using libm_alias_double.
111 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
112 (floor): Define using libm_alias_double.
113 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
114 (fma): Define using libm_alias_double.
115 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
116 (fmax): Define using libm_alias_double.
117 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
118 (fmin): Define using libm_alias_double.
119 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
120 (llrint): Define using libm_alias_double.
121 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
122 (llround): Define using libm_alias_double.
123 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
124 (lrint): Define using libm_alias_double.
125 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
126 (lround): Define using libm_alias_double.
127 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
128 (nearbyint): Define using libm_alias_double.
129 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
130 (rint): Define using libm_alias_double.
131 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
132 (round): Define using libm_alias_double.
133 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
134 (trunc): Define using libm_alias_double.
136 2017-11-27 Florian Weimer <fweimer@redhat.com>
138 * sysdeps/unix/sysv/linux/mlock2.c: New file.
139 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
140 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
141 (tests): Add tst-mlock2.
142 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
143 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
144 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
145 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
146 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
147 for mlock. Document mlock2.
149 2017-11-27 Joseph Myers <joseph@codesourcery.com>
151 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
152 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
154 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
156 * sysdeps/x86/Makeconfig: New file.
157 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
158 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
159 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
160 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
161 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
162 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
163 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
165 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
166 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
167 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
168 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
169 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
170 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
171 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
172 * manual/math.texi (Mathematics): Document support for _Float64x.
173 * math/Versions (GLIBC_2.27): Add _Float64x functions.
174 * stdlib/Versions (GLIBC_2.27): Likewise.
175 * wcsmbs/Versions (GLIBC_2.27): Likewise.
176 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
177 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
178 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
179 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
180 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
181 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
182 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
183 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
184 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
185 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
186 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
191 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
192 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
193 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
194 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
195 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
196 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
197 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
198 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
199 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
200 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
202 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
203 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
204 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
206 2017-11-27 Andreas Schwab <schwab@suse.de>
208 * elf/Makefile (dl-routines): Add dl-sort-maps.
209 * elf/dl-sort-maps.c: New file.
210 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
211 (_dl_sort_maps): Declare.
212 * elf/dl-fini.c (_dl_sort_fini): Remove.
213 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
214 * elf/dl-close.c (_dl_close_worker): Likewise.
215 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
217 * elf/dl-open.c (dl_open_worker): Likewise.
219 2017-11-24 Joseph Myers <joseph@codesourcery.com>
221 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
222 using libm_alias_float128.
223 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
225 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
227 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
228 (setpayloadsigf128): Likewise.
229 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
231 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
234 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
235 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
236 -mfloat128 to CFLAGS.
238 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
240 (CFLAGS-libm-test-support-float64x.c): New variable.
241 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
242 $(f128-loader-link) to gnulib-tests.
244 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
245 (libm_alias_float128_other_r): If
246 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
248 (libm_alias_float128_r): Add semicolon after weak_alias call.
249 * sysdeps/generic/libm-alias-ldouble.h
250 (libm_alias_ldouble_other_r_f128): New macro.
251 (libm_alias_ldouble_other_r_f64x): Likewise.
252 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
253 and libm_alias_ldouble_other_r_f64x.
254 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
255 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
256 (libm_alias_ldouble_other_r_f128): New macro.
257 (libm_alias_ldouble_other_r_f64x): Likewise.
258 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
259 and libm_alias_ldouble_other_r_f64x.
261 * stdlib/strfroml.c: Always include <stdlib.h>.
262 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
263 undefine as macro and define as weak alias.
264 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
265 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
267 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
268 Define and later undefine as macro and define as weak alias.
270 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
271 Define and later undefine as macro. Define as weak alias if
273 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
274 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
275 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
276 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
277 Define and later undefine as macro. Define as weak alias if
279 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
280 Define and later undefine as macro. Define as weak alias if
282 * sysdeps/ieee754/float128/strtof128_l.c
283 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
284 Define and later undefine as macro. Define as weak alias if
286 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
287 Define and later undefine as macro. Define as weak alias if
289 * sysdeps/ieee754/ldbl-128/strtold_l.c
290 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
291 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
292 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
293 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
294 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
295 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
296 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
297 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
298 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
299 * sysdeps/ieee754/ldbl-96/strtold_l.c
300 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
301 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
302 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
303 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
305 * math/test-float64x.h: New file.
306 * math/Makefile (type-float64x-yes): New variable.
307 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
309 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
311 (min_of_type_): Likewise.
312 (min_of_type_l): Likewise.
313 (min_of_type_f128): Likewise.
314 (min_of_type): Pass () as last argument of __MATH_TG.
316 * stdlib/tst-strtod-round-skeleton.c
317 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
320 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
321 for combinations of long double with _Float64 and _Float64x.
323 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
324 (__DECL_SIMD_cosf32): Likewise.
325 (__DECL_SIMD_cosf64): Likewise.
326 (__DECL_SIMD_cosf32x): Likewise.
327 (__DECL_SIMD_cosf64x): Likewise.
328 (__DECL_SIMD_cosf128x): Likewise.
329 (__DECL_SIMD_sinf16): Likewise.
330 (__DECL_SIMD_sinf32): Likewise.
331 (__DECL_SIMD_sinf64): Likewise.
332 (__DECL_SIMD_sinf32x): Likewise.
333 (__DECL_SIMD_sinf64x): Likewise.
334 (__DECL_SIMD_sinf128x): Likewise.
335 (__DECL_SIMD_sincosf16): Likewise.
336 (__DECL_SIMD_sincosf32): Likewise.
337 (__DECL_SIMD_sincosf64): Likewise.
338 (__DECL_SIMD_sincosf32x): Likewise.
339 (__DECL_SIMD_sincosf64x): Likewise.
340 (__DECL_SIMD_sincosf128x): Likewise.
341 (__DECL_SIMD_logf16): Likewise.
342 (__DECL_SIMD_logf32): Likewise.
343 (__DECL_SIMD_logf64): Likewise.
344 (__DECL_SIMD_logf32x): Likewise.
345 (__DECL_SIMD_logf64x): Likewise.
346 (__DECL_SIMD_logf128x): Likewise.
347 (__DECL_SIMD_expf16): Likewise.
348 (__DECL_SIMD_expf32): Likewise.
349 (__DECL_SIMD_expf64): Likewise.
350 (__DECL_SIMD_expf32x): Likewise.
351 (__DECL_SIMD_expf64x): Likewise.
352 (__DECL_SIMD_expf128x): Likewise.
353 (__DECL_SIMD_powf16): Likewise.
354 (__DECL_SIMD_powf32): Likewise.
355 (__DECL_SIMD_powf64): Likewise.
356 (__DECL_SIMD_powf32x): Likewise.
357 (__DECL_SIMD_powf64x): Likewise.
358 (__DECL_SIMD_powf128x): Likewise.
360 * stdlib/Versions (libc): Move entries for wcstof128 and
362 * wcsmbs/Versions (libc): ... here.
363 Include <float128-abi.h>.
365 2017-11-24 Florian Weimer <fweimer@redhat.com>
367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
369 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
370 <bits/mman-shared.h>.
371 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
373 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
374 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
375 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
376 <bits/mman-shared.h>.
378 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
381 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
383 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
385 2017-11-22 Mike FABIAN <mfabian@redhat.com>
388 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
389 and implement the collation rules for pl from CLDR on top of that.
390 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
391 of locales to be built for testing.
392 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
394 2017-11-23 Joseph Myers <joseph@codesourcery.com>
396 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
397 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
398 libm_alias_ldouble_other.
399 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
400 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
401 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
402 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
403 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
404 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
405 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
406 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
407 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
408 libm_alias_ldouble_r.
409 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
410 libm_alias_ldouble_other.
411 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
413 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
414 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
415 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
416 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
417 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
418 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
419 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
421 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
422 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
423 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
425 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
427 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
428 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
429 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
431 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
432 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
433 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
434 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
435 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
436 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
437 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
438 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
439 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
440 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
441 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
443 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
444 libm_alias_ldouble_other.
445 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
446 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
447 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
449 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
450 libm_alias_ldouble_other.
451 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
452 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
453 * sysdeps/ia64/fpu/w_lgammal_main.c
454 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
455 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
457 2017-11-23 Florian Weimer <fweimer@redhat.com>
459 * malloc/malloc.c (tcache_thread_shutdown): Rename from
460 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
461 alike. Remove freeres marker.
462 * malloc/arena.c (arena_thread_freeres): Call
463 tcache_thread_shutdown.
465 2017-11-23 Florian Weimer <fweimer@redhat.com>
468 Export nscd hash function as __nss_hash.
469 * include/nss.h (__nss_hash): Declare.
470 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
472 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
473 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
475 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
476 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
477 * nss/Makefiles (routines): Add nss_hash.
478 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
479 * nss/nss_hash.c: Rename from nis/nis_hash.c.
480 (__nss_hash): Rename from __nis_hash. Define hidden alias.
481 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
483 2017-11-23 Florian Weimer <fweimer@redhat.com>
486 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
487 Return error code, not -1.
488 * signal/tst-sigwait-eintr.c: New file.
489 * signal/Makefile (tests): Add tst-sigwait-eintr.
491 2017-11-23 Florian Weimer <fweimer@redhat.com>
493 Linux: Add memfd_create system call wrapper
494 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
496 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
497 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
498 [__USE_GNU] (memfd_create): Declare.
499 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
500 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
501 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
502 * sysdeps/unix/sysv/linux/**.abilist: Update.
503 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
505 2017-11-22 Joseph Myers <joseph@codesourcery.com>
507 * localedata/gen-locale.sh: Fix typo in variable name.
509 * resolv/res_debug.c (p_secstodate): Condition definition on
510 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
511 directly as __p_secstodate, and as a compat symbol. Do not use
512 libresolv_hidden_def.
513 * resolv/resolv.h (p_secstodate): Remove macro and function
515 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
517 * include/resolv.h (__p_secstodate): Do not use
518 libresolv_hidden_proto.
519 * resolv/Makefile (tests): Move tst-p_secstodate to ....
520 (tests-internal): ... here.
521 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
522 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
523 and declare and use __p_secstodate and use compat_symbol_reference
525 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
526 implementation returning 77.
529 * resolv/res_debug.c: Include <libc-diag.h>.
530 (p_secstodate): Assert time_t at least as wide as u_long. On
531 overflow, use integer seconds since the epoch as output, or use
532 "<overflow>" as output and set errno to EOVERFLOW if integer
533 seconds since the epoch would be 14 or more characters.
534 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
536 * resolv/tst-p_secstodate.c: New file.
537 * resolv/Makefile (tests): Add tst-p_secstodate.
538 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
540 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
541 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
542 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
544 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
546 * posix/regcomp.c (init_word_char): Add comments.
548 2017-11-22 Joseph Myers <joseph@codesourcery.com>
551 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
552 strlen to compute length of ut_user and set trailing NUL byte of
555 2017-11-21 Mike FABIAN <mfabian@redhat.com>
558 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
559 using “copy "iso14651_t1"” and then implementing the
560 collation rules for lv from CLDR on top of that.
561 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
562 of locales to be built for testing.
563 * lv_LV.UTF-8.in: New file with test data to test the Latvian
566 2017-11-21 Joseph Myers <joseph@codesourcery.com>
568 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
569 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
570 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
571 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
572 [__USE_MISC] (MADV_HWPOISON): New macro.
573 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
575 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
577 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
578 -Wmissing-braces on GCC 4.9.
580 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
582 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
583 * sysdeps/s390/s390-32/start.S (_start): Likewise
584 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
585 (thread_start): Likewise.
586 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
587 (thread_start): Likewise.
588 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
589 (__makecontext_ret): Likewise.
590 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
591 (__makecontext_ret): Likewise.
593 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
595 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
596 __wcschrnul): Remove attribute_hidden.
598 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
600 regex: don't assume uint64_t or uint32_t
601 This avoids -Werror=overflow errors for 32-bit systems in
602 the 64-bit case. Problem reported by Joseph Myers in:
603 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
604 Also, when this code is used in Gnulib it ports to platforms
605 that lack uint64_t and uint32_t. The C standard doesn't guarantee
606 them, and on some 32-bit compilers there is no uint64_t.
607 Problem reported by Gianluigi Tiesi in:
608 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
609 * posix/regcomp.c (init_word_char): Don't assume that the types
610 uint64_t and uint32_t exist. Adapted from Gnulib patch
611 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
612 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
614 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
616 * sysdeps/aarch64/memset-reg.h: New file.
617 * sysdeps/aarch64/memset.S: Use it.
618 (__memset): Rename to MEMSET macro.
619 [ZVA_MACRO]: Use zva_macro.
620 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
621 Add memset_generic and memset_falkor.
622 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
623 (__libc_ifunc_impl_list): Add memset ifuncs.
624 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
625 local variable zva_size.
626 * sysdeps/aarch64/multiarch/memset.c: New file.
627 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
628 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
629 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
630 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
631 (DCZID_DZP_MASK): New macro.
632 (DCZID_BS_MASK): Likewise.
633 (init_cpu_features): Read and set zva_size.
634 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
635 (struct cpu_features): New member zva_size.
637 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
638 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
639 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
641 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
642 backwards. Fix timing computation.
643 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
644 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
645 on memset by N at a time. Fix timing computation.
647 2017-11-20 Florian Weimer <fweimer@redhat.com>
649 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
650 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
652 2017-11-19 Florian Weimer <fweimer@redhat.com>
654 manual: Document mprotect
655 * manual/memory.texi (Memory Protection): New section.
656 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
657 documentation of PROT_* flags and reference the Memory Protection
660 2017-11-19 Florian Weimer <fweimer@redhat.com>
662 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
663 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
664 (Scatter-Gather): ... to here. Remove misleading comment.
666 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
668 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
671 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
672 when /proc/<pid>/setgroups does not exist.
674 2017-11-18 Florian Weimer <fweimer@redhat.com>
676 * sysdeps/unix/sysv/linux/tst-ttyname.c
677 (become_root_in_mount_ns): Remove.
678 (do_in_chroot_1): Call support_enter_mount_namespace.
679 (do_in_chroot_2): Likewise.
680 (do_test): Call support_become_root early.
682 2017-11-18 Florian Weimer <fweimer@redhat.com>
684 * support/namespace.h (support_enter_mount_namespace): Declare.
685 * support/support_enter_mount_namespace.c: New file.
686 * support/Makefile (libsupport-routines): Add
687 support_enter_mount_namespace.
689 2017-11-18 Florian Weimer <fweimer@redhat.com>
691 * support/temp_file.c (support_create_temp_directory): Use
692 test_dir and do not rely on the presence of the XXXXXX suffix.
693 * support/temp_file.h (support_create_temp_directory): Update
695 * support/tst-xreadlink.c (do_test): Adjust.
696 * support/support_chroot.c (support_chroot_create): Likewise.
698 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
700 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
702 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
705 2017-11-17 Joseph Myers <joseph@codesourcery.com>
707 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
708 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
709 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
710 (ceill): Define using libm_alias_ldouble.
711 * sysdeps/x86_64/fpu/s_copysignl.S: Include
712 <libm-alias-ldouble.h>.
713 (copysignl): Define using libm_alias_ldouble.
714 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
715 (fabsl): Define using libm_alias_ldouble.
716 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
717 (floorl): Define using libm_alias_ldouble.
718 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
719 (fmaxl): Define using libm_alias_ldouble.
720 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
721 (fminl): Define using libm_alias_ldouble.
722 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
723 (llrintl): Define using libm_alias_ldouble.
725 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
726 <libm-alias-ldouble.h>.
727 (nearbyintl): Define using libm_alias_ldouble.
728 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
729 (truncl): Define using libm_alias_ldouble.
730 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
731 <libm-alias-ldouble.h>.
732 (lrintl): Define using libm_alias_ldouble.
734 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
735 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
736 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
737 (asinhl): Define using libm_alias_ldouble.
738 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
739 (atanl): Define using libm_alias_ldouble.
740 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
741 (cbrtl): Define using libm_alias_ldouble.
742 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
743 (ceill): Define using libm_alias_ldouble.
744 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
745 (copysignl): Define using libm_alias_ldouble.
746 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
747 (fabsl): Define using libm_alias_ldouble.
748 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
749 (floorl): Define using libm_alias_ldouble.
750 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
751 (fmaxl): Define using libm_alias_ldouble.
752 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
753 (fminl): Define using libm_alias_ldouble.
754 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
755 (frexpl): Define using libm_alias_ldouble.
756 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
757 (llrintl): Define using libm_alias_ldouble.
758 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
759 (logbl): Define using libm_alias_ldouble.
760 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
761 (lrintl): Define using libm_alias_ldouble.
762 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
763 (nearbyintl): Define using libm_alias_ldouble.
764 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
765 (nextafterl): Define using libm_alias_ldouble.
766 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
767 (remquol): Define using libm_alias_ldouble.
768 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
769 (rintl): Define using libm_alias_ldouble.
770 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
771 (truncl): Define using libm_alias_ldouble.
772 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
773 (fmaxl): Define using libm_alias_ldouble.
774 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
775 (fminl): Define using libm_alias_ldouble.
777 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
778 to C syntax instead of availability and properties of types.
779 * bits/floatn.h [!__ASSEMBLER]: Likewise.
780 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
781 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
782 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
783 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
784 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
786 2017-11-17 Florian Weimer <fweimer@redhat.com>
788 support_become_root: Enable file creation in namespaces.
789 * support/support_become_root.c (setup_mapping): New function.
790 (support_become_root): Call it.
792 2017-11-17 Joseph Myers <joseph@codesourcery.com>
794 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
797 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
799 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
800 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
802 2017-11-16 Joseph Myers <joseph@codesourcery.com>
804 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
806 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
809 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
811 * INSTALL: Fix botched up regeneration.
813 * NEWS: Update sourceare link to https.
814 * configure.ac: Likewise.
815 * crypt/md5test-giant.c: Likewise.
816 * dlfcn/bug-atexit1.c: Likewise.
817 * dlfcn/bug-atexit2.c: Likewise.
818 * localedata/README: Likewise.
819 * malloc/tst-mallocfork.c: Likewise.
820 * manual/install.texi: Likewise.
821 * nptl/tst-pthread-getattr.c: Likewise.
822 * stdio-common/tst-fgets.c: Likewise.
823 * stdio-common/tst-fwrite.c: Likewise.
824 * sunrpc/Makefile: Likewise.
825 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
826 * wcsmbs/tst-mbrtowc2.c: Likewise.
827 * configure: Regenerate.
828 * INSTALL: Regenerate.
830 2017-11-15 Martin Sebor <msebor@redhat.com>
832 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
833 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
834 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
836 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
839 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
840 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
844 Defer is_pty check until end of the function.
845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
848 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
849 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
851 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
852 (__ttyname_r): Likewise.
854 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
857 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
859 * manual/terminal.texi (Is It a Terminal):
860 Mention ENODEV for ttyname and ttyname_r.
862 2017-11-15 Joseph Myers <joseph@codesourcery.com>
864 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
867 * sysdeps/unix/sysv/linux/bits/mman-linux.h
868 [__USE_MISC] (MADV_WIPEONFORK): New macro.
869 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
870 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
871 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
872 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
874 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
876 * signal/sigrelse.c (sigrelse): Optimize implementation.
878 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
879 (__sigpause): Rely on __sigsuspend to implement single thread
880 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
882 2017-11-15 Joseph Myers <joseph@codesourcery.com>
884 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
885 kernel version to 4.14.
887 2017-11-15 Steve Ellcey <sellcey@cavium.com>
890 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
891 Check if ifname is too long.
893 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
895 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
897 2017-11-15 Mike FABIAN <mfabian@redhat.com>
899 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
900 was accidentally lost.
902 2017-11-15 Mike FABIAN <mfabian@redhat.com>
904 * localedata/locales/az_IR: Add standard copyright header.
906 2017-11-15 Florian Weimer <fweimer@redhat.com>
909 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
910 not just the top one. Output a new "subheaps" statistic.
912 2017-11-15 Florian Weimer <fweimer@redhat.com>
915 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
916 under the per-arena lock.
917 * malloc/Makefile (tests): Add tst-malloc_info.
918 (tst-malloc_info): Link with libpthread.
919 * malloc/tst-malloc_info.c: New file.
921 2017-11-15 Joseph Myers <joseph@codesourcery.com>
924 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
925 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
926 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
927 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
928 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
929 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
930 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
931 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
932 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
933 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
934 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
935 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
936 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
937 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
938 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
939 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
940 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
941 (__floating_type): Likewise.
942 (__real_integer_type): Likewise.
943 (__complex_integer_type): Likewise.
944 (__expr_is_real): Likewise.
945 (__tgmath_real_type_sub): Likewise.
946 (__tgmath_real_type): Likewise.
947 (__tgmath_complex_type_sub): Likewise.
948 (__tgmath_complex_type): Likewise.
949 (__TGMATH_F128): Likewise.
950 (__TGMATH_CF128): Likewise.
951 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
953 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
954 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
956 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
958 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
959 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
960 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
961 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
963 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
964 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
966 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
967 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
968 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
970 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
971 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
972 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
976 2017-11-14 Joseph Myers <joseph@codesourcery.com>
978 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
979 for stpncpy calls for GCC 8.
980 (test_strncat): Disable -Wstringop-truncation warning for strncat
981 calls for GCC 8. Disable -Wstringop-overflow= warning for one
982 strncat call for GCC 7.
983 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
985 (test_memcmp): Use memcpy instead of strncpy for calls not copying
988 * string/bug-strncat1.c: Include <libc-diag.h>.
989 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
991 2017-11-13 Claude Paroz <claude@2xlibre.net>
994 * localedata/locales/aa_DJ: Improved readibility by replacing
995 <Uxxxx> sequences in the ASCII printable range by their ASCII
996 character equivalents.
997 * localedata/locales/aa_ER: Likewise.
998 * localedata/locales/aa_ER@saaho: Likewise.
999 * localedata/locales/aa_ET: Likewise.
1000 * localedata/locales/af_ZA: Likewise.
1001 * localedata/locales/agr_PE: Likewise.
1002 * localedata/locales/ak_GH: Likewise.
1003 * localedata/locales/am_ET: Likewise.
1004 * localedata/locales/anp_IN: Likewise.
1005 * localedata/locales/ar_AE: Likewise.
1006 * localedata/locales/ar_BH: Likewise.
1007 * localedata/locales/ar_DZ: Likewise.
1008 * localedata/locales/ar_EG: Likewise.
1009 * localedata/locales/ar_IN: Likewise.
1010 * localedata/locales/ar_IQ: Likewise.
1011 * localedata/locales/ar_JO: Likewise.
1012 * localedata/locales/ar_KW: Likewise.
1013 * localedata/locales/ar_LB: Likewise.
1014 * localedata/locales/ar_LY: Likewise.
1015 * localedata/locales/ar_MA: Likewise.
1016 * localedata/locales/ar_OM: Likewise.
1017 * localedata/locales/ar_QA: Likewise.
1018 * localedata/locales/ar_SA: Likewise.
1019 * localedata/locales/ar_SD: Likewise.
1020 * localedata/locales/ar_SS: Likewise.
1021 * localedata/locales/ar_SY: Likewise.
1022 * localedata/locales/ar_TN: Likewise.
1023 * localedata/locales/ar_YE: Likewise.
1024 * localedata/locales/as_IN: Likewise.
1025 * localedata/locales/ast_ES: Likewise.
1026 * localedata/locales/ayc_PE: Likewise.
1027 * localedata/locales/az_AZ: Likewise.
1028 * localedata/locales/az_IR: Likewise.
1029 * localedata/locales/be_BY: Likewise.
1030 * localedata/locales/be_BY@latin: Likewise.
1031 * localedata/locales/bem_ZM: Likewise.
1032 * localedata/locales/ber_DZ: Likewise.
1033 * localedata/locales/ber_MA: Likewise.
1034 * localedata/locales/bg_BG: Likewise.
1035 * localedata/locales/bhb_IN: Likewise.
1036 * localedata/locales/bho_IN: Likewise.
1037 * localedata/locales/bi_VU: Likewise.
1038 * localedata/locales/bn_BD: Likewise.
1039 * localedata/locales/bn_IN: Likewise.
1040 * localedata/locales/bo_CN: Likewise.
1041 * localedata/locales/bo_IN: Likewise.
1042 * localedata/locales/br_FR: Likewise.
1043 * localedata/locales/brx_IN: Likewise.
1044 * localedata/locales/bs_BA: Likewise.
1045 * localedata/locales/byn_ER: Likewise.
1046 * localedata/locales/ca_AD: Likewise.
1047 * localedata/locales/ca_ES: Likewise.
1048 * localedata/locales/ca_FR: Likewise.
1049 * localedata/locales/ca_IT: Likewise.
1050 * localedata/locales/ce_RU: Likewise.
1051 * localedata/locales/chr_US: Likewise.
1052 * localedata/locales/cmn_TW: Likewise.
1053 * localedata/locales/crh_UA: Likewise.
1054 * localedata/locales/cs_CZ: Likewise.
1055 * localedata/locales/csb_PL: Likewise.
1056 * localedata/locales/cv_RU: Likewise.
1057 * localedata/locales/cy_GB: Likewise.
1058 * localedata/locales/da_DK: Likewise.
1059 * localedata/locales/de_AT: Likewise.
1060 * localedata/locales/de_BE: Likewise.
1061 * localedata/locales/de_CH: Likewise.
1062 * localedata/locales/de_DE: Likewise.
1063 * localedata/locales/de_IT: Likewise.
1064 * localedata/locales/de_LI: Likewise.
1065 * localedata/locales/de_LU: Likewise.
1066 * localedata/locales/doi_IN: Likewise.
1067 * localedata/locales/dv_MV: Likewise.
1068 * localedata/locales/dz_BT: Likewise.
1069 * localedata/locales/el_CY: Likewise.
1070 * localedata/locales/el_GR: Likewise.
1071 * localedata/locales/en_AG: Likewise.
1072 * localedata/locales/en_AU: Likewise.
1073 * localedata/locales/en_BW: Likewise.
1074 * localedata/locales/en_CA: Likewise.
1075 * localedata/locales/en_DK: Likewise.
1076 * localedata/locales/en_GB: Likewise.
1077 * localedata/locales/en_HK: Likewise.
1078 * localedata/locales/en_IE: Likewise.
1079 * localedata/locales/en_IL: Likewise.
1080 * localedata/locales/en_IN: Likewise.
1081 * localedata/locales/en_NG: Likewise.
1082 * localedata/locales/en_NZ: Likewise.
1083 * localedata/locales/en_PH: Likewise.
1084 * localedata/locales/en_SG: Likewise.
1085 * localedata/locales/en_US: Likewise.
1086 * localedata/locales/en_ZA: Likewise.
1087 * localedata/locales/en_ZM: Likewise.
1088 * localedata/locales/en_ZW: Likewise.
1089 * localedata/locales/eo: Likewise.
1090 * localedata/locales/es_AR: Likewise.
1091 * localedata/locales/es_BO: Likewise.
1092 * localedata/locales/es_CL: Likewise.
1093 * localedata/locales/es_CO: Likewise.
1094 * localedata/locales/es_CR: Likewise.
1095 * localedata/locales/es_CU: Likewise.
1096 * localedata/locales/es_DO: Likewise.
1097 * localedata/locales/es_EC: Likewise.
1098 * localedata/locales/es_ES: Likewise.
1099 * localedata/locales/es_GT: Likewise.
1100 * localedata/locales/es_HN: Likewise.
1101 * localedata/locales/es_MX: Likewise.
1102 * localedata/locales/es_NI: Likewise.
1103 * localedata/locales/es_PA: Likewise.
1104 * localedata/locales/es_PE: Likewise.
1105 * localedata/locales/es_PR: Likewise.
1106 * localedata/locales/es_PY: Likewise.
1107 * localedata/locales/es_SV: Likewise.
1108 * localedata/locales/es_US: Likewise.
1109 * localedata/locales/es_UY: Likewise.
1110 * localedata/locales/es_VE: Likewise.
1111 * localedata/locales/et_EE: Likewise.
1112 * localedata/locales/eu_ES: Likewise.
1113 * localedata/locales/eu_ES@euro: Likewise.
1114 * localedata/locales/fa_IR: Likewise.
1115 * localedata/locales/ff_SN: Likewise.
1116 * localedata/locales/fi_FI: Likewise.
1117 * localedata/locales/fil_PH: Likewise.
1118 * localedata/locales/fo_FO: Likewise.
1119 * localedata/locales/fr_BE: Likewise.
1120 * localedata/locales/fr_CA: Likewise.
1121 * localedata/locales/fr_CH: Likewise.
1122 * localedata/locales/fr_FR: Likewise.
1123 * localedata/locales/fr_LU: Likewise.
1124 * localedata/locales/fur_IT: Likewise.
1125 * localedata/locales/fy_DE: Likewise.
1126 * localedata/locales/fy_NL: Likewise.
1127 * localedata/locales/ga_IE: Likewise.
1128 * localedata/locales/gd_GB: Likewise.
1129 * localedata/locales/gez_ER: Likewise.
1130 * localedata/locales/gez_ET: Likewise.
1131 * localedata/locales/gl_ES: Likewise.
1132 * localedata/locales/gu_IN: Likewise.
1133 * localedata/locales/gv_GB: Likewise.
1134 * localedata/locales/ha_NG: Likewise.
1135 * localedata/locales/hak_TW: Likewise.
1136 * localedata/locales/he_IL: Likewise.
1137 * localedata/locales/hi_IN: Likewise.
1138 * localedata/locales/hif_FJ: Likewise.
1139 * localedata/locales/hne_IN: Likewise.
1140 * localedata/locales/hr_HR: Likewise.
1141 * localedata/locales/hsb_DE: Likewise.
1142 * localedata/locales/ht_HT: Likewise.
1143 * localedata/locales/hu_HU: Likewise.
1144 * localedata/locales/hy_AM: Likewise.
1145 * localedata/locales/i18n: Likewise.
1146 * localedata/locales/ia_FR: Likewise.
1147 * localedata/locales/id_ID: Likewise.
1148 * localedata/locales/ig_NG: Likewise.
1149 * localedata/locales/ik_CA: Likewise.
1150 * localedata/locales/is_IS: Likewise.
1151 * localedata/locales/it_CH: Likewise.
1152 * localedata/locales/it_IT: Likewise.
1153 * localedata/locales/iu_CA: Likewise.
1154 * localedata/locales/ja_JP: Likewise.
1155 * localedata/locales/ka_GE: Likewise.
1156 * localedata/locales/kk_KZ: Likewise.
1157 * localedata/locales/kl_GL: Likewise.
1158 * localedata/locales/kn_IN: Likewise.
1159 * localedata/locales/ko_KR: Likewise.
1160 * localedata/locales/kok_IN: Likewise.
1161 * localedata/locales/ks_IN: Likewise.
1162 * localedata/locales/ks_IN@devanagari: Likewise.
1163 * localedata/locales/ku_TR: Likewise.
1164 * localedata/locales/kw_GB: Likewise.
1165 * localedata/locales/ky_KG: Likewise.
1166 * localedata/locales/lb_LU: Likewise.
1167 * localedata/locales/lg_UG: Likewise.
1168 * localedata/locales/li_BE: Likewise.
1169 * localedata/locales/li_NL: Likewise.
1170 * localedata/locales/lij_IT: Likewise.
1171 * localedata/locales/ln_CD: Likewise.
1172 * localedata/locales/lo_LA: Likewise.
1173 * localedata/locales/lt_LT: Likewise.
1174 * localedata/locales/lv_LV: Likewise.
1175 * localedata/locales/lzh_TW: Likewise.
1176 * localedata/locales/mag_IN: Likewise.
1177 * localedata/locales/mai_IN: Likewise.
1178 * localedata/locales/mg_MG: Likewise.
1179 * localedata/locales/mhr_RU: Likewise.
1180 * localedata/locales/mi_NZ: Likewise.
1181 * localedata/locales/mk_MK: Likewise.
1182 * localedata/locales/ml_IN: Likewise.
1183 * localedata/locales/mn_MN: Likewise.
1184 * localedata/locales/mni_IN: Likewise.
1185 * localedata/locales/mr_IN: Likewise.
1186 * localedata/locales/ms_MY: Likewise.
1187 * localedata/locales/mt_MT: Likewise.
1188 * localedata/locales/my_MM: Likewise.
1189 * localedata/locales/nan_TW: Likewise.
1190 * localedata/locales/nan_TW@latin: Likewise.
1191 * localedata/locales/nb_NO: Likewise.
1192 * localedata/locales/nds_DE: Likewise.
1193 * localedata/locales/nds_NL: Likewise.
1194 * localedata/locales/ne_NP: Likewise.
1195 * localedata/locales/nhn_MX: Likewise.
1196 * localedata/locales/niu_NU: Likewise.
1197 * localedata/locales/niu_NZ: Likewise.
1198 * localedata/locales/nl_AW: Likewise.
1199 * localedata/locales/nl_BE: Likewise.
1200 * localedata/locales/nl_NL: Likewise.
1201 * localedata/locales/nn_NO: Likewise.
1202 * localedata/locales/nr_ZA: Likewise.
1203 * localedata/locales/nso_ZA: Likewise.
1204 * localedata/locales/oc_FR: Likewise.
1205 * localedata/locales/om_ET: Likewise.
1206 * localedata/locales/om_KE: Likewise.
1207 * localedata/locales/or_IN: Likewise.
1208 * localedata/locales/os_RU: Likewise.
1209 * localedata/locales/pa_IN: Likewise.
1210 * localedata/locales/pa_PK: Likewise.
1211 * localedata/locales/pap_AW: Likewise.
1212 * localedata/locales/pap_CW: Likewise.
1213 * localedata/locales/pl_PL: Likewise.
1214 * localedata/locales/ps_AF: Likewise.
1215 * localedata/locales/pt_BR: Likewise.
1216 * localedata/locales/pt_PT: Likewise.
1217 * localedata/locales/quz_PE: Likewise.
1218 * localedata/locales/raj_IN: Likewise.
1219 * localedata/locales/ro_RO: Likewise.
1220 * localedata/locales/ru_RU: Likewise.
1221 * localedata/locales/ru_UA: Likewise.
1222 * localedata/locales/rw_RW: Likewise.
1223 * localedata/locales/sa_IN: Likewise.
1224 * localedata/locales/sat_IN: Likewise.
1225 * localedata/locales/sc_IT: Likewise.
1226 * localedata/locales/sd_IN: Likewise.
1227 * localedata/locales/sd_IN@devanagari: Likewise.
1228 * localedata/locales/se_NO: Likewise.
1229 * localedata/locales/sgs_LT: Likewise.
1230 * localedata/locales/shs_CA: Likewise.
1231 * localedata/locales/si_LK: Likewise.
1232 * localedata/locales/sid_ET: Likewise.
1233 * localedata/locales/sk_SK: Likewise.
1234 * localedata/locales/sl_SI: Likewise.
1235 * localedata/locales/sm_WS: Likewise.
1236 * localedata/locales/so_DJ: Likewise.
1237 * localedata/locales/so_ET: Likewise.
1238 * localedata/locales/so_KE: Likewise.
1239 * localedata/locales/so_SO: Likewise.
1240 * localedata/locales/sq_AL: Likewise.
1241 * localedata/locales/sq_MK: Likewise.
1242 * localedata/locales/sr_ME: Likewise.
1243 * localedata/locales/sr_RS: Likewise.
1244 * localedata/locales/sr_RS@latin: Likewise.
1245 * localedata/locales/ss_ZA: Likewise.
1246 * localedata/locales/st_ZA: Likewise.
1247 * localedata/locales/sv_FI: Likewise.
1248 * localedata/locales/sv_SE: Likewise.
1249 * localedata/locales/sw_KE: Likewise.
1250 * localedata/locales/sw_TZ: Likewise.
1251 * localedata/locales/szl_PL: Likewise.
1252 * localedata/locales/ta_IN: Likewise.
1253 * localedata/locales/ta_LK: Likewise.
1254 * localedata/locales/tcy_IN: Likewise.
1255 * localedata/locales/te_IN: Likewise.
1256 * localedata/locales/tg_TJ: Likewise.
1257 * localedata/locales/th_TH: Likewise.
1258 * localedata/locales/the_NP: Likewise.
1259 * localedata/locales/ti_ER: Likewise.
1260 * localedata/locales/ti_ET: Likewise.
1261 * localedata/locales/tig_ER: Likewise.
1262 * localedata/locales/tk_TM: Likewise.
1263 * localedata/locales/tl_PH: Likewise.
1264 * localedata/locales/tn_ZA: Likewise.
1265 * localedata/locales/to_TO: Likewise.
1266 * localedata/locales/tpi_PG: Likewise.
1267 * localedata/locales/tr_CY: Likewise.
1268 * localedata/locales/tr_TR: Likewise.
1269 * localedata/locales/ts_ZA: Likewise.
1270 * localedata/locales/tt_RU: Likewise.
1271 * localedata/locales/tt_RU@iqtelif: Likewise.
1272 * localedata/locales/ug_CN: Likewise.
1273 * localedata/locales/uk_UA: Likewise.
1274 * localedata/locales/unm_US: Likewise.
1275 * localedata/locales/ur_IN: Likewise.
1276 * localedata/locales/ur_PK: Likewise.
1277 * localedata/locales/uz_UZ: Likewise.
1278 * localedata/locales/uz_UZ@cyrillic: Likewise.
1279 * localedata/locales/ve_ZA: Likewise.
1280 * localedata/locales/vi_VN: Likewise.
1281 * localedata/locales/wa_BE: Likewise.
1282 * localedata/locales/wae_CH: Likewise.
1283 * localedata/locales/wal_ET: Likewise.
1284 * localedata/locales/wo_SN: Likewise.
1285 * localedata/locales/xh_ZA: Likewise.
1286 * localedata/locales/yi_US: Likewise.
1287 * localedata/locales/yo_NG: Likewise.
1288 * localedata/locales/yue_HK: Likewise.
1289 * localedata/locales/yuw_PG: Likewise.
1290 * localedata/locales/zh_CN: Likewise.
1291 * localedata/locales/zh_HK: Likewise.
1292 * localedata/locales/zh_SG: Likewise.
1293 * localedata/locales/zh_TW: Likewise.
1294 * localedata/locales/zu_ZA: Likewise.
1296 2017-11-13 Florian Weimer <fweimer@redhat.com>
1298 * support/next_to_fault.h, support/next_to_fault.c: New files.
1299 * support/Makefile (libsupport-routines): Add next_to_fault.
1300 * resolv/tst-inet_pton.c (struct next_to_fault)
1301 (next_to_fault_allocate, next_to_fault_free): Remove.
1302 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
1304 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
1306 * elf/dl-support.c: Include <dl-procruntime.c>.
1307 * include/link.h: Include <link_map.h>.
1308 * sysdeps/generic/dl-procruntime.c: New file.
1309 * sysdeps/generic/link_map.h: Likewise.
1310 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
1311 the writable ld.so namespace.
1313 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
1315 timezone: pacify GCC -Wstringop-truncation
1316 Problem reported by Martin Sebor in:
1317 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
1318 * timezone/zic.c (writezone): Use memcpy, not strncpy.
1320 2017-11-12 Florian Weimer <fweimer@redhat.com>
1322 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
1324 (tests): Add tst-xreadlink.
1325 * support/support.h (xstrndup): Declare.
1326 * support/xunistd.h (xunlink, xreadlink): Declare.
1327 * support/temp_file.h (support_create_temp_directory): Declare.
1328 * support/temp_file.c (support_create_temp_directory): New function.
1329 * support/support_chroot.c (support_chroot_create): Use it.
1330 * support/xreadlink.c: New file.
1331 * support/xstrndup.c: Likewise.
1332 * support/xunlink.c: Likewise.
1333 * support/tst-xreadlink.c: Likewise.
1335 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
1337 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
1339 2017-11-11 Florian Weimer <fweimer@redhat.com>
1343 * resolv/res_comp.c (printable_string, binary_hnok)
1344 (binary_leading_dash): New functions.
1345 (res_hnok): Reimplement using these functions and ns_name_pton.
1346 (res_ownok): Likewise.
1347 (res_mailok): Reimplement using printable_string, ns_name_pton and
1349 (res_dnok): Reimplement using printable_string and ns_name_pton.
1350 * resolv/tst-res_hnok.c (tests): Add additional tests.
1351 (LETTERDIGITS, PRINTABLE): Define.
1352 (do_test): Adjust one_char results.
1354 2017-11-11 Florian Weimer <fweimer@redhat.com>
1357 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
1358 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
1360 2017-11-11 Florian Weimer <fweimer@redhat.com>
1362 * resolv/tst-ns_name_pton.c: New file.
1363 * resolv/Makefile (tests): Add tst-ns_name_pton.
1364 (tst-ns_name_pton): Link against libresolv.
1366 2017-11-11 Florian Weimer <fweimer@redhat.com>
1368 * resolv/tst-res_hnok.c: New file.
1369 * resolv/Makefile (tests): Add tst-res_hnok.
1370 (tst-res_hnok): Link against libresolv.
1372 2017-11-11 Florian Weimer <fweimer@redhat.com>
1374 * resolv/tst-resolv-network.c: Use test framework instead explicit
1377 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
1379 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
1381 [!_ISOMAC] (STR_HELPER): New.
1382 [!_ISOMAC] (STR): Likewise.
1383 [!_ISOMAC] (TEST_SIZE): Likewise.
1384 [!_ISOMAC] (TEST_ALIGN): Likewise.
1385 [!_ISOMAC] (TEST_OFFSET): Likewise.
1386 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
1387 field offsets of jmp_buf as well as sigjmp_buf.
1388 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
1389 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
1390 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
1391 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
1392 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
1393 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
1394 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
1395 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
1396 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
1397 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
1399 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
1401 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
1406 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
1407 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
1408 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
1410 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
1411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
1413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
1415 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
1419 2017-11-07 Joseph Myers <joseph@codesourcery.com>
1422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1423 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
1424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1425 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
1426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1427 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
1428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1429 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
1430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1431 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
1432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1433 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
1434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1435 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
1436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1437 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
1438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1439 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
1440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1441 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
1442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1443 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
1444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1445 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
1446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1447 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
1448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1449 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
1450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1451 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
1452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1453 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
1454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1455 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
1456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1457 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
1458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1459 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
1460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1461 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
1462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1463 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
1464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1465 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
1466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1467 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
1468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1469 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
1470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1471 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
1472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1473 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
1474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1475 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
1476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1477 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
1478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1479 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
1480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1481 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
1482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1483 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
1484 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1485 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
1486 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1487 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
1488 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1489 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
1490 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1491 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
1492 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1493 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
1494 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1495 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
1496 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1497 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
1498 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1499 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
1500 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1501 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
1502 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1503 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
1504 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1505 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
1506 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1507 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
1508 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
1509 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
1511 * stdlib/tst-strtod.h (F16): New macro.
1517 (IF_FLOAT16): Likewise.
1518 (IF_FLOAT32): Likewise.
1519 (IF_FLOAT64): Likewise.
1520 (IF_FLOAT32X): Likewise.
1521 (IF_FLOAT64X): Likewise.
1522 (IF_FLOAT128X): Likewise.
1523 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
1524 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
1525 (STRTOD_TEST_FOREACH): Likewise.
1526 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
1527 (CHOOSE_f64): Likewise.
1528 (CHOOSE_f32x): Likewise.
1529 (CHOOSE_f64x): Likewise.
1531 2017-11-07 Andreas Schwab <schwab@suse.de>
1533 * nptl/Makefile (tests-internal): Remove tst-typesizes.
1535 2017-11-07 Mike FABIAN <mfabian@redhat.com>
1538 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
1540 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
1543 2017-11-07 Claude Paroz <claude@2xlibre.net>
1546 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
1548 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
1550 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
1553 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1556 * nptl/allocatestack.c (allocate_stack): Check if
1557 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
1558 __PTHREAD_MUTEX_HAVE_PREV is defined.
1559 * nptl/descr.h (pthread): Likewise.
1560 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1562 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1563 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1564 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
1565 * sysdeps/nptl/bits/thread-shared-types.h
1566 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
1568 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
1569 of __WORDSIZE for internal layout.
1570 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
1571 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
1572 instead of __WORDSIZE whether to use an union for __spins and __list
1574 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
1576 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
1577 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
1579 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
1580 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1582 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1583 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1585 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1586 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1588 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
1589 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1591 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
1592 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1594 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
1595 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1597 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
1598 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1600 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
1601 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1603 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
1604 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1606 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
1607 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1609 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
1610 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1612 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
1613 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1615 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
1616 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1618 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
1619 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1622 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
1624 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
1625 checks for expected input type size.
1626 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1627 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1629 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1630 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
1631 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1632 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
1633 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1634 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
1635 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
1636 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
1637 superflous runtime assert check.
1638 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
1640 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
1642 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1644 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
1646 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
1648 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
1650 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
1651 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
1652 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1654 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1656 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1658 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
1660 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1662 * nptl/pthread_attr_setinheritsched.c
1663 (__pthread_attr_setinheritsched): Likewise.
1664 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
1666 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
1668 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
1669 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
1670 __old_pthread_attr_setstack): Likewise.
1671 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1673 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1675 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
1677 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1678 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1680 * nptl/tst-typesizes.c: Remove file.
1682 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
1683 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
1684 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
1685 checks for internal pthread_mutex_t offsets.
1686 * sysdeps/aarch64/nptl/pthread-offsets.h
1687 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
1688 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
1689 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
1690 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
1691 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
1692 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
1693 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
1694 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
1695 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
1696 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
1697 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
1698 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
1699 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
1700 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
1701 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
1702 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
1703 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
1704 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
1706 2017-11-07 Florian Weimer <fweimer@redhat.com>
1708 * bits/mman-linux.h: Move ...
1709 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
1711 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
1714 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1716 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
1717 Redefine STRNLEN as __strnlen_power8.
1719 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1721 * signal/sighold.c (sighold): Optimize implementation.
1723 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
1724 __NR_rt_sigqueueinfo.
1726 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1728 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
1729 assume __NR_rt_sigtimedwait.
1730 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
1731 and add LIBC_CANCEL_HANDLED for cancellation marking.
1732 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1734 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
1735 (sysdeps_routines): Add memchr_noneon.
1736 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
1737 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
1738 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
1739 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
1740 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
1741 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
1742 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
1744 * sysdeps/arm/arm-ifunc.h: New file.
1745 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
1746 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
1747 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
1748 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
1749 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
1750 (__memcpy_neon): Avoid create hidden alias.
1751 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
1752 (__memcpy_vfp): Likewise.
1753 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
1754 (sysdep_routines): Add memcpy_arm.
1755 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
1757 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
1760 * Makerules (make-link-multidir): New.
1761 * config.make.in (multidir): New.
1762 * configure.ac (libc_cv_multidir): New. AC_SUBST.
1763 * configure: Regenerated.
1764 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
1765 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
1766 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
1769 2017-11-06 Joseph Myers <joseph@codesourcery.com>
1772 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
1773 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
1775 2017-11-04 Mike FABIAN <mfabian@redhat.com>
1777 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
1780 2017-11-04 Florian Weimer <fweimer@redhat.com>
1782 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
1784 2017-11-03 Joseph Myers <joseph@codesourcery.com>
1786 * math/math.h [__HAVE_DISTINCT_FLOAT16
1787 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
1788 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
1789 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
1790 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
1791 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
1792 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
1793 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1794 (__MATH_TG_F32): New macro.
1795 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1796 (__MATH_TG_F64X): Likewise.
1797 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1798 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
1800 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
1802 * po/de.po: Update translations.
1803 * po/ru.po: Likewise.
1805 2017-11-03 Florian Weimer <fweimer@redhat.com>
1807 * manual/filesys.texi (Hard Links): Document linkat.
1809 2017-11-03 Joseph Myers <joseph@codesourcery.com>
1811 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
1812 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
1813 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
1814 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
1815 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
1816 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
1817 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
1818 the same as _Float128.
1819 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
1820 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
1821 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
1824 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
1826 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
1828 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
1830 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1831 (strtof32x): Likewise.
1832 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1833 (strtof64x): Likewise.
1834 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1835 (strtof128x): Likewise.
1836 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1837 (strfromf16): Likewise.
1838 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1839 (strfromf32): Likewise.
1840 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1841 (strfromf64): Likewise.
1842 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1843 (strfromf32x): Likewise.
1844 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1845 (strfromf64x): Likewise.
1846 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1847 (strfromf128x): Likewise.
1848 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
1849 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
1850 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
1851 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
1852 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
1853 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
1855 2017-11-03 Richard Henderson <rth@twiddle.net>
1857 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
1859 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1861 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
1863 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1865 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
1866 DT_TLSDESC_GOT initialization.
1867 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
1868 (_dl_tlsdesc_resolve_hold): Likewise.
1869 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
1870 (_dl_tlsdesc_resolve_hold): Likewise.
1871 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
1872 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1874 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1876 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
1878 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1881 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
1882 non-lazily for R_ARM_TLS_DESC.
1884 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1887 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
1888 R_ARM_TLS_DESC case.
1889 (elf_machine_lazy_rel): Remove the prelink check.
1891 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1893 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
1894 DT_TLSDESC_GOT initialization.
1895 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
1896 (_dl_tlsdesc_resolve_rela): Likewise.
1897 (_dl_tlsdesc_resolve_hold): Likewise.
1898 (_dl_tlsdesc_undefweak): Remove ldar.
1899 (_dl_tlsdesc_dynamic): Likewise.
1900 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
1901 (_dl_tlsdesc_resolve_rela): Likewise.
1902 (_dl_tlsdesc_resolve_hold): Likewise.
1903 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
1904 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1905 (_dl_tlsdesc_resolve_rela): Likewise.
1906 (_dl_tlsdesc_resolve_hold): Likewise.
1908 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1910 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
1911 binding and initialization non-lazily for R_AARCH64_TLSDESC.
1913 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1915 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
1916 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1918 2017-11-02 Joseph Myers <joseph@codesourcery.com>
1920 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
1922 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
1923 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
1924 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
1925 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
1926 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
1927 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
1928 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
1929 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
1930 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
1931 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
1932 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
1934 2017-11-02 Mike FABIAN <mfabian@redhat.com>
1937 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
1938 * localedata/locales/tpi_PG: Add standard header.
1940 2017-11-02 Florian Weimer <fweimer@redhat.com>
1942 test-errno-linux: quotactl can fail with EPERM in containers.
1943 * sysdeps/unix/sysv/linux/test-errno-linux.c
1944 (LIST, LIST_FORWARD): New macros.
1945 (check_error_in_list): New function.
1946 (test_wrp_rv): Accept list of permitted error codes.
1947 (test_wrp_rv2): Remove.
1948 (test_wrp): Call test_wrp_rv with list of error codes.
1949 (test_wrp2): Accept list of error codes.
1950 (do_test): Adjust. Allow EPERM for quotactl.
1952 2017-11-02 Florian Weimer <fweimer@redhat.com>
1954 * stdio-common/bug16.c (do_test): Use array_length.
1955 * stdio-common/errlist.c (_sys_nerr): Likewise.
1956 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
1957 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
1958 * stdio-common/psiginfo.c (psiginfo): Use array_length.
1959 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
1960 (do_test): Use array_length.
1961 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
1962 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
1963 * stdio-common/tst-printf-round.c (do_test): Likewise.
1964 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
1965 (CHECK): Use array_length.
1966 * stdio-common/tstdiomisc.c (t3, F): Likewise.
1967 * stdio-common/tstscanf.c (main): Likewise.
1968 * stdio-common/vfprintf.c (process_string_arg): Likewise.
1970 2017-11-02 Florian Weimer <fweimer@redhat.com>
1972 Add array_length and array_end macros.
1973 * include/array_length.h: New file.
1975 2017-11-02 Florian Weimer <fweimer@redhat.com>
1978 * posix/tst-glob-tilde.c (do_noescape): New variable.
1979 (one_test): Process it.
1980 (do_test): Set do_noescape. Add unescaping test case.
1982 2017-11-01 Joseph Myers <joseph@codesourcery.com>
1985 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
1986 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
1987 with appropriate macros defined and undefined.
1988 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
1989 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1990 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
1991 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1992 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
1993 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1994 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
1995 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1996 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
1997 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
2000 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
2001 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
2002 that for long double. Do not condition define and undefine of
2003 _Mdouble_complex_ on [__CFLOAT128].
2005 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
2007 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
2008 of <sysdeps/generic/sysdep.h>.
2009 (ALIGNARG): Removed.
2010 (ASM_SIZE_DIRECTIVE): Likewise.
2013 (ENTRY_CHK): Likewise.
2014 (END_CHK): Likewise.
2015 (syscall_error): Likewise.
2017 (PSEUDO_END): Likewise.
2019 (atom_text_section): Likewise.
2020 * sysdeps/x86/sysdep.h: New file.
2021 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
2022 of <sysdeps/generic/sysdep.h>.
2023 (ALIGNARG): Removed.
2024 (ASM_SIZE_DIRECTIVE): Likewise.
2027 (ENTRY_CHK): Likewise.
2028 (END_CHK): Likewise.
2029 (syscall_error): Likewise.
2031 (PSEUDO_END): Likewise.
2033 (atom_text_section): Likewise.
2035 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
2037 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
2038 category of LC_CTYPE set to "i18n:2012".
2039 * localedata/locales/i18n_ctype: Regenerate.
2041 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
2043 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
2044 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2045 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2046 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2048 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
2049 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
2050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
2051 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
2053 2017-10-31 Joseph Myers <joseph@codesourcery.com>
2056 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
2058 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
2060 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
2062 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2063 (CMPLXF32X): Likewise.
2064 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2065 (CMPLXF64X): Likewise.
2066 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2067 (CMPLXF128X): Likewise.
2070 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
2071 (__MATH_EVAL_FMT2): Define to add 0.0f.
2073 2017-10-31 Alan Modra <amodra@gmail.com>
2075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
2077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
2081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
2082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
2084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
2085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
2086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
2088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
2090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2091 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
2092 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
2093 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
2094 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2095 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
2096 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
2097 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2099 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2100 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2101 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2102 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2103 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2104 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2105 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
2106 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
2107 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2108 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2109 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2110 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2113 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2114 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
2115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
2116 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
2118 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
2119 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2120 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2121 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2122 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2123 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2124 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
2125 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2126 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2127 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2128 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
2129 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
2130 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2131 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2134 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2135 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2136 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2137 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2138 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2139 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2140 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2141 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
2142 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2143 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
2144 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
2145 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
2147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
2148 include sysdep.h and math_ldbl_opt.h.
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
2151 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
2152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
2155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
2161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
2165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
2166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
2168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
2169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
2171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
2173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
2175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2177 2017-10-31 Alan Modra <amodra@gmail.com>
2179 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
2180 string/strncase_l.c, not string/strncase.c.
2181 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
2182 (libc_hidden_def): Redefine.
2184 2017-10-31 Alan Modra <amodra@gmail.com>
2186 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
2187 (__STRCMP, STRCMP, __strcasecmp_l): Define.
2188 (__strcasecmp): Don't define.
2190 2017-10-31 Alan Modra <amodra@gmail.com>
2192 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
2194 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2195 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2196 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2198 2017-10-31 Alan Modra <amodra@gmail.com>
2200 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
2203 2017-10-31 Alan Modra <amodra@gmail.com>
2205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
2206 Redefine only when SHARED.
2208 2017-10-30 Joseph Myers <joseph@codesourcery.com>
2210 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
2211 Include <bits/math-finite.h> with appropriate macros defined and
2213 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
2214 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
2215 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
2216 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
2217 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
2219 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
2220 [!_Mlong_double_] (_Mlong_double_): Likewise.
2221 [!_Mfloat16_] (_Mfloat16_): Likewise.
2222 [!_Mfloat32_] (_Mfloat32_): Likewise.
2223 [!_Mfloat64_] (_Mfloat64_): Likewise.
2224 [!_Mfloat128_] (_Mfloat128_): Likewise.
2225 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
2226 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
2227 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
2228 (_Mdouble_): Define without indirection through those macros.
2229 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
2230 [!_Mfloat128_] (_Mfloat128_): Likewise.
2231 [_Mlong_double_] (_Mlong_double_): Likewise.
2232 (_Mdouble_): Define without indirection through those macros.
2233 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
2234 not add -D_Mlong_double_=double.
2235 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
2236 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
2238 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
2240 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
2242 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
2244 * sysdeps/x86/libc-start.c: Reformat.
2246 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
2249 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
2253 (L(Src2)): Likewise.
2254 (L(1)): Renamed to ...
2257 2017-10-30 Joseph Myers <joseph@codesourcery.com>
2259 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
2260 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
2261 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
2262 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
2263 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
2264 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
2265 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
2266 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
2267 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
2268 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
2269 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
2270 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
2271 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
2272 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
2273 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
2274 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
2275 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
2276 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
2277 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
2278 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
2279 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
2280 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
2281 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
2282 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
2283 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
2284 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
2285 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
2286 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
2287 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
2288 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
2289 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
2290 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
2291 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
2292 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
2293 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
2294 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
2295 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
2296 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
2297 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
2298 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
2299 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
2300 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
2301 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
2302 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
2303 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
2304 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
2305 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
2306 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
2307 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
2308 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
2309 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
2310 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
2311 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
2312 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
2313 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
2314 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
2315 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
2316 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
2317 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
2318 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
2319 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
2320 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
2321 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
2322 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
2323 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
2324 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
2326 2017-10-30 Florian Weimer <fweimer@redhat.com>
2328 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
2330 * io/tst-mkdirat.c (do_test): Likewise.
2331 * io/tst-mkfifoat.c (do_test): Likewise.
2332 * io/tst-mknodat.c (do_test): Likewise.
2333 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
2334 * locale/programs/locale.c (select_dirs): Likewise.
2335 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
2336 * posix/bug-glob2.c (my_readdir): Likewise.
2337 * posix/tst-dir.c (main): Likewise.
2338 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
2339 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
2341 2017-10-30 Florian Weimer <fweimer@redhat.com>
2343 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
2346 2017-10-30 Florian Weimer <fweimer@redhat.com>
2348 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
2349 Convert to support/test-driver.c.
2350 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
2351 New macro parameters.
2352 (PRINTF): Remove macro. Use test_verbose conditionals instead.
2353 * posix/tst-gnuglob.c: New file.
2354 * posix/tst-gnuglob64.c: Likewise.
2355 * posix/Makefile (tests): Add tst-gnuglob64.
2357 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
2360 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
2361 and use a better translation for March in “mon”.
2362 * localedata/locales/csb_PL: Use more ASCII to improve the
2363 readability of the source.
2365 2017-10-30 Mike FABIAN <mfabian@redhat.com>
2368 * localedata/locales/km_KH: Use ASCII as much
2369 as possible for better readability of the source and
2370 remove useless comments.
2371 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
2372 was commented out and apparently wrong anyway because it was
2373 using Lao characters. If Buddhist era should be used
2374 for km_KH, a native speaker should write the correct formaat
2376 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
2377 (According to CLDR, the first weekday for Cambodia is Sunday).
2378 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
2379 (These were using Lao characters which must be wrong. If we get
2380 the correct data from a native speaker, we could add it back, until
2381 then it is better not to have name_mr and name_mrs at all than
2384 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
2386 * locale/loadlocale.c: Correct size of
2387 _nl_value_type_LC_<category> arrays.
2389 2017-10-27 Joseph Myers <joseph@codesourcery.com>
2391 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
2392 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
2393 with appropriate macros defined and undefined.
2394 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
2395 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
2396 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
2397 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
2398 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
2400 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
2402 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
2405 2017-10-27 Mike FABIAN <mfabian@redhat.com>
2407 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
2408 with lowercase letters to make it agree with CLDR.
2410 2017-10-27 Mike FABIAN <mfabian@redhat.com>
2413 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
2414 first letters of yesstr and nostr in yesexpr and noexpr,
2415 not for the full words.
2416 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
2417 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
2418 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
2419 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
2420 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
2421 first letters of yesstr and nostr in yesexpr and noexpr,
2422 until now only English was matched in yesexpr and noexpr.
2423 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
2424 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
2425 fil but not for tl. As tl and fil are very similar, using fil
2426 is probably better than using English.
2428 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
2431 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
2432 in yesstr and nostr.
2434 2017-10-26 Joseph Myers <joseph@codesourcery.com>
2436 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
2437 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
2438 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
2440 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
2442 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
2444 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
2446 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2447 (SNANF128X): Likewise.
2449 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
2450 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
2451 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2452 (HUGE_VAL_F32): Likewise.
2453 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2454 (HUGE_VAL_F64): Likewise.
2455 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2456 (HUGE_VAL_F32X): Likewise.
2457 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2458 (HUGE_VAL_F64X): Likewise.
2459 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2460 (HUGE_VAL_F128X): Likewise.
2462 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
2464 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
2465 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
2466 for the br_FR locale.
2468 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
2471 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
2473 2017-10-25 Carlos O'Donell <carlos@redhat.com>
2475 * locale/programs/record-status.h: Define globals, and function
2476 prototypes. Move function bodies...
2477 * locale/programs/record-status.c: ... to here. New file.
2478 * iconv/Makefile (iconv_prog-modules): Add record-status.
2479 * locale/Makefile (lib-modules): Likewise.
2480 * iconv/iconv_prog.c: Remove verbose.
2481 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
2482 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
2483 record a warning about ASCII compatibility.
2484 * locale/programs/ld-monetary.c (monetary_finish): If
2485 warn_int_curr_symbol is true then record a warning about the symbol
2486 not being in our ISO 4217 list.
2487 * locale/programs/locale.c: Include record-status.h. Remove verbose.
2488 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
2489 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
2490 (OPT_NO_WARN): Define.
2492 (options): Add entry for --no-warnings, and --warnings.
2493 (set_warnings): New function to enable/disable warnings.
2494 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
2495 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
2496 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
2497 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
2498 Pass flags to generate_locale.
2499 (generate_locale): Accept new flag argument and pass it to localedef
2501 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
2502 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
2504 * localedata/Makefile (test-input-data): Use full file name.
2505 * localedata/da_DK.in: Rename to...
2506 * localedata/da_DK.ISO-8859-1.in: ...this.
2507 * localedata/de_DE.in: Rename to...
2508 * localedata/de_DE.ISO-8859-1.in: ...this.
2509 * localedata/en_US.in: Rename to...
2510 * localedata/en_US.ISO-8859-1.in: ...this.
2511 * localedata/fr_FR.in: Rename to...
2512 * localedata/fr_FR.UTF-8.in: ... this.
2513 * localedata/hr_HR.in: Rename to...
2514 * localedata/hr_HR.ISO-8859-2.in: ...this.
2515 * localedata/hu_HU.in: Rename to...
2516 * localedata/hu_HU.UTF-8.in: ...this.
2517 * localedata/si_LK.in: Rename to...
2518 * localedata/si_LK.UTF-8.in: ...this.
2519 * localedata/sv_SE.in: Rename to...
2520 * localedata/sv_SE.ISO-8859-1.in: ...this.
2521 * localedata/tr_TR.in: Rename to...
2522 * localedata/tr_TR.UTF-8.in: ...this.
2523 * localedata/uk_UA.in: Rename to...
2524 * localedata/uk_UA.UTF-8.in: ...this.
2525 * localedata/sort-test.sh: Test file is locale name with the
2528 * localedata/unicode-gen/Makefile (check_i18n): Rename to
2529 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
2531 * localedata/locales/i18n_ctype: Regenerate.
2532 * localedata/locales/tr_TR: Likewise.
2533 * localedata/locales/translit_circle: Likewise.
2534 * localedata/locales/translit_cjk_compat: Likewise.
2535 * localedata/locales/translit_combining: Likewise.
2536 * localedata/locales/translit_compat: Likewise.
2537 * localedata/locales/translit_font: Likewise.
2538 * localedata/locales/translit_fraction: Likewise.
2540 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2542 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
2543 lxvd2x/stxvd2x with lvx/stvx.
2544 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2546 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
2548 * include/alloc_buffer.h: Replace "if if " with "if " in
2550 * sysdeps/mips/memcpy.S: Likkewise.
2551 * sysdeps/mips/memset.S: Likewise.
2552 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2554 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
2556 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
2559 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2562 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
2564 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
2565 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
2566 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
2567 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
2568 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
2569 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
2570 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
2572 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2574 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
2575 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
2576 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
2577 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
2578 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
2579 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
2580 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
2581 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
2582 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
2583 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
2584 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
2585 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
2587 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2589 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
2590 as possible for better readability of the source.
2591 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
2592 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
2593 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
2594 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
2595 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
2596 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
2597 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
2598 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
2599 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
2600 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
2601 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
2602 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
2603 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
2604 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
2605 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
2606 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
2607 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
2608 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
2609 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
2610 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
2611 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
2612 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
2613 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
2614 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
2615 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
2616 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
2617 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
2618 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
2619 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
2620 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
2621 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
2622 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
2623 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
2624 * localedata/locales/en_US (LC_MESSAGES): Likewise.
2625 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
2626 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
2627 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
2628 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
2629 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
2630 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
2631 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
2632 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
2633 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
2634 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
2635 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
2636 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
2637 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
2638 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
2639 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
2640 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
2641 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
2642 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
2643 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
2644 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
2645 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
2646 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
2647 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
2648 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
2649 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
2650 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
2651 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
2652 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
2653 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
2654 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
2655 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
2656 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
2657 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
2658 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
2659 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
2660 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
2661 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
2662 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
2663 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
2664 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
2665 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
2666 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
2667 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
2668 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
2669 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
2670 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
2671 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
2672 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
2673 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
2674 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
2675 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
2676 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
2677 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
2678 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
2679 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
2680 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
2681 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
2682 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
2683 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
2684 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
2685 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
2686 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
2687 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
2688 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
2689 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
2690 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
2691 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
2692 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
2693 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
2694 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
2695 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
2696 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
2697 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
2698 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
2699 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
2700 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
2701 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
2702 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
2703 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
2704 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
2705 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
2706 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
2707 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
2708 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
2709 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
2710 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
2711 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
2712 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
2713 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
2714 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
2715 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
2716 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
2717 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
2718 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
2719 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
2720 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
2721 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
2722 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
2723 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
2724 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
2725 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
2726 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
2727 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
2728 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
2729 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
2730 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
2731 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
2732 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
2733 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
2734 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
2735 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
2736 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
2737 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
2738 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
2739 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
2740 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
2741 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
2742 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
2743 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
2744 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
2745 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
2746 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
2747 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
2748 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
2749 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
2750 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
2751 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
2752 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
2753 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
2754 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
2755 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
2756 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
2757 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
2758 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
2759 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
2760 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
2761 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
2762 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
2763 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
2764 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
2766 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2768 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
2769 (Use first letters of yesstr and nostr correctly instead of using
2772 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2774 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
2775 (Use first letters of yesstr and nostr correctly).
2777 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2779 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
2780 also check for the first characters of yesstr and nostr.
2781 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
2782 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
2784 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2786 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
2787 also check for Chinese characters.
2789 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2791 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
2792 match also for the contents of yesstr and nostr. As the first letter
2793 of yesstr and nostr is equal, checking only for the first letter
2796 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2798 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
2799 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
2801 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2803 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
2804 of main contributor.
2806 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2808 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
2809 instead of using English.
2811 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2813 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
2814 by including the first letters of nostr and yesexpr in the regexp.
2815 Also make it more readable by using ASCII where possible.
2817 2017-10-25 Mike FABIAN <mfabian@redhat.com>
2819 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
2820 the first letter of nostr in the regexp. It agrees with CLDR now.
2821 Also make it more readable by using ASCII where possible.
2823 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2825 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
2826 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
2827 these strings contain a U+17D6 (which somewhat looks like a colon)
2828 instead of a real colon to separate the full words for “yes”
2829 and “no” from the single letter responses.
2831 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2833 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
2834 it agree with CLDR (include the first letter of yesstr).
2835 Also make it more readable by using ASCII where possible.
2837 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2839 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
2840 and improve yesexpr and noexpr. The yesstr and nostr apparently
2841 came from CLDR. And CLDR has a bug there: these strings contain
2842 a U+0903 (which looks like a colon) instead of a real colon
2843 to separate the full words for “yes” and “no” from the single
2846 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2848 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
2849 letters of the full yesstr and nostr in yesexpr and noexpr.
2851 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2853 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
2854 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
2855 * localedata/locales/an_ES: Make source more readable by using ASCII
2858 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2861 * localedata/locales/yuw_PG: New file.
2862 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
2863 * locale/iso-639.def: Add Yau (Uruwa).
2865 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2867 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
2869 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2871 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
2872 (__libc_realloc): Likewise.
2873 (_mid_memalign): Likewise.
2874 (__libc_calloc): Likewise.
2876 2017-10-23 Mike FABIAN <mfabian@redhat.com>
2878 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
2879 by adding the generic +1 and -0 as in all other locales.
2880 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
2881 day names and make it more readable by using ASCII where possible.
2883 2017-10-24 Joseph Myers <joseph@codesourcery.com>
2885 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
2886 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
2888 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2890 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
2891 WNOHANG in waitpid call.
2893 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
2895 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
2896 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
2898 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
2899 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
2900 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
2901 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
2902 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
2903 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
2904 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
2905 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
2908 2017-10-23 Michael Collison <michael.collison@arm.com>
2910 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
2911 with __builtin_sqrt.
2912 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
2913 with __builtin_sqrtf.
2914 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
2915 with __builtin_ceil.
2916 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
2917 with __builtin_ceilf.
2918 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
2919 with __builtin_floor.
2920 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
2921 with __builtin_floorf.
2922 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
2924 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
2925 with __builtin_fmaf.
2926 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
2927 with __builtin_fmax.
2928 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
2929 with __builtin_fmaxf.
2930 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
2931 with __builtin_fmin.
2932 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
2933 with __builtin_fminf.
2934 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
2935 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
2936 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
2937 with builtin_rint and conversion to int.
2938 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
2939 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
2940 with builtin_llround.
2941 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
2942 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
2943 with builtin_rint and conversion to long int.
2944 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
2945 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
2946 with builtin_lround.
2947 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
2948 with builtin_lroundf.
2949 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
2950 statements with __builtin_nearbyint.
2951 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
2952 statements with __builtin_nearbyintf.
2953 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
2954 with __builtin_rint.
2955 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
2956 with __builtin_rintf.
2957 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
2958 with __builtin_round.
2959 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
2960 with __builtin_roundf.
2961 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
2962 with __builtin_trunc.
2963 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
2964 with __builtin_truncf.
2965 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
2966 and s_l[l]round[f].c too.
2968 2017-10-23 Alan Modra <amodra@gmail.com>
2970 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
2971 Adjust stack after restoring regs. Add missing LR cfi_restore.
2973 2017-10-23 Alan Modra <amodra@gmail.com>
2975 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
2976 Move LR save and frame setup/teardown and LR restore to
2977 immediately around memset call. Provide cfi.
2979 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2981 * sysdeps/i386/fpu/e_powf.S: Removed.
2982 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
2983 * sysdeps/i386/fpu/w_powf.c: Likewise.
2984 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
2985 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2986 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2988 (CFLAGS-e_powf-sse2.c): New.
2989 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
2990 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
2992 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2994 * sysdeps/i386/fpu/e_log2f.S: Removed.
2995 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
2996 * sysdeps/i386/fpu/w_log2f.c: Likewise.
2997 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
2998 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2999 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
3001 (CFLAGS-e_log2f-sse2.c): New.
3002 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
3003 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
3005 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
3007 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3009 (CFLAGS-e_powf-fma.c): New.
3010 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
3011 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
3013 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
3015 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3017 (CFLAGS-e_log2f-fma.c): New.
3018 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
3019 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
3021 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
3023 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3025 (CFLAGS-e_logf-fma.c): New.
3026 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
3027 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
3029 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
3031 * sysdeps/i386/fpu/e_logf.S: Removed.
3032 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
3033 * sysdeps/i386/fpu/w_logf.c: Likewise.
3034 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
3035 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
3036 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3037 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
3039 (CFLAGS-e_logf-sse2.c): New.
3040 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
3041 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
3043 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
3045 * sysdeps/i386/fpu/e_exp2f.S: Removed.
3046 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
3047 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
3048 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3049 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
3051 (CFLAGS-e_exp2f-sse2.c): New.
3052 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
3053 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
3055 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
3057 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3059 (CFLAGS-e_exp2f-fma.c): New.
3060 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
3061 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
3063 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
3065 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
3066 * sysdeps/i386/fpu/e_expf.S: Likewise.
3067 * sysdeps/i386/fpu/math_errf.c: Likewise.
3068 * sysdeps/i386/fpu/w_expf.c: Likewise.
3069 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
3070 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3071 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
3072 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
3073 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3074 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
3076 (CFLAGS-e_expf-sse2.c): New.
3077 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
3078 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
3080 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
3082 * sysdeps/x86_64/fpu/e_expf.S: Removed.
3083 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
3084 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
3085 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
3087 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
3089 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
3090 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
3092 (__redirect_expf): This.
3093 (SYMBOL_NAME): Changed to expf.
3094 (__ieee754_expf): Renamed to ...
3096 (__GI___expf): This.
3097 (__ieee754_expf): Add strong_alias.
3098 (__expf_finite): Likewise.
3100 Include <sysdeps/ieee754/flt-32/e_expf.c>.
3102 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
3105 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
3108 2017-10-21 Florian Weimer <fweimer@redhat.com>
3110 * posix/Makefile (tests): Add tst-glob-tilde.
3111 (tests-special): Add tst-glob-tilde-mem.out
3112 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
3113 (tst-glob-tilde-mem.out): Add mtrace check.
3114 * posix/tst-glob-tilde.c: New file.
3116 2017-10-20 Joseph Myers <joseph@codesourcery.com>
3118 * bits/floatn-common.h: New file.
3119 * math/Makefile (headers): Add bits/floatn-common.h.
3120 * bits/floatn.h: Include <bits/floatn-common.h>.
3121 * sysdeps/ia64/bits/floatn.h: Likewise.
3122 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
3123 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
3124 * sysdeps/powerpc/bits/floatn.h: Likewise.
3125 * sysdeps/x86/bits/floatn.h: Likewise.
3127 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3129 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
3130 indicates whether compiler emits an warning for alias for
3131 functions with incompatible types.
3134 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
3135 the auxiliary process is terminated by a signal before calling _exit
3138 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
3141 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
3143 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
3144 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
3145 and bit_arch_XSAVEC_Usable if needed.
3146 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
3147 and bit_arch_Use_dl_runtime_resolve_opt.
3148 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3150 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3151 (bit_arch_Prefer_No_AVX512): Updated.
3152 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
3153 (bit_arch_XSAVEC_Usable): New.
3154 (STATE_SAVE_OFFSET): Likewise.
3155 (STATE_SAVE_MASK): Likewise.
3156 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
3157 (cpu_features): Add xsave_state_size and xsave_state_full_size.
3158 (index_arch_Use_dl_runtime_resolve_opt): Removed.
3159 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3160 (index_arch_XSAVEC_Usable): New.
3161 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3162 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
3163 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
3165 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
3166 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
3167 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
3168 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
3169 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
3170 _dl_runtime_resolve_xsavec.
3171 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
3173 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
3174 instead of VEC_SIZE.
3175 (REGISTER_SAVE_BND0): Removed.
3176 (REGISTER_SAVE_BND1): Likewise.
3177 (REGISTER_SAVE_BND3): Likewise.
3178 (REGISTER_SAVE_RAX): Always defined to 0.
3180 (_dl_runtime_resolve_avx): Likewise.
3181 (_dl_runtime_resolve_avx_slow): Likewise.
3182 (_dl_runtime_resolve_avx_opt): Likewise.
3183 (_dl_runtime_resolve_avx512): Likewise.
3184 (_dl_runtime_resolve_avx512_opt): Likewise.
3185 (_dl_runtime_resolve_sse): Likewise.
3186 (_dl_runtime_resolve_sse_vex): Likewise.
3188 (_dl_runtime_resolve_fxsave): Likewise.
3189 (USE_XSAVE): Likewise.
3190 (_dl_runtime_resolve_xsave): Likewise.
3191 (USE_XSAVEC): Likewise.
3192 (_dl_runtime_resolve_xsavec): Likewise.
3193 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
3195 (_dl_runtime_resolve_avx512_opt): Likewise.
3196 (_dl_runtime_resolve_avx): Likewise.
3197 (_dl_runtime_resolve_avx_opt): Likewise.
3198 (_dl_runtime_resolve_sse): Likewise.
3199 (_dl_runtime_resolve_sse_vex): Likewise.
3200 (_dl_runtime_resolve_fxsave): New.
3201 (_dl_runtime_resolve_xsave): Likewise.
3202 (_dl_runtime_resolve_xsavec): Likewise.
3204 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
3208 * posix/glob.c (__glob): Fix one-byte overflow.
3210 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
3212 * malloc/malloc.c (sysdep-cancel.h): Add include.
3214 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
3216 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
3218 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
3220 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
3221 (tests): Remove $(objpfx)ga_test depdendency.
3222 * resolv/ga_test.c: Remove file.
3224 2017-10-20 Mike FABIAN <mfabian@redhat.com>
3227 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
3228 * localedata/locales/kab_DZ: New file.
3230 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
3232 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
3233 _dl_relocate_static_pie instead of _dl_start to compute load
3234 address in static PIE.
3236 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
3238 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
3240 2017-10-20 Mike FABIAN <mfabian@redhat.com>
3243 * localedata/SUPPORTED: Add shn_MM/UTF-8.
3244 * localedata/locales/shn_MM: New file.
3246 2017-10-20 Florian Weimer <fweimer@redhat.com>
3249 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
3250 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
3251 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
3252 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
3253 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
3254 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
3256 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
3258 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3260 2017-10-19 Joseph Myers <joseph@codesourcery.com>
3262 * sysdeps/mips/ieee754/bits/floatn.h: New file.
3265 * sysdeps/mips/bits/long-double.h: Move to ....
3266 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
3268 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
3270 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
3272 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
3273 H.J. Lu <hongjiu.lu@intel.com>
3276 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3277 GLRO(dl_platform) to NULL.
3278 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
3279 (modules-names): Add tst-platformmod-1 and
3280 x86_64/tst-platformmod-2.
3281 (CFLAGS-tst-platform-1.c): New.
3282 (CFLAGS-tst-platformmod-1.c): Likewise.
3283 (CFLAGS-tst-platformmod-2.c): Likewise.
3284 (LDFLAGS-tst-platformmod-2.so): Likewise.
3285 ($(objpfx)tst-platform-1): Likewise.
3286 ($(objpfx)tst-platform-1.out): Likewise.
3287 (tst-platform-1-ENV): Likewise.
3288 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
3289 * sysdeps/x86_64/tst-platform-1.c: New file.
3290 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
3291 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
3293 2017-10-19 Mike FABIAN <mfabian@redhat.com>
3296 * locale/iso-639.def: Add Karbi.
3297 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
3298 * localedata/locales/mjw_IN: New file.
3300 2017-10-18 Joseph Myers <joseph@codesourcery.com>
3302 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
3303 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
3304 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
3305 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
3306 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
3307 (libm_alias_ldouble_other_r): Also create _Float128 alias.
3308 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
3310 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
3311 (libm_alias_ldouble_other_r): Also create _Float128 alias.
3312 * manual/math.texi (Mathematics): Document additional architecture
3313 support for _Float128.
3314 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
3315 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3316 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3317 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3318 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3319 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3320 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3321 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3322 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3323 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3324 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3325 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3326 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3327 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3328 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3330 2017-10-18 Renlin Li <renlin.li@arm.com>
3332 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
3333 _DYNAMIC symbol to calculate load address.
3335 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
3337 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
3338 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
3340 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
3341 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
3343 2017-10-18 Mike FABIAN <mfabian@redhat.com>
3346 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
3347 and improve readability by using more ASCII.
3348 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
3349 and improve readability by using more ASCII.
3351 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
3353 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
3354 not all targets support atomics on bool.
3356 2017-10-17 Joseph Myers <joseph@codesourcery.com>
3358 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
3359 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
3361 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
3362 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
3363 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
3364 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
3365 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
3366 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
3368 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3370 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
3373 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
3376 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
3377 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
3378 (do_check_remalloced_chunk): Fix build bug.
3379 (do_check_malloc_state): Add assert that checks arena->top.
3380 (malloc_consolidate): Remove initialization.
3381 (int_mallinfo): Remove call to malloc_consolidate.
3382 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3384 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
3386 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
3387 (have_fastchunks): Remove.
3388 (clear_fastchunks): Remove.
3389 (set_fastchunks): Remove.
3390 (malloc_state): Add have_fastchunks.
3391 (malloc_init_state): Use have_fastchunks.
3392 (do_check_malloc_state): Remove incorrect invariant checks.
3393 (_int_malloc): Use have_fastchunks.
3394 (_int_free): Likewise.
3395 (malloc_consolidate): Likewise.
3397 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
3399 * malloc/malloc.c (tcache_put): Inline.
3400 (tcache_get): Inline.
3402 2017-10-17 Jordi Mallach <jordi@gnu.org>
3404 Aurelien Jarno <aurelien@aurel32.net>
3406 * localedata/locales/ca_ES@valencia: New file.
3407 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
3409 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
3412 * math/math.h: Let signbit use the builtin in C++ mode with gcc
3415 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3417 * scripts/build-many-glibcs.py (Context.add_all_configs):
3418 Add arm-linux-gnueabihf multiarch extra_glibcs.
3420 * sysdeps/generic/ifunc-init.h: New file.
3421 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
3423 2017-10-17 Mike FABIAN <mfabian@redhat.com>
3426 * localedata/locales/el_GR: Set n_cs_precedes to 0.
3427 * localedata/locales/el_CY: copy "el_GR" because it is identical.
3428 * stdlib/tst-strfmon_l.c: adapt test case.
3430 2017-10-16 Joseph Myers <joseph@codesourcery.com>
3432 * sysdeps/generic/float128-abi.h: New file.
3433 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
3434 non-__prefixed symbols to ....
3435 * math/Versions: ... here. Include <float128-abi.h>.
3436 * stdlib/Versions ... and here. Include <float128-abi.h>
3438 2017-10-16 Florian Weimer <fweimer@redhat.com>
3440 * version.h (VERSION): Switch to ".9000" as the development
3443 2017-10-16 Florian Weimer <fweimer@redhat.com>
3446 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
3447 compat_symbol_reference to access non-default version.
3449 2017-10-16 Florian Weimer <fweimer@redhat.com>
3451 * malloc/Makefile (others-extras): Set to mcheck-init.o.
3453 2017-10-16 Carlos O'Donell <carlos@redhat.com>
3455 * include/shlib-compat.h (compat_symbol_reference): Update
3458 2017-10-16 Joseph Myers <joseph@codesourcery.com>
3460 * math/Makefile (test-types): Add
3461 $(type-float128-$(float128-alias-fcts)).
3462 * math/test-float128.h (TYPE_STR): Define conditional on
3463 [FLT128_MANT_DIG == LDBL_MANT_DIG].
3464 (ULP_IDX): Likewise.
3465 (ULP_I_IDX): Likewise.
3467 * stdlib/strtold.c: Include <bits/floatn.h>
3468 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
3469 and later undefine as macro. Define as weak alias if
3471 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
3472 and later undefine as macro. Define as weak alias if
3474 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
3475 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
3476 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3477 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
3478 Define and later undefine as macro. Define as weak alias if
3480 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
3482 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
3483 Define and later undefine as macro. Define as weak alias if
3485 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
3486 Define and later undefine as macro. Define as weak alias if
3489 2017-10-15 Carlos O'Donell <carlos@redhat.com>
3491 * localedata/collate-test.c (allocate_arrays): Don't use \n in
3492 record_verbose messages.
3494 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
3497 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
3498 to silence -O3 -Wall warning with GCC 7.
3500 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
3502 * Makeconfig (+link-static-before-libc): Use the first of
3503 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
3504 * gmon/Makefile (tests): Add tst-gmon-static.
3505 (tests-static): Likewise.
3506 (CFLAGS-tst-gmon-static.c): New.
3507 (CRT-tst-gmon-static): Likewise.
3508 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
3509 (tst-gmon-static-ENV): Likewise.
3510 (tests-special): Likewise.
3511 ($(objpfx)tst-gmon-static.out): Likewise.
3512 (clean-tst-gmon-static-data): Likewise.
3513 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
3514 * gmon/tst-gmon-static-gprof.sh: New file.
3515 * gmon/tst-gmon-static.c: Likewise.
3517 2017-10-13 Carlos O'Donell <carlos@redhat.com>
3520 * locale/programs/linereader.c (get_string): Don't warn on
3521 non-symbolic character.
3524 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
3528 * locale/programs/record-status.h: New file
3529 * locale/programs/locale.c: Add comment.
3530 * locale/programs/charmap-dir.c: Don't include error.h.
3531 (charmap_opendir): Use record_error.
3532 * locale/programs/charmap.c: Don't include error.h.
3533 (charmap_read): Use record_error, and record_warning.
3534 (parse_charmap): Likewise.
3535 * locale/programs/ld-address.c: Don't include error.h.
3536 (address_finish): Use record_error, and record_warning.
3537 * locale/programs/ld-collate.c: Don't include error.h.
3538 (collate_finish): Use record_error, and record_error_at_line.
3539 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
3540 (ctype_class_new): Likewise.
3541 (ctype_map_new): Likewise.
3542 (set_one_default): Likewise.
3543 (set_class_defaults): Likewise.
3544 (translit_flatten): Likewise.
3545 (allocate_arrays): Use record_error, and record_verbose.
3546 * locale/programs/ld-identification.c: Don't include error.h.
3547 (indentation_finish): Use record_error and record_warning.
3548 * locale/programs/ld-measurement.c: Don't include error.h.
3549 (measurement_finish): Use record_error.
3550 * locale/programs/ld-messages.c
3551 (message_finish): Likewise.
3552 * locale/programs/ld-monetary.c
3553 (monetary_finish): Likewise.
3554 * locale/programs/ld-name.c (name_finish): Use record_error
3556 * locale/programs/ld-numeric.c
3557 (numeric_finish): Use record_error.
3558 * locale/programs/ld-paper.c: Don't include error.h.
3559 (paper_finish): Use record_error.
3560 * locale/programs/ld-telephone.c: Don't include error.h.
3561 (telephone_finish): Use record_error.
3562 * locale/programs/ld-time.c (time_finish): Likewise.
3563 * locale/programs/linereader.h (lr_error): Make inline func.
3564 * locale/programs/localedef.c: Define recorded_warning_count,
3565 and recorded_error_count.
3566 (main): Use record_error. Use recorded_error_count and
3567 recorded_warning_count to issue correct error returns.
3568 (add_to_readlist): Use record_error.
3569 (find_locale): Likewise.
3570 (load_locale): Likewise.
3571 * locale/programs/localedef.h: Remove be_quiet
3572 and WITH_CUR_LOCALE.
3573 * locale/programs/locarchive.c (compare_from_file): Use
3575 * locale/programs/locfile.c (write_locale_data): Use
3577 * locale/programs/repertoire.c: Dont include error.h.
3578 (repertoire_complain): Use record_error.
3579 * localedata/tst-fmon.sh: Expect failures from localedef.
3580 * localedata/tst-locale.sh: Likewise.
3581 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
3583 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
3584 (REPORTS): Likewise.
3586 (i18n): Rename to...
3587 (i18n_ctype): ...this.
3588 (i18n-report): Rename to...
3589 (i18n_ctype-report): ...this.
3590 * localedata/locales/i18n_ctype: Regenerate.
3591 * localedata/locales/i18n: copy i18n_ctype.
3593 2017-10-13 Joseph Myers <joseph@codesourcery.com>
3595 * stdlib/strfroml.c: Include <bits/floatn.h>.
3596 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
3597 Define before include of <stdlib.h> and undefine afterwards, then
3598 define as weak alias.
3600 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
3601 Undefine and restore default definition. Use
3602 libm_alias_ldouble_other.
3604 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
3607 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
3610 2017-10-13 James Clarke <jrtc27@jrtc27.com>
3612 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3613 Assign sym_map to be map for local symbols, as TLS relocations
3614 use sym_map to determine whether the symbol is defined and to
3615 extract the TLS information.
3616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3619 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3622 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
3623 (math_force_eval): Add powerpc version.
3626 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
3628 (do_test): Likewise.
3629 * stdio-common/tst-printf.sh: Likewise.
3630 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
3631 ifdef clause in order to set the carry bit right. Replace r0 by
3632 0 without changing the behavior.
3634 2017-10-13 Joseph Myers <joseph@codesourcery.com>
3636 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
3637 <libm-alias-ldouble.h>.
3638 (fabsl): Define using libm_alias_ldouble.
3639 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
3640 <libm-alias-ldouble.h>.
3641 (fabsl): Define using libm_alias_ldouble.
3643 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
3644 Remove conditional code.
3646 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
3647 Rename to __clog10_internal_l.
3648 (__clog10_internal_l): Define aliases using
3649 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
3652 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3654 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
3655 * benchtests/sincosf-inputs: New file.
3656 * benchtests/cosf-inputs: New file.
3657 * benchtests/sinf-inputs: New file.
3659 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3661 * posix/tst-spawn.c (do_test): Wait for both children.
3663 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
3666 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
3667 tests-pie): Add tst-gmon-pie.
3668 (CFLAGS-tst-gmon-pie.c): New.
3669 (CRT-tst-gmon-pie): Likewise.
3670 (tst-gmon-pie-ENV): Likewise.
3671 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
3672 ($(objpfx)tst-gmon-pie.out): Likewise.
3673 (clean-tst-gmon-pie-data): Likewise.
3674 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
3675 * gmon/gmon.c [PIC]: Include <link.h>.
3676 [PIC] (callback): New function.
3677 (write_hist): Add an argument for load address. Subtract load
3679 (write_call_graph): Likewise.
3680 (write_gmon): Call __dl_iterate_phdr to get load address, pass
3681 it to write_hist and write_call_graph.
3682 * gmon/tst-gmon-pie.c: New file.
3684 2017-10-11 Joseph Myers <joseph@codesourcery.com>
3686 * math/Makefile (test-types-basic): New variable.
3687 (test-types): Likewise.
3688 (libm-test-support): Use $(test-types) instead of $(types).
3689 (libm-tests-base-normal): Likewise.
3690 (libm-tests-base-finite): Likewise.
3691 (libm-tests-base-inline): Likewise.
3692 (generated): Likewise.
3693 ($(objpfx)libm-test-support-$(t).c): Likewise.
3694 (libm-tests-for-type iterator): Likewise.
3695 (libm-test-support iterator): Likewise.
3696 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
3697 (ulp_idx): Use ULP_IDX.
3698 * math/test-ldouble.h: Include <float.h>.
3699 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
3700 (ULP_IDX): New macro.
3701 (ULP_I_IDX): Likewise.
3702 * math/test-double.h (ULP_IDX): Likewise.
3703 (ULP_I_IDX): Likewise.
3704 * math/test-float.h (ULP_IDX): Likewise.
3705 (ULP_I_IDX): Likewise.
3706 * math/test-float128.h (ULP_IDX): Likewise.
3707 (ULP_I_IDX): Likewise.
3709 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3711 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
3712 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3713 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3714 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
3715 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3716 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
3717 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
3718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3720 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3721 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
3722 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3725 (SINGLE_THREAD_BY_GLOBAL): Define.
3726 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3728 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3730 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3732 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3734 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
3735 (SINGLE_THREAD_BY_GLOBAL): Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3739 2017-10-11 Andreas Schwab <schwab@suse.de>
3741 * nis/Makefile (aux): Remove.
3742 * nscd/Makefile (aux): Add nscd_hash.
3743 (nscd-modules): Likewise.
3744 ($(objpfx)nscd): Don't depend on libnsl.
3745 * nscd/nscd_hash.c: New file.
3746 * nscd/nscd_hash.h: Likewise.
3747 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
3748 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
3749 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
3750 instead of <nis/rpcsvc/nis.h>.
3751 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
3753 2017-10-11 Florian Weimer <fweimer@redhat.com>
3756 Avoid large NSS buffers with many addresses, aliases.
3757 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
3758 using dynarrays and struct alloc_buffer.
3759 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
3760 (tst-nss-files-hosts-multi): Link with -ldl.
3761 * nss/tst-nss-files-hosts-multi.c: New file.
3763 2017-10-11 Florian Weimer <fweimer@redhat.com>
3766 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
3767 scratch_buffer. Eliminate gotos.
3769 2017-10-11 Joseph Myers <joseph@codesourcery.com>
3771 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
3772 libm_alias_ldouble_other.
3773 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
3774 undefine and redefine.
3775 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3776 (exp10l): Do not define here.
3777 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
3778 (weak_alias): Undefine and redefine.
3779 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
3780 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3781 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
3782 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
3784 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
3785 [!__fma] (fma): Define using libm_alias_double.
3786 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
3787 [!__fmaf] (fmaf): Define using libm_alias_float.
3788 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
3789 (fmal): Define using libm_alias_ldouble.
3791 2017-10-10 Joseph Myers <joseph@codesourcery.com>
3793 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
3795 (libm_alias_double_other): Likewise.
3796 (libm_alias_double_r): Use libm_alias_double_other_r.
3797 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
3799 (libm_alias_float_other): Likewise.
3800 (libm_alias_float_r): Use libm_alias_float_other_r.
3801 * sysdeps/generic/libm-alias-float128.h
3802 (libm_alias_float128_other_r): New macro.
3803 (libm_alias_float128_other): Likewise.
3804 (libm_alias_float128_r): Use libm_alias_float128_other_r.
3805 * sysdeps/generic/libm-alias-ldouble.h
3806 (libm_alias_ldouble_other_r): New macro.
3807 (libm_alias_ldouble_other): Likewise.
3808 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
3809 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
3810 (libm_alias_double_other_r): New macro.
3811 (libm_alias_double_other): Likewise.
3812 (libm_alias_double_r): Use libm_alias_double_other_r.
3813 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
3814 (libm_alias_ldouble_other_r): New macro.
3815 (libm_alias_ldouble_other): Likewise.
3816 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
3817 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
3818 [!USE_AS_COMPAT]: Use libm_alias_double_other.
3819 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
3820 [!USE_AS_COMPAT]: Use libm_alias_float_other.
3821 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
3822 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
3823 * math/w_exp2f.c: Use libm_alias_float_other.
3824 * math/w_expf.c: Likewise.
3825 * math/w_log2f.c: Likewise.
3826 * math/w_logf.c: Likewise.
3827 * math/w_powf.c: Likewise.
3828 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
3829 [!__exp2f]: Use libm_alias_float_other.
3830 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
3831 [!__expf]: Use libm_alias_float_other.
3832 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
3833 [!__log2f]: Use libm_alias_float_other.
3834 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
3835 [!__logf]: Use libm_alias_float_other.
3836 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
3837 [!__powf]: Use libm_alias_float_other.
3839 2017-10-10 Florian Weimer <fweimer@redhat.com>
3841 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
3843 (_nss_files_gethostbyname3_r): Call it.
3845 2017-10-09 Joseph Myers <joseph@codesourcery.com>
3847 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
3848 error. Remove default definition of declare_mgen_alias.
3849 [!declare_mgen_alias_r]: Likewise.
3850 * sysdeps/generic/math-type-macros-double.h
3851 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
3852 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
3853 (declare_mgen_alias_r): Likewise.
3854 * sysdeps/generic/math-type-macros-float128.h
3855 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
3856 * sysdeps/generic/math-type-macros-ldouble.h
3857 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
3858 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
3860 (declare_mgen_alias_r_s): Likewise.
3861 (declare_mgen_alias_r): Likewise.
3862 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
3863 (lgamma_r): Define using libm_alias_double_r.
3864 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
3865 (lgammaf_r): Define using libm_alias_float_r.
3866 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
3867 (lgammal_r): Define using libm_alias_ldouble_r.
3868 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
3869 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3871 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3873 * lib/glob.c (__glob_pattern_type): Remove now-spurious
3876 2017-10-09 Joseph Myers <joseph@codesourcery.com>
3878 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
3880 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
3883 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
3884 [__cplusplus >= 201103] (__USE_ISOC99): Define.
3885 * math/Makefile (test-math-cxx11): New test.
3886 * math/test-math-cxx11.cc: New file.
3888 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
3890 * login/openpty.c (openpty): Close slave pty file descriptor on error.
3892 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
3893 call to allocate the slave pty file descriptor.
3895 2017-10-06 Joseph Myers <joseph@codesourcery.com>
3897 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
3898 [!__fma] (fma): Define using libm_alias_double.
3899 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
3900 [!__fma] (fma): Define using libm_alias_double.
3902 * sysdeps/ieee754/float128/float128_private.h: Include
3903 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
3904 (libm_alias_ldouble_r): Undefine and redefine.
3905 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
3906 <libm-alias-ldouble.h>.
3907 (asinhl): Define using libm_alias_ldouble.
3908 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
3909 <libm-alias-ldouble.h>.
3910 (atanl): Define using libm_alias_ldouble.
3911 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
3912 <libm-alias-ldouble.h>.
3913 (cbrtl): Define using libm_alias_ldouble.
3914 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
3915 <libm-alias-ldouble.h>.
3916 (ceill): Define using libm_alias_ldouble.
3917 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
3918 <libm-alias-ldouble.h>.
3919 (copysignl): Define using libm_alias_ldouble.
3920 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
3921 <libm-alias-ldouble.h>.
3922 (cosl): Define using libm_alias_ldouble.
3923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
3924 <libm-alias-ldouble.h>.
3925 (erfl): Define using libm_alias_ldouble.
3927 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
3928 <libm-alias-ldouble.h>.
3929 (expm1l): Define using libm_alias_ldouble.
3930 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
3931 <libm-alias-ldouble.h>.
3932 (fabsl): Define using libm_alias_ldouble.
3933 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
3934 <libm-alias-ldouble.h>.
3935 (floorl): Define using libm_alias_ldouble.
3936 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
3937 <libm-alias-ldouble.h>.
3938 (fmal): Define using libm_alias_ldouble.
3939 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
3940 <libm-alias-ldouble.h>.
3941 (frexpl): Define using libm_alias_ldouble.
3942 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
3944 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
3945 <libm-alias-ldouble.h>.
3946 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
3948 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
3949 <libm-alias-ldouble.h>.
3950 (getpayloadl): Define using libm_alias_ldouble.
3951 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
3952 <libm-alias-ldouble.h>.
3953 (llrintl): Define using libm_alias_ldouble.
3954 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
3955 <libm-alias-ldouble.h>.
3956 (llroundl): Define using libm_alias_ldouble.
3957 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
3958 <libm-alias-ldouble.h>.
3959 (logbl): Define using libm_alias_ldouble.
3960 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
3961 <libm-alias-ldouble.h>.
3962 (lrintl): Define using libm_alias_ldouble.
3963 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
3964 <libm-alias-ldouble.h>.
3965 (lroundl): Define using libm_alias_ldouble.
3966 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
3967 <libm-alias-ldouble.h>.
3968 (modfl): Define using libm_alias_ldouble.
3969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
3970 <libm-alias-ldouble.h>.
3971 (nearbyintl): Define using libm_alias_ldouble.
3972 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
3973 <libm-alias-ldouble.h>.
3974 (nextafterl): Define using libm_alias_ldouble.
3975 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
3976 <libm-alias-ldouble.h>.
3977 (nextupl): Define using libm_alias_ldouble.
3978 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
3979 <libm-alias-ldouble.h>.
3980 (remquol): Define using libm_alias_ldouble.
3981 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
3982 <libm-alias-ldouble.h>.
3983 (rintl): Define using libm_alias_ldouble.
3984 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
3985 <libm-alias-ldouble.h>.
3986 (roundevenl): Define using libm_alias_ldouble.
3987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
3988 <libm-alias-ldouble.h>.
3989 (roundl): Define using libm_alias_ldouble.
3990 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
3991 using libm_alias_ldouble.
3992 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
3993 <libm-alias-ldouble.h>.
3994 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
3995 Define using libm_alias_ldouble.
3996 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
3997 <libm-alias-ldouble.h>.
3998 (sincosl): Define using libm_alias_ldouble.
3999 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
4000 <libm-alias-ldouble.h>.
4001 (sinl): Define using libm_alias_ldouble.
4002 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
4003 <libm-alias-ldouble.h>.
4004 (tanhl): Define using libm_alias_ldouble.
4005 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
4006 <libm-alias-ldouble.h>.
4007 (tanl): Define using libm_alias_ldouble.
4008 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4009 <libm-alias-ldouble.h>.
4010 (totalorderl): Define using libm_alias_ldouble.
4011 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4012 <libm-alias-ldouble.h>.
4013 (totalordermagl): Define using libm_alias_ldouble.
4014 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
4015 <libm-alias-ldouble.h>.
4016 (truncl): Define using libm_alias_ldouble.
4017 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
4019 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
4021 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
4022 <libm-alias-ldouble.h>.
4023 (weak_alias): Do not undefine and redefine.
4024 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
4025 (copysignl): Define with long_double_symbol only if [IS_IN
4027 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
4028 <libm-alias-ldouble.h>.
4029 (weak_alias): Do not undefine and redefine.
4030 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
4031 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
4032 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
4033 <libm-alias-ldouble.h>.
4034 (weak_alias): Do not undefine and redefine.
4035 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
4036 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
4037 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
4038 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
4041 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
4044 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
4047 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
4054 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
4062 2017-10-06 Carlos O'Donell <carlos@redhat.com>
4065 * malloc/malloc.c (tcache_shutting_down): Use bool type.
4066 (tcache_thread_freeres): Set tcache_shutting_down before
4068 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
4069 * malloc/tst-malloc-tcache-leak.c: New file.
4071 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4073 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
4074 back to powerpc32 file.
4075 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
4076 (memrchr): Add __memrchr_power8 to ifunc list.
4077 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
4078 extra bytes for unaligned inputs.
4080 2017-10-06 Joseph Myers <joseph@codesourcery.com>
4082 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
4083 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4088 2017-10-05 Joseph Myers <joseph@codesourcery.com>
4090 * sysdeps/arm/libm-test-ulps: Update.
4092 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
4093 <libm-alias-ldouble.h>.
4094 (asinhl): Define using libm_alias_ldouble.
4095 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
4096 <libm-alias-ldouble.h>.
4097 (cbrtl): Define using libm_alias_ldouble.
4098 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
4099 <libm-alias-ldouble.h>.
4100 (copysignl): Define using libm_alias_ldouble.
4101 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
4102 <libm-alias-ldouble.h>.
4103 (cosl): Define using libm_alias_ldouble.
4104 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
4105 <libm-alias-ldouble.h>.
4106 (erfl): Define using libm_alias_ldouble.
4108 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
4109 <libm-alias-ldouble.h>.
4110 (fmal): Define using libm_alias_ldouble.
4111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
4112 <libm-alias-ldouble.h>.
4113 (frexpl): Define using libm_alias_ldouble.
4114 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
4116 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
4117 <libm-alias-ldouble.h>.
4118 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
4120 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
4121 <libm-alias-ldouble.h>.
4122 (getpayloadl): Define using libm_alias_ldouble.
4123 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
4124 <libm-alias-ldouble.h>.
4125 (llrintl): Define using libm_alias_ldouble.
4126 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
4127 <libm-alias-ldouble.h>.
4128 (llroundl): Define using libm_alias_ldouble.
4129 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
4130 <libm-alias-ldouble.h>.
4131 (lrintl): Define using libm_alias_ldouble.
4132 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
4133 <libm-alias-ldouble.h>.
4134 (lroundl): Define using libm_alias_ldouble.
4135 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
4136 <libm-alias-ldouble.h>.
4137 (modfl): Define using libm_alias_ldouble.
4138 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
4139 <libm-alias-ldouble.h>.
4140 (nextupl): Define using libm_alias_ldouble.
4141 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
4142 <libm-alias-ldouble.h>.
4143 (remquol): Define using libm_alias_ldouble.
4144 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
4145 <libm-alias-ldouble.h>.
4146 (roundevenl): Define using libm_alias_ldouble.
4147 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
4148 <libm-alias-ldouble.h>.
4149 (roundl): Define using libm_alias_ldouble.
4150 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
4151 using libm_alias_ldouble.
4152 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
4153 <libm-alias-ldouble.h>.
4154 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
4155 <libm-alias-ldouble.h>.
4156 (setpayloadsigl): Define using libm_alias_ldouble.
4157 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
4158 <libm-alias-ldouble.h>.
4159 (sincosl): Define using libm_alias_ldouble.
4160 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
4161 <libm-alias-ldouble.h>.
4162 (sinl): Define using libm_alias_ldouble.
4163 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
4164 <libm-alias-ldouble.h>.
4165 (tanhl): Define using libm_alias_ldouble.
4166 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
4167 <libm-alias-ldouble.h>.
4168 (tanl): Define using libm_alias_ldouble.
4169 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4170 <libm-alias-ldouble.h>.
4171 (totalorderl): Define using libm_alias_ldouble.
4172 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4173 <libm-alias-ldouble.h>.
4174 (totalordermagl): Define using libm_alias_ldouble.
4175 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
4177 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
4180 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
4182 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4184 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4185 (__libc_ifunc_impl_list): Likewise.
4186 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4187 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
4189 * benchtests/bench-memmove-walk.c: New file.
4190 * benchtests/Makefile (string-benchset): Add it.
4192 * benchtests/bench-memset-walk.c: New file.
4193 * benchtests/Makefile (string-benchset): Add it.
4195 * benchtests/bench-memcpy-walk.c: New file.
4196 * benchtests/Makefile (string-benchset): Add it.
4198 2017-10-05 Florian Weimer <fweimer@redhat.com>
4200 nscd: Eliminate compilation time dependency in the build output.
4201 * nscd/nscd_stat.c (STATDATA_VERSION)
4202 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
4203 (STATDATA_VERSION_FULL): New macro definitions.
4204 (compilation): Remove.
4205 (struct statdata): Adjust version member.
4206 (send_stats): Set version from STATDATA_VERSION_FULL.
4207 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
4209 2017-10-05 Joseph Myers <joseph@codesourcery.com>
4211 * configure.ac (--enable-add-ons): Remove option.
4212 (machine): Do not mention add-ons in comment.
4213 (LIBC_PRECONFIGURE): Likewise.
4214 (add_ons): Remove variable and sanity checks and logic to locate
4216 (add_ons_automatic): Remove variable.
4217 (configured_add_ons): Likewise.
4218 (add_ons_sfx): Likewise.
4219 (add_ons_pfx): Likewise.
4220 (add_on_subdirs): Likewise.
4221 (sysnames_add_ons): Likewise. Remove loop over add-ons and
4222 consideration of add-ons in Implies handling.
4223 (sysdeps_add_ons): Likewise.
4224 * configure: Regenerated.
4225 * libidn/configure.ac: Remove.
4226 * libidn/configure: Likewise.
4227 * sysdeps/unix/inet/configure.ac: New file.
4228 * sysdeps/unix/inet/configure: New generated file.
4229 * sysdeps/unix/inet/Subdirs: Add libidn.
4230 * Makeconfig (sysdeps-srcdirs): Remove variable.
4231 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
4232 ($(common-objpfx)config.status): Do not depend on add-on files.
4233 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
4235 (all-subdirs): Do not include $(add-on-subdirs).
4236 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
4237 * config.make.in (add-ons): Remove variable.
4238 (add-on-subdirs): Likewise.
4239 (sysdeps-add-ons): Likewise.
4240 * manual/Makefile (add-chapters): Remove.
4241 ($(objpfx)texis): Do not depend on $(add-chapters).
4242 (nonexamples): Do not handle $(add-chapters).
4243 (examples): Do not handle $(add-ons).
4244 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
4246 * manual/install.texi (Installation): Do not mention add-ons.
4247 (--enable-add-ons): Do not document configure option.
4248 * INSTALL: Regenerated.
4249 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
4250 * manual/maint.texi (Hierarchy Conventions): Do not mention
4252 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
4254 * scripts/gen-sorted.awk: Do not handle Subdirs files from
4256 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
4257 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
4259 2017-10-05 Andreas Schwab <schwab@suse.de>
4262 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
4263 (_IO_flush_all_lockp): Always lock list_all_lock.
4264 (_IO_flush_all_linebuffered): Likewise.
4265 (_IO_unbuffer_all): Likewise.
4267 2017-10-05 Florian Weimer <fweimer@redhat.com>
4270 Do not flush stdio streams on abort.
4271 * stdlib/abort.c (fflush): Remove macro definition.
4272 (abort): Remove stages related to stdio flushing.
4274 2017-10-05 Florian Weimer <fweimer@redhat.com>
4276 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
4278 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
4280 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4282 2017-10-05 Florian Weimer <fweimer@redhat.com>
4284 * support/support_format_hostent.c (support_format_hostent): Add
4285 more error information for NETDB_INTERNAL.
4287 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
4289 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
4290 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
4291 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
4292 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
4293 AC_DEFINE if multi-arch is enabled.
4294 * sysdeps/i386/configure: Regenerated.
4296 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
4298 * Makeconfig (+link-static-before-libc): Use
4299 $(DEFAULT-LDFLAGS-$(@F)).
4300 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
4301 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
4302 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
4304 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
4306 * elf/Makefile (tests): Add tst-main1.
4307 (modules-names): Add tst-main1mod.
4308 ($(objpfx)tst-main1): New.
4309 (CRT-tst-main1): Likewise.
4310 (LDFLAGS-tst-main1): Likewise.
4311 (LDLIBS-tst-main1): Likewise.
4312 (tst-main1mod.so-no-z-defs): Likewise.
4313 * elf/tst-main1.c: New file.
4314 * elf/tst-main1mod.c: Likewise.
4316 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
4318 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
4320 2017-10-04 Joseph Myers <joseph@codesourcery.com>
4322 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
4323 (fma): Define using libm_alias_double.
4324 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
4325 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
4327 (fmal): Do not define as compat symbol here.
4328 * sysdeps/alpha/fpu/s_fma.c: New file.
4330 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4332 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
4334 2017-10-04 Joseph Myers <joseph@codesourcery.com>
4337 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
4339 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
4341 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
4342 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
4343 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
4344 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
4345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4346 Include <math_ldbl_opt.h>
4347 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
4349 (compat_symbol): Undefine and redefine.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
4352 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
4353 (compat_symbol): Undefine and redefine.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
4355 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
4356 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
4359 GLIBC_2.0 copysignl symbol.
4360 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4361 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
4363 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
4365 2017-10-04 Florian Weimer <fweimer@redhat.com>
4367 * scripts/check-local-headers.sh: Ignore nspr4 header file
4368 directory in addition to nspr.
4370 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
4373 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
4374 * configure: Regenerate.
4375 * crypt/Makefile (nss-cpp-flags): New variable.
4376 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
4377 (CPPFLAGS-md5-crypt.c): Use it.
4378 * scripts/check-local-headers.sh: Ignore nspr header file
4381 2017-10-04 Andreas Schwab <schwab@suse.de>
4383 * nis/Makefile (services): Remove compat.
4384 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
4385 ($(objpfx)libnss_compat.so): Remove rule.
4386 * nis/Versions (libnss_compat): Remove.
4387 * nss/Makefile (services): Add compat.
4388 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
4389 * nss/Versions (libnss_compat): Define.
4390 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
4391 Don't include <rpc/types.h>. Replace bool_t by bool.
4392 * nss/nss_compat/compat-initgroups.c: Likewise.
4393 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
4394 instead of <rpcsrv/ypclnt.h>.
4395 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
4396 yp_get_default_domain.
4397 * nss/nss_compat/compat-pwd.c: Likewise.
4398 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
4399 yp_get_default_domain.
4400 * nss/nss_compat/nisdomain.c: New file.
4401 * nss/nss_compat/nisdomain.h: Likewise.
4403 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
4407 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4409 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
4413 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
4415 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4417 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
4418 "movl main@GOTOFF(%ebx), %eax".
4420 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4422 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
4423 allow undefined _DYNAMIC in PIE libc.a.
4424 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
4427 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4429 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
4432 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4434 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
4437 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4439 * math/test-math-iscanonical.cc (error): Replace bool with int.
4441 2017-10-03 Joseph Myers <joseph@codesourcery.com>
4443 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
4444 (modf): Define using libm_alias_double, only if [!__modf].
4445 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
4446 <libm-alias-double.h>.
4447 (modf): Define using libm_alias_double, only if [!__modf].
4448 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
4450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
4451 (weak_alias): Do not undefine and redefine.
4452 (strong_alias): Likewise.
4453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
4454 (weak_alias): Likewise.
4455 (strong_alias): Likewise.
4457 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
4458 (logb): Define using libm_alias_double, only if [!__logb].
4459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
4460 <libm-alias-double.h>.
4461 (logb): Define using libm_alias_double, only if [!__logb].
4462 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
4463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
4464 (weak_alias): Do not undefine and redefine.
4465 (strong_alias): Likewise.
4466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
4467 (weak_alias): Likewise.
4468 (strong_alias): Likewise.
4470 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4472 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
4473 Check SHARED instead PIC.
4475 2017-10-03 Joseph Myers <joseph@codesourcery.com>
4477 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
4478 [!__fmaf] (fmaf): Define using libm_alias_float.
4480 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
4481 (frexp): Define using libm_alias_double.
4482 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
4483 <libm-alias-double.h>.
4484 (frexp): Define using libm_alias_double.
4485 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
4488 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4491 * math/math.h: Trivial fix for unbalanced parentheses in comment.
4492 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
4493 (CFLAGS-test-math-iscanonical.cc): New variable.
4494 * math/test-math-iscanonical.cc: New file.
4495 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
4496 Provide a C++ implementation based on function overloading,
4497 rather than using __MATH_TG, which uses C-only builtins.
4498 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
4500 * sysdeps/powerpc/powerpc64le/Makefile
4501 (CFLAGS-test-math-iscanonical.cc): New variable.
4503 2017-10-03 Joseph Myers <joseph@codesourcery.com>
4505 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
4506 (ceil): Define using libm_alias_double.
4507 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
4508 (floor): Define using libm_alias_double.
4509 * sysdeps/ieee754/dbl-64/s_llround.c: Include
4510 <libm-alias-double.h>.
4511 (llround): Define using libm_alias_double.
4512 * sysdeps/ieee754/dbl-64/s_lround.c: Include
4513 <libm-alias-double.h>.
4514 (lround): Define using libm_alias_double.
4515 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
4516 <libm-alias-double.h>.
4517 (nearbyint): Define using libm_alias_double.
4518 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
4519 <libm-alias-double.h>.
4520 (remquo): Define using libm_alias_double.
4521 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
4522 (rint): Define using libm_alias_double.
4523 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
4524 (round): Define using libm_alias_double.
4525 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
4526 (trunc): Define using libm_alias_double.
4527 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
4528 <libm-alias-double.h>.
4529 (ceil): Define using libm_alias_double.
4530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
4531 <libm-alias-double.h>.
4532 (floor): Define using libm_alias_double.
4533 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
4534 <libm-alias-double.h>.
4535 (llround): Define using libm_alias_double.
4536 [_LP64] (lround): Likewise.
4537 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
4538 <libm-alias-double.h>.
4539 [!_LP64] (lround): Define using libm_alias_double.
4540 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
4541 <libm-alias-double.h>.
4542 (nearbyint): Define using libm_alias_double.
4543 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
4544 <libm-alias-double.h>.
4545 (remquo): Define using libm_alias_double.
4546 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
4547 <libm-alias-double.h>.
4548 (rint): Define using libm_alias_double.
4549 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
4550 <libm-alias-double.h>.
4551 (round): Define using libm_alias_double.
4552 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
4553 <libm-alias-double.h>.
4554 (trunc): Define using libm_alias_double.
4555 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
4556 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
4557 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
4558 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
4559 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
4560 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
4561 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
4562 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
4563 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
4565 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4567 * math/w_remainder.c: New file.
4568 * math/w_remainderf.c: New file.
4569 * math/w_remainderl.c: New file.
4571 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4573 * elf/rtld.c (BOOTSTRAP_MAP): New.
4574 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
4575 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4577 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4579 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4582 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4584 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
4585 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
4586 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
4587 rtld_hidden_data_ver): Define to empty.
4588 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
4589 __assert_perror_fail): Likewise.
4590 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4591 (__rewinddir): Likewise.
4592 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4593 (__profile_frequency): Likewise.
4594 * include/setjmp.h (__sigsetjmp): Likewise.
4595 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
4596 __libc_sigaction): Likewise.
4597 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
4598 not set hidden attribute.
4599 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
4600 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
4601 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
4602 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
4603 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
4604 __fxstatat64): Likewise.
4605 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4606 (__uname): Likewise.
4607 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4608 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
4609 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
4610 (NO_RTLD_HIDDEN): Set.
4611 * sysdeps/mach/hurd/configure: Refresh.
4612 * config.h.in: Refresh.
4614 2017-10-02 Joseph Myers <joseph@codesourcery.com>
4616 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
4617 (atan): Define using libm_alias_double.
4618 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
4619 (tan): Define using libm_alias_double.
4620 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
4621 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
4624 define as weak alias of __atan. Do not define any aliases if
4626 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
4627 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
4628 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
4629 as weak alias of __tan. Do not define any aliases if [__tan].
4630 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
4631 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
4632 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
4634 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
4635 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
4636 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
4637 and define as weak alias of __atan.
4638 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
4640 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
4641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
4642 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
4643 define as weak alias of __tan.
4645 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4647 * math/w_lgamma.c: New file.
4648 * math/w_lgammaf.c: New file.
4649 * math/w_lgammal.c: New file.
4651 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4653 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
4654 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
4655 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
4656 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
4657 * sysdeps/ieee754/flt-32/w_logf.c: New file.
4658 * sysdeps/ieee754/flt-32/w_powf.c: New file.
4659 * sysdeps/i386/fpu/w_log2f.c: New file.
4660 * sysdeps/i386/fpu/w_logf.c: New file.
4661 * sysdeps/i386/fpu/w_powf.c: New file.
4662 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
4663 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
4664 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
4666 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4667 H.J. Lu <hongjiu.lu@intel.com>
4669 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
4670 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
4671 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
4672 * sysdeps/ieee754/flt-32/w_expf.c: New file.
4673 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
4675 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
4676 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
4677 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
4678 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
4679 * sysdeps/i386/fpu/w_exp2f.c: New file.
4680 * sysdeps/i386/fpu/w_expf.c: New file.
4681 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
4682 * sysdeps/x86_64/fpu/w_expf.c: New file.
4684 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4686 * math/Versions (logf): New libm symbol at GLIBC_2.27.
4689 * math/w_log2f.c: New file.
4690 * math/w_logf.c: New file.
4691 * math/w_powf.c: New file.
4692 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
4693 * math/w_logf_compat.c (__logf_compat): Likewise.
4694 * math/w_powf_compat.c (__powf_compat): Likewise.
4695 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
4696 * sysdeps/ia64/fpu/e_logf.S: Likewise.
4697 * sysdeps/ia64/fpu/e_powf.S: Likewise.
4698 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4699 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4700 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4701 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4702 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4703 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4704 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4705 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4706 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4707 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4708 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4709 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4718 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4719 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4720 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4721 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4722 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4727 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4728 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4729 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4731 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4733 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4734 (sysdep_routines): Add memrchr_power8.
4735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4736 (memrchr): Add __memrchr_power8 to list of memrchr functions.
4737 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
4739 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
4740 (memrchr): Add __memrchr_power8 to ifunc list.
4741 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
4743 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4746 * sysdeps/unix/sysv/linux/posix_fadvise64.c
4747 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
4749 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4750 (__posix_fallocate64_l64): Likewise.
4752 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4755 * sysdeps/unix/sysv/linux/sched_setaffinity.c
4756 (__sched_setaffinity_new): Add libc_hidden_proto and
4759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4762 * include/glob.h (__glob64): Add libc_hidden_proto.
4763 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
4766 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4769 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
4772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4775 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
4777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4780 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
4783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4786 * csu/version.c (__libc_print_version): Add attribute_hidden.
4788 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4791 * include/libc-internal.h (__init_misc): Add attribute_hidden.
4793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4796 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
4798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4801 * nscd/nscd_helper.c (__nis_hash): New prototype.
4803 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4806 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
4807 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
4809 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4810 * termios/tcgetattr.c (__tcgetattr): Likewise.
4812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4815 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
4816 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
4817 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
4818 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
4819 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
4821 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4824 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
4826 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4829 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
4830 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
4832 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4835 * intl/hash-string.h (__hash_string): Add attribute_hidden.
4837 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4840 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
4841 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
4843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4846 * include/ifreq.h: New file.
4847 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
4848 (__ifreq): Likewise.
4849 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
4850 (__ifreq): Likewise.
4852 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4855 * include/idna.h: New file.
4856 * inet/getnameinfo.c: Include <idna.h> instead of
4858 (__idna_to_unicode_lzlz): Removed.
4859 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
4861 (__idna_to_ascii_lz): Removed.
4862 (__idna_to_unicode_lzlz): Likewise.
4864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4867 * include/plural-exp.h: New file.
4868 * intl/plural-exp.c: Include <plural-exp.h> instead of
4871 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4874 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
4875 "getsourcefilter.h".
4876 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
4877 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
4878 "getsourcefilter.h".
4879 (__get_sol): Removed.
4881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4884 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
4886 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
4888 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4891 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
4894 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4897 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
4899 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4902 * include/search.h (__tdestroy): Add libc_hidden_proto.
4903 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
4905 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4908 * include/assert.h (__assert_fail_base): Add attribute_hidden.
4910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4913 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
4916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4919 * include/signal.h (__kill): Add libc_hidden_proto.
4920 (__sigblock): Likewise.
4921 (__sigprocmask): Likewise.
4922 (__sigaltstack): Likewise.
4923 * signal/kill.c (__kill): Add libc_hidden_def.
4924 * signal/sigblock.c (__sigblock): Likewise.
4925 * signal/sigprocmask.c (__sigprocmask): Likewise.
4926 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4927 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4928 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4929 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4930 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
4932 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4934 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4935 (__sigprocmask): Likewise.
4936 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
4938 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4939 (__sigprocmask): Likewise.
4940 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4946 * include/string.h (__strsep): Add libc_hidden_proto.
4947 * string/strsep.c (__strsep): Add libc_hidden_def.
4949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4952 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
4954 (__spawni): Likewise.
4956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4959 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
4960 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
4963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4966 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
4968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4971 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
4972 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
4973 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4974 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
4975 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
4977 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
4978 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
4980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4983 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
4984 (__dcigettext): Likewise.
4986 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4989 * include/sys/sysinfo.h (__get_nprocs_conf): Add
4991 (__get_nprocs): Likewise.
4992 (__get_phys_pages): Likewise.
4993 (__get_avphys_pages): Likewise.
4994 (__get_child_max): Add attribute_hidden.
4995 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
4996 (__get_nprocs): Likewise.
4997 (__get_phys_pages): Likewise.
4998 (__get_avphys_pages): Likewise.
4999 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
5001 (__get_nprocs): Likewise.
5002 (__get_phys_pages): Likewise.
5003 (__get_avphys_pages): Likewise.
5004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
5006 (__get_nprocs_conf): Likewise.
5007 (__get_phys_pages): Likewise.
5008 (__get_avphys_pages): Likewise.
5010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5013 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
5015 (__netlink_close): Likewise.
5016 (__netlink_free_handle): Likewise.
5017 (__netlink_request): Likewise.
5019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5022 * include/rpc/rpc.h (__rpc_thread_variables): Add
5024 (__rpc_thread_svc_cleanup): Likewise.
5025 (__rpc_thread_clnt_cleanup): Likewise.
5026 (__rpc_thread_key_cleanup): Likewise.
5028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5031 * include/sys/uio.h (__readv): Add libc_hidden_proto.
5032 (__writev): Likewise.
5033 * misc/readv.c (__readv): Add libc_hidden_def.
5034 * misc/writev.c (__writev): Likewise.
5035 * sysdeps/posix/readv.c (__readv): Likewise.
5036 * sysdeps/posix/writev.c (__writev): Likewise.
5037 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
5038 (__readv): Likewise.
5039 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
5040 (__writev): Likewise.
5042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5045 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
5046 (__regcomp): Add libc_hidden_proto.
5047 (__regexec): Likewise.
5048 (__regfree): Likewise.
5049 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
5050 (__regfree): Likewise.
5051 * posix/regexec.c (__regexec): Likewise.
5053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5056 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
5057 (__getutent): Likewise.
5058 (__getutid): Likewise.
5059 (__getutline): Likewise.
5060 (__pututline): Likewise.
5061 (__getutent_r): Likewise.
5062 (__getutid_r): Likewise.
5063 (__getutline_r): Likewise.
5064 (__utmpname): Add attribute_hidden.
5065 (__setutent): Likewise.
5066 (__endutent): Likewise.
5067 * login/getutent.c (__getutent): Add libc_hidden_def.
5068 * login/getutent_r.c (__getutent_r): Likewise.
5069 (__pututline): Likewise.
5070 * login/getutid.c (__getutid): Likewise.
5071 * login/getutid_r.c (__getutid_r): Likewise.
5072 * login/getutline.c (__getutline): Likewise.
5073 * login/getutline_r.c (__getutline_r): Likewise.
5074 * login/updwtmp.c (__updwtmp): Likewise.
5076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5079 * include/dirent.h (__opendir): Always add attribute_hidden.
5080 (__fdopendir): Likewise.
5081 (__closedir): Likewise.
5082 (__readdir): Likewise.
5083 (__readdir64): Add libc_hidden_proto.
5084 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
5085 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
5086 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
5087 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
5090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5093 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
5094 * include/netdb.h (__gethostbyaddr_r): Likewise.
5095 (__gethostbyname_r): Likewise.
5096 (__gethostbyname2_r): Likewise.
5097 (__getnetbyaddr_r): Likewise.
5098 (__getnetbyname_r): Likewise.
5099 (__getservbyname_r): Likewise.
5100 (__getservbyport_r): Likewise.
5101 (__getprotobyname_r): Likewise.
5102 (__getprotobynumber_r): Likewise.
5103 (__getnetgrent_r): Likewise.
5104 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
5105 (__getrpcbynumber_r): Likewise.
5106 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
5108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5111 * include/stdio.h (__fcloseall): Add attribute_hidden.
5112 (__getline): Likewise.
5113 (__path_search): Likewise.
5114 (__gen_tempname): Likewise.
5115 (__libc_message): Likewise.
5116 (__flockfile): Likewise.
5117 (__funlockfile): Likewise.
5118 (__fxprintf): Likewise.
5119 (__fxprintf_nocancel): Likewise.
5121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5124 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
5125 (__sgetsgent_r): Likewise.
5127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5130 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
5131 (__statfs64): Likewise.
5132 (__fstatfs64): Likewise.
5133 * include/sys/statvfs.h (__statvfs64): Likewise.
5134 (__fstatvfs64): Likewise.
5135 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
5136 (__statfs_filesize_max): Likewise.
5137 (__statfs_symlinks): Likewise.
5138 (__statfs_chown_restricted): Likewise.
5140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5143 * include/time.h (__tzstring): Add attribute_hidden.
5144 (__tzfile_read): Likewise.
5145 (__tzfile_compute): Likewise.
5146 (__tzfile_default): Likewise.
5147 (__tzset_parse_tz): Likewise.
5148 (__offtime): Likewise.
5149 (__asctime_r): Likewise.
5150 (__tzset): Likewise.
5151 (__tz_convert): Likewise.
5152 (__getdate_r): Likewise.
5153 (__getclktck): Likewise.
5155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5158 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
5159 (__nscd_unmap): Likewise.
5160 (__nscd_cache_search): Likewise.
5161 (__nscd_get_nl_timestamp): Likewise.
5162 (__nscd_getpwnam_r): Likewise.
5163 (__nscd_getpwuid_r): Likewise.
5164 (__nscd_getgrnam_r): Likewise.
5165 (__nscd_getgrgid_r): Likewise.
5166 (__nscd_gethostbyname_r): Likewise.
5167 (__nscd_gethostbyname2_r): Likewise.
5168 (__nscd_gethostbyaddr_r): Likewise.
5169 (__nscd_getai): Likewise.
5170 (__nscd_getgrouplist): Likewise.
5171 (__nscd_getservbyname_r): Likewise.
5172 (__nscd_getservbyport_r): Likewise.
5173 (__nscd_innetgr): Likewise.
5174 (__nscd_setnetgrent): Likewise.
5176 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5179 * include/gmp.h: Declare internal functions only if _ISOMAC is
5181 (__mpn_extract_double): Add attribute_hidden.
5182 (__mpn_extract_long_double): Likewise.
5183 (__mpn_extract_float128): Likewise.
5184 (__mpn_construct_float): Likewise.
5185 (__mpn_construct_double): Likewise.
5186 (__mpn_construct_long_double): Likewise.
5187 (__mpn_construct_float128): Likewise.
5188 (mpn_add_1): Likewise.
5189 (mpn_addmul_1): Likewise.
5190 (mpn_add_n): Likewise.
5191 (mpn_cmp): Likewise.
5192 (mpn_divrem): Likewise.
5193 (mpn_lshift): Likewise.
5194 (mpn_mul): Likewise.
5195 (mpn_mul_1): Likewise.
5196 (mpn_rshift): Likewise.
5197 (mpn_sub_1): Likewise.
5198 (mpn_submul_1): Likewise.
5199 (mpn_sub_n): Likewise.
5201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5204 * include/wchar.h (__wcsnlen): Add attribute_hidden.
5205 (__wcscat): Likewise.
5206 (__btowc): Likewise.
5207 (__wcrtomb): Likewise.
5208 (__mbsrtowcs): Likewise.
5209 (__wcsrtombs): Likewise.
5210 (__mbsnrtowcs): Likewise.
5211 (__wcsnrtombs): Likewise.
5212 (__wcsncpy): Likewise.
5213 (__wcpncpy): Likewise.
5214 (__wmemcpy): Likewise.
5215 (__wmempcpy): Likewise.
5216 (__wmemmove): Likewise.
5217 (__wcschrnul): Likewise.
5218 (__vfwscanf): Likewise.
5219 (__vswprintf): Likewise.
5220 (__fwprintf): Likewise.
5221 (__vfwprintf): Likewise.
5223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5226 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
5227 (__getgrgid_r): Likewise.
5228 (__getgrnam_r): Likewise.
5229 * include/pwd.h (__getpwuid_r): Likewise.
5230 (__getpwnam_r): Likewise.
5231 (__fgetpwent_r): Likewise.
5232 * include/shadow.h (__getspnam_r): Likewise.
5233 (__sgetspent_r): Likewise.
5234 (__fgetspent_r): Likewise.
5236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5239 * include/unistd.h (__access): Add attribute_hidden.
5240 (__lseek64): Likewise.
5241 (__libc_pread64): Likewise.
5242 (__pipe2): Likewise.
5243 (__sleep): Likewise.
5244 (__chdir): Likewise.
5245 (__fchdir): Likewise.
5246 (__getcwd): Likewise.
5247 (__rmdir): Likewise.
5248 (__execvpe): Likewise.
5249 (__execve): Likewise.
5250 (__setsid): Likewise.
5251 (__getuid): Likewise.
5252 (__geteuid): Likewise.
5253 (__getgid): Likewise.
5254 (__getegid): Likewise.
5255 (__getgroups): Likewise.
5256 (__group_member): Likewise.
5257 (__ttyname_r): Likewise.
5258 (__isatty): Likewise.
5259 (__readlink): Likewise.
5260 (__unlink): Likewise.
5261 (__gethostname): Likewise.
5262 (__profil): Likewise.
5263 (__getdtablesize): Likewise.
5265 (__ftruncate): Likewise.
5266 (__ftruncate64): Likewise.
5268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5271 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
5272 * argp/argp-fs-xinl.c: Likewise.
5273 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
5274 * argp/argp-parse.c: Include <argp.h>.
5275 * argp/argp-xinl.c: Likewise.
5276 * include/argp-fmtstream.h: New file.
5277 * include/argp.h (__argp_error): Add attribute_hidden.
5278 (__argp_failure): Likewise.
5279 (__argp_input): Likewise.
5280 (__argp_state_help): Likewise.
5282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5285 * include/wchar.h (____wcstof_l_internal): New prototype.
5286 (____wcstod_l_internal): Likewise.
5287 (____wcstold_l_internal): Likewise.
5288 (____wcstol_l_internal): Likewise.
5289 (____wcstoul_l_internal): Likewise.
5290 (____wcstoll_l_internal): Likewise.
5291 (____wcstoull_l_internal): Likewise.
5292 (____wcstof128_l_internal): Likewise.
5293 * sysdeps/ieee754/float128/wcstof128.c
5294 (____wcstof128_l_internal): Removed.
5295 * sysdeps/ieee754/float128/wcstof128_l.c
5296 (____wcstof128_l_internal): Likewise.
5297 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
5298 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
5299 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
5300 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
5301 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
5302 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
5303 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
5304 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
5305 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
5306 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
5308 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5311 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
5312 instead of <sys/statvfs.h>.
5313 (__internal_statvfs): Removed.
5314 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
5315 instead of <sys/statvfs.h>.
5316 (__internal_statvfs64): Removed.
5317 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
5318 "internal_statvfs.h" instead of <sys/statvfs.h>.
5319 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
5320 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
5321 instead of <sys/statvfs.h>.
5322 (__internal_statvfs): Removed.
5323 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
5324 instead of <sys/statvfs.h>.
5325 (__internal_statvfs64): Removed.
5327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5330 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
5331 (__gconv_close): Likewise.
5332 (__gconv): Likewise.
5333 (__gconv_find_transform): Likewise.
5334 (__gconv_lookup_cache): Likewise.
5335 (__gconv_compare_alias_cache): Likewise.
5336 (__gconv_load_cache): Likewise.
5337 (__gconv_get_path): Likewise.
5338 (__gconv_close_transform): Likewise.
5339 (__gconv_release_cache): Likewise.
5340 (__gconv_find_shlib): Likewise.
5341 (__gconv_release_shlib): Likewise.
5342 (__gconv_get_builtin_trans): Likewise.
5343 (__gconv_compare_alias): Likewise.
5344 * include/dlfcn.h (_dlerror_run): Likewise.
5345 * include/stdio.h (__fortify_fail_abort): Likewise.
5346 * include/time.h (__tz_compute): Likewise.
5347 (__strptime_internal): Likewise.
5348 * intl/gettextP.h (_nl_find_domain): Likewise.
5349 (_nl_load_domain): Likewise.
5350 (_nl_find_msg): Likewise.
5351 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
5352 (EXTRACT_PLURAL_EXPRESSION): Likewise.
5353 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
5354 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
5355 (__gai_find_request): Likewise.
5356 (__gai_remove_request): Likewise.
5357 (__gai_notify): Likewise.
5358 (__gai_notify_only): Likewise.
5359 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
5360 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
5361 (_dl_non_dynamic_init): Likewise.
5362 (_dl_aux_init): Likewise.
5363 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
5364 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
5366 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
5367 (__wcsmbs_clone_conv): Likewise.
5368 (__wcsmbs_named_conv): Likewise.
5370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5373 * include/stdlib.h (__random): Add attribute_hidden.
5374 (__random_r): Likewise.
5375 (__srandom_r): Likewise.
5376 (__initstate_r): Likewise.
5377 (__setstate_r): Likewise.
5378 (__erand48_r): Likewise.
5379 (__nrand48_r): Likewise.
5380 (__jrand48_r): Likewise.
5381 (__srand48_r): Likewise.
5382 (__seed48_r): Likewise.
5383 (__lcong48_r): Likewise.
5384 (__drand48_iterate): Likewise.
5385 (__setenv): Likewise.
5386 (__unsetenv): Likewise.
5387 (__clearenv): Likewise.
5388 (__ptsname_r): Likewise.
5389 (__posix_openpt): Likewise.
5390 (__add_to_environ): Likewise.
5391 (__realpath): Add libc_hidden_proto.
5392 (__ecvt_r): Likewise.
5393 (__fcvt_r): Likewise.
5394 (__qecvt_r): Likewise.
5395 (__qfcvt_r): Likewise.
5396 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
5397 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
5399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
5402 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
5403 * include/time.h (__mktime_internal): Likewise.
5404 * libio/iolibio.h (__fopen_internal): Likewise.
5406 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
5408 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
5410 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
5411 Correct offset used to restore PIC register.
5413 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
5416 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
5417 code to load address of __getcontext_ret when generating PIC code.
5419 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
5421 * elf/Makefile (tests-static-internal): Add
5422 tst-tls1-static-non-pie.
5423 (LDFLAGS-tst-tls1-static-non-pie): New.
5424 * elf/tst-tls1-static-non-pie.c: New file.
5426 2017-09-29 Joseph Myers <joseph@codesourcery.com>
5428 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
5429 (asinh): Define using libm_alias_double.
5430 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
5431 (cbrt): Define using libm_alias_double.
5432 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
5433 <libm-alias-double.h>.
5434 (copysign): Define using libm_alias_double.
5435 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
5436 (erf): Define using libm_alias_double.
5438 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
5439 (expm1): Define using libm_alias_double.
5440 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
5441 (fabs): Define using libm_alias_double.
5442 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
5444 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
5445 <libm-alias-double.h>.
5446 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
5448 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
5449 <libm-alias-double.h>.
5450 (getpayload): Define using libm_alias_double.
5451 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
5452 <libm-alias-double.h>.
5453 (llrint): Define using libm_alias_double.
5454 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
5455 (lrint): Define using libm_alias_double.
5456 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
5457 <libm-alias-double.h>.
5458 (nextup): Define using libm_alias_double.
5459 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
5460 <libm-alias-double.h>.
5461 (roundeven): Define using libm_alias_double.
5462 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
5464 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
5465 <libm-alias-double.h>.
5466 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
5467 using libm_alias_double.
5468 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
5469 (cos): Define using libm_alias_double.
5471 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
5472 <libm-alias-double.h>.
5473 (sincos): Define using libm_alias_double.
5474 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
5475 (tanh): Define using libm_alias_double.
5476 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5477 <libm-alias-double.h>.
5478 (totalorder): Define using libm_alias_double.
5479 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5480 <libm-alias-double.h>.
5481 (totalordermag): Define using libm_alias_double.
5482 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
5484 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
5486 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
5487 <libm-alias-double.h>.
5488 (getpayload): Define using libm_alias_double.
5489 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
5490 <libm-alias-double.h>.
5491 (roundeven): Define using libm_alias_double.
5492 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
5493 <libm-alias-double.h>.
5494 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5495 <libm-alias-double.h>.
5496 (totalorder): Define using libm_alias_double.
5497 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5498 <libm-alias-double.h>.
5499 (totalordermag): Define using libm_alias_double.
5500 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
5501 libc compat symbol here.
5502 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
5503 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
5504 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
5505 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
5506 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
5507 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
5508 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
5509 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
5510 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
5511 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
5513 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
5515 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
5516 _dl_relocate_static_pie instead of _dl_start to compute load
5517 address in static PIE. Return 0 if _DYNAMIC is undefined for
5520 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
5522 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
5523 _DYNAMIC is undefined for static executable.
5525 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
5527 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
5529 2017-09-29 Joseph Myers <joseph@codesourcery.com>
5531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5533 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
5535 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5536 (__ieee754_lgamma_r): Use fabs rather than __fabs.
5537 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5538 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5539 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5540 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
5541 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5542 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5543 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
5544 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
5545 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5546 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
5548 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
5549 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5551 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
5553 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
5555 * math/bits/cmathcalls.h (cimag): Remove inline.
5556 (creal): Remove inline.
5557 (conj): Remove inline.
5559 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5561 * math/Makefile (type-float-routines): Add e_powf_log2_data.
5562 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
5563 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
5564 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
5565 (issignalingf_inline): Likewise.
5566 (POWF_LOG2_TABLE_BITS): Likewise.
5567 (POWF_LOG2_POLY_ORDER): Likewise.
5568 (POWF_SCALE_BITS): Likewise.
5569 (POWF_SCALE): Likewise.
5570 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
5571 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
5572 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
5574 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5576 * math/Makefile (type-float-routines): Add e_log2f_data.
5577 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
5578 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
5579 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
5580 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
5581 * sysdeps/i386/fpu/e_log2f_data.c: New file.
5582 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
5583 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
5585 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5587 * math/Makefile (type-float-routines): Add e_logf_data.
5588 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
5589 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
5590 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
5591 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
5592 * sysdeps/i386/fpu/e_logf_data.c: New file.
5593 * sysdeps/ia64/fpu/e_logf_data.c: New file.
5594 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
5596 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
5598 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
5599 undefined _DYNAMIC in PIE libc.a.
5600 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
5603 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
5605 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
5606 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
5607 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
5608 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
5609 (__signbit): Remove.
5610 (__signbitl): Remove.
5611 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
5612 (__signbit): Remove.
5613 (__signbitl): Remove.
5614 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
5615 (__signbit): Remove.
5616 (__signbitl): Remove.
5617 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
5618 (__signbit): Remove.
5619 (__signbitl): Remove.
5620 * sysdeps/tile/bits/mathinline.h: Delete file.
5621 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
5622 (__signbit): Remove.
5623 (__signbitl): Remove.
5625 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
5627 * math/math.h: Improve handling of C99 isgreater macros.
5628 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
5629 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
5630 * sysdeps/powerpc/bits/mathinline.h: Likewise.
5631 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5632 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5634 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
5636 * sysdeps/aarch64/libm-test-ulps: Update.
5638 2017-09-28 Joseph Myers <joseph@codesourcery.com>
5641 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5642 math_opt_barrier on argument when doing arithmetic on it.
5643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5644 Likewise. Use math_force_eval not math_opt_barrier after
5646 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
5647 math_opt_barrier on argument when doing arithmetic on it.
5648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5651 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
5653 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
5655 (__freeifaddrs): Likewise.
5657 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5659 * include/dirent.h (__dirfd): New declaration.
5660 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
5662 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
5663 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
5664 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
5665 * include/unistd.h (__revoke): New declaration.
5666 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
5668 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5669 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
5671 * include/dirent.h (__seekdir): New declaration.
5672 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
5673 redefine as weak alias.
5674 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
5676 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
5677 and use libc_hidden_def on them.
5678 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
5680 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
5681 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
5682 instead of getifaddrs and freeifaddrs.
5684 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
5687 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
5688 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
5689 (__dso_handle): Remove declaration.
5690 * dlfcn/tstatexit.c (__dso_handle): Removed.
5691 (main): Don't check __dso_handle.
5692 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
5693 (main): Don't check __dso_handle.
5694 * include/dso_handle.h: New file.
5695 * malloc/mtrace.c: Include <dso_handle.h>.
5696 (mtrace): Pass __dso_handle directly.
5697 * nptl/pthread_atfork.c: Include <dso_handle.h>.
5698 (__dso_handle): Remove declaration.
5699 (__pthread_atfork): Pass __dso_handle directly.
5700 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
5701 (__dso_handle): Removed.
5702 * posix/wordexp-test.c: Include <dso_handle.h>.
5703 (__dso_handle): Remove declaration.
5704 (__app_register_atfork): Pass __dso_handle directly.
5705 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
5706 (__dso_handle): Remove declaration.
5707 (at_quick_exit): Pass __dso_handle directly.
5708 * stdlib/atexit.c: Include <dso_handle.h>.
5709 (__dso_handle): Remove declaration.
5710 (atexit): Pass __dso_handle directly.
5711 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
5712 (__dso_handle): Removed.
5714 2017-09-26 Joseph Myers <joseph@codesourcery.com>
5716 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
5719 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
5721 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
5722 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
5723 values to correct default value for given type.
5725 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
5728 * elf/Makefile (tests): Add tst-debug1.
5729 ($(objpfx)tst-debug1): New.
5730 ($(objpfx)tst-debug1.out): Likewise.
5731 ($(objpfx)tst-debug1mod1.so): Likewise.
5732 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
5734 * elf/tst-debug1.c: New file.
5736 2017-09-26 Joseph Myers <joseph@codesourcery.com>
5738 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
5739 Define using __ifunc.
5741 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5743 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
5746 2017-09-26 Joseph Myers <joseph@codesourcery.com>
5749 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
5751 2017-09-26 Florian Weimer <fweimer@redhat.com>
5753 * resolv/Makefile (tests-internal): Fix typo in comment.
5755 2017-09-26 Florian Weimer <fweimer@redhat.com>
5757 * resolv/nss_dns/dns-host.c: Fix typo in comment.
5759 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5761 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
5762 Use an union instead of a max_align_t array for __space,
5763 so that __space is the same size on all platforms.
5764 * malloc/scratch_buffer_grow_preserve.c
5765 (__libc_scratch_buffer_grow_preserve): Likewise.
5768 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
5770 * posix/Makefile (routines): Add glob-lstat-compat and
5771 glob64-lstat-compat.
5772 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
5773 * posix/glob-lstat-compat.c: New file.
5774 * posix/glob64-lstat-compat.c: Likewise.
5775 * posix/tst-glob_lstat_compat.c: Likewise.
5776 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
5777 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
5778 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
5779 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
5781 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
5782 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
5783 * posix/glob.c (glob_lstat): New function.
5784 (glob): Rename to __glob and add versioned symbol to 2.27.
5785 (glob_in_dir): Use glob_lstat.
5786 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
5787 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5788 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
5790 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
5791 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
5792 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
5793 gl_lstat on glob call.
5794 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
5796 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5797 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5798 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5799 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5800 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5801 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5802 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5803 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5804 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5805 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5806 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5807 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5810 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5812 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5813 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5814 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5815 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5816 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5819 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5820 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5821 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5823 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
5825 * configure.ac (AS): Require binutils 2.25 or later.
5826 * configure: Regenerated.
5828 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5831 * stdlib/test-atexit-race-common.c (do_test): Minimize required
5834 2017-09-25 DJ Delorie <dj@redhat.com>
5837 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
5840 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5842 * sysdeps/ieee754/dbl-64/sincos32.h
5843 [SINCCOS32_H]: Remove define.
5844 [SINCOS32_H]: Define.
5846 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5848 * math/Versions (expf): New libm symbol at GLIBC_2.27.
5850 * math/w_exp2f.c: New file.
5851 * math/w_expf.c: New file.
5852 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
5853 * math/w_expf_compat.c (__expf_compat): Likewise.
5854 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
5855 * sysdeps/ia64/fpu/e_expf.S: Likewise.
5856 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5857 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5858 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5859 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5860 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5861 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5862 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5863 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5864 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5865 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5866 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5867 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5876 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5877 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5878 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5879 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5880 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5885 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5886 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5887 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5889 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5891 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
5892 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
5893 (roundtoint, converttoint): Likewise.
5894 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
5895 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
5896 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
5897 * sysdeps/ieee754/flt-32/math_config.h: New file.
5898 * sysdeps/ieee754/flt-32/math_errf.c: New file.
5899 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
5900 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
5901 * sysdeps/i386/fpu/math_errf.c: New file.
5902 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
5903 * sysdeps/ia64/fpu/math_errf.c: New file.
5904 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
5905 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
5907 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5909 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
5910 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
5911 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
5912 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
5913 to make sure that these symbols are defined.
5914 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
5916 (__need_NULL): Do not define.
5917 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
5919 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
5920 CMGROUP_MAX, cmsgcred): Do not define.
5921 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
5923 * bits/socket.h: Likewise.
5924 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
5925 __gettimeofday instead of gettimeofday.
5926 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
5927 instead of settimeofday.
5929 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5931 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
5932 (asinhf): Define using libm_alias_float.
5933 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
5934 (atanf): Define using libm_alias_float.
5935 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
5936 (cbrtf): Define using libm_alias_float.
5937 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
5938 (ceilf): Define using libm_alias_float.
5939 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
5940 <libm-alias-float.h>.
5941 (copysignf): Define using libm_alias_float.
5942 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
5943 (cosf): Define using libm_alias_float.
5944 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
5945 (erff): Define using libm_alias_float.
5947 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
5948 (expm1f): Define using libm_alias_float.
5949 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
5950 (fabsf): Define using libm_alias_float.
5951 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
5952 (floorf): Define using libm_alias_float.
5953 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
5954 (frexpf): Define using libm_alias_float.
5955 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
5957 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
5958 <libm-alias-float.h>.
5959 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
5961 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
5962 <libm-alias-float.h>.
5963 (getpayloadf): Define using libm_alias_float.
5964 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
5965 <libm-alias-float.h>.
5966 (llrintf): Define using libm_alias_float.
5967 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
5968 <libm-alias-float.h>.
5969 (llroundf): Define using libm_alias_float.
5970 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
5971 (logbf): Define using libm_alias_float.
5972 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
5973 (lrintf): Define using libm_alias_float.
5974 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
5975 (lroundf): Define using libm_alias_float.
5976 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
5977 (modff): Define using libm_alias_float.
5978 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
5979 <libm-alias-float.h>.
5980 (nearbyintf): Define using libm_alias_float.
5981 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
5982 <libm-alias-float.h>.
5983 (nextafterf): Define using libm_alias_float.
5984 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
5985 <libm-alias-float.h>.
5986 (nextupf): Define using libm_alias_float.
5987 * sysdeps/ieee754/flt-32/s_remquof.c: Include
5988 <libm-alias-float.h>.
5989 (remquof): Define using libm_alias_float.
5990 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
5991 (rintf): Define using libm_alias_float.
5992 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
5993 <libm-alias-float.h>.
5994 (roundevenf): Define using libm_alias_float.
5995 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
5996 (roundf): Define using libm_alias_float.
5997 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
5998 using libm_alias_float.
5999 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
6000 <libm-alias-float.h>.
6001 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
6002 Define using libm_alias_float.
6003 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
6004 <libm-alias-float.h>.
6005 (sincosf): Define using libm_alias_float.
6006 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
6007 (sinf): Define using libm_alias_float.
6008 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
6009 (tanf): Define using libm_alias_float.
6010 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
6011 (tanhf): Define using libm_alias_float.
6012 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6013 <libm-alias-float.h>.
6014 (totalorderf): Define using libm_alias_float.
6015 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6016 <libm-alias-float.h>.
6017 (totalordermagf): Define using libm_alias_float.
6018 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
6019 (truncf): Define using libm_alias_float.
6020 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
6022 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
6025 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6028 math/math.h: Let fpclassify use the builtin in C++ mode, even
6029 when optimazing for size.
6031 2017-09-22 Joseph Myers <joseph@codesourcery.com>
6033 * csu/Makefile (generated): Do not add version-info.h.
6034 (before-compile): Likewise.
6035 (all-Banner-files): Remove variable.
6036 ($(objpfx)version-info.h): Remove rule.
6037 * csu/version.c (banner): Do not include "version-info.h".
6038 * libidn/Banner: Remove.
6039 * manual/contrib.texi (Simon Josefsson): New entry.
6041 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6043 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6044 Remove conditionals on LDBL_MANT_DIG.
6045 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
6046 (__ieee754_lgammal_r): Likewise.
6048 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6050 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
6052 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
6053 _Float128 and L(). Replace _Float128 with long double and L(x)
6054 with xL, throughout the file.
6055 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
6060 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6062 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
6063 sysdeps/ieee754/ldbl-128ibm.
6064 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
6065 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
6066 of including it. Keep _Float128 and L() intact. These will be
6067 reviewed by a separate patch.
6068 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6070 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
6073 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
6076 (__finitef128): Define to __redirect___finitef128.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
6078 (__isinff128): Define to __redirect___isinff128.
6079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
6080 (__isnanf128): Define to __redirect___isnanf128.
6082 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6084 * sysdeps/powerpc/powerpc64le/Makefile
6085 (CFLAGS-tst-strtod-nan-locale.c): New variable.
6086 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
6088 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
6089 Carlos O'Donell <carlos@redhat.com>
6092 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
6093 * stdlib/test-dlclose-exit-race.c: New file.
6094 * stdlib/test-dlclose-exit-race-helper.c: New file.
6095 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
6097 2017-09-21 Joseph Myers <joseph@codesourcery.com>
6099 * crypt/Banner: Remove file.
6100 * nptl/Banner: Likewise.
6101 * resolv/Banner: Likewise.
6102 * soft-fp/Banner: Likewise.
6103 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
6104 ($(objpfx)version.d): Remove dependency on banner.h.
6105 ($(objpfx)version.os): Likewise.
6106 * nptl/version.c (banner): Do not include banner.h.
6107 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
6108 Jelinek and BIND code.
6110 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
6111 Carlos O'Donell <carlos@redhat.com>
6113 * support/xdlfcn.h: New file.
6114 * support/xdlfcn.c: New file.
6115 * support/Makefile (libsupport-routines): Add xdlfcn.
6116 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
6118 2017-09-20 Joseph Myers <joseph@codesourcery.com>
6121 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6122 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
6123 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
6124 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
6125 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6126 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
6127 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
6128 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6130 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
6131 Ricky Zhou <rickyz@google.com>
6132 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
6135 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
6137 (__new_exitfn): Fail registration when we finished at_exit processing.
6138 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6139 * stdlib/on_exit.c (__on_exit): Likewise.
6140 * stdlib/exit.c (__exit_funcs_done): New variable.
6141 (__run_exit_handlers): Use __exit_funcs_lock.
6142 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
6144 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
6145 (test-cxa_atexit-race, test-on_exit-race): New tests.
6146 * stdlib/test-atexit-race-common.c: New file.
6147 * stdlib/test-atexit-race.c: New file.
6148 * stdlib/test-at_quick_exit-race.c: New file.
6149 * stdlib/test-cxa_atexit-race.c: New file.
6150 * stdlib/test-on_exit-race.c: New file.
6152 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
6154 * benchtests/Makefile: Add exp2f and log2f benchmarks.
6155 * benchtests/exp2f-inputs: Copy of expf-inputs.
6156 * benchtests/log2f-inputs: Copy of logf-inputs.
6158 2017-09-19 Joseph Myers <joseph@codesourcery.com>
6160 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
6161 Explicitly take address of first element of array arguments in
6162 call to INLINE_SYSCALL.
6164 2017-09-19 Andreas Schwab <schwab@suse.de>
6167 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
6169 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
6171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
6172 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
6173 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6174 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
6175 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6176 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
6177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6178 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
6179 * posix/Makefile (tests): Add tst-fexecve.
6180 * posix/tst-fexecve.c: New file.
6182 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6184 * benchtests/Makefile: Add logf benchmark.
6185 * benchtests/logf-inputs: Add reduced trace from wrf_r.
6187 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6189 * benchtests/Makefile: Add expf benchmark.
6190 * benchtests/expf-inputs: Add reduced trace from wrf_r.
6192 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6194 * csu/Makefile: Add -funwind-tables to libc-start.c.
6195 * debug/Makefile: Add -funwind-tables to backtrace.c.
6196 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
6197 * sysdeps/arm/Makefile: Likewise.
6198 * sysdeps/i386/Makefile: Likewise.
6199 * sysdeps/m68k/Makefile: Likewise.
6200 * sysdeps/mips/Makefile: Likewise.
6201 * sysdeps/nios2/Makefile: Likewise.
6202 * sysdeps/sh/Makefile: Likewise.
6203 * sysdeps/sparc/Makefile: Likewise.
6205 2017-09-19 Joseph Myers <joseph@codesourcery.com>
6207 * benchtests/Makefile (bench-math): Add trunc and truncf.
6208 (CFLAGS-bench-trunc.c): New variable.
6209 (CFLAGS-bench-truncf.c): Likewise.
6210 * benchtests/trunc-inputs: New file.
6211 * benchtests/truncf-inputs: Likewise.
6213 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6215 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
6217 2017-09-18 Joseph Myers <joseph@codesourcery.com>
6219 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
6220 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
6222 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
6223 (exp10l): Define as weak alias.
6224 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
6225 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
6227 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
6228 (remainderl): Define as weak alias.
6230 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
6231 (fmal): Define using libm_alias_ldouble.
6232 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
6233 (acoshl): Define using libm_alias_ldouble.
6234 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
6235 (acosl): Define using libm_alias_ldouble.
6236 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
6237 (asinl): Define using libm_alias_ldouble.
6238 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
6239 (atan2l): Define using libm_alias_ldouble.
6240 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
6241 (atanhl): Define using libm_alias_ldouble.
6242 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
6243 (coshl): Define using libm_alias_ldouble.
6244 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
6245 (exp10l): Define using libm_alias_ldouble.
6246 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
6247 (exp2l): Define using libm_alias_ldouble.
6248 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
6249 (expl): Define using libm_alias_ldouble.
6250 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
6251 (fmodl): Define using libm_alias_ldouble.
6252 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
6253 (hypotl): Define using libm_alias_ldouble.
6254 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
6255 (j0l): Define using libm_alias_ldouble.
6257 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
6258 (j1l): Define using libm_alias_ldouble.
6260 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
6261 (jnl): Define using libm_alias_ldouble.
6263 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
6264 (log10l): Define using libm_alias_ldouble.
6265 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
6266 (log2l): Define using libm_alias_ldouble.
6267 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
6268 (logl): Define using libm_alias_ldouble.
6269 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
6270 (powl): Define using libm_alias_ldouble.
6271 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
6272 (remainderl): Define using libm_alias_ldouble.
6273 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
6274 (sinhl): Define using libm_alias_ldouble.
6275 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
6276 (sqrtl): Define using libm_alias_ldouble.
6277 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
6278 (tgammal): Define using libm_alias_ldouble.
6279 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
6280 (exp10l): Do not use long_double_symbol here.
6281 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
6282 [LIBM_SVID_COMPAT] (remainderl): Likewise.
6283 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
6284 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6285 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6286 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6287 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6288 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6289 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6290 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
6291 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6292 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6293 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6294 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6295 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6296 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6297 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6298 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6299 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6300 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6301 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6302 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6304 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
6306 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
6307 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
6309 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
6311 * io/read.c (read): Add libc_hidden_weak.
6312 * sysdeps/mach/hurd/read.c (read): Likewise.
6313 * io/write.c (write): Likewise.
6314 * sysdeps/mach/hurd/write.c (write): Likewise.
6315 * io/pread64.c (__pread64): Likewise.
6316 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
6317 * posix/pread64.c (__pread64): Add libc_hidden_def.
6319 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6321 * benchtests/scripts/compare_strings.py: New option -g.
6322 (draw_graph): Print a message that a graph is being generated.
6323 (process_results): Generate graph only if -g is passed.
6324 (main): Process option -g.
6326 * benchtests/scripts/compare_strings.py (process_results):
6327 Better spacing for output.
6329 * benchtests/scripts/compare_strings.py: Use argparse.
6330 * benchtests/README: Document existence of compare_strings.py.
6332 2017-09-15 Joseph Myers <joseph@codesourcery.com>
6334 * math/s_fma.c: Include <libm-alias-double.h>.
6335 (fma): Define using libm_alias_double.
6336 * math/s_nextafter.c: Include <libm-alias-double.h>.
6337 (nextafter): Define using libm_alias_double.
6338 * math/w_acos_compat.c: Include <libm-alias-double.h>.
6339 (acos): Define using libm_alias_double.
6340 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
6341 (aocsh): Define using libm_alias_double.
6342 * math/w_asin_compat.c: Include <libm-alias-double.h>.
6343 (asin): Define using libm_alias_double.
6344 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
6345 (atan2): Define using libm_alias_double.
6346 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
6347 (atanh): Define using libm_alias_double.
6348 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
6349 (cosh): Define using libm_alias_double.
6350 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
6351 (exp10): Define using libm_alias_double.
6352 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
6353 (exp2): Define using libm_alias_double.
6354 * math/w_exp_compat.c: Include <libm-alias-double.h>.
6355 (exp): Define using libm_alias_double.
6356 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
6357 (fmod): Define using libm_alias_double.
6358 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
6359 (hypot): Define using libm_alias_double.
6360 * math/w_j0_compat.c: Include <libm-alias-double.h>.
6361 (j0): Define using libm_alias_double.
6363 * math/w_j1_compat.c: Include <libm-alias-double.h>.
6364 (j1): Define using libm_alias_double.
6366 * math/w_jn_compat.c: Include <libm-alias-double.h>.
6367 (jn): Define using libm_alias_double.
6369 * math/w_log10_compat.c: Include <libm-alias-double.h>.
6370 (log10): Define using libm_alias_double.
6371 * math/w_log2_compat.c: Include <libm-alias-double.h>.
6372 (log2): Define using libm_alias_double.
6373 * math/w_log_compat.c: Include <libm-alias-double.h>.
6374 (log): Define using libm_alias_double.
6375 * math/w_pow_compat.c: Include <libm-alias-double.h>.
6376 (pow): Define using libm_alias_double.
6377 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
6378 (remainder): Define using libm_alias_double.
6379 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
6380 (sinh): Define using libm_alias_double.
6381 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
6382 (sqrt): Define using libm_alias_double.
6383 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
6384 (tgamma): Define using libm_alias_double.
6385 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
6386 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
6387 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
6388 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
6389 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
6390 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
6391 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
6392 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
6393 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
6394 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
6395 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
6396 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
6397 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6398 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
6399 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
6400 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
6401 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
6402 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
6403 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
6404 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
6405 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
6406 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
6407 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
6408 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
6409 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
6411 * math/e_acoshl.c: Remove.
6412 * math/e_acosl.c: Likewise.
6413 * math/e_asinl.c: Likewise.
6414 * math/e_atan2l.c: Likewise.
6415 * math/e_atanhl.c: Likewise.
6416 * math/e_coshl.c: Likewise.
6417 * math/e_expl.c: Likewise.
6418 * math/e_fmodl.c: Likewise.
6419 * math/e_gammal_r.c: Likewise.
6420 * math/e_hypotl.c: Likewise.
6421 * math/e_j0l.c: Likewise.
6422 * math/e_j1l.c: Likewise.
6423 * math/e_jnl.c: Likewise.
6424 * math/e_lgammal_r.c: Likewise.
6425 * math/e_log10l.c: Likewise.
6426 * math/e_log2l.c: Likewise.
6427 * math/e_logl.c: Likewise.
6428 * math/e_powl.c: Likewise.
6429 * math/e_rem_pio2l.c: Likewise.
6430 * math/e_sinhl.c: Likewise.
6431 * math/e_sqrtf128.c: Likewise.
6432 * math/e_sqrtl.c: Likewise.
6433 * math/k_cosl.c: Likewise.
6434 * math/k_sinl.c: Likewise.
6435 * math/k_tanl.c: Likewise.
6436 * math/s_asinhl.c: Likewise.
6437 * math/s_atanl.c: Likewise.
6438 * math/s_cbrtl.c: Likewise.
6439 * math/s_erfl.c: Likewise.
6440 * math/s_expm1l.c: Likewise.
6441 * math/s_log1pl.c: Likewise.
6442 * math/s_tanhl.c: Likewise.
6444 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
6448 [$(subdir) = math] (sysdep_calls): New variable. Has the
6449 previous contents of sysdep_routines, but re-sorted..
6450 [$(subdir) = math] (sysdep_routines): Re-use the contents from
6452 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
6453 defined in sysdep_calls and replace by the respective m_* names.
6454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
6455 (compat_symbol): Undefine to avoid duplicated compat symbols in
6458 2017-09-15 Joseph Myers <joseph@codesourcery.com>
6460 * math/s_fmaf.c: Include <libm-alias-float.h>.
6461 (fmaf): Define using libm_alias_float.
6462 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
6463 (acosf): Define using libm_alias_float.
6464 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
6465 (acoshf): Define using libm_alias_float.
6466 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
6467 (asinf): Define using libm_alias_float.
6468 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
6469 (atan2f): Define using libm_alias_float.
6470 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
6471 (atanhf): Define using libm_alias_float.
6472 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
6473 (coshf): Define using libm_alias_float.
6474 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
6475 (exp10f): Define using libm_alias_float.
6476 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
6477 (fmodf): Define using libm_alias_float.
6478 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
6479 (hypotf): Define using libm_alias_float.
6480 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
6481 (j0f): Define using libm_alias_float.
6483 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
6484 (j1f): Define using libm_alias_float.
6486 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
6487 (jnf): Define using libm_alias_float.
6489 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
6490 (log10f): Define using libm_alias_float.
6491 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
6492 (log2f): Define using libm_alias_float.
6493 * math/w_logf_compat.c: Include <libm-alias-float.h>.
6494 (logf): Define using libm_alias_float.
6495 * math/w_powf_compat.c: Include <libm-alias-float.h>.
6496 (powf): Define using libm_alias_float.
6497 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
6498 (remainderf): Define using libm_alias_float.
6499 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
6500 (sinhf): Define using libm_alias_float.
6501 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
6502 (sqrtf): Define using libm_alias_float.
6503 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
6504 (tgammaf): Define using libm_alias_float.
6506 2017-09-14 Joseph Myers <joseph@codesourcery.com>
6508 * include/math.h (roundeven): Change hidden_proto call to
6510 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
6512 [NO_LONG_DOUBLE] (__j0l): New strong alias.
6513 (y0): Rename to __y0 and define as weak alias.
6514 [NO_LONG_DOUBLE] (__y0l): New strong alias.
6515 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
6517 (y0f): Rename to __y0f and define as weak alias.
6518 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
6520 [NO_LONG_DOUBLE] (__j1l): New strong alias.
6521 (y1): Rename to __y1 and define as weak alias.
6522 [NO_LONG_DOUBLE] (__y1l): New strong alias.
6523 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
6525 (y1f): Rename to __y1f and define as weak alias.
6526 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
6528 [NO_LONG_DOUBLE] (__jnl): New strong alias.
6529 (yn): Rename to __yn and define as weak alias.
6530 [NO_LONG_DOUBLE] (__ynl): New strong alias.
6531 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
6533 (ynf): Rename to __ynf and define as weak alias.
6534 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
6535 (fromfp): Define as weak alias.
6536 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
6537 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
6538 (fromfpx): Define as weak alias.
6539 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
6540 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
6541 __getpayload and define as weak alias.
6542 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
6543 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
6544 __roundeven and define as weak alias.
6545 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
6546 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
6548 (setpayload): Define as weak alias.
6549 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
6550 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
6552 (setpayloadsig): Define as weak alias.
6553 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
6554 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
6555 __totalorder and define as weak alias.
6556 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
6557 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
6558 to __totalordermag and define as weak alias.
6559 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
6560 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
6561 (ufromfp): Define as weak alias.
6562 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
6563 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
6565 (ufromfpx): Define as weak alias.
6566 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
6567 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
6568 Rename to __getpayload and define as weak alias.
6569 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
6570 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
6571 Rename to __roundeven and define as weak alias.
6572 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
6573 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
6574 Rename to __totalorder and define as weak alias.
6575 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
6576 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
6577 (totalordermag): Rename to __totalordermag and define as weak
6579 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
6580 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
6582 (__roundevenl): Likewise.
6583 (__totalorderl): Likewise.
6584 (__totalordermagl): Likewise
6585 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
6587 (fromfpf128): Define as weak alias.
6588 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
6590 (fromfpxf128): Define as weak alias.
6591 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
6593 (setpayloadf128): Define as weak alias.
6594 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
6595 __setpayloadsigf128.
6596 (setpayloadsigf128): Define as weak alias.
6597 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
6599 (ufromfpf128): Define as weak alias.
6600 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
6602 (ufromfpxf128): Define as weak alias.
6603 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
6604 (fromfpf): Define as weak alias.
6605 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
6607 (fromfpxf): Define as weak alias.
6608 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
6609 __getpayloadf and define as weak alias.
6610 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
6611 __roundevenf and define as weak alias.
6612 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
6614 (setpayloadf): Define as weak alias.
6615 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
6617 (setpayloadsigf): Define as weak alias.
6618 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
6619 __totalorderf and define as weak alias.
6620 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
6621 Rename to __totalordermagf and define as weak alias.
6622 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
6624 (ufromfpf): Define as weak alias.
6625 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
6627 (ufromfpxf): Define as weak alias.
6628 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
6630 (fromfpl): Define as weak alias.
6631 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
6633 (fromfpxl): Define as weak alias.
6634 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
6635 to __getpayloadl and define as weak alias.
6636 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
6637 __roundevenl and define as weak alias.
6638 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
6640 (setpayloadl): Define as weak alias.
6641 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
6643 (setpayloadsigl): Define as weak alias.
6644 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
6645 to __totalorderl and define as weak alias.
6646 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
6647 Rename to __totalordermagl and define as weak alias.
6648 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
6650 (ufromfpl): Define as weak alias.
6651 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
6653 (ufromfpxl): Define as weak alias.
6654 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
6656 (fromfpl): Define as weak alias.
6657 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
6659 (fromfpxl): Define as weak alias.
6660 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
6661 Rename to __getpayloadl and define as weak alias.
6662 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
6663 to __roundevenl and define as weak alias. Call __roundeven
6664 instead of roundeven.
6665 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
6667 (setpayloadl): Define as weak alias.
6668 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
6670 (setpayloadsigl): Define as weak alias.
6671 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
6672 Rename to __totalorderl and define as weak alias.
6673 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
6674 Rename to __totalordermagl and define as weak alias.
6675 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
6677 (ufromfpl): Define as weak alias.
6678 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
6680 (ufromfpxl): Define as weak alias.
6681 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
6683 (fromfpl): Define as weak alias.
6684 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
6686 (fromfpxl): Define as weak alias.
6687 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
6688 __getpayloadl and define as weak alias.
6689 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
6690 __roundevenl and define as weak alias.
6691 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
6693 (setpayloadl): Define as weak alias.
6694 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
6696 (setpayloadsigl): Define as weak alias.
6697 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
6698 __totalorderl and define as weak alias.
6699 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
6700 Rename to __totalordermagl and define as weak alias.
6701 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
6703 (ufromfpl): Define as weak alias.
6704 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
6706 (ufromfpxl): Define as weak alias.
6708 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6710 * benchtests/bench-string.h (realloc_bufs): New function.
6711 (test_init): Call it.
6712 * benchtests/bench-memset-large.c (do_test): Likewise.
6713 * benchtests/bench-memset.c (do_test): Likewise.
6715 * benchtests/bench-memset-large.c: Print output in JSON
6717 * benchtests/bench-memset.c: Likewise.
6719 2017-09-14 Mike FABIAN <mfabian@redhat.com>
6722 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
6723 * iconvdata/Makefile: Add IBM858.
6724 * iconvdata/gconv-modules: Likewise.
6725 * iconvdata/tst-tables.sh: Likewise.
6726 * iconvdata/ibm858.c: New file.
6727 * localedata/charmaps/IBM858: Likewise.
6729 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
6732 * locales/niu_NZ (LC_TIME): copy "niu_NU".
6733 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
6735 2017-09-14 Mike FABIAN <mfabian@redhat.com>
6738 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
6739 and add tel_int_fmt.
6741 2017-09-14 Joseph Myers <joseph@codesourcery.com>
6743 * sysdeps/generic/libm-alias-float128.h: New file.
6744 * sysdeps/generic/math-type-macros-float128.h: Include
6745 <libm-alias-float128.h>.
6746 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6748 2017-09-13 Joseph Myers <joseph@codesourcery.com>
6750 * sysdeps/generic/libm-alias-ldouble.h: New file.
6751 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
6752 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
6753 * sysdeps/generic/math-type-macros-ldouble.h: Include
6754 <libm-alias-ldouble.h>.
6755 [!declare_mgen_alias] (declare_mgen_alias): Define to use
6758 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6760 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
6761 * math/w_exp_compat.c: ... here.
6762 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
6763 * math/w_expf_compat.c: ... here.
6764 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
6765 * math/w_expl_compat.c: ... here.
6766 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
6767 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
6768 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
6769 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
6771 2017-09-13 Joseph Myers <joseph@codesourcery.com>
6773 * math/w_scalbln_template.c (strong_alias): Do not undefine and
6775 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
6777 (ldexpl): Only define as compat symbol for libc, not libm.
6778 (scalbnl): Define as compat symbol for libc here.
6779 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
6780 define for [IS_IN (libc)].
6781 (__ldexpl_2): Remove alias.
6782 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
6783 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
6784 name in long_double_symbol call.
6785 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
6786 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6787 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6788 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
6789 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
6791 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
6792 Define as compat symbol.
6794 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6796 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
6797 * sysdeps/unix/sysv/linux/alpha/Makefile
6798 [$(subdir) = csu] (sysdep_routines): Remove rule.
6800 2017-09-13 Joseph Myers <joseph@codesourcery.com>
6802 * sysdeps/generic/libm-alias-double.h: New file.
6803 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
6804 * sysdeps/generic/math-type-macros-double.h: Include
6805 <libm-alias-double.h>.
6806 [declare_mgen_alias] (declare_mgen_alias): Define to use
6808 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
6809 (M_LIBM_NEED_COMPAT): Remove macro.
6810 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
6811 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
6812 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
6814 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6815 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6816 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6817 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6818 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6819 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6820 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6821 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6822 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6823 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6824 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6825 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6826 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6827 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6828 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6829 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6830 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6831 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6832 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6833 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6834 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6835 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6836 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6837 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6838 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6839 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6840 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6841 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
6842 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
6844 (declare_mgen_alias): New macro.
6845 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
6846 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
6847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
6848 (M_LIBM_NEED_COMPAT): Remove macro.
6849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
6850 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
6852 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
6853 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
6855 2017-09-12 Joseph Myers <joseph@codesourcery.com>
6857 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
6858 (declare_mgen_alias_2): Remove.
6859 * sysdeps/generic/math-type-macros-double.h
6860 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
6862 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
6864 (ldexp): Define with declare_mgen_alias.
6867 2017-09-12 Steve Ellcey <sellcey@cavium.com>
6869 * grp/initgroups.c: Include config.h.
6870 (DEFAULT_CONFIG): New macro.
6871 (internal_getgrouplist): Use DEFAULT_CONFIG.
6872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6873 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
6874 (DEFAULT_DEFCONFIG): New macro.
6875 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
6876 * nss/grp-lookup.c: Include config.h
6877 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
6878 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
6879 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
6880 * manual/nss.texi: Update default values section.
6882 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
6885 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
6887 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
6888 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6889 Handle MathVec_Prefer_No_AVX512.
6890 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
6891 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
6894 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
6896 * posix/sched_primax.c (__sched_get_priority_max): Add
6898 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
6899 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6900 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6901 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
6902 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
6903 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
6904 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
6905 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
6908 2017-09-11 Joseph Myers <joseph@codesourcery.com>
6910 * sysdeps/generic/libm-alias-float.h: New file.
6911 * sysdeps/generic/math-type-macros-float.h: Include
6912 <libm-alias-float.h>.
6913 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6915 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
6918 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
6919 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
6920 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
6921 (HWCAP_IMPORTANT): Likewise.
6922 (HWCAP_X86_64): New enum.
6923 (HWCAP_X86_AVX512_1): Updated.
6924 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
6925 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
6926 (modules-names): Add x86_64/tst-x86_64mod-1.
6927 (LDFLAGS-tst-x86_64mod-1.so): New.
6928 ($(objpfx)tst-x86_64-1): Likewise.
6929 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
6930 (tst-x86_64-1-clean): Likewise.
6931 * sysdeps/x86_64/tst-x86_64-1.c: New file.
6932 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
6934 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6936 * po/sv.po: Update translations.
6937 * po/fr.po: Likewise.
6939 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6941 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
6943 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
6945 * elf/rtld-Rules: Fix $(error) use.
6947 2017-09-09 Mike FABIAN <mfabian@redhat.com>
6950 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
6951 * locale/iso-639.def: Change “Bengali” to “Bangla”.
6952 * localedata/locales/bn_BD: “Bengali” was still used in some
6953 comments. Change it to “Bangla”.
6955 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
6957 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
6959 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6961 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
6962 thunderx2t99p1 to list of cpu names.
6963 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6964 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
6966 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6968 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
6969 Use strcmp instead of tunable_is_name.
6971 2017-09-08 Joseph Myers <joseph@codesourcery.com>
6973 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6974 (F_GET_RW_HINT): New macro.
6975 [__USE_GNU] (F_SET_RW_HINT): Likewise.
6976 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
6977 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
6978 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
6979 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
6980 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
6981 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
6982 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
6983 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
6985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6986 (F_ADD_SEALS): New macro.
6987 [__USE_GNU] (F_GET_SEALS): Likewise.
6988 [__USE_GNU] (F_SEAL_SEAL): Likewise.
6989 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
6990 [__USE_GNU] (F_SEAL_GROW): Likewise.
6991 [__USE_GNU] (F_SEAL_WRITE): Likewise.
6993 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6995 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
6996 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
6997 * posix/glob_internal.h (__glob_pattern_type):
6998 * posix/glob.c (glob):
6999 * posix/glob_pattern_p.c (__glob_pattern_p):
7002 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
7003 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7004 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
7005 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
7006 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
7008 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
7009 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
7010 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
7011 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7012 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
7013 * sysdeps/wordsize-64/glob.c: Likewise.
7014 * sysdeps/wordsize-64/glob64.c: Likewise.
7015 * sysdeps/wordsize-64/globfree.c: Likewise.
7016 * sysdeps/wordsize-64/globfree64.c: Likewise.
7017 * sysdeps/unix/sysv/linux/glob.c: New file.
7018 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
7019 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
7020 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
7021 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
7022 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
7023 adds !GLOB_NO_OLD_VERSION as an extra condition.
7024 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
7025 using relative path instead of absolute one.
7026 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
7027 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7028 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7029 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
7030 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
7031 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
7034 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
7035 (glob): Use the same scratch buffer for both getlogin_r and
7036 getpwnam_r. Don’t require preallocation of the login name. This
7037 simplifies storage allocation, and corrects the handling of
7041 * posix/glob.c (glob): Port recent patches to platforms
7043 (glob): Fix longstanding misuse of errno after getpwnam_r, which
7044 returns an error number rather than setting errno.
7046 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
7047 instead of GCC extension.
7048 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
7049 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
7050 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
7054 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
7055 * posix/bug-glob1.c: Remove file.
7056 * posix/tst-glob_symlinks.c: New file.
7057 * posix/glob.c (__lstat64): New macro.
7058 (is_dir): New function.
7059 (glob, glob_in_dir): Match symlinks even if they are dangling.
7060 (link_stat, link_exists_p): Remove. All uses removed.
7064 * posix/glob.c (struct readdir_result): Remove skip_entry member.
7065 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
7070 * posix/Makefile (routines): Add globfree, globfree64, and
7072 * posix/flexmember.h: New file.
7073 * posix/glob_internal.h: Likewise.
7074 * posix/glob_pattern_p.c: Likewise.
7075 * posix/globfree.c: Likewise.
7076 * posix/globfree64.c: Likewise.
7077 * sysdeps/gnu/globfree64.c: Likewise.
7078 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
7079 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
7080 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
7081 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
7082 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
7083 * sysdeps/wordsize-64/globfree.c: Likewise.
7084 * sysdeps/wordsize-64/globfree64.c: Likewise.
7085 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
7086 [NDEBUG): Remove comments.
7087 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
7088 (dirent_type): New type. Use uint_fast8_t not
7089 uint8_t, as C99 does not require uint8_t.
7090 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
7091 (struct readdir_result): Use dirent_type. Do not define skip_entry
7092 unless it is needed; this saves a byte on platforms lacking d_ino.
7093 (readdir_result_type, readdir_result_skip_entry):
7094 New functions, replacing ...
7095 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
7096 these functions, which were removed. This makes the callers
7097 easier to read. All callers changed.
7098 (D_INO_TO_RESULT): Now empty if there is no d_ino.
7099 (size_add_wrapv, glob_use_alloca): New static functions.
7100 (glob, glob_in_dir): Check for size_t overflow in several places,
7101 and fix some size_t checks that were not quite right.
7102 Remove old code using SHELL since Bash no longer
7104 (glob, prefix_array): Separate MS code better.
7105 (glob_in_dir): Remove old Amiga and VMS code.
7106 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
7108 (glob_in_dir): Do not rely on undefined behavior in accessing
7109 struct members beyond their bounds. Use a flexible array member
7111 (link_stat): Rename from link_exists2_p and return -1/0 instead of
7112 0/1. Caller changed.
7113 (glob): Fix memory leaks.
7114 * posix/glob64 (globfree64): Move to separate file.
7115 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
7116 (globfree64): Remove hidden alias.
7117 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
7119 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
7121 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
7123 Move compat code to separate file.
7124 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
7127 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
7129 * resolv/tst-resolv-qtypes.c (domain): Changed to
7130 "const char domain[] =".
7132 2017-09-07 Joseph Myers <joseph@codesourcery.com>
7134 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7137 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
7138 (TCP_MD5SIG_EXT): Likewise.
7139 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
7140 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
7141 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
7143 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
7145 2017-09-07 Mike FABIAN <mfabian@redhat.com>
7147 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
7149 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
7152 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
7154 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7156 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
7157 before assuming that the file is empty. Avoid testing buffer content
7160 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7163 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
7165 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
7167 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
7169 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
7171 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
7173 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
7175 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
7178 2017-09-06 Florian Weimer <fweimer@redhat.com>
7180 * malloc/dynarray_emplace_enlarge.c
7181 (__libc_dynarray_emplace_enlarge): Add missing else.
7183 2017-09-06 Florian Weimer <fweimer@redhat.com>
7186 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
7187 case of failure to obtain the global conf object.
7189 2017-09-06 Florian Weimer <fweimer@redhat.com>
7192 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
7193 dynarray allocation failure.
7195 2017-09-06 Florian Weimer <fweimer@redhat.com>
7197 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
7198 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
7199 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
7201 (response): Call them. Add 'p', '6' flag processing.
7202 (test_reverse): New function.
7203 (test_get2_any): Call it.
7204 (test_no_inet6): Add 'p' test.
7205 (test_inet6): Likewise.
7207 2017-09-06 Florian Weimer <fweimer@redhat.com>
7209 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
7210 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
7212 (test_gai): Adjust query names. Add additional tests.
7213 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
7214 test_get2. Adjust query names. Add additional tests.
7215 (test_no_inet6): New function, extracted from threadfunc.
7216 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
7217 Add additional tests.
7219 2017-09-06 Mike FABIAN <mfabian@redhat.com>
7222 * localedata/unicode-gen/utf8_gen.py: Set the width for
7223 characters with Prepended_Concatenation_Mark property to 1
7224 * localedata/charmaps/UTF-8: Updated using the improved script.
7226 2017-09-06 Mike FABIAN <mfabian@redhat.com>
7229 * localedata/unicode-gen/utf8_gen.py: Improve the script to
7230 use the range notation for all ranges of neighbouring characters
7231 with the same width.
7233 2017-09-05 Joseph Myers <joseph@codesourcery.com>
7235 * sysdeps/generic/math-type-macros-double.h: Include
7236 <math-svid-compat.h>.
7237 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
7238 * sysdeps/generic/math-type-macros-float.h: Include
7239 <math-svid-compat.h>.
7240 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
7241 * sysdeps/generic/math-type-macros-ldouble.h: Include
7242 <math-svid-compat.h>.
7243 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
7244 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
7246 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
7247 * math/w_acosf_compat.c: Likewise.
7248 * math/w_acosh_compat.c: Likewise.
7249 * math/w_acoshf_compat.c: Likewise.
7250 * math/w_acoshl_compat.c: Likewise.
7251 * math/w_acosl_compat.c: Likewise.
7252 * math/w_asin_compat.c: Likewise.
7253 * math/w_asinf_compat.c: Likewise.
7254 * math/w_asinl_compat.c: Likewise.
7255 * math/w_atan2_compat.c: Likewise.
7256 * math/w_atan2f_compat.c: Likewise.
7257 * math/w_atan2l_compat.c: Likewise.
7258 * math/w_atanh_compat.c: Likewise.
7259 * math/w_atanhf_compat.c: Likewise.
7260 * math/w_atanhl_compat.c: Likewise.
7261 * math/w_cosh_compat.c: Likewise.
7262 * math/w_coshf_compat.c: Likewise.
7263 * math/w_coshl_compat.c: Likewise.
7264 * math/w_exp10_compat.c: Likewise.
7265 * math/w_exp10f_compat.c: Likewise.
7266 * math/w_exp10l_compat.c: Likewise.
7267 * math/w_exp2_compat.c: Likewise.
7268 * math/w_exp2f_compat.c: Likewise.
7269 * math/w_exp2l_compat.c: Likewise.
7270 * math/w_fmod_compat.c: Likewise.
7271 * math/w_fmodf_compat.c: Likewise.
7272 * math/w_fmodl_compat.c: Likewise.
7273 * math/w_hypot_compat.c: Likewise.
7274 * math/w_hypotf_compat.c: Likewise.
7275 * math/w_hypotl_compat.c: Likewise.
7276 * math/w_j0_compat.c: Likewise.
7277 * math/w_j0f_compat.c: Likewise.
7278 * math/w_j0l_compat.c: Likewise.
7279 * math/w_j1_compat.c: Likewise.
7280 * math/w_j1f_compat.c: Likewise.
7281 * math/w_j1l_compat.c: Likewise.
7282 * math/w_jn_compat.c: Likewise.
7283 * math/w_jnf_compat.c: Likewise.
7284 * math/w_jnl_compat.c: Likewise.
7285 * math/w_lgamma_r_compat.c: Likewise.
7286 * math/w_lgammaf_r_compat.c: Likewise.
7287 * math/w_lgammal_r_compat.c: Likewise.
7288 * math/w_log10_compat.c: Likewise.
7289 * math/w_log10f_compat.c: Likewise.
7290 * math/w_log10l_compat.c: Likewise.
7291 * math/w_log2_compat.c: Likewise.
7292 * math/w_log2f_compat.c: Likewise.
7293 * math/w_log2l_compat.c: Likewise.
7294 * math/w_log_compat.c: Likewise.
7295 * math/w_logf_compat.c: Likewise.
7296 * math/w_logl_compat.c: Likewise.
7297 * math/w_pow_compat.c: Likewise.
7298 * math/w_powf_compat.c: Likewise.
7299 * math/w_powl_compat.c: Likewise.
7300 * math/w_remainder_compat.c: Likewise.
7301 * math/w_remainderf_compat.c: Likewise.
7302 * math/w_remainderl_compat.c: Likewise.
7303 * math/w_sinh_compat.c: Likewise.
7304 * math/w_sinhf_compat.c: Likewise.
7305 * math/w_sinhl_compat.c: Likewise.
7306 * math/w_sqrt_compat.c: Likewise.
7307 * math/w_sqrtf_compat.c: Likewise.
7308 * math/w_sqrtl_compat.c: Likewise.
7309 * math/w_tgamma_compat.c: Likewise.
7310 * math/w_tgammaf_compat.c: Likewise.
7311 * math/w_tgammal_compat.c: Likewise.
7312 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
7314 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
7315 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
7317 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
7318 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
7320 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
7321 * sysdeps/i386/fpu/w_sqrt.c: New file.
7322 * sysdeps/ia64/fpu/w_acos.c: Likewise.
7323 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7324 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7325 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7326 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7327 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7328 * sysdeps/ia64/fpu/w_asin.c: Likewise.
7329 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7330 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7331 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7332 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7333 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7334 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7335 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7336 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7337 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7338 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7339 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7340 * sysdeps/ia64/fpu/w_exp.c: Likewise.
7341 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7342 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7343 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7344 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7345 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7346 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7347 * sysdeps/ia64/fpu/w_expf.c: Likewise.
7348 * sysdeps/ia64/fpu/w_expl.c: Likewise.
7349 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7350 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7351 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7352 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7353 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7354 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7355 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7356 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7357 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7358 * sysdeps/ia64/fpu/w_log.c: Likewise.
7359 * sysdeps/ia64/fpu/w_log10.c: Likewise.
7360 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7361 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7362 * sysdeps/ia64/fpu/w_log2.c: Likewise.
7363 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7364 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7365 * sysdeps/ia64/fpu/w_logf.c: Likewise.
7366 * sysdeps/ia64/fpu/w_logl.c: Likewise.
7367 * sysdeps/ia64/fpu/w_pow.c: Likewise.
7368 * sysdeps/ia64/fpu/w_powf.c: Likewise.
7369 * sysdeps/ia64/fpu/w_powl.c: Likewise.
7370 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7371 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7372 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7373 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7374 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7375 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7376 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7377 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7378 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7379 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
7380 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
7381 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
7384 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7385 * sysdeps/ieee754/k_standard.c: Likewise.
7386 * sysdeps/ieee754/k_standardf.c: Likewise.
7387 * sysdeps/ieee754/k_standardl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7390 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7391 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
7392 long_double_symbol call on [LIBM_SVID_COMPAT].
7393 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7394 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7395 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7396 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7397 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7398 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7399 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7400 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7401 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7402 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7403 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7404 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7405 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7406 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7407 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7408 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7409 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7410 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7411 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7412 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7413 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
7414 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
7416 2017-09-05 Steve Ellcey <sellcey@cavium.com>
7418 * include/shlib-compat.h (TEST_COMPAT): New Macro.
7419 * malloc/tst-mallocstate.c: Convert from test-skeleton
7420 to test-driver. Ifdef code using TEST_COMPAT macro.
7421 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
7422 * math/test-matherr.c: Likewise.
7424 2017-09-05 Joseph Myers <joseph@codesourcery.com>
7427 * debug/pcprofiledump.c (main): Use byte-swapped mask when
7428 comparing word with byte-swapped constant.
7430 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
7433 * locale/iso-639.def: add Miskito.
7434 * localedata/SUPPORTED: Add miq_NI/UTF-8.
7435 * localedata/locales/miq_NI: New file.
7437 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
7440 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
7441 (__mkdir): Likewise.
7442 * io/chmod.c (__chmod): Add libc_hidden_def.
7443 * io/mkdir.c (__mkdir): Likewise.
7444 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7445 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7446 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
7447 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
7449 2017-09-04 Joseph Myers <joseph@codesourcery.com>
7451 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7455 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
7456 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7458 2017-09-04 Florian Weimer <fweimer@redhat.com>
7460 * math/math.h: Issue warning if log is defined.
7462 2017-09-04 Joseph Myers <joseph@codesourcery.com>
7464 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7465 kernel version to 4.13.
7467 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7469 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
7470 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
7472 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
7473 just <bits/types.h>.
7474 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
7475 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
7476 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
7477 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
7478 * misc/preadv2.c: Include <errno.h>.
7479 * misc/preadv64v2.c: Include <errno.h>.
7480 * misc/pwritev2.c: Include <errno.h>.
7481 * misc/pwritev64v2.c: Include <errno.h>.
7482 * sysdeps/posix/preadv2.c: Include <errno.h>.
7483 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
7484 Fix <unistd.h> inclusion.
7485 * sysdeps/posix/pwritev2.c: Include <errno.h>.
7486 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
7487 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
7488 __strtoul_internal): New functions.
7489 * sysdeps/posix/pause.c: Include <sigsetops.h>.
7490 * sysdeps/posix/system.c: Include <sigsetops.h>.
7491 * sysdeps/mach/hurd/i386/Makefile
7492 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
7493 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7494 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7495 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
7496 __feraiseexcept_renamed to feraiseexcept instead of
7498 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
7499 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
7500 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
7501 RWF_NOWAIT): Define to 0 if undefined already.
7502 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
7504 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
7505 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
7507 2017-09-01 Joseph Myers <joseph@codesourcery.com>
7509 * manual/math.texi (pow10): Do not document.
7512 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
7513 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
7514 * math/libm-test-exp10.inc (pow10_test): Remove.
7515 (do_test): Do not call pow10.
7516 * math/w_exp10_compat.c (pow10): Make into compat symbol.
7517 [NO_LONG_DOUBLE] (pow10l): Likewise.
7518 * math/w_exp10f_compat.c (pow10f): Likewise.
7519 * math/w_exp10l_compat.c (pow10l): Likewise.
7520 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
7521 (pow10): Make into compat symbol.
7522 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
7523 (pow10f): Make into compat symbol.
7524 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
7525 (pow10l): Make into compat symbol.
7526 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
7528 (CFLAGS-nldbl-pow10.c): Remove variable..
7529 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
7530 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
7531 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
7532 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
7533 Undefine and redefine.
7534 (pow10l): Make into compat symbol.
7535 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
7536 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7537 * sysdeps/arm/libm-test-ulps: Likewise.
7538 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
7539 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7540 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7541 * sysdeps/microblaze/libm-test-ulps: Likewise.
7542 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7543 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7544 * sysdeps/nios2/libm-test-ulps: Likewise.
7545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7546 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7547 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7548 * sysdeps/sh/libm-test-ulps: Likewise.
7549 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7550 * sysdeps/tile/libm-test-ulps: Likewise.
7551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7555 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
7557 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
7559 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
7560 "../ChangeLog.old/ChangeLog.8".
7561 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
7562 "../ChangeLog.old/ChangeLog.14".
7564 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
7566 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
7569 2017-09-01 Joseph Myers <joseph@codesourcery.com>
7571 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
7573 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
7575 * csu/version.c (banner): Remove "by Roland McGrath et al.".
7576 * nptl/Banner: Remove "by Ulrich Drepper et al.".
7578 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7580 * stdlib/tst-atexit-common.c (do_test): Test support for at least
7583 2017-09-01 Zack Weinberg <zackw@panix.com>
7585 * math/math.h (HUGE_VAL): Improve commentary.
7587 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7588 Andreas Schwab <schwab@suse.de>
7591 * include/stdio.h (__gen_tempfd): New function.
7592 * stdio-common/Makefile (routines): Add gentempfd.
7593 * stdio-common/gentempfd.c: New file.
7594 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
7595 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
7598 2017-09-01 Florian Weimer <fweimer@redhat.com>
7602 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
7603 result to determine success or failure, not the errno value.
7604 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
7605 (tst-nss-files-hosts-erange): Link with -ldl.
7606 * nss/tst-nss-files-hosts-erange.c: New file.
7607 * nss/tst-resolv-basic.c (response): Handle nodata.example.
7608 (do_test): Add NO_DATA tests.
7609 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
7612 2017-09-01 Florian Weimer <fweimer@redhat.com>
7615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
7616 coming from gethostbyname2_r.
7618 2017-09-01 Florian Weimer <fweimer@redhat.com>
7620 * support/namespace.h (struct support_chroot_configuration): Add
7622 (struct support_chroot): Add path_hosts, path_host_conf.
7623 * support/support_chroot.c (write_file): New function.
7624 (support_chroot_create): Call it to process /etc/resolv.conf,
7625 /etc/hosts, /etc/host.conf.
7626 (support_chroot_free): Update.
7628 2017-09-01 Florian Weimer <fweimer@redhat.com>
7630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
7631 status indicates it is set.
7633 2017-09-01 Florian Weimer <fweimer@redhat.com>
7635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
7636 function lookup failures more reliable.
7638 2017-09-01 Florian Weimer <fweimer@redhat.com>
7640 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
7641 (getcanonname): Likewise.
7642 (gaih_inet): Likewise.
7644 2017-09-01 Florian Weimer <fweimer@redhat.com>
7646 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
7647 (getcanonname): Likewise.
7648 (gaih_inet): Likewise.
7650 2017-08-31 Steve Ellcey <sellcey@cavium.com>
7651 Richard Henderson <rth@twiddle.net>
7653 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
7654 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
7655 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
7656 (IREG_SIZE, OREG_SIZE): New macros.
7657 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
7658 (IREG_SIZE, OREG_SIZE): New macros.
7659 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
7660 (IREG_SIZE): New macro.
7661 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
7662 (IREG_SIZE): New macro.
7663 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
7665 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
7666 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
7667 (__CONCATX): Handle exceptions correctly on large values that may
7669 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
7670 Initialize if not already set.
7671 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
7673 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7675 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
7676 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
7678 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
7680 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
7682 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
7684 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
7686 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
7688 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
7690 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
7691 (NO_CANCELLATION): Likewise.
7692 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
7694 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
7696 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
7698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
7699 (NO_CANCELLATION): Likewise.
7700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
7701 (NO_CANCELLATION): Likewise.
7702 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
7704 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
7706 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
7708 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
7710 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
7712 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
7713 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
7715 2017-08-31 Steve Ellcey <sellcey@cavium.com>
7717 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
7720 2017-08-31 Florian Weimer <fweimer@redhat.com>
7722 * include/libc-symbols.h (internal_function): Remove.
7724 2017-08-31 Florian Weimer <fweimer@redhat.com>
7726 * stdlib/fmtmsg.c (internal_addseverity): Remove
7729 2017-08-31 Florian Weimer <fweimer@redhat.com>
7731 * stdio-common/printf_fp.c (group_number): Remove
7733 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
7735 2017-08-31 Florian Weimer <fweimer@redhat.com>
7737 * posix/fnmatch.c (internal_function): Remove definition.
7738 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
7739 * posix/regcomp.c (peek_token, init_word_char)
7740 (duplicate_node_closure, fetch_token, peek_token)
7741 (peek_token_bracket, build_range_exp, build_collating_symbol):
7743 * posix/regex_internal.c (re_string_construct_common)
7744 (create_ci_newstate, create_cd_newstate, re_string_allocate)
7745 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
7746 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
7747 (re_string_translate_buffer, re_string_reconstruct)
7748 (re_string_peek_byte_case, re_string_fetch_byte_case)
7749 (re_string_destruct, re_string_context_at, re_node_set_alloc)
7750 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
7751 (re_node_set_add_intersect, re_node_set_init_union)
7752 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
7753 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
7754 (re_dfa_add_node, calc_state_hash, re_acquire_state)
7755 (re_acquire_state_context): Likewise.
7756 * posix/regex_internal.h (internal_function): Remove definition.
7757 (re_string_realloc_buffers, build_wcs_buffer)
7758 (build_wcs_upper_buffer, build_upper_buffer)
7759 (re_string_translate_buffer, re_string_context_at)
7760 (re_string_char_size_at, re_string_wchar_at)
7761 (re_string_elem_size_at): Likewise.
7762 * posix/regexec.c (match_ctx_init, match_ctx_clean)
7763 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
7764 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
7765 (re_search_internal, re_search_2_stub, re_search_stub)
7766 (re_copy_regs, prune_impossible_nodes, check_matching)
7767 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
7768 (free_fail_stack_return, sift_states_iter_mb)
7769 (sift_states_backward, build_sifted_states)
7770 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
7771 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
7772 (check_subexp_limits, sift_states_bkref, merge_state_array)
7773 (find_recover_state, transit_state, merge_state_with_log)
7774 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
7775 (transit_state_mb, transit_state_bkref, get_subexp)
7776 (get_subexp_sub, find_subexp_node, check_arrival)
7777 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
7778 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
7779 (check_node_accept_bytes, find_collation_sequence_value)
7780 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
7781 (acquire_init_state_context, check_halt_node_context)
7782 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
7783 (sub_epsilon_src_nodes): Likewise.
7784 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
7785 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
7786 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
7787 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
7788 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
7789 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
7790 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
7791 * sysdeps/posix/ttyname.c (getttyname): Likewise.
7792 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7793 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
7795 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
7797 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
7798 (PWRITEV): Likewise.
7799 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
7800 (PWRITEV): Likewise.
7801 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
7802 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
7804 2017-08-31 Florian Weimer <fweimer@redhat.com>
7806 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
7807 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
7808 Remove internal_function.
7809 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7810 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
7811 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
7812 (__deallocate_stack, __libc_pthread_init)
7813 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
7814 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
7815 (__libc_disable_asynccancel, __librt_disable_asynccancel):
7817 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
7818 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
7819 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
7821 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
7822 (__pthread_mutex_unlock_usercnt): Likewise.
7824 2017-08-31 Florian Weimer <fweimer@redhat.com>
7826 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
7827 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
7828 (fts_safe_changedir): Remove internal_function.
7829 * io/ftw.c (internal_function): Remove definition.
7830 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
7832 2017-08-31 Florian Weimer <fweimer@redhat.com>
7834 * inet/deadline.c (__deadline_current_time)
7835 (__deadline_from_timeval, __deadline_to_ms): Remove
7837 * inet/getnameinfo.c (nrl_domainname): Likewise.
7838 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
7839 * inet/inet6_option.c (add_pad): Likewise.
7840 * inet/net-internal.h (__deadline_current_time)
7841 (__deadline_from_timeval, __deadline_to_ms): Likewise.
7842 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
7843 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
7844 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
7846 2017-08-31 Joseph Myers <joseph@codesourcery.com>
7848 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
7849 include <bits/nan.h>.
7850 * math/Makefile (headers): Remove bits/nan.h.
7851 * bits/nan.h: Remove.
7852 * sysdeps/ieee754/bits/nan.h: Likewise.
7853 * sysdeps/mips/bits/nan.h: Likewise.
7855 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
7856 not include <bits/inf.h>.
7857 * math/Makefile (headers): Remove bits/inf.h.
7858 * bits/inf.h: Remove.
7859 * sysdeps/ieee754/bits/inf.h: Likewise.
7861 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
7862 bits/huge_vall.h or bits/huge_val_flt128.h.
7863 (HUGE_VAL): Define directly here.
7864 [__USE_ISOC99] (HUGE_VALF): Likewise.
7865 [__USE_ISOC99] (HUGE_VALL): Likewise.
7866 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7867 (HUGE_VAL_F128): Likewise.
7868 * math/Makefile (headers): Remove bits/huge_val.h,
7869 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
7870 * bits/huge_val.h: Remove.
7871 * bits/huge_val_flt128.h: Likewise.
7872 * bits/huge_valf.h: Likewise.
7873 * bits/huge_vall.h: Likewise.
7874 * sysdeps/ia64/bits/huge_vall.h: Likewise.
7875 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7876 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
7877 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
7878 * sysdeps/sh/bits/huge_val.h: Likewise.
7879 * sysdeps/sparc/bits/huge_vall.h: Likewise.
7880 * sysdeps/x86/bits/huge_vall.h: Likewise.
7882 2017-08-31 Florian Weimer <fweimer@redhat.com>
7884 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
7886 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
7888 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
7889 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7890 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
7891 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
7892 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7893 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7894 * elf/dl-libc.c (dlerror_run): Likewise.
7895 * elf/dl-load.c (add_name_to_object, decompose_rpath)
7896 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
7897 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
7898 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
7900 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
7901 (_dl_higher_prime_number, _dl_strtoul): Likewise.
7902 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
7903 * elf/dl-profile.c (_dl_start_profile): Likewise.
7904 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
7905 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
7907 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
7908 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
7909 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
7910 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
7911 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
7912 (_dl_allocate_tls_storage): Likewise.
7913 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
7914 (_dl_check_all_versions): Likewise.
7915 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7916 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
7917 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
7918 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7919 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
7920 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
7921 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
7922 internal_function from __dl_start.
7923 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
7924 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7925 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
7926 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
7927 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
7928 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
7929 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
7930 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
7931 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
7932 (_dl_next_ld_env_entry, _dl_important_hwcaps)
7933 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
7934 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
7935 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
7936 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
7937 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
7939 (struct rtld_global_ro): Remove internal_function from the
7940 _dl_lookup_symbol_x member.
7941 (_dl_symbol_value): Remove. No longer defined anywhere.
7942 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
7944 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7945 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7946 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
7947 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
7948 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
7949 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
7950 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
7951 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
7952 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
7953 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7954 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7955 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7957 2017-08-31 Florian Weimer <fweimer@redhat.com>
7959 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
7960 Remove internal_function.
7961 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7963 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7966 2017-08-31 Florian Weimer <fweimer@redhat.com>
7968 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
7969 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
7970 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
7972 2017-08-31 Florian Weimer <fweimer@redhat.com>
7974 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
7975 (__gai_enqueue_request): Remove internal_function.
7976 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
7977 (__gai_remove_request, __gai_notify, __gai_notify_only)
7978 (__gai_sigqueue): Likewise.
7979 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
7980 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7981 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
7982 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7985 2017-08-31 Florian Weimer <fweimer@redhat.com>
7987 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
7988 * include/dirent.h (__opendirat, __getdents, __getdents64)
7989 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
7990 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
7991 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7992 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7994 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
7996 2017-08-31 Florian Weimer <fweimer@redhat.com>
7998 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
8000 (GETCWD_RETURN_TYPE): Likewise.
8002 2017-08-31 Florian Weimer <fweimer@redhat.com>
8004 * include/time.h (__tz_compute, __strptime_internal): Remove
8006 * time/strptime_l.c (__strptime_internal): Likewise.
8007 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
8009 2017-08-31 Florian Weimer <fweimer@redhat.com>
8011 * iconv/gconv.c (__gconv): Remove internal_function.
8012 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
8013 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
8014 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
8015 (__gconv_release_cache): Likewise.
8016 * iconv/gconv_close.c (__gconv_close): Likewise.
8017 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
8018 (read_conf_file, __gconv_get_path): Likewise.
8019 * iconv/gconv_db.c (derivation_lookup, add_derivation)
8020 (__gconv_release_step, gen_steps, increment_counter)
8021 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
8022 (__gconv_close_transform, free_modules_db): Likewise.
8023 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
8025 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
8026 (__gconv_find_transform, __gconv_lookup_cache)
8027 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
8028 (__gconv_close_transform, __gconv_release_cache)
8029 (__gconv_loaded_object, __gconv_release_shlib)
8030 (__gconv_compare_alias): Likewise.
8031 * iconv/gconv_open.c (__gconv_open): Likewise.
8032 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
8033 * iconv/iconvconfig.c (add_module): Likewise.
8034 * intl/dcigettext.c (plural_lookup, guess_category_value)
8035 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
8036 * intl/eval-plural.h (plural_eval): Likewise.
8037 * intl/finddomain.c (_nl_find_domain): Likewise.
8038 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
8039 (_nl_load_domain, _nl_find_msg): Likewise.
8040 (internal_function): Remove definition.
8041 * intl/loadinfo.h (internal_function): Likewise.
8042 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
8044 * intl/localealias.c (internal_function): Remove definition.
8045 (read_alias_file): Remove internal_function.
8046 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
8047 * intl/plural-exp.h (internal_function): Remove definition.
8048 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
8050 * intl/plural.c: Regenerate.
8051 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
8052 * locale/coll-lookup.c (__collidx_table_lookup)
8053 (__collseq_table_lookup): Likewise.
8054 * locale/coll-lookup.h (__collidx_table_lookup)
8055 (__collseq_table_lookup): Likewise.
8056 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
8057 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8058 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
8059 (_nl_unload_locale): Likewise.
8060 * locale/localeinfo.h (struct __locale_data): Remove
8061 internal_function from cleanup member.
8062 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
8063 (_nl_remove_locale, _nl_load_locale_from_archive)
8064 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
8065 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
8066 (_nl_cleanup_time): Remove internal_function.
8067 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
8068 (_nl_parse_alt_digit): Likewise.
8069 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
8070 (_nl_select_era_entry): Likewise.
8071 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
8072 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
8073 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
8074 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
8075 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
8077 2017-08-31 Florian Weimer <fweimer@redhat.com>
8079 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
8080 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
8081 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
8082 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
8084 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
8085 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
8086 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
8087 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
8089 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
8091 2017-08-31 Florian Weimer <fweimer@redhat.com>
8093 * misc/getttyent.c (skip, value): Remove internal_function.
8094 * misc/syslog.c (openlog_internal): Likewise.
8095 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
8097 2017-08-31 Florian Weimer <fweimer@redhat.com>
8099 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
8100 (__nss_rewrite_field): Remove internal_function.
8101 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8102 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8103 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8104 * nss/nsswitch.c (nss_parse_file, nss_getline)
8105 (nss_parse_service_list, nss_new_service): Likewise.
8106 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
8107 * nss/valid_field.c (__nss_valid_field): Likewise.
8108 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8110 2017-08-31 Florian Weimer <fweimer@redhat.com>
8112 * malloc/arena.c (__malloc_fork_lock_parent)
8113 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
8114 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
8115 internal_function from defintions.
8116 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
8117 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
8118 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
8119 internal_function from declarations.
8120 * malloc/malloc.c (internal_function): Do not define.
8121 (mem2mem_check): Remove internal_function from declaration.
8122 (munmap_chunk, mremap_chunk): Remove internal_function.
8123 * malloc/mtrace.c (tr_where): Likewise.
8125 2017-08-31 Florian Weimer <fweimer@redhat.com>
8127 * include/rpc/pmap_clnt.h (__get_socket): Remove
8129 * sunrpc/auth_des.c (synchronize): Likewise.
8130 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
8131 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
8132 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
8133 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
8134 (key_call): Likewise.
8135 * sunrpc/pm_getport.c (__get_socket): Likewise.
8136 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
8137 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
8138 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
8139 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
8140 (invalidate): Likewise.
8141 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
8142 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
8143 (set_input_fragment, get_input_bytes): Likewise.
8145 2017-08-31 Florian Weimer <fweimer@redhat.com>
8147 * malloc/malloc.c (_int_free): Remove locked variable and related
8150 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
8153 * Makerules (build-module-helper-objlist): Filter out
8154 $(elf-objpfx)sofini.os.
8155 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
8158 2017-08-31 Florian Weimer <fweimer@redhat.com>
8160 * libio/fcloseall.c: Assume weak_alias is defined.
8161 * libio/feof.c: Likewise.
8162 * libio/fileno.c: Likewise.
8163 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
8164 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
8166 (_IO_file_open): Call __open directly.
8167 (_IO_new_file_sync): Assume ESPIPE is defined.
8168 (_IO_file_seekoff_maybe_mmap): Call __read directly.
8169 (_IO_new_file_write): Call __write directly.
8170 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
8171 * libio/ftello64.c (__ftello64): Assume EIO is defined.
8172 * libio/genops.c: Assume _LIBC is defined.
8173 (save_for_backup): Remove internal_function.
8174 * libio/getc.c: Assume weak_alias is defined.
8175 * libio/getwc.c: Likewise.
8176 * libio/iofclose.c: Assume _LIBC is defined.
8177 * libio/iofdopen.c: Likewise.
8178 (_IO_fcntl): Remove macro definition.
8179 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
8180 Call __fcntl directly.
8181 * libio/iofflush.c: Assume weak_alias is defined.
8182 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
8184 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
8185 * libio/iofgets.c: Likewise.
8186 * libio/iofopen.c: Assume _LIBC is defined.
8187 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
8188 * libio/iofputs.c: Assume weak_alias is defined.
8189 * libio/iofread.c: Likewise.
8190 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
8191 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8192 * libio/ioftell.c: Assume weak_alias is defined.
8193 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
8194 * libio/iofwide.c: Assume _LIBC is defined.
8195 (_IO_fwide): Drop SHARED conditional because it is implied by
8197 * libio/iofwrite.c: Assume weak_alias is defined.
8198 * libio/iogetdelim.c: Likewise.
8199 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
8200 * libio/iogetwline.c (wmemcpy): Remove macro definition.
8201 (_IO_getwline): Call __wmemcpy directly.
8202 * libio/iopopen.c: Assume _LIBC is defined.
8203 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
8204 (_IO_close): Remove macro definitions.
8205 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
8207 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
8209 * libio/ioputs.c: Assume weak_alias is defined.
8210 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
8211 * libio/iosetbuffer.c: Assume weak_alias is defined.
8212 * libio/iosetvbuf.c: Likewise.
8213 * libio/ioungetc.c: Likewise.
8214 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
8215 libc_hidden_def, libc_hidden_weak, NULL are defined.
8216 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
8217 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
8219 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
8221 (_IO_old_file_init_internal): Drop SHARED conditional because it
8222 is implied by SHLIB_COMPAT.
8223 (_IO_old_file_fopen): Call __open directly.
8224 (_IO_old_file_sync): Assume ESPIPE is defined.
8225 (_IO_old_file_write): Call __write directly.
8226 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
8227 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
8228 Call __fcntl directly.
8229 * libio/oldiofgetpos.c: Assume weak_alias is defined.
8230 (_IO_old_fgetpos): Assume EIO is defined.
8231 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
8232 (_IO_old_fgetpos64): Assume EIO is defined.
8233 * libio/oldiofsetpos.c: Assume weak_alias is defined.
8234 (_IO_old_fsetpos): Assume EIO is defined.
8235 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
8236 (_IO_old_fsetpos64): Assume EIO is defined.
8237 * libio/oldiopopen.c: Assume _LIBC is defined.
8238 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
8239 (_IO_close): Remove macro definitions.
8240 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
8242 (_IO_old_proc_close): Call __close, __waitpid directly.
8243 * libio/put.c: Assume weak_alias is defined.
8244 * libio/stdfiles.c: Assume _LIBC is defined.
8245 * libio/stdio.c: Likewise.
8246 * libio/wfileops.c: Likewise.
8247 (_IO_wfile_sync): Assume ESPIPE is defined.
8248 * libio/wgenops.c: Assume _LIBC is defined.
8249 (save_for_wbackup): Remove internal_function.
8251 2017-08-31 Florian Weimer <fweimer@redhat.com>
8253 * malloc/malloc.c (top_check): Change return type to void. Remove
8255 * malloc/hooks.c (top_check): Likewise.
8256 (malloc_check, realloc_check, memalign_check): Adjust.
8258 2017-08-30 Joseph Myers <joseph@codesourcery.com>
8261 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
8262 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
8263 sigcontext and namespace requirements.
8264 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
8265 * sysdeps/m68k/sys/ucontext.h: Likewise.
8266 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
8267 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
8268 <bits/sigcontext.h>.
8269 (__ctx): Define earlier.
8270 (mcontext_t): Define structure contents rather than using struct
8272 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
8273 __glibc_reserved1 instead of __reserved.
8274 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
8275 <bits/sigcontext.h>.
8276 (__ctx): Define earlier.
8277 (mcontext_t): Define structure contents rather than using struct
8279 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
8280 mcontext_t instead of struct sigcontext.
8281 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
8282 <bits/sigcontext.h>.
8283 (__ctx): Define earlier.
8284 (mcontext_t): Define structure contents rather than using struct
8286 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
8287 <bits/sigcontext.h>.
8288 (__ctx): Define earlier.
8289 (mcontext_t): Define structure contents rather than using struct
8291 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
8292 mcontext_t instead of struct sigcontext.
8293 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
8294 mcontext_t instead of struct sigcontext.
8295 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
8296 <bits/sigcontext.h>.
8298 (struct __ia64_fpreg_mcontext): New type.
8299 (mcontext_t): Define structure contents rather than using struct
8301 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
8302 (uc_sigmask): Define using __ctx.
8303 (uc_stack): Likewise.
8304 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
8305 <bits/sigcontext.h>.
8306 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8307 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
8308 <bits/sigcontext.h>.
8309 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
8310 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
8311 <bits/sigcontext.h>.
8312 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
8313 <bits/sigcontext.h>.
8314 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
8315 <bits/sigcontext.h>.
8316 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
8317 <bits/sigcontext.h>.
8318 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
8319 <bits/sigcontext.h>.
8320 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
8321 <bits/sigcontext.h>.
8322 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
8323 <bits/sigcontext.h>.
8324 (__ctx): Define earlier.
8325 (mcontext_t): Define structure contents rather than using struct
8327 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
8328 <bits/sigcontext.h>. Include <bits/types.h>.
8329 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
8330 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
8331 (test-xfail-XPG42/ucontext.h/conform): Likewise.
8332 (test-xfail-UNIX98/signal.h/conform): Likewise.
8333 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8334 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8335 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8336 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8337 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8338 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8339 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8340 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8341 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8343 2017-08-30 Florian Weimer <fweimer@redhat.com>
8345 * malloc/dynarray_emplace_enlarge.c
8346 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
8347 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8348 * malloc/tst-dynarray.c (test_long_overflow): New function.
8351 2017-08-30 Florian Weimer <fweimer@redhat.com>
8353 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
8354 (set_arena_corrupt): Remove definitions.
8355 (mtrim): Do not check for corrupt arena.
8356 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
8359 2017-08-30 Florian Weimer <fweimer@redhat.com>
8362 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
8364 (ptmalloc_init): Do not set or use check_action.
8365 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
8366 call to malloc_printerr. Remove return statement.
8367 (free_check): Likewise. Remove arena unlock.
8368 (top_check): Update comment. Adjust call to malloc_printerr.
8369 Remove heap repair code.
8370 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
8371 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
8372 (sysmalloc): Adjust call to malloc_printerr.
8373 (munmap_chunk, __libc_realloc): Likewise. Remove return
8375 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
8376 Remove errout label and corresponding gotos.
8377 (_int_free): Likewise. Remove arena unlock.
8378 (do_set_mallopt_check): Do not set check_action.
8379 (malloc_printerr): Adjust parameter list. Do not mark arena as
8381 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
8383 * manual/probes.texi (Memory Allocation Probes): Remove
8384 memory_mallopt_check_action.
8386 2017-08-30 Steve Ellcey <sellcey@cavium.com>
8388 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
8389 Use pointer to uint64_t instead of long int for sp.
8391 2017-08-30 Florian Weimer <fweimer@redhat.com>
8394 * malloc/malloc.c (malloc_printerr): Always terminate the process,
8395 without printing a backtrace. Do not leak any information in the
8397 * manual/memory.texi (Heap Consistency Checking): Update.
8398 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
8400 2017-08-30 Florian Weimer <fweimer@redhat.com>
8402 Do not scale NPTL tests with available number of CPUs.
8403 * nptl/tst-cond16.c (count): Set to constant value of 8.
8404 * nptl/tst-cond18.c (count): Likewise.
8406 2017-08-29 Joseph Myers <joseph@codesourcery.com>
8409 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
8410 Define to take a second argument that is a macro that
8411 concatentates a suffix, not the suffix itself.
8412 (__CONCAT_d): New macro.
8413 (__CONCAT_f): Likewise.
8414 (__CONCAT_l): Likewise.
8416 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
8418 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
8421 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8422 Aurelien Jarno <aurelien@aurel32.net>
8423 Maciej W. Rozycki <macro@imgtec.com>
8426 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
8427 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
8428 `mips16-syscall6' and `mips16-syscall7'.
8429 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
8430 (CFLAGS-mips16-syscall7.c): Remove.
8431 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
8432 Remove `__mips16_syscall5', `__mips16_syscall6' and
8433 `__mips16_syscall7'.
8434 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
8435 (__mips16_syscall0): Rename `__mips16_syscall_return' to
8436 `__mips_syscall_return'.
8437 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
8438 (__mips16_syscall1): Likewise.
8439 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
8440 (__mips16_syscall2): Likewise.
8441 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
8442 (__mips16_syscall3): Likewise.
8443 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
8444 (__mips16_syscall4): Likewise.
8445 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
8447 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
8449 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
8451 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
8452 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
8453 `__mips16_syscall5'. Remove prototype.
8454 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
8455 `__mips16_syscall6'. Remove prototype.
8456 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
8457 `__mips16_syscall7'. Remove prototype.
8458 (__nomips16, __mips16_syscall_return): Move to...
8459 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
8460 (__nomips16, __mips_syscall_return): ... here.
8461 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
8462 `__mips16_syscall_return' to `__mips_syscall_return'.
8463 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
8464 `internal_syscall##nr'.
8465 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
8466 `internal_syscall##nr'.
8467 (FORCE_FRAME_POINTER): Remove.
8468 (__mips_syscall5): New prototype.
8469 (internal_syscall5): Rewrite to call `__mips_syscall5'.
8470 (__mips_syscall6): New prototype.
8471 (internal_syscall6): Rewrite to call `__mips_syscall6'.
8472 (__mips_syscall7): New prototype.
8473 (internal_syscall7): Rewrite to call `__mips_syscall7'.
8474 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
8475 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
8476 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
8477 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
8478 (sysdep_routines): Add libc-do-syscall.
8479 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
8480 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
8482 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8485 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
8486 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
8487 (advise_stack_range): New function.
8488 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
8489 stack non required to advise_stack_range at allocatestack.c
8491 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8493 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
8495 2017-08-29 Florian Weimer <fweimer@redhat.com>
8498 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
8499 __end_fct. Mangle __end_fct after setting it to NULL.
8500 * iconv/Makefile (tests): Add tst-gconv-init-failure.
8501 (modules-names, modules-names-tests): Add
8502 tst-gconv-init-failure-mod.
8503 (gconv-modules): New target.
8504 (tst-gconv-init-failure-mod.so): Link against libsupport.
8505 (tst-gconv-init-failure): Depend on gconv-modules,
8506 tst-gconv-init-failure-mod.so.
8507 * iconv/tst-gconv-init-failure-mod.c: New file.
8508 * iconv/tst-gconv-init-failure.c: Likewise.
8509 * iconv/test-gconv-modules: Likewise.
8511 2017-08-29 Florian Weimer <fweimer@redhat.com>
8514 * iconv/gconv_db.c (free_derivation): Remove redundant
8516 (gen_steps): Unconditionally mangle __btowc_fct after
8518 (increment_counter): Likewise. Do not call init_fct for internal
8521 2017-08-29 Joseph Myers <joseph@codesourcery.com>
8524 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
8525 (_MSUF_): Remove macro.
8526 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
8528 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
8529 (__REDIRFROM_X): New macro.
8530 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
8532 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
8533 (__REDIRTO_X): Likewise.
8534 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
8536 (__MATH_REDIRCALL_2): Likewise.
8537 (__MATH_REDIRCALL_INTERNAL): Likewise.
8538 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
8539 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
8540 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
8541 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
8542 * math/test-finite-macros.c: New file.
8543 * math/Makefile (tests): Add test-finite-macros.
8544 (CFLAGS-test-finite-macros.c): New variable.
8546 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
8547 Jeff Law <law@redhat.com>
8550 Mangle NULL pointers in iconv/gconv.
8551 * iconv/gconv_cache.c (find_module): Demangle init_fct before
8552 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
8553 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
8554 is non-NULL before demangling the end_fct. Check for NULL
8555 end_fct after demangling.
8556 (__gconv_release_step): Demangle the end_fct before checking
8557 it for NULL. Remove assert on __shlibc_handle != NULL.
8558 (gen_steps): Don't check btowc_fct for NULL before mangling.
8559 Demangle init_fct before checking for NULL.
8560 (increment_counter): Likewise.
8561 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
8562 end_fct for NULL before mangling.
8563 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
8566 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
8569 * locale/iso-639.def: add Morisyen.
8571 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8574 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
8575 (iszero): New C++ implementation that does not use
8576 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
8577 signaling nans are enabled, since __builtin_types_compatible_p
8578 is a C-only feature.
8579 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
8580 defined, include ieee754_float128.h for access to the union and
8581 member ieee854_float128.ieee.
8582 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
8583 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
8584 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8585 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
8586 options of test-math-zero on powerpc64le.
8588 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
8590 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
8591 Change double to float.
8593 2017-08-28 Joseph Myers <joseph@codesourcery.com>
8595 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
8597 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
8598 conditional code; define contents only for [LIBM_SVID_COMPAT].
8600 2017-08-28 Florian Weimer <fweimer@redhat.com>
8602 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
8603 (abi-lp64_be-options): Remove.
8604 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
8605 (abi-hard-options): Likewise.
8606 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
8607 (abi-o32_hard-options, abi-o32_soft_2008-options)
8608 (abi-o32_hard_2008-options, abi-n32_soft-options)
8609 (abi-n32_hard-options, abi-n32_soft_2008-options)
8610 (abi-n32_hard_2008-options, abi-n64_soft-options)
8611 (abi-n64_hard-options, abi-n64_soft_2008-options)
8612 (abi-n64_hard_2008-options): Likewise.
8613 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
8614 (abi-64-v1-options, abi-64-v2-options): Likewise.
8615 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
8616 (abi-64-options): Likewise.
8617 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
8618 (abi-64-options): Likewise.
8619 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
8620 (abi-64-options): Likewise.
8621 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
8622 (abi-64-options, abi-x32-options): Likewise.
8624 2017-08-28 Florian Weimer <fweimer@redhat.com>
8626 Store supported list of SYS_* system calls in the source tree.
8627 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8628 (bits/syscall.h): Generate from list file.
8629 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
8630 [$(subdir) = misc] (tests): Add tst-syscall-list.
8631 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
8632 [$(subdir) = misc] (tst-syscall-list-macros.list)
8633 [$(subdir) = misc] (tst-syscall-list-nr.list)
8634 (tst-syscall-list-sys.list): Helper targets for new
8635 tst-syscall-list test.
8636 [$(subdir) = misc] (tst-syscall-list.out): Run test script
8637 tst-syscall-list.sh.
8638 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
8639 target. Do not include bits/syscall.d.
8640 [$(subdir) = misc] (generated): Do not update.
8641 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
8642 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
8643 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
8644 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
8646 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8648 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
8649 (tst-cxa_atexit, tst-on_exit): Likewise.
8650 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
8651 tst-cxa_atexit, and tst-on_exit.
8652 * stdlib/tst-atexit-common.c: New file.
8653 * stdlib/tst-atexit.c: New file.
8654 * stdlib/tst-at_quick_exit.c: New file.
8655 * stdlib/tst-cxa_atexit.c: New file.
8656 * stdlib/tst-on_exit.c: New file.
8658 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8660 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
8661 * mach/stack_chk_fail_local.c: New file.
8662 * hurd/stack_chk_fail_local.c: New file.
8663 * mach/Machrules ($(interface-library)-routines): Add
8664 stack_chk_fail_local.
8665 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
8666 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
8667 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
8668 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
8669 * hurd/Makefile (CFLAGS-hurdstartup.o,
8670 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
8672 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
8674 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
8675 (index_cpu_*, index_arch_*): Removed.
8677 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
8679 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
8680 Use uint64_t instead of unsigned long.
8682 2017-08-25 Joseph Myers <joseph@codesourcery.com>
8684 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
8685 [__HAVE_DISTINCT_FLOAT128].
8687 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
8688 of <bits/math-finite.h>.
8689 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
8690 inclusion of <bits/math-finite.h>.
8691 * math/bits/math-finite.h (__REDIRTO_X): Do not define
8692 conditionally on [__MATH_DECLARING_LDOUBLE && defined
8693 __NO_LONG_DOUBLE_MATH].
8694 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
8695 (__MATH_REDIRCALL_2): Likewise.
8696 (__MATH_REDIRCALL_INTERNAL): Likewise.
8697 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
8698 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
8699 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
8701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8713 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8714 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8715 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8716 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8718 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
8719 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
8720 w_sqrtf_compat-ppc32.
8722 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8724 * math/math.h [defined __cplusplus] (issignaling): In the long
8725 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
8726 is not defined. Call __issignaling, otherwise.
8728 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8730 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
8731 syscall definitions and replace __builtin_expect with __glibc_likely.
8732 * sysdeps/unix/syscall-template.S: Update comment about cancellable
8734 (SYSCALL_CANCELLABLE): Removedefinition
8735 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
8737 (PSEUDO_END): Likewise.
8738 [IS_IN (libpthread)] (CENABLE): Likewise.
8739 [IS_IN (libpthread)] (CDISABLE): Likewise.
8740 [IS_IN (libc)] (CENABLE): Likewise.
8741 [IS_IN (libc)] (CENABLE): Likewise.
8742 [IS_IN (librt)] (CDISABLE): Likewise.
8743 [IS_IN (librt)] (CDISABLE): Likewise.
8744 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8745 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
8747 (PSEUDO_END): Likewise.
8748 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
8749 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
8750 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
8751 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
8752 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
8753 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
8754 (CENABLE): Likewise.
8755 (CDISABLE): Likewise.
8756 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8757 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
8759 (PSEUDO_END): Likewise.
8760 [IS_IN (libpthread)] (CENABLE): Likewise.
8761 [IS_IN (libpthread)] (CDISABLE): Likewise.
8762 [IS_IN (libc)] (CENABLE): Likewise.
8763 [IS_IN (libc)] (CENABLE): Likewise.
8764 [IS_IN (librt)] (CDISABLE): Likewise.
8765 [IS_IN (librt)] (CDISABLE): Likewise.
8766 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8767 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
8769 (PSEUDO_END): Likewise.
8770 [IS_IN (libpthread)] (CENABLE): Likewise.
8771 [IS_IN (libpthread)] (CDISABLE): Likewise.
8772 [IS_IN (libc)] (CENABLE): Likewise.
8773 [IS_IN (libc)] (CENABLE): Likewise.
8774 [IS_IN (librt)] (CDISABLE): Likewise.
8775 [IS_IN (librt)] (CDISABLE): Likewise.
8776 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8777 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
8779 (PSEUDO_END): Likewise.
8780 [IS_IN (libpthread)] (CENABLE): Likewise.
8781 [IS_IN (libpthread)] (CDISABLE): Likewise.
8782 [IS_IN (libc)] (CENABLE): Likewise.
8783 [IS_IN (libc)] (CENABLE): Likewise.
8784 [IS_IN (librt)] (CDISABLE): Likewise.
8785 [IS_IN (librt)] (CDISABLE): Likewise.
8786 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8787 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
8789 (PSEUDO_END): Likewise.
8790 [IS_IN (libpthread)] (CENABLE): Likewise.
8791 [IS_IN (libpthread)] (CDISABLE): Likewise.
8792 [IS_IN (libc)] (CENABLE): Likewise.
8793 [IS_IN (libc)] (CENABLE): Likewise.
8794 [IS_IN (librt)] (CDISABLE): Likewise.
8795 [IS_IN (librt)] (CDISABLE): Likewise.
8796 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8797 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
8799 (PSEUDO_END): Likewise.
8800 [IS_IN (libpthread)] (CENABLE): Likewise.
8801 [IS_IN (libpthread)] (CDISABLE): Likewise.
8802 [IS_IN (libc)] (CENABLE): Likewise.
8803 [IS_IN (libc)] (CENABLE): Likewise.
8804 [IS_IN (librt)] (CDISABLE): Likewise.
8805 [IS_IN (librt)] (CDISABLE): Likewise.
8806 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8807 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
8809 (PSEUDO_END): Likewise.
8810 [IS_IN (libpthread)] (CENABLE): Likewise.
8811 [IS_IN (libpthread)] (CDISABLE): Likewise.
8812 [IS_IN (libc)] (CENABLE): Likewise.
8813 [IS_IN (libc)] (CENABLE): Likewise.
8814 [IS_IN (librt)] (CDISABLE): Likewise.
8815 [IS_IN (librt)] (CDISABLE): Likewise.
8816 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8817 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
8819 (PSEUDO_END): Likewise.
8820 [IS_IN (libpthread)] (CENABLE): Likewise.
8821 [IS_IN (libpthread)] (CDISABLE): Likewise.
8822 [IS_IN (libc)] (CENABLE): Likewise.
8823 [IS_IN (libc)] (CENABLE): Likewise.
8824 [IS_IN (librt)] (CDISABLE): Likewise.
8825 [IS_IN (librt)] (CDISABLE): Likewise.
8826 (SINGLE_THREAD_P): Likewise.
8827 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
8829 (PSEUDO_END): Likewise.
8830 [IS_IN (libpthread)] (CENABLE): Likewise.
8831 [IS_IN (libpthread)] (CDISABLE): Likewise.
8832 [IS_IN (libc)] (CENABLE): Likewise.
8833 [IS_IN (libc)] (CENABLE): Likewise.
8834 [IS_IN (librt)] (CDISABLE): Likewise.
8835 [IS_IN (librt)] (CDISABLE): Likewise.
8836 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8837 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
8839 (PSEUDO_END): Likewise.
8840 [IS_IN (libpthread)] (CENABLE): Likewise.
8841 [IS_IN (libpthread)] (CDISABLE): Likewise.
8842 [IS_IN (libc)] (CENABLE): Likewise.
8843 [IS_IN (libc)] (CENABLE): Likewise.
8844 [IS_IN (librt)] (CDISABLE): Likewise.
8845 [IS_IN (librt)] (CDISABLE): Likewise.
8846 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8847 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
8848 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8849 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
8850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
8852 (PSEUDO_END): Likewise.
8853 [IS_IN (libpthread)] (CENABLE): Likewise.
8854 [IS_IN (libpthread)] (CDISABLE): Likewise.
8855 [IS_IN (libc)] (CENABLE): Likewise.
8856 [IS_IN (libc)] (CENABLE): Likewise.
8857 [IS_IN (librt)] (CDISABLE): Likewise.
8858 [IS_IN (librt)] (CDISABLE): Likewise.
8859 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
8862 (PSEUDO_END): Likewise.
8863 [IS_IN (libpthread)] (CENABLE): Likewise.
8864 [IS_IN (libpthread)] (CDISABLE): Likewise.
8865 [IS_IN (libc)] (CENABLE): Likewise.
8866 [IS_IN (libc)] (CENABLE): Likewise.
8867 [IS_IN (librt)] (CDISABLE): Likewise.
8868 [IS_IN (librt)] (CDISABLE): Likewise.
8869 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8870 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
8872 (PSEUDO_END): Likewise.
8873 [IS_IN (libpthread)] (CENABLE): Likewise.
8874 [IS_IN (libpthread)] (CDISABLE): Likewise.
8875 [IS_IN (libc)] (CENABLE): Likewise.
8876 [IS_IN (libc)] (CENABLE): Likewise.
8877 [IS_IN (librt)] (CDISABLE): Likewise.
8878 [IS_IN (librt)] (CDISABLE): Likewise.
8879 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
8881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8882 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
8883 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
8885 (PSEUDO_END): Likewise.
8886 [IS_IN (libpthread)] (CENABLE): Likewise.
8887 [IS_IN (libpthread)] (CDISABLE): Likewise.
8888 [IS_IN (libc)] (CENABLE): Likewise.
8889 [IS_IN (libc)] (CENABLE): Likewise.
8890 [IS_IN (librt)] (CDISABLE): Likewise.
8891 [IS_IN (librt)] (CDISABLE): Likewise.
8892 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8893 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
8895 (PSEUDO_END): Likewise.
8896 [IS_IN (libpthread)] (CENABLE): Likewise.
8897 [IS_IN (libpthread)] (CDISABLE): Likewise.
8898 [IS_IN (libc)] (CENABLE): Likewise.
8899 [IS_IN (libc)] (CENABLE): Likewise.
8900 [IS_IN (librt)] (CDISABLE): Likewise.
8901 [IS_IN (librt)] (CDISABLE): Likewise.
8902 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8904 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
8906 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
8908 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8912 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8915 * string/stratcliff.c (do_test): Declare size, nchars, inner,
8916 middle and outer with size_t instead of int. Repleace %d and
8917 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
8918 "MAX (outer, nchars - 64)" to support unsigned outer and
8919 nchars. Also exit loop when outer == 0.
8921 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8923 * include/fcntl.h (__fcntl_nocancel): Remove definition.
8924 * include/signal.h (__sigsuspend_nocancel): Likewise.
8925 * include/time.h (__nanosleep_nocancel): Likewise.
8926 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
8927 * login/utmp_file.c: Include non cancellable syscall header.
8928 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
8931 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8933 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
8934 .byte sequences with AVX512F instructions.
8935 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
8936 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8937 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8938 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
8940 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8943 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
8944 Steve Ellcey <sellcey@cavium.com>
8946 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
8947 Use PTR_REG macro in cmp instruction.
8949 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8951 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
8952 Change the return type of the ifunc resolver to match the return
8953 type of the target function.
8955 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8957 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
8958 (preadv64): Likewise.
8959 (pwrite64(: Likewise.
8960 (pwritev64): Likewise.
8962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8963 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
8964 (LOAD_ARGS_0): Likewise.
8965 (LOAD_ARGS_1): Likewise.
8966 (LOAD_ARGS_2): Likewise.
8967 (LOAD_ARGS_3): Likewise.
8968 (LOAD_ARGS_4): Likewise.
8969 (LOAD_ARGS_5): Likewise.
8970 (LOAD_ARGS_6): Likewise.
8971 (LOAD_REGS_0): Likewise.
8972 (LOAD_REGS_1): Likewise.
8973 (LOAD_REGS_2): Likewise.
8974 (LOAD_REGS_3): Likewise.
8975 (LOAD_REGS_4): Likewise.
8976 (LOAD_REGS_5): Likewise.
8977 (LOAD_REGS_6): Likewise.
8978 (ASM_ARGS_0): Likewise.
8979 (ASM_ARGS_1): Likewise.
8980 (ASM_ARGS_2): Likewise.
8981 (ASM_ARGS_3): Likewise.
8982 (ASM_ARGS_4): Likewise.
8983 (ASM_ARGS_5): Likewise.
8984 (ASM_ARGS_6): Likewise.
8985 (LOAD_ARGS_TYPES_1): Likewise.
8986 (LOAD_ARGS_TYPES_2): Likewise.
8987 (LOAD_ARGS_TYPES_3): Likewise.
8988 (LOAD_ARGS_TYPES_4): Likewise.
8989 (LOAD_ARGS_TYPES_5): Likewise.
8990 (LOAD_ARGS_TYPES_6): Likewise.
8991 (LOAD_REGS_TYPES_1): Likewise.
8992 (LOAD_REGS_TYPES_2): Likewise.
8993 (LOAD_REGS_TYPES_3): Likewise.
8994 (LOAD_REGS_TYPES_4): Likewise.
8995 (LOAD_REGS_TYPES_5): Likewise.
8996 (LOAD_REGS_TYPES_6): Likewise.
8997 (TYPEFY): New define.
8999 (internal_syscall0): Likewise.
9000 (internal_syscall1): Likewise.
9001 (internal_syscall2): Likewise.
9002 (internal_syscall3): Likewise.
9003 (internal_syscall4): Likewise.
9004 (internal_syscall5): Likewise.
9005 (internal_syscall6): Likewise.
9006 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
9007 (INTERNAL_SYSCALL_NCS): Remove define.
9008 (internal_syscall1): Add define.
9010 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9012 * math/w_remainder_compat.c: Remove duplicate inclusion of
9014 * math/w_remainderf_compat.c: Likewise.
9015 * math/w_remainderl_compat.c: Likewise.
9017 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9021 2017-08-22 Joseph Myers <joseph@codesourcery.com>
9024 * math/tgmath.h (__floating_type): Simplify definitions.
9025 (__real_integer_type): New macro.
9026 (__complex_integer_type): Likewise.
9027 (__expr_is_real): Likewise.
9028 (__tgmath_real_type_sub): Update comment to describe handling of
9030 (__tgmath_complex_type_sub): New macro.
9031 (__tgmath_complex_type): Likewise.
9032 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9033 (__TGMATH_CF128): Use __expr_is_real.
9034 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
9036 (__TGMATH_BINARY_REAL_IMAG): Likewise.
9037 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
9038 * math/gen-tgmath-tests.py (Type.create_type): Create complex
9041 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9043 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
9045 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
9047 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
9050 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
9051 nanosleep_not_cancel with __nanosleep_nocancel.
9052 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
9053 (__nanosleep_nocancel): New macro.
9054 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
9056 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
9058 (__nanosleep_nocancel): New prototype.
9060 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
9061 pause_not_cancel with __pause_nocancel.
9062 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
9063 (__pause_nocancel): New macro.
9064 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
9066 (__pause_nocancel): New prototype.
9067 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
9069 2017-08-22 Martin Sebor <msebor@redhat.com>
9071 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
9072 to return a pointer to the same type as the target function.
9074 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
9078 * include/printf.h (__printf_fphex): Add attribute_hidden.
9079 (__guess_grouping): New prototype.
9080 * stdio-common/printf_fp.c (__guess_grouping): Removed.
9081 * stdio-common/reg-printf.c (__register_printf_specifier): Add
9082 libc_hidden_proto and libc_hidden_def.
9083 * stdlib/strfmon_l.c (__guess_grouping): Removed.
9084 (__vstrfmon_l): Remove the third argument passed to
9087 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9089 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
9090 definition for issignaling that does not rely on __MATH_TG,
9091 since __MATH_TG uses __builtin_types_compatible_p, which is only
9092 available in C mode.
9093 (CFLAGS-test-math-issignaling.cc): New variable.
9094 * math/Makefile [CXX] (tests): Add test-math-issignaling.
9095 * math/test-math-issignaling.cc: New test for C++ implementation
9096 of type-generic issignaling.
9097 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
9098 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
9099 options of test-math-issignaling on powerpc64le.
9101 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
9103 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
9105 (hidden_proto): Likewise.
9106 (hidden_tls_proto): Likewise.
9107 (__hidden_proto): Likewise.
9109 2017-08-22 Florian Weimer <fweimer@redhat.com>
9111 math: Statically link tests of internal functionality.
9112 * math/Makefile (tests): Remove atest-exp, atest-sincos,
9114 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
9115 (gmp-objs): Remove assignment.
9116 (atest-exp, atest-sincos, atest-exp2): Remove targets.
9118 2017-08-22 Joseph Myers <joseph@codesourcery.com>
9121 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
9123 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
9125 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
9128 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
9129 variable definitions above inclusion of ../Rules.
9131 2017-08-21 Joseph Myers <joseph@codesourcery.com>
9133 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
9134 case calling __builtin_unreachable.
9136 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9138 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
9140 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
9141 (__waitpid_nocancel): New macro.
9142 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
9144 (__waitpid_nocancel): Replace macro with a function.
9145 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
9148 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
9150 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
9151 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
9153 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
9154 __writev_nocancel_nostatus.
9155 (write_call_graph): Likewise.
9156 (write_bb_counts): Likewise.
9157 * resolv/herror.c (herror): Likewise.
9158 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
9160 (__writev_nocancel_nostatus): New macro.
9161 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
9163 (__writev_nocancel_nostatus): New function.
9165 2017-08-21 Joseph Myers <joseph@codesourcery.com>
9168 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9170 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
9172 (hidden_proto): Likewise.
9173 (hidden_tls_proto): Likewise.
9174 (__hidden_proto): Likewise.
9177 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
9178 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9187 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
9188 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9189 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9190 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9191 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9192 GLIBC_2.0 sqrtl symbol.
9194 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
9195 [__USE_MISC] (_LIB_VERSION): Likewise.
9196 [__USE_MISC] (struct exception): Likewise.
9197 [__USE_MISC] (matherr): Likewise.
9198 [__USE_MISC] (DOMAIN): Likewise.
9199 [__USE_MISC] (SING): Likewise.
9200 [__USE_MISC] (OVERFLOW): Likewise.
9201 [__USE_MISC] (UNDERFLOW): Likewise.
9202 [__USE_MISC] (TLOSS): Likewise.
9203 [__USE_MISC] (PLOSS): Likewise.
9204 [__USE_MISC] (HUGE): Likewise.
9205 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
9206 * math/math-svid-compat.h: New file.
9207 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
9209 * include/math.h [!_ISOMAC] (__matherr): Remove.
9210 * manual/arith.texi (FP Exceptions): Do not document matherr.
9211 * math/Makefile (tests): Change test-matherr to test-matherr-3.
9212 (tests-internal): New variable.
9213 (install-lib): Do not add libieee.a.
9214 (non-lib.a): Likewise.
9215 (extra-objs): Do not add libieee.a and ieee-math.o.
9216 (CPPFLAGS-s_lib_version.c): Remove variable.
9217 ($(objpfx)libieee.a): Remove rule.
9218 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
9219 * math/ieee-math.c: Remove.
9220 * math/libm-test-support.c (matherr): Remove.
9221 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
9222 and license notices. Include <math-svid-compat.h> and
9224 (matherr): Undefine as macro. Use compat_symbol_reference.
9225 (_LIB_VERSION): Likewise.
9226 * math/test-matherr-2.c: New file.
9227 * math/test-matherr-3.c: Likewise.
9228 * sysdeps/generic/math_private.h (__kernel_standard): Remove
9230 (__kernel_standard_f): Likewise.
9231 (__kernel_standard_l): Likewise.
9232 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
9233 <math_private.h>. Include <math-svid-compat.h>.
9234 (_LIB_VERSION): Undefine as macro.
9235 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
9236 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
9237 [LIBM_SVID_COMPAT], use compat_symbol.
9238 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
9239 <math_private.h>. Include <math-svid-compat.h>.
9240 (matherr): Undefine as macro.
9241 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
9243 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
9244 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
9245 compat_symbol_reference.
9246 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
9247 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
9248 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
9249 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
9250 (MATHERR_D): Remove declaration.
9251 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
9252 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
9253 [LIBM_BUILD] (pmatherrf): Likewise.
9254 [LIBM_BUILD] (pmatherr): Likewise.
9255 [LIBM_BUILD] (pmatherrl): Likewise.
9258 (OVERFLOW): Likewise.
9259 (UNDERFLOW): Likewise.
9262 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
9263 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
9265 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
9266 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
9268 * math/lgamma-compat.h: Include <math-svid-compat.h>.
9269 * math/w_acos_compat.c: Likewise.
9270 * math/w_acosf_compat.c: Likewise.
9271 * math/w_acosh_compat.c: Likewise.
9272 * math/w_acoshf_compat.c: Likewise.
9273 * math/w_acoshl_compat.c: Likewise.
9274 * math/w_acosl_compat.c: Likewise.
9275 * math/w_asin_compat.c: Likewise.
9276 * math/w_asinf_compat.c: Likewise.
9277 * math/w_asinl_compat.c: Likewise.
9278 * math/w_atan2_compat.c: Likewise.
9279 * math/w_atan2f_compat.c: Likewise.
9280 * math/w_atan2l_compat.c: Likewise.
9281 * math/w_atanh_compat.c: Likewise.
9282 * math/w_atanhf_compat.c: Likewise.
9283 * math/w_atanhl_compat.c: Likewise.
9284 * math/w_cosh_compat.c: Likewise.
9285 * math/w_coshf_compat.c: Likewise.
9286 * math/w_coshl_compat.c: Likewise.
9287 * math/w_exp10_compat.c: Likewise.
9288 * math/w_exp10f_compat.c: Likewise.
9289 * math/w_exp10l_compat.c: Likewise.
9290 * math/w_exp2_compat.c: Likewise.
9291 * math/w_exp2f_compat.c: Likewise.
9292 * math/w_exp2l_compat.c: Likewise.
9293 * math/w_fmod_compat.c: Likewise.
9294 * math/w_fmodf_compat.c: Likewise.
9295 * math/w_fmodl_compat.c: Likewise.
9296 * math/w_hypot_compat.c: Likewise.
9297 * math/w_hypotf_compat.c: Likewise.
9298 * math/w_hypotl_compat.c: Likewise.
9299 * math/w_j0_compat.c: Likewise.
9300 * math/w_j0f_compat.c: Likewise.
9301 * math/w_j0l_compat.c: Likewise.
9302 * math/w_j1_compat.c: Likewise.
9303 * math/w_j1f_compat.c: Likewise.
9304 * math/w_j1l_compat.c: Likewise.
9305 * math/w_jn_compat.c: Likewise.
9306 * math/w_jnf_compat.c: Likewise.
9307 * math/w_jnl_compat.c: Likewise.
9308 * math/w_lgamma_main.c: Likewise.
9309 * math/w_lgamma_r_compat.c: Likewise.
9310 * math/w_lgammaf_main.c: Likewise.
9311 * math/w_lgammaf_r_compat.c: Likewise.
9312 * math/w_lgammal_main.c: Likewise.
9313 * math/w_lgammal_r_compat.c: Likewise.
9314 * math/w_log10_compat.c: Likewise.
9315 * math/w_log10f_compat.c: Likewise.
9316 * math/w_log10l_compat.c: Likewise.
9317 * math/w_log2_compat.c: Likewise.
9318 * math/w_log2f_compat.c: Likewise.
9319 * math/w_log2l_compat.c: Likewise.
9320 * math/w_log_compat.c: Likewise.
9321 * math/w_logf_compat.c: Likewise.
9322 * math/w_logl_compat.c: Likewise.
9323 * math/w_pow_compat.c: Likewise.
9324 * math/w_powf_compat.c: Likewise.
9325 * math/w_powl_compat.c: Likewise.
9326 * math/w_remainder_compat.c: Likewise.
9327 * math/w_remainderf_compat.c: Likewise.
9328 * math/w_remainderl_compat.c: Likewise.
9329 * math/w_scalb_compat.c: Likewise.
9330 * math/w_scalbf_compat.c: Likewise.
9331 * math/w_scalbl_compat.c: Likewise.
9332 * math/w_sinh_compat.c: Likewise.
9333 * math/w_sinhf_compat.c: Likewise.
9334 * math/w_sinhl_compat.c: Likewise.
9335 * math/w_sqrt_compat.c: Likewise.
9336 * math/w_sqrtf_compat.c: Likewise.
9337 * math/w_sqrtl_compat.c: Likewise.
9338 * math/w_tgamma_compat.c: Likewise.
9339 * math/w_tgammaf_compat.c: Likewise.
9340 * math/w_tgammal_compat.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9342 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9343 * sysdeps/ieee754/k_standard.c: Likewise.
9344 * sysdeps/ieee754/k_standardf.c: Likewise.
9345 * sysdeps/ieee754/k_standardl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9348 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9349 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9351 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9352 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9353 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9354 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9361 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9362 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9364 2017-08-21 Florian Weimer <fweimer@redhat.com>
9367 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
9368 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
9369 Move before inclusion of ../Rules.
9371 2017-08-21 Florian Weimer <fweimer@redhat.com>
9374 * assert/assert.h (assert): Use static_cast (bool) for C++.
9375 Use the ternary operator in the warning branch for GNU C.
9376 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
9377 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
9378 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
9379 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
9380 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
9382 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9385 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9386 (__syscall_clock_gettime): Add attribute_hidden.
9387 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
9388 (__start_context): Likewise.
9390 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9392 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
9394 (hidden_proto): Likewise.
9395 (hidden_tls_proto): Likewise.
9396 (__hidden_proto): Likewise.
9398 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9400 * include/libc-symbols.h (attribute_hidden): Enable hidden
9401 visibility in libc.a compiled with PIE.
9403 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9406 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
9407 Add attribute_hidden.
9409 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9412 * Makerules (all-nonlib): Add $(others-extras).
9413 * catgets/Makefile (others-extras): New.
9414 * elf/Makefile (others-extras): Likewise.
9415 * nss/Makefile (others-extras): Likewise.
9417 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9420 * csu/libc-start.c (__libc_multiple_libcs): Removed.
9421 * elf/dl-open.c: Include <libc-internal.h>.
9422 (__libc_multiple_libcs): Removed.
9423 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
9425 * include/libc-internal.h (__libc_multiple_libcs): New.
9426 * misc/sbrk.c: Include <libc-internal.h>.
9427 (__libc_multiple_libcs): Removed.
9429 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
9432 * grp/initgroups.c (__nss_group_database): Removed.
9433 (__nss_initgroups_database): Likewise.
9434 * nscd/gai.c (__nss_hosts_database): Likewise.
9435 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
9436 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
9437 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
9438 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
9439 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
9440 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
9442 * nss/nsswitch.c (__nss_database_custom): Define only if
9443 USE_NSCD is defined.
9444 (__nss_configure_lookup): Use __nss_database_custom only if
9445 USE_NSCD is defined.
9446 * nss/nsswitch.h (__nss_database_custom): Declare only if
9447 USE_NSCD is defined. Add attribute_hidden.
9448 (__nss_setent): Add attribute_hidden.
9449 (__nss_endent): Likewise.
9450 (__nss_getent_r): Likewise.
9451 (__nss_getent): Likewise.
9452 (DEFINE_DATABASE): Declare __nss_##arg##_database.
9454 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
9457 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
9458 libc_hidden_proto and libc_hidden_def.
9460 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
9463 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
9464 Add libc_hidden_proto.
9465 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
9466 Add libc_hidden_def.
9468 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
9471 * gmon/Makefile (routines): Remove bb_init_func and
9473 (elide-routines.os): Removed.
9474 * gmon/bb_exit_func.c: Likewise.
9475 * gmon/bb_init_func.c: Likewise.
9476 * include/sys/gmon.h (__bb): Likewise.
9477 (__bb_init_func): Likewise.
9478 (__bb_exit_func): Likewise.
9479 * sysdeps/alpha/bb_init_func.S: Likewise.
9481 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
9483 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
9484 * include/setjmp.h (____longjmp_chk): Here. Add
9487 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
9490 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
9492 (__strspn_sse2): Likewise.
9494 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9496 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
9497 (close_not_cancel_no_status): Likewise.
9498 (__close_nocancel): New macro.
9499 (__close_nocancel_nostatus): Likewise.
9500 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
9502 (close_not_cancel): Likewise.
9503 (close_not_cancel_no_status): Likewise.
9504 (__close_nocancel): New prototype.
9505 (__close_nocancel_nostatus): New function.
9506 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
9507 * catgets/open_catalog.c (__open_catalog): Replace
9508 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
9509 * gmon/gmon.c (write_gmon): Likewise.
9510 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9511 * intl/loadmsgcat.c (close): Likewise.
9512 * io/ftw.c (open_dir_stream): Likewise.
9513 (ftw_startup): Likewise.
9514 * libio/fileops.c (_IO_file_open): Likewise.
9515 (_IO_file_close_mmap): Likewise.
9516 (_IO_file_close): Likewise.
9517 * libio/iopopen.c (_IO_dup2): Likewise.
9518 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9519 * locale/loadlocale.c (_nl_load_locale): Likewise.
9520 * login/utmp_file.c (pututline_file): Likewise.
9521 (endutent_file): Likewise.
9522 * misc/daemon.c (daemon): Likewise.
9523 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9524 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9525 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
9526 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9527 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9528 * nscd/nscd_helper.c (open_socket): Likewise.
9529 (__nscd_open_socket): Likewise.
9530 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9531 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
9532 (__nscd_innetgr): Likewise.
9533 * nss/nss_db/db-open.c (internal_setent): Likewise.
9534 * resolv/res-close.c (__res_iclose): Likewise.
9535 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
9536 * sysdeps/posix/closedir.c (__closedir): Likewise.
9537 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
9538 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9539 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
9540 (opendir_tail): Likewise.
9541 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
9542 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
9543 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9544 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9545 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
9546 (gethostid): Likewise.
9547 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
9548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9550 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9551 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
9552 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
9553 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
9555 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
9556 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
9557 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
9559 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
9560 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9562 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9564 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9565 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9566 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9569 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
9570 (openat_not_cancel_3): Likewise.
9571 (openat64_not_cancel_3): Likewise).
9572 (openat_not_cancel_3): Likewise).
9573 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
9575 (openat_not_cancel_3): Likewise.
9576 (openat64_not_cancel): Likewise.
9577 (openat64_not_cancel_3): Likewise.
9578 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
9579 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
9580 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
9581 __open{64}_nocancel.
9582 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
9583 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9584 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9586 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9589 * include/argz.h (__argz_create_sep): New function prototype.
9590 (__argz_append): Likewise.
9591 (__argz_add): Likewise.
9592 (__argz_add_sep): Likewise.
9593 (__argz_delete): Likewise.
9594 (__argz_insert): Likewise.
9595 (__argz_replace): Likewise.
9596 * string/argz.h (__argz_create_sep): Removed.
9597 (__argz_append): Likewise.
9598 (__argz_add): Likewise.
9599 (__argz_add_sep): Likewise.
9600 (__argz_delete): Likewise.
9601 (__argz_insert): Likewise.
9602 (__argz_replace): Likewise.
9604 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9606 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
9607 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
9608 (GNU_PROPERTY_STACK_SIZE): Likewie.
9609 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
9610 (GNU_PROPERTY_LOPROC): Likewise.
9611 (GNU_PROPERTY_HIPROC): Likewise.
9612 (GNU_PROPERTY_LOUSER): Likewise.
9613 (GNU_PROPERTY_HIUSER): Likewise.
9614 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
9615 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
9616 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
9617 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
9618 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
9619 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
9620 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
9621 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
9622 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
9623 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
9624 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
9625 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
9626 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
9627 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
9628 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
9629 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
9630 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
9631 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
9632 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
9633 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
9634 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
9635 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
9636 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
9638 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9640 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
9643 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9646 * math/math.h (isinf): Check if in C or C++ mode before using
9647 __builtin_types_compatible_p, since this is a C mode feature.
9649 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9651 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
9652 (__write_nocancel): New macro.
9653 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
9654 Rewrite as a function prototype.
9655 (write_not_cancel): Remove macro.
9656 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
9657 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
9658 (write_gmon): Likewise.
9659 * libio/fileops.c (_IO_new_file_write): Likewise.
9660 * login/utmp_file.c (pututline_file): Likewise.
9661 (updwtmp_file): Likewise.
9662 * stdio-common/psiginfo.c (psiginfo): Likewise.
9663 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
9664 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
9665 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9667 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9670 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
9671 (__read_nocancel): New macro.
9672 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9674 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
9676 (__read_nocancel): New prototype.
9677 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
9678 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
9679 with __read_nocancel.
9680 * intl/loadmsgcat.c (read): Likewise.
9681 * libio/fileops.c (_IO_file_read): Likewise.
9682 * locale/loadlocale.c (_nl_load_locale): Likewise.
9683 * login/utmp_file.c (getutent_r_file): Likewise.
9684 (internal_getut_r): Likewise.
9685 (getutline_r_file): Likewise.
9686 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
9687 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9688 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
9689 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9691 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
9692 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
9693 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
9695 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9697 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
9699 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9701 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9703 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9706 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
9707 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
9710 2017-08-17 DJ Delorie <dj@redhat.com>
9712 * bug17079.c: Update to new test harness.
9713 * test-digits-dots.c: Likewise.
9714 * test-netdb.c: Likewise.
9715 * tst-field.c: Likewise.
9716 * tst-nss-getpwent.c: Likewise.
9717 * tst-nss-static.c: Likewise.
9718 * tst-nss-test1.c: Likewise.
9719 * tst-nss-test2.c: Likewise.
9720 * tst-nss-test3.c: Likewise.
9721 * tst-nss-test4.c: Likewise.
9722 * tst-nss-test5.c: Likewise.
9724 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9726 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
9727 (open_not_cancel_2): Likewise.
9728 (open_nocancel): New macro.
9729 (open64_nocancel): Likewise.
9730 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
9731 (open_not_cancel_2): Likewise.
9732 (__open_nocancel): New prototype.
9733 (__open64_nocancel): Likewise.
9734 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9736 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
9737 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
9738 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
9739 with __open_nocancel.
9740 * csu/check_fds.c (check_one_fd): Likewise.
9741 * gmon/gmon.c (write_gmon): Likewise.
9742 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
9743 * intl/loadmsgcat.c (open): Likewise.
9744 * libio/fileops.c (_IO_file_open): Likewise.
9745 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9746 * locale/loadlocale.c (_nl_load_locale): Likewise.
9747 * login/utmp_file.c (setutent_file): Likewise.
9748 * misc/daemon.c (daemon): Likewise.
9749 * nss/nss_db/db-open.c (internal_setent): Likewise.
9750 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
9751 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
9752 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
9753 (__opendir): Likewise.
9754 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
9755 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
9756 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
9757 (gethostid): Likewise.
9758 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
9759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9762 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
9763 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
9764 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
9766 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9768 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
9770 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9772 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9774 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9776 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9777 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9779 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
9781 * benchtests/bench-skeleton.c (main): Add support for
9782 latency benchmarking.
9783 * benchtests/scripts/bench.py: Add support for latency benchmarking.
9785 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
9787 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
9790 2017-08-17 Florian Weimer <fweimer@redhat.com>
9792 * include/sys/socket.h (__opensock): Remove internal_function.
9793 * socket/opensock.c (__opensock): Likewise.
9794 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
9796 2017-08-16 Joseph Myers <joseph@codesourcery.com>
9799 * signal/bits/types/__sigval_t.h: New file.
9800 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
9801 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
9802 and define sigval_t using __sigval_t.
9803 * include/bits/types/__sigval_t.h: New file.
9804 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
9805 instead of <bits/types/__sigval_t.h>.
9806 (struct sigevent): Use __sigval_t instead of sigval_t.
9807 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
9808 instead of <bits/types/__sigval_t.h>.
9809 (siginfo_t): Use __sigval_t instead of sigval_t.
9810 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
9811 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
9812 (struct sigevent): Use __sigval_t instead of sigval_t.
9813 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
9814 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
9815 (siginfo_t): Use __sigval_t instead of sigval_t.
9816 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
9818 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9820 * NEWS: Remove "[Add new features here]" for 2.27.
9822 2017-08-16 Joseph Myers <joseph@codesourcery.com>
9824 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
9827 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9829 * NEWS: Mention x86-64 FMA optimization.
9831 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9834 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9836 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
9837 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
9838 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
9840 2017-08-16 Andreas Schwab <schwab@suse.de>
9844 * elf/ldd.bash.in: Never run file directly.
9846 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
9849 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
9850 (L(SP_INF_0)): Likewise.
9852 2017-08-15 Florian Weimer <fweimer@redhat.com>
9854 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
9857 2017-08-15 Florian Weimer <fweimer@redhat.com>
9859 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
9860 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
9861 BROKEN_THREAD_SIGNALS code.
9862 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
9863 request_list): Remove caller_pid member used for
9864 BROKEN_THREAD_SIGNALS.
9865 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
9866 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
9867 Remove BROKEN_THREAD_SIGNALS support.
9868 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9869 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
9871 2017-08-15 Florian Weimer <fweimer@redhat.com>
9873 * gmon/Makefile (tests): Add tst-gmon.
9874 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
9876 (tests-special): Add tst-gmon-prof.out.
9877 (tst-gmon.out): Depend on clean-tst-gmon-data.
9878 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
9879 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
9880 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
9882 * aclocal.m4 (GPROF): Set and substitute.
9883 * config.amke.in (GPROF): Set.
9884 * configure: Regenerate.
9886 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
9888 * elf/elf.h A (NT_PPC_TAR): New macro.
9889 (NT_PPC_PPR): Likewise.
9890 (NT_PPC_DSCR): Likewise.
9891 (NT_PPC_EBB): Likewise.
9892 (NT_PPC_PMU): Likewise.
9893 (NT_PPC_TM_CGPR): Likewise.
9894 (NT_PPC_TM_CFPR): Likewise.
9895 (NT_PPC_TM_CVMX): Likewise.
9896 (NT_PPC_TM_CVSX): Likewise.
9897 (NT_PPC_TM_SPR): Likewise.
9898 (NT_PPC_TM_CTAR): Likewise.
9899 (NT_PPC_TM_CPPR): Likewise.
9900 (NT_PPC_TM_CDSCR): Likewise.
9902 2017-08-15 Florian Weimer <fweimer@redhat.com>
9904 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
9905 regparm (2) instead of internal_function.
9906 (_MCOUNT_DECL): Adjust.
9908 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9910 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
9911 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9913 2017-08-14 Joseph Myers <joseph@codesourcery.com>
9915 * conform/data/sys/wait.h-data (si_value): Do not expect for
9918 2017-08-14 Florian Weimer <fweimer@redhat.com>
9921 NSS: Create stubs for accidentally exported lookup functions.
9922 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
9924 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
9925 (ether_hostton): Call __nss_ethers_lookup2 instead.
9926 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
9927 (ether_ntohost): Call __nss_ethers_lookup2 instead.
9928 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
9929 (setup): Call __nss_netgroup_lookup2 instead.
9930 * nss/Makefile (routines): Add compat-lookup.
9931 * nss/Versions (GLIBC_2.27): Add symbol version.
9932 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
9933 (DB_COMPAT_FCT): Remove.
9934 * nss/compat-lookup.c: New file.
9935 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
9937 * nss/service-lookup.c (NO_COMPAT): Remove definition.
9938 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
9939 (netname2user): Call __nss_publickey_lookup2 instead.
9940 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
9941 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
9944 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9945 Sergei Trofimovich <slyfox@inbox.ru>
9948 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
9949 Rename to MMAP2_PAGE_UNIT.
9950 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
9951 __OFF_T_MATCHES_OFF64_T is not defined.
9952 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
9954 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
9955 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
9957 2017-08-14 Florian Weimer <fweimer@redhat.com>
9959 i386: Do not set internal_function.
9960 * config.h.in (USE_REGPARMS, internal_function): Remove.
9961 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
9962 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
9964 2017-08-14 Florian Weimer <fweimer@redhat.com>
9966 * elf/dl-init.c (_dl_init): Remove internal_function.
9967 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
9968 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
9970 2017-08-14 Florian Weimer <fweimer@redhat.com>
9972 * elf/rtld.c (_dl_start): Remove internal_function.
9973 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
9976 2017-08-14 Florian Weimer <fweimer@redhat.com>
9978 * elf/dl-fini.c (_dl_fini): Remove internal_function
9979 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9981 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
9983 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
9984 (bit_cpu_SHSTK): Likewise.
9985 (index_cpu_IBT): Likewise.
9986 (index_cpu_SHSTK): Likewise.
9987 (reg_IBT): Likewise.
9988 (reg_SHSTK): Likewise.
9989 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9990 Handle index_cpu_IBT and index_cpu_SHSTK.
9992 2017-08-14 Mike FABIAN <mfabian@redhat.com>
9995 * po/fr.po: Fix spelling mistake.
9997 2017-08-13 Florian Weimer <fweimer@redhat.com>
9999 * elf/dl-addr.c (_dl_addr): Remove internal_function.
10000 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
10001 (_dl_catch_error, _dl_receive_error): Likewise.
10002 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
10003 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
10004 (_dl_deallocate_tls): Likewise.
10005 * include/dlfcn.h (_dl_addr): Likewise.
10006 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
10007 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
10008 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
10011 2017-08-13 Florian Weimer <fweimer@redhat.com>
10013 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
10014 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
10016 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
10018 2017-08-13 Florian Weimer <fweimer@redhat.com>
10020 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
10022 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
10023 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
10024 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
10025 internal_function from _dl_make_stack_executable_hook member.
10026 (_dl_make_stack_executable): Remove internal_function.
10027 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
10029 * sysdeps/unix/sysv/linux/dl-execstack.c
10030 (_dl_make_stack_executable): Likewise.
10032 2017-08-13 Florian Weimer <fweimer@redhat.com>
10034 * sysdeps/unix/sysv/linux/netlinkaccess.h
10035 (__netlink_assert_response): Remove internal_function.
10036 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10037 (__netlink_assert_response): Likewise.
10039 2017-08-13 Florian Weimer <fweimer@redhat.com>
10041 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
10043 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
10045 2017-08-13 Florian Weimer <fweimer@redhat.com>
10047 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
10049 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
10050 * inet/netgroup.h (__internal_setnetgrent)
10051 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
10052 * inet/getnetgrent_r.c (__internal_setnetgrent)
10053 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
10054 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
10055 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
10056 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
10057 * nss/nsswitch.h (db_lookup_function): Likewise.
10059 2017-08-13 Florian Weimer <fweimer@redhat.com>
10061 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
10062 Remove internal_function.
10063 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
10064 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
10065 message argument on the stack.
10066 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
10069 2017-08-12 Mike FABIAN <mfabian@redhat.com>
10071 Adapt test case data to the changes in the thousands
10075 * localedata/tst-langinfo.sh: Adapt test case data.
10076 * stdlib/tst-strfmon_l.c: Likewise.
10077 * stdlib/tst-strtod4.c: Likewise.
10078 * stdlib/tst-strtod5i.c: Likewise.
10080 2017-08-11 Florian Weimer <fweimer@redhat.com>
10083 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
10084 Suppress pedantic warning resulting from statement expression.
10085 (__ASSERT_FUNCTION): Add missing __extension__.
10087 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10089 * benchtests/bench-memmove-large.c: Print output in JSON
10091 * benchtests/bench-memmove.c: Likewise.
10093 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
10094 * benchtests/bench-memchr.c (do_one_test): Likewise.
10095 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
10096 * benchtests/bench-memcpy.c (do_one_test): Likewise.
10097 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
10098 * benchtests/bench-memmove.c (do_one_test): Likewise.
10099 * benchtests/bench-memset-large.c (do_one_test): Likewise.
10100 * benchtests/bench-memset.c (do_one_test): Likewise.
10101 * benchtests/bench-string.h (test_init): Remove memsets.
10103 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
10106 (Computing the Width of an Integer Data Type): Rename section to
10107 "Width of an Integer Type". Remove inaccurate statement regarding
10108 lack of C language facilities for determining width of integer
10109 types, and reorder content to improve flow and context of
10112 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
10114 * lang.texi (va_copy): Change standard from ISO to C99.
10115 (__va_copy): Add standard and header annotation.
10116 Update description for clarity of origins and current use.
10118 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10121 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
10122 xssqrtqp requires operands to be in Vector Registers
10123 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
10124 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
10125 (__ieee754_sqrtf128): Likewise.
10127 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10129 * sysdeps/aarch64/memcmp.S (memcmp):
10130 Rewrite of optimized memcmp.
10132 2017-08-10 Florian Weimer <fweimer@redhat.com>
10134 Introduce ld.so exceptions.
10135 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
10136 (_dl_exception_create, _dl_exception_create_format)
10137 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
10138 (_dl_catch_exception): Declare.
10139 (_dl_catch_error): Update comment.
10140 * elf/dl-error-skeleton.c (struct catch): Replace objname,
10141 errstring, malloced members with exception member.
10142 (_dl_out_of_memory): Remove.
10143 (fatal_error): New function, extracted from _dl_signal_error.
10144 (_dl_signal_exception, _dl_signal_cexception): New functions.
10145 (_dl_signal_error): Call _dl_exception_create to allocate an
10147 (_dl_catch_exception): New function, based on _dl_catch_error.
10148 (_dl_catch_error): Implement using _dl_catch_exception.
10149 * elf/dl-exception.c: New file.
10150 * elf/Makefile (dl-routines): Add dl-exception.
10151 (elide-routines.os): Likewise.
10152 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
10153 _dl_exception_create_format, _dl_exception_free.
10154 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
10155 _dl_signal_exception.
10156 * elf/dl-lookup.c (make_string): Remove.
10157 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
10158 _dl_signal_cexception, _dl_exception_free.
10159 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
10160 _dl_signal_exception.
10161 * elf/dl-sym.c (do_sym): Likewise.
10162 * elf/dl-version.c (make_string): Remove.
10163 (match_symbol): Use _dl_exception_create_format,
10164 _dl_signal_cexception, _dl_exception_free.
10165 (_dl_check_map_versions): Likewise.
10166 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
10167 _dl_catch_exception.
10168 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10169 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10170 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10171 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10172 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10173 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10174 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10175 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10177 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10184 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10185 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10186 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10188 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10190 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10192 2017-08-10 Florian Weimer <fweimer@redhat.com>
10194 * inet/net-internal.h (__inet6_scopeid_pton): Remove
10195 attribute_hidden, internal_function.
10196 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
10199 2017-08-10 Florian Weimer <fweimer@redhat.com>
10201 * malloc/malloc.c (get_max_fast): Reimplement as an inline
10202 function which calls __builtin_unreachable.
10204 2017-08-10 Mike FABIAN <mfabian@redhat.com>
10206 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
10207 Indian monetary formatting
10208 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
10211 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
10213 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
10214 Fix typo in comment.
10217 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
10218 PTRACE_SEIZE_DEVEL): Remove.
10219 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
10220 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10221 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10222 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10225 2017-08-09 Joseph Myers <joseph@codesourcery.com>
10227 * posix/bits/types.h (__qaddr_t): Remove.
10230 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
10231 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10233 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
10234 (ucontext_t): Use __ctx with uc_flags.
10235 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
10236 (__ctxt): Likewise.
10237 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10239 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
10240 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10242 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
10243 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10245 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
10247 (ucontext_t): Use __ctx with uc_flags.
10248 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
10249 (ucontext_t): Use __ctx with uc_flags.
10250 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
10251 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
10252 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
10253 (ucontext_t): Use __ctx with uc_flags.
10254 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
10255 undefine further down.
10256 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
10258 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
10259 undefine further down.
10260 (ucontext_t): Use __ctx with uc_flags.
10261 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
10262 undefine further down.
10263 (ucontext_t): Use __ctx with uc_flags.
10264 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
10265 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
10266 Rename uc_pad to __glibc_reserved1.
10267 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
10268 undefine further down.
10269 (ucontext_t): Use __ctx with uc_flags.
10270 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
10272 (ucontext_t): Use __ctx with uc_flags.
10273 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
10274 __ctx with uc_flags.
10275 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
10276 (ucontext_t): Use __ctx with uc_flags.
10277 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
10278 __ctx with uc_flags.
10280 2017-08-09 Florian Weimer <fweimer@redhat.com>
10283 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
10284 before early return.
10286 2017-08-09 Andreas Schwab <schwab@suse.de>
10289 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
10293 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
10294 tst-compat-forwarder.
10295 (modules-names): Add tst-compat-forwarder-mod.
10296 ($(objpfx)tst-compat-forwarder): Depend on
10297 $(objpfx)tst-compat-forwarder-mod.so.
10298 * nptl/tst-compat-forwarder.c: New file.
10299 * nptl/tst-compat-forwarder-mod.c: New file.
10301 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
10303 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
10306 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
10307 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10309 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
10311 (__libc_ifunc_impl_list): Add __memcpy_falkor.
10312 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
10313 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
10314 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
10316 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
10319 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10322 * manual/setjmp.texi (getcontex): Document uc_stack value
10323 compatibility differences.
10325 2017-08-08 Joseph Myers <joseph@codesourcery.com>
10327 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
10328 (old_malloc_hook): Likewise.
10329 (old_memalign_hook): Likewise.
10330 (old_realloc_hook): Likewise.
10331 (struct hdr): Likewise.
10333 (freehook): Likewise.
10334 (mallochook): Likewise.
10335 (memalignhook): Likewise.
10336 (reallochook): Likewise.
10337 (mprobe): Likewise.
10338 * malloc/mtrace.c (mallwatch): Likewise.
10339 (tr_old_free_hook): Likewise.
10340 (tr_old_malloc_hook): Likewise.
10341 (tr_old_realloc_hook): Likewise.
10342 (tr_old_memalign_hook): Likewise.
10343 (tr_where): Likewise.
10344 (lock_and_info): Likewise.
10345 (tr_freehook): Likewise.
10346 (tr_mallochook): Likewise.
10347 (tr_reallochook): Likewise.
10348 (tr_memalignhook): Likewise.
10349 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
10350 * misc/mmap.c (__mmap): Likewise.
10351 * misc/mmap64.c (__mmap64): Likewise.
10352 * misc/mprotect.c (__mprotect): Likewise.
10353 * misc/msync.c (msync): Likewise.
10354 * misc/munmap.c (__munmap): Likewise.
10355 * posix/posix_madvise.c (posix_madvise): Likewise.
10356 * socket/send.c (__send): Likewise.
10357 * socket/sendto.c (__sendto): Likewise.
10358 * socket/setsockopt.c (__setsockopt): Likewise.
10359 * string/memcmp.c (__ptr_t): Remove macro.
10360 (MEMCMP): Use void * instead of ptr_t.
10361 * string/memrchr.c (__ptr_t): Remove macro.
10362 (__memrchr): Use void * instead of ptr_t.
10363 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
10364 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
10365 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
10366 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
10367 * sysdeps/mach/msync.c (msync): Likewise.
10368 * sysdeps/mach/munmap.c (__munmap): Likewise.
10369 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
10371 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10372 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
10373 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
10374 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
10375 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10376 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10377 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
10378 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
10380 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10381 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
10382 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
10383 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
10384 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
10385 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
10386 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
10387 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
10388 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
10390 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
10391 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
10392 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
10393 (MEMCMP): Use void * instead of ptr_t.
10394 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
10395 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
10397 2017-08-08 Florian Weimer <fweimer@redhat.com>
10399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
10402 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
10405 * csu/libc-tls.c: Include <startup.h> first.
10406 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
10407 * elf/dl-tunables.c: Include <startup.h> first.
10408 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
10409 * sysdeps/generic/startup.h: New file.
10410 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
10411 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
10412 (I386_USE_SYSENTER): New. Defined to 0.
10414 2017-08-08 Andreas Schwab <schwab@suse.de>
10417 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
10418 * nptl/pt-system.c (system): Likewise.
10420 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10423 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
10425 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
10426 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
10427 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
10428 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
10429 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10430 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10431 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10433 2017-08-07 Joseph Myers <joseph@codesourcery.com>
10436 * bits/sigaction.h (struct sigaction): Define sa_handler and
10437 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
10438 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10439 [__USE_XOPEN_EXTENDED].
10440 (SA_RESTART): Likewise.
10441 (SA_NODEFER): Likewise.
10442 (SA_RESETHAND): Likewise.
10443 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
10444 (struct sigaction): Define sa_handler and sa_sigaction using union
10445 also for [__USE_XOPEN_EXTENDED].
10446 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10447 [__USE_XOPEN_EXTENDED].
10448 (SA_RESTART): Likewise.
10449 (SA_NODEFER): Likewise.
10450 (SA_RESETHAND): Likewise.
10451 * sysdeps/unix/sysv/linux/bits/sigaction.h
10452 (struct sigaction): Define sa_handler and sa_sigaction using union
10453 also for [__USE_XOPEN_EXTENDED].
10454 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10455 [__USE_XOPEN_EXTENDED].
10456 (SA_RESTART): Likewise.
10457 (SA_NODEFER): Likewise.
10458 (SA_RESETHAND): Likewise.
10459 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
10460 (struct sigaction): Define sa_handler and sa_sigaction using union
10461 also for [__USE_XOPEN_EXTENDED].
10462 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10463 [__USE_XOPEN_EXTENDED].
10464 (SA_RESTART): Likewise.
10465 (SA_NODEFER): Likewise.
10466 (SA_RESETHAND): Likewise.
10467 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
10468 (struct sigaction): Define sa_handler and sa_sigaction using union
10469 also for [__USE_XOPEN_EXTENDED].
10470 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10471 [__USE_XOPEN_EXTENDED].
10472 (SA_RESTART): Likewise.
10473 (SA_NODEFER): Likewise.
10474 (SA_RESETHAND): Likewise.
10475 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10476 (struct sigaction): Define sa_handler and sa_sigaction using union
10477 also for [__USE_XOPEN_EXTENDED].
10478 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10479 [__USE_XOPEN_EXTENDED].
10480 (SA_RESTART): Likewise.
10481 (SA_NODEFER): Likewise.
10482 (SA_RESETHAND): Likewise.
10483 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10484 (struct sigaction): Define sa_handler and sa_sigaction using union
10485 also for [__USE_XOPEN_EXTENDED].
10486 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10487 [__USE_XOPEN_EXTENDED].
10488 (SA_RESTART): Likewise.
10489 (SA_NODEFER): Likewise.
10490 (SA_RESETHAND): Likewise.
10491 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10492 (struct sigaction): Define sa_handler and sa_sigaction using union
10493 also for [__USE_XOPEN_EXTENDED].
10494 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10495 [__USE_XOPEN_EXTENDED].
10496 (SA_RESTART): Likewise.
10497 (SA_NODEFER): Likewise. Define directly rather than as alias.
10498 (SA_RESETHAND): Likewise.
10499 (SA_INTERRUPT): Define only for [__USE_MISC].
10500 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
10501 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
10503 (SA_STACK): Define only for [__USE_MISC].
10504 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
10505 (struct sigaction): Define sa_handler and sa_sigaction using union
10506 also for [__USE_XOPEN_EXTENDED].
10507 (SA_ONSTACK): Change [__USE_UNIX98] condition to
10508 [__USE_XOPEN_EXTENDED].
10509 (SA_RESTART): Likewise.
10510 (SA_NODEFER): Likewise.
10511 (SA_RESETHAND): Likewise.
10512 (SA_NOPTRACE): Define only for [__USE_MISC].
10514 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
10515 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
10516 (struct catalog_info): Likewise.
10517 * inet/htontest.c (lo): Likewise.
10519 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10520 * inet/inet_net.c (inet_network): Likewise.
10521 * inet/inet_netof.c (inet_netof): Likewise.
10522 * inet/rcmd.c (__ivaliduser): Likewise.
10523 (iruserok): Likewise.
10524 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
10525 * locale/programs/locale-spec.c (locale_special): Likewise.
10526 * nis/nis_findserv.c (struct findserv_req): Likewise.
10527 (__nis_findfastest_with_timeout): Likewise.
10528 * nss/test-netdb.c (test_network): Likewise.
10529 * resolv/inet_neta.c (inet_neta): Likewise.
10530 * resolv/ns_date.c (ns_datetosecs): Likewise.
10531 (SECS_PER_DAY): Likewise.
10532 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
10534 * resolv/res_comp.c (__putlong): Likewise.
10535 (__putshort): Likewise.
10536 (_getlong): Likewise.
10537 (_getshort): Likewise.
10538 * resolv/res_debug.c (p_time): Likewise.
10539 (precsize_ntoa): Likewise.
10540 (precsize_aton): Likewise.
10541 (latlon2ul): Likewise.
10542 (loc_aton): Likewise.
10543 (loc_ntoa): Likewise.
10544 * resolv/res_hconf.c (struct netaddr): Likewise.
10545 (_res_hconf_reorder_addrs): Likewise.
10546 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10547 (clnttcp_control): Likewise.
10548 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10549 (clntudp_control): Likewise.
10550 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10551 (clntunix_control): Likewise.
10552 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10553 * sunrpc/rpc/auth.h (union des_block): Likewise.
10554 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
10555 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
10556 (xdrrec_create): Likewise.
10557 (xdrrec_endofrecord): Likewise.
10558 (flush_out): Likewise.
10559 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
10560 (xdrstdio_putlong): Likewise.
10561 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
10564 * misc/sys/cdefs.h (__long_double_t): Remove.
10565 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
10566 instead of __long_double_t,
10567 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
10569 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10571 * benchtests/scripts/compare_strings.py: Avoid display error when
10572 running on a text terminal.
10574 * benchtests/scripts/compare_strings.py (main): Add an
10575 optional -base option.
10576 (process_results): New argument base_func.
10578 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
10580 * benchtests/bench-memcpy-large.c (test_name): Likewise.
10581 * benchtests/bench-memcpy-random.c (test_name): Likewise.
10583 2017-08-07 Andreas Schwab <schwab@suse.de>
10585 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
10586 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10587 * intl/Makefile ($(objpfx)tst-gettext.out)
10588 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
10589 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
10590 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10591 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10592 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
10593 * posix/Makefile ($(objpfx)globtest.out)
10594 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
10595 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
10596 ($(objpfx)tst-printf.out): Likewise.
10597 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
10598 ($(objpfx)tst-setcontext3.out): Likewise.
10600 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
10602 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10603 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
10604 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
10605 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
10606 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
10608 (CFLAGS-doasin-fma.c): New.
10609 (CFLAGS-dosincos-fma.c): Likewise.
10610 (CFLAGS-e_asin-fma.c): Likewise.
10611 (CFLAGS-e_atan2-fma.c): Likewise.
10612 (CFLAGS-e_exp-fma.c): Likewise.
10613 (CFLAGS-e_log-fma.c): Likewise.
10614 (CFLAGS-e_pow-fma.c): Likewise.
10615 (CFLAGS-halfulp-fma.c): Likewise.
10616 (CFLAGS-mpa-fma.c): Likewise.
10617 (CFLAGS-mpatan-fma.c): Likewise.
10618 (CFLAGS-mpatan2-fma.c): Likewise.
10619 (CFLAGS-mpexp-fma.c): Likewise.
10620 (CFLAGS-mplog-fma.c): Likewise.
10621 (CFLAGS-mpsqrt-fma.c): Likewise.
10622 (CFLAGS-mptan-fma.c): Likewise.
10623 (CFLAGS-s_atan-fma.c): Likewise.
10624 (CFLAGS-sincos32-fma.c): Likewise.
10625 (CFLAGS-slowexp-fma.c): Likewise.
10626 (CFLAGS-slowpow-fma.c): Likewise.
10627 (CFLAGS-s_sin-fma.c): Likewise.
10628 (CFLAGS-s_tan-fma.c): Likewise.
10629 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
10630 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
10631 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
10632 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
10633 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
10634 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
10635 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
10636 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
10637 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
10638 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
10639 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
10640 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
10641 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
10642 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
10643 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
10644 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
10645 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
10646 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
10647 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
10648 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
10649 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
10650 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
10651 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
10652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
10653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10654 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10655 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10656 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10657 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10658 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10659 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10661 2017-08-04 Joseph Myers <joseph@codesourcery.com>
10663 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
10664 (min_of_type_f): New macro.
10665 (min_of_type_): Likewise.
10666 (min_of_type_l): Likewise.
10667 (min_of_type_f128): Likewise.
10668 (min_of_type): Define using __MATH_TG and taking an expression
10670 (math_check_force_underflow): Pass expression instead of type to
10672 (math_check_force_underflow_nonneg): Likewise.
10674 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10676 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
10677 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
10678 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
10680 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10683 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
10684 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
10685 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
10686 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
10687 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
10688 memcpy_chk-nonshared, mempcpy_chk-nonshared,
10689 memmove_chk-nonshared and memset_chk-nonshared
10690 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
10691 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
10692 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
10693 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
10694 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
10695 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
10696 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
10697 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
10698 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
10699 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
10700 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
10701 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
10702 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
10703 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
10704 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
10705 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
10706 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
10707 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
10708 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
10709 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
10710 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
10711 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
10712 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
10713 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
10714 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
10715 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
10716 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
10717 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
10718 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
10719 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
10720 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
10721 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
10722 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
10723 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
10724 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
10725 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
10726 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
10727 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
10728 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
10729 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
10730 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
10731 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
10732 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
10733 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
10734 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
10735 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
10736 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
10737 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
10738 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
10739 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
10740 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
10741 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
10742 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
10743 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
10744 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
10745 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
10746 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
10747 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
10748 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
10749 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
10750 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
10751 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
10752 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
10753 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
10754 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
10755 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
10756 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
10757 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
10758 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
10759 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
10760 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
10761 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10762 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10763 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10764 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10765 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10766 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10767 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10768 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10769 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10770 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10774 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10775 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10776 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10777 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10778 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10779 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10780 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10781 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10782 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10783 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10784 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10785 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10786 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10787 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10788 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10789 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10790 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10791 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10792 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10793 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10794 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10795 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10796 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10797 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10799 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10801 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
10802 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
10803 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
10804 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
10805 svml_d_log2_core-sse2, svml_d_log4_core-sse,
10806 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
10807 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
10808 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
10809 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
10810 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
10811 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
10812 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
10813 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
10814 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
10815 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
10816 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
10817 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
10818 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
10819 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
10820 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
10821 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
10822 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
10823 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
10824 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
10825 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
10826 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
10827 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
10828 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
10829 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
10830 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
10831 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
10832 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
10833 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
10834 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
10835 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
10836 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
10837 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
10838 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
10839 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
10840 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
10841 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
10842 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
10843 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
10844 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
10845 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
10846 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
10847 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
10848 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
10849 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
10850 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
10851 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
10852 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
10854 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
10855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
10856 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
10857 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
10859 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
10861 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
10862 Don't include <sysdep.h> nor <init-arch.h>.
10863 (_ZGVbN2v_cos): Removed.
10864 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
10866 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
10867 Don't include <sysdep.h> nor <init-arch.h>.
10868 (_ZGVdN4v_cos): Removed.
10869 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
10871 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
10872 Don't include <sysdep.h> nor <init-arch.h>.
10873 (_ZGVeN8v_cos): Removed.
10874 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
10876 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
10877 Don't include <sysdep.h> nor <init-arch.h>.
10878 (_ZGVbN2v_exp): Removed.
10879 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
10881 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
10882 Don't include <sysdep.h> nor <init-arch.h>.
10883 (_ZGVdN4v_exp): Removed.
10884 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
10886 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
10887 Don't include <sysdep.h> nor <init-arch.h>.
10888 (_ZGVeN8v_exp): Removed.
10889 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
10891 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
10892 Don't include <sysdep.h> nor <init-arch.h>.
10893 (_ZGVbN2v_log): Removed.
10894 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
10896 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
10897 Don't include <sysdep.h> nor <init-arch.h>.
10898 (_ZGVdN4v_log): Removed.
10899 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
10901 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
10902 Don't include <sysdep.h> nor <init-arch.h>.
10903 (_ZGVeN8v_log): Removed.
10904 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
10906 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
10907 Don't include <sysdep.h> nor <init-arch.h>.
10908 (_ZGVbN2vv_pow): Removed.
10909 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
10911 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
10912 Don't include <sysdep.h> nor <init-arch.h>.
10913 (_ZGVdN4vv_pow): Removed.
10914 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
10916 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
10917 Don't include <sysdep.h> nor <init-arch.h>.
10918 (_ZGVeN8vv_pow): Removed.
10919 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
10921 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
10922 Don't include <sysdep.h> nor <init-arch.h>.
10923 (_ZGVbN2v_sin): Removed.
10924 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
10926 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
10927 Don't include <sysdep.h> nor <init-arch.h>.
10928 (_ZGVbN4v_sin): Removed.
10929 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
10931 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
10932 Don't include <sysdep.h> nor <init-arch.h>.
10933 (_ZGVbN8v_sin): Removed.
10934 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
10936 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
10937 Don't include <sysdep.h> nor <init-arch.h>.
10938 (_ZGVbN2vvv_sincos): Removed.
10939 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
10941 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
10942 Don't include <sysdep.h> nor <init-arch.h>.
10943 (_ZGVdN4vvv_sincos): Removed.
10944 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
10946 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
10947 Don't include <sysdep.h> nor <init-arch.h>.
10948 (_ZGVeN8vvv_sincos): Removed.
10949 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
10951 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
10952 Don't include <sysdep.h> nor <init-arch.h>.
10953 (_ZGVeN16v_cosf): Removed.
10954 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
10956 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
10957 Don't include <sysdep.h> nor <init-arch.h>.
10958 (_ZGVbN4v_cosf): Removed.
10959 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
10961 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
10962 Don't include <sysdep.h> nor <init-arch.h>.
10963 (_ZGVdN8v_cosf): Removed.
10964 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
10966 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
10967 Don't include <sysdep.h> nor <init-arch.h>.
10968 (_ZGVeN16v_expf): Removed.
10969 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
10971 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
10972 Don't include <sysdep.h> nor <init-arch.h>.
10973 (_ZGVbN4v_expf): Removed.
10974 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
10976 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
10977 Don't include <sysdep.h> nor <init-arch.h>.
10978 (_ZGVdN8v_expf): Removed.
10979 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
10981 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
10982 Don't include <sysdep.h> nor <init-arch.h>.
10983 (_ZGVeN16v_logf): Removed.
10984 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
10986 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
10987 Don't include <sysdep.h> nor <init-arch.h>.
10988 (_ZGVbN4v_logf): Removed.
10989 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
10991 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
10992 Don't include <sysdep.h> nor <init-arch.h>.
10993 (_ZGVdN8v_logf): Removed.
10994 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
10996 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
10997 Don't include <sysdep.h> nor <init-arch.h>.
10998 (_ZGVeN16vv_powf): Removed.
10999 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
11001 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
11002 Don't include <sysdep.h> nor <init-arch.h>.
11003 (_ZGVbN4vv_powf): Removed.
11004 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
11006 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
11007 Don't include <sysdep.h> nor <init-arch.h>.
11008 (_ZGVdN8vv_powf): Removed.
11009 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
11011 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
11012 Don't include <sysdep.h> nor <init-arch.h>.
11013 (_ZGVeN16vvv_sincosf): Removed.
11014 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
11016 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
11017 Don't include <sysdep.h> nor <init-arch.h>.
11018 (_ZGVbN4vvv_sincosf): Removed.
11019 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
11021 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
11022 Don't include <sysdep.h> nor <init-arch.h>.
11023 (_ZGVdN8vvv_sincosf): Removed.
11024 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
11026 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
11027 Don't include <sysdep.h> nor <init-arch.h>.
11028 (_ZGVeN16v_sinf): Removed.
11029 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
11031 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
11032 Don't include <sysdep.h> nor <init-arch.h>.
11033 (_ZGVbN4v_sinf): Removed.
11034 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
11036 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
11037 Don't include <sysdep.h> nor <init-arch.h>.
11038 (_ZGVdN8v_sinf): Removed.
11040 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11042 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11043 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
11044 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
11045 s_rint-sse4_1 and s_rintf-sse4_1.
11046 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
11047 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11048 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11049 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
11050 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
11051 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
11052 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
11053 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
11054 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
11055 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
11056 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
11057 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
11059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
11060 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
11061 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
11062 (__ceilf): Removed.
11063 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
11064 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
11065 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
11066 (__floor): Removed.
11067 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
11068 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
11069 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
11070 (__floorf): Removed.
11071 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
11072 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
11073 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
11074 (__nearbyint): Removed.
11075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
11076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
11077 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
11078 (__nearbyintf): Removed.
11079 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
11080 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
11081 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
11083 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
11084 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
11085 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
11086 (__rintf): Removed.
11088 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11090 * sysdeps/i386/start.S (_start): Check Check PIC instead of
11091 SHARED. Avoid dynamic relocation against main in static PIE.
11093 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11096 * elf/Makefile (CFLAGS-tst-prelink.c): New.
11097 (LDFLAGS-tst-prelink): Likewise.
11099 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11101 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
11102 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
11103 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
11104 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11105 (INTERNAL_SYSCALL_NCS): Likewise.
11106 (LOADARGS_1): Likewise.
11107 (LOADARGS_5): Likewise.
11108 (RESTOREARGS_1): Likewise.
11109 (RESTOREARGS_5): Likewise.
11111 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11113 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
11114 (MEMPCPY_SYMBOL): Likewise.
11115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11116 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
11117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
11119 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11120 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11122 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
11123 (__hidden_ver1): Don't use in libc.a.
11124 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11125 (__mempcpy): Don't create a weak alias in libc.a.
11126 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
11128 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
11129 (__hidden_ver1): Don't use in libc.a.
11131 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11133 * config.make.in (have-insert): New.
11134 * configure.ac (libc_cv_insert): New. Set to yes if linker
11135 supports INSERT in linker script.
11136 (AC_SUBST(libc_cv_insert): New.
11137 * configure: Regenerated.
11138 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
11139 if $(have-insert) == yes.
11141 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11143 * elf/Makefile (tests): Add vismain only if
11144 $(have-protected-data) == yes.
11145 (tests-pie): Likewise.
11147 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11150 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11151 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
11153 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
11156 * sysdeps/i386/i586/memset.S
11157 (__memset_zero_constant_len_parameter): Removed.
11158 * sysdeps/i386/i686/memset.S
11159 (__memset_zero_constant_len_parameter): Likewise.
11160 * sysdeps/i386/i686/multiarch/memset_chk.S
11161 (__memset_zero_constant_len_parameter): Likewise.
11162 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
11165 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
11167 * stdlib/getentropy.c (getentropy): Change return type to int.
11169 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
11171 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11173 2017-08-03 Joseph Myers <joseph@codesourcery.com>
11175 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
11177 * math/s_nexttowardf.c (__nexttowardf): Likewise.
11178 * sysdeps/generic/math_private.h (ieee_double_shape_type):
11180 (ieee_float_shape_type): Likewise.
11181 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
11182 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
11183 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11184 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11185 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11186 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
11187 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
11188 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11189 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11191 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11192 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11193 (__ieee754_yn): Likewise.
11194 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11195 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11196 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
11198 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11199 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
11200 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
11201 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
11202 (__erfc): Likewise.
11203 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11204 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
11205 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
11206 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
11207 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
11208 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
11210 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11211 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
11212 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11213 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
11214 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11215 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
11216 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
11217 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
11218 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
11219 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11220 (__issignaling): Likewise.
11221 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
11222 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
11223 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11225 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11226 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
11227 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
11228 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
11230 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
11232 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
11233 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
11234 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
11235 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11236 (__erfcf): Likewise.
11237 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11238 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11239 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
11240 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
11242 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
11243 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
11245 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11246 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
11247 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11248 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
11249 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
11250 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11251 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
11252 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
11254 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
11256 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11258 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
11259 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11261 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11263 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11264 (__ieee754_ynl): Likewise.
11265 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11266 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
11268 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
11270 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11271 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
11272 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11274 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11275 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
11277 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
11278 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
11281 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
11283 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11284 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
11285 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
11287 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
11288 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
11289 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11290 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11291 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
11292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11296 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11298 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11300 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
11301 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11302 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11303 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
11304 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11305 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
11306 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
11308 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11311 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11313 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11314 (__ieee754_remainderl): Likewise.
11315 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11316 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11317 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11318 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11321 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11323 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11324 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
11325 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11326 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11327 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11328 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11330 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11331 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
11332 (__ieee754_y0l): Likewise.
11335 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11336 (__ieee754_y1l): Likewise.
11339 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11340 (__ieee754_ynl): Likewise.
11341 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
11342 (__ieee754_lgammal_r): Likewise.
11343 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
11345 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11346 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
11347 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11348 (__erfcl): Likewise.
11349 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11350 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
11352 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
11353 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
11354 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11355 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
11356 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
11357 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11358 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11360 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
11361 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11362 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
11363 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
11364 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11366 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
11367 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
11369 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
11370 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
11371 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
11372 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11373 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11375 2017-08-03 Florian Weimer <fweimer@redhat.com>
11378 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
11379 on memory allocation failure.
11381 2017-08-03 Alan Modra <amodra@gmail.com>
11383 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
11384 tst-tlsopt-powerpc.c with function name change and no test harness.
11385 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
11386 Call tls_get_addr_opt_test.
11387 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
11388 (modules-names): Add mod-tlsopt-powerpc.
11389 (mod-tlsopt-powerpc.so-no-z-defs): Define.
11390 (tst-tlsopt-powerpc): Depend on .so.
11391 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
11392 define. Expand use in TLS_GD and TLS_LD.
11394 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11396 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
11398 * sysdeps/posix/shm_open.c: Include <pthread.h>.
11400 2017-08-02 Joseph Myers <joseph@codesourcery.com>
11403 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
11404 comparing size with that of double.
11405 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
11406 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
11407 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
11408 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
11409 (__TGMATH_BINARY_REAL_IMAG): Likewise.
11410 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
11411 unsigned __int128 types.
11413 2017-08-02 Steve Ellcey <sellcey@cavium.com>
11415 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
11416 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
11417 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
11418 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
11419 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
11421 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
11423 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
11425 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
11427 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
11429 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11430 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11432 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11433 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11434 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11437 2017-08-02 Joseph Myers <joseph@codesourcery.com>
11440 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
11441 bit-field expressions passed to sizeof or typeof.
11442 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11443 (__TGMATH_F128): Likewise.
11444 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11445 (__TGMATH_CF128): Likewise.
11446 (__TGMATH_UNARY_REAL_ONLY): Likewise.
11447 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
11448 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
11449 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
11450 (__TGMATH_BINARY_REAL_ONLY): Likewise.
11451 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
11452 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
11453 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
11454 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
11455 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
11456 (__TGMATH_UNARY_REAL_IMAG): Likewise.
11457 (__TGMATH_UNARY_IMAG): Likewise.
11458 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
11459 (__TGMATH_BINARY_REAL_IMAG): Likewise.
11460 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
11462 (define_vars_for_type): Handle bit_field type specially.
11463 (Tests.__init__): Declare structure with bit-field element.
11465 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
11468 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
11469 (MEMCPY_CHK): Define only if SHARED is defined.
11470 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
11472 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
11475 See ChangeLog.18 for earlier changes.