1 2017-12-05 Joseph Myers <joseph@codesourcery.com>
3 * bits/floatn-common.h: Include <bits/long-double.h>.
4 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
6 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
7 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
8 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
9 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
10 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
11 (__builtin_huge_valf64): Use __builtin_huge_vall.
12 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
13 (__builtin_inff64): Use __builtin_infl.
14 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15 (__builtin_nanf64): Use __builtin_nanl.
16 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17 (__builtin_nansf64): Use __builtin_nansl.
19 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
21 Carlos O'Donnell <carlos@redhat.com>
23 * elf/dl-tunables.list: Add elision parameters.
24 * manual/tunables.texi: Add entries about elision tunable.
25 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
26 Add callback functions to dynamically enable/disable elision.
27 Add multiple callbacks functions to set elision parameters.
28 Deleted __libc_enable_secure check.
29 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
30 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
31 * configure: Regenerated.
32 * configure.ac: Option enable_lock_elision was deleted.
33 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
34 * config.make.in: Remove references to enable_lock_elision.
35 * manual/install.texi: Elision configure option was removed.
36 * INSTALL: Regenerated to remove enable_lock_elision.
38 Disable elision so it can verify error case for destroying a mutex.
39 * sysdeps/powerpc/nptl/elide.h:
40 Cleanup ENABLE_LOCK_ELISION check.
41 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
42 * sysdeps/s390/configure: Regenerated.
43 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
45 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
46 * sysdeps/powerpc/powerpc32/sysdep.h:
47 Deleted all ENABLE_LOCK_ELISION checks.
48 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49 * sysdeps/powerpc/sysdep.h: Likewise.
50 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
51 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
52 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
53 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
54 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
55 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
58 2017-12-05 Joseph Myers <joseph@codesourcery.com>
60 * stdlib/strtod.c: Include <bits/floatn.h>.
61 (BUILD_DOUBLE): New macro.
62 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
63 (strtof64): Define and later undefine as macro. Define as weak
64 alias if [!USE_WIDE_CHAR].
65 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
66 (wcstof64): Define and later undefine as macro. Define as weak
67 alias if [USE_WIDE_CHAR].
68 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
69 (strtof32x): Define and later undefine as macro. Define as weak
70 alias if [!USE_WIDE_CHAR].
71 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
72 (wcstof32x): Define and later undefine as macro. Define as weak
73 alias if [USE_WIDE_CHAR].
74 * stdlib/strtod_l.c: Include <bits/floatn.h>.
75 (BUILD_DOUBLE): New macro.
76 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
77 (strtof64_l): Define and later undefine as macro. Define as weak
78 alias if [!USE_WIDE_CHAR].
79 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
80 (wcstof64_l): Define and later undefine as macro. Define as weak
81 alias if [USE_WIDE_CHAR].
82 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
83 (strtof32x_l): Define and later undefine as macro. Define as weak
84 alias if [!USE_WIDE_CHAR].
85 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
86 (wcstof32x_l): Define and later undefine as macro. Define as weak
87 alias if [USE_WIDE_CHAR].
89 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
91 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
92 (reduced): Use ones as double instead of integer.
94 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
96 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
98 2017-12-05 Joseph Myers <joseph@codesourcery.com>
100 * stdlib/strfromd.c: Include <bits/floatn.h>.
101 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
102 and later undefine as macro and define as weak alias.
103 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
106 * math/test-float32x.h: New file.
107 * math/test-float64.h: Likewise.
109 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
110 (libm_alias_double_other_r_f64): New macro.
111 (libm_alias_double_other_r_f32x): Likewise.
112 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
113 libm_alias_double_other_r_f32x.
114 (libm_alias_double_r): Use semicolon before call to
115 libm_alias_double_other_r.
116 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
118 (libm_alias_double_other_r_f64): New macro.
119 (libm_alias_double_other_r_f32x): Likewise.
120 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
121 libm_alias_double_other_r_f32x.
123 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
125 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
127 (SINF_FUNC): Likewise. Replace floor with simple casts.
129 2017-12-05 Mike FABIAN <mfabian@redhat.com>
132 * localedata/Makefile: Add et_EE.UTF-8 to test-input
133 and to the list of locales to be built for testing.
134 * localedata/et_EE.UTF-8.in: New file for testing the collation.
135 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
136 and build the collation rules upon that.
138 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
140 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
141 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
142 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
143 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
144 instead of __insn__xxx.
145 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
146 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
147 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
148 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
149 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
150 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
152 2017-12-05 Florian Weimer <fweimer@redhat.com>
154 Linux: Implement interfaces for memory protection keys
155 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
157 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
158 * support/xunistd.h (xsysconf): Declare.
159 * support/xraise.c: New file.
160 * support/xsigaction.c: Likewise.
161 * support/xsignal.c: Likewise.
162 * support/xsysconf.c: Likewise.
163 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
164 pkey_set, pkey_get, pkey_mprotect.
165 [misc] (tests): Add tst-pkey.
166 (tst-pkey): Link with -lpthread.
167 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
168 pkey_free, pkey_set, pkey_get, pkey_mprotect.
169 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
170 (PKEY_DISABLE_WRITE): Define.
171 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
173 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
175 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
176 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
177 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
178 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
180 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
181 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
182 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
183 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
184 * sysdeps/unix/sysv/linux/**.abilist: Update.
186 2017-12-05 Florian Weimer <fweimer@redhat.com>
188 * support/tst-test_compare.c (subprocess): Use long long instead
189 of long argument for consistent type width across 32-bit and
190 64-bit architectures.
191 (do_test): Adjust expected output.
193 2017-12-05 Joseph Myers <joseph@codesourcery.com>
195 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
196 (cosf): Define using libm_alias_float.
197 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
198 (fabsf): Define using libm_alias_float.
199 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
200 (fmaf): Define using libm_alias_float.
201 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
202 (rintf): Define using libm_alias_float.
203 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
204 (sinf): Define using libm_alias_float.
205 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
206 <libm-alias-float.h>.
207 (modff): Define using libm_alias_float.
208 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
209 <libm-alias-float.h>.
210 (logbf): Define using libm_alias_float.
211 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
212 <libm-alias-float.h>.
213 (ceilf): Define using libm_alias_float.
214 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
215 <libm-alias-float.h>.
216 (copysignf): Define using libm_alias_float.
217 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
218 <libm-alias-float.h>.
219 (floorf): Define using libm_alias_float.
220 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
221 <libm-alias-float.h>.
222 (llrintf): Define using libm_alias_float.
223 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
224 <libm-alias-float.h>.
225 (llroundf): Define using libm_alias_float.
226 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
227 <libm-alias-float.h>.
228 (lrintf): Define using libm_alias_float.
229 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
230 <libm-alias-float.h>.
231 (lroundf): Define using libm_alias_float.
232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
233 <libm-alias-float.h>.
234 (nearbyintf): Define using libm_alias_float.
235 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
236 <libm-alias-float.h>.
237 (rintf): Define using libm_alias_float.
238 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
239 <libm-alias-float.h>.
240 (roundf): Define using libm_alias_float.
241 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
242 <libm-alias-float.h>.
243 (truncf): Define using libm_alias_float.
244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
245 Include <libm-alias-float.h>.
246 (ceilf): Define using libm_alias_float.
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
248 Include <libm-alias-float.h>.
249 (copysignf): Define using libm_alias_float.
250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
251 Include <libm-alias-float.h>.
252 (floorf): Define using libm_alias_float.
253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
254 Include <libm-alias-float.h>.
255 (llrintf): Define using libm_alias_float.
256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
257 Include <libm-alias-float.h>.
258 (llroundf): Define using libm_alias_float.
259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
260 Include <libm-alias-float.h>.
261 (logbf): Define using libm_alias_float.
262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
263 Include <libm-alias-float.h>.
264 (lrintf): Define using libm_alias_float.
265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
266 Include <libm-alias-float.h>.
267 (lroundf): Define using libm_alias_float.
268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
269 Include <libm-alias-float.h>.
270 (modff): Define using libm_alias_float.
271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
272 Include <libm-alias-float.h>.
273 (roundf): Define using libm_alias_float.
274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
275 Include <libm-alias-float.h>.
276 (truncf): Define using libm_alias_float.
277 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
278 <libm-alias-float.h>.
279 (llrintf): Define using libm_alias_float.
280 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
281 <libm-alias-float.h>.
282 (llroundf): Define using libm_alias_float.
283 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
284 <libm-alias-float.h>.
285 (ceilf): Define using libm_alias_float.
286 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
287 <libm-alias-float.h>.
288 (floorf): Define using libm_alias_float.
289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
290 <libm-alias-float.h>.
291 (llroundf): Define using libm_alias_float.
292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
293 <libm-alias-float.h>.
294 (lroundf): Define using libm_alias_float.
295 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
296 <libm-alias-float.h>.
297 (roundf): Define using libm_alias_float.
298 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
299 <libm-alias-float.h>.
300 (truncf): Define using libm_alias_float.
301 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
302 <libm-alias-float.h>.
303 (copysignf): Define using libm_alias_float.
304 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
305 <libm-alias-float.h>.
306 (llrintf): Define using libm_alias_float.
307 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
308 <libm-alias-float.h>.
309 (llroundf): Define using libm_alias_float.
310 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
311 <libm-alias-float.h>.
312 (lrintf): Define using libm_alias_float.
313 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
314 <libm-alias-float.h>.
315 (lroundf): Define using libm_alias_float.
316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
317 <libm-alias-float.h>.
318 (ceilf): Define using libm_alias_float.
319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
320 <libm-alias-float.h>.
321 (copysignf): Define using libm_alias_float.
322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
323 <libm-alias-float.h>.
324 (cosf): Define using libm_alias_float.
325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
326 <libm-alias-float.h>.
327 (floorf): Define using libm_alias_float.
328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
329 <libm-alias-float.h>.
330 (llrintf): Define using libm_alias_float.
331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
332 <libm-alias-float.h>.
333 (llroundf): Define using libm_alias_float.
334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
335 <libm-alias-float.h>.
336 (logbf): Define using libm_alias_float.
337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
338 <libm-alias-float.h>.
339 (modff): Define using libm_alias_float.
340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
341 <libm-alias-float.h>.
342 (roundf): Define using libm_alias_float.
343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
344 <libm-alias-float.h>.
345 (sinf): Define using libm_alias_float.
346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
347 <libm-alias-float.h>.
348 (truncf): Define using libm_alias_float.
349 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
350 <libm-alias-float.h>.
351 (ceilf): Define using libm_alias_float.
352 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
353 <libm-alias-float.h>.
354 (copysignf): Define using libm_alias_float.
355 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
356 <libm-alias-float.h>.
357 (floorf): Define using libm_alias_float.
358 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
359 <libm-alias-float.h>.
360 (llrintf): Define using libm_alias_float.
361 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
362 <libm-alias-float.h>.
363 (llroundf): Define using libm_alias_float.
364 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
365 <libm-alias-float.h>.
366 (nearbyintf): Define using libm_alias_float.
367 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
368 <libm-alias-float.h>.
369 (rintf): Define using libm_alias_float.
370 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
371 <libm-alias-float.h>.
372 (roundf): Define using libm_alias_float.
373 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
374 <libm-alias-float.h>.
375 (truncf): Define using libm_alias_float.
376 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
377 <libm-alias-float.h>.
378 (ceilf): Define using libm_alias_float.
379 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
380 <libm-alias-float.h>.
381 (floorf): Define using libm_alias_float.
382 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
383 <libm-alias-float.h>.
384 (llroundf): Define using libm_alias_float.
385 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
386 <libm-alias-float.h>.
387 (roundf): Define using libm_alias_float.
388 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
389 <libm-alias-float.h>.
390 (truncf): Define using libm_alias_float.
391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
392 <libm-alias-float.h>.
393 (copysignf): Define using libm_alias_float.
394 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
395 <libm-alias-float.h>.
396 (llrintf): Define using libm_alias_float.
397 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
398 <libm-alias-float.h>.
399 (llroundf): Define using libm_alias_float.
400 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
401 <libm-alias-float.h>.
402 (cosf): Define using libm_alias_float.
403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
404 <libm-alias-float.h>.
405 (llrintf): Define using libm_alias_float.
406 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
407 <libm-alias-float.h>.
408 (llroundf): Define using libm_alias_float.
409 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
410 <libm-alias-float.h>.
411 (sinf): Define using libm_alias_float.
413 2017-12-04 Florian Weimer <fweimer@redhat.com>
415 * support/check.h (TEST_COMPARE): Define.
416 (support_test_compare_failure): Declare.
417 * support/Makefile (libsupport-routines): Add
418 support_test_compare_failure.
419 (tests): Add tst-test_compare.
420 * support /support_test_compare_failure.c: New file.
421 * support/tst-test_compare.c: Likewise.
423 2017-12-04 Mike FABIAN <mfabian@redhat.com>
426 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
427 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
428 available, this rewrite of the collation rules does reproduce
429 the test file in the same order.
431 2017-12-04 Mike FABIAN <mfabian@redhat.com>
434 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
435 digraphs in the month and day names. Using single code points for
436 digraphs is deprecated. While there are dedicated Unicode
437 codepoints, for the digraphs, these are included for backwards
438 compatibility and modern texts use a sequence of Basic Latin
439 characters. See: https://www.unicode.org/faq/ligature_digraph.html
440 This makes the month and day names agree exactly with CLDR now,
441 CLDR does not use the single code points for the digraphs either.
443 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
445 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
447 2017-12-04 Joseph Myers <joseph@codesourcery.com>
449 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
452 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
454 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
455 Define only for libc.so.
457 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
460 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
461 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
462 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
465 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
468 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
470 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
473 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
474 PREINIT_FUNCTION_WEAK is nonzero.
475 (gmon_initializer): New function. Put procedure label for it in
477 (_init): Don't call PREINIT_FUNCTION.
478 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
479 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
480 value when map argument is null.
482 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
483 depi instruction from PIC pc-relative sequence.
484 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
485 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
486 (elf_machine_load_address): Likewise.
487 (elf_machine_runtime_setup): Likewise.
489 2017-12-02 Joseph Myers <joseph@codesourcery.com>
491 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
492 <libm-alias-double.h>.
493 (logb): Define using libm_alias_double.
494 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
495 <libm-alias-double.h>.
496 (copysign): Define using libm_alias_double.
497 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
498 <libm-alias-double.h>.
499 (llrint): Define using libm_alias_double.
500 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
501 <libm-alias-double.h>.
502 (llround): Define using libm_alias_double.
503 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
504 <libm-alias-double.h>.
505 (lrint): Define using libm_alias_double.
506 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
507 <libm-alias-double.h>.
508 (lround): Define using libm_alias_double.
509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
510 Include <libm-alias-double.h>.
511 (copysign): Define using libm_alias_double.
512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
513 Include <libm-alias-double.h>.
514 (llrint): Define using libm_alias_double.
515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
516 Include <libm-alias-double.h>.
517 (llround): Define using libm_alias_double.
518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
519 <libm-alias-double.h>.
520 (logb): Define using libm_alias_double.
521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
522 Include <libm-alias-double.h>.
523 (lrint): Define using libm_alias_double.
524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
525 Include <libm-alias-double.h>.
526 (lround): Define using libm_alias_double.
527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
528 <libm-alias-double.h>.
529 (llrint): Define using libm_alias_double.
530 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
531 <libm-alias-double.h>.
532 (llround): Define using libm_alias_double.
533 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
534 <libm-alias-double.h>.
535 (llround): Define using libm_alias_double.
536 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
537 <libm-alias-double.h>.
538 (lround): Define using libm_alias_double.
539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
540 <libm-alias-double.h>.
541 (copysign): Define using libm_alias_double.
542 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
543 <libm-alias-double.h>.
544 (llrint): Define using libm_alias_double.
545 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
546 <libm-alias-double.h>.
547 (llround): Define using libm_alias_double.
548 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
549 <libm-alias-double.h>.
550 (lrint): Define using libm_alias_double.
551 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
552 <libm-alias-double.h>.
553 (lround): Define using libm_alias_double.
554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
555 <libm-alias-double.h>.
556 (copysign): Define using libm_alias_double.
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
558 <libm-alias-double.h>.
559 (llrint): Define using libm_alias_double.
561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
562 <libm-alias-double.h>.
563 (llround): Define using libm_alias_double.
565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
566 <libm-alias-double.h>.
567 (logb): Define using libm_alias_double.
568 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
569 <libm-alias-double.h>.
570 (copysign): Define using libm_alias_double.
571 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
572 <libm-alias-double.h>.
573 (llrint): Define using libm_alias_double.
575 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
576 <libm-alias-double.h>.
577 (llround): Define using libm_alias_double.
579 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
580 <libm-alias-double.h>.
581 (llround): Define using libm_alias_double.
583 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
584 <libm-alias-double.h>.
585 (copysign): Define using libm_alias_double.
586 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
587 <libm-alias-double.h>.
588 (llrint): Define using libm_alias_double.
590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
591 <libm-alias-double.h>.
592 (llround): Define using libm_alias_double.
594 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
595 <libm-alias-double.h>.
596 (llrint): Define using libm_alias_double.
598 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
599 <libm-alias-double.h>.
600 (llround): Define using libm_alias_double.
603 2017-12-01 Joseph Myers <joseph@codesourcery.com>
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
606 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
607 compat symbol based on llround.
609 * sysdeps/powerpc/power7/fpu/s_logb.c
610 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
611 symbol based on __logb, not on logb.
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
613 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
615 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
617 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
618 (rint): Define using libm_alias_double.
619 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
620 <libm-alias-double.h>.
621 (modf): Define using libm_alias_double.
622 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
623 <libm-alias-double.h>.
624 (ceil): Define using libm_alias_double.
625 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
626 <libm-alias-double.h>.
627 (floor): Define using libm_alias_double.
628 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
629 <libm-alias-double.h>.
630 (nearbyint): Define using libm_alias_double.
631 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
632 <libm-alias-double.h>.
633 (rint): Define using libm_alias_double.
634 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
635 <libm-alias-double.h>.
636 (round): Define using libm_alias_double.
637 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
638 <libm-alias-double.h>.
639 (trunc): Define using libm_alias_double.
640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
641 <libm-alias-double.h>.
642 (ceil): Define using libm_alias_double.
643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
644 Include <libm-alias-double.h>.
645 (floor): Define using libm_alias_double.
646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
647 <libm-alias-double.h>.
648 (modf): Define using libm_alias_double.
649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
650 Include <libm-alias-double.h>.
651 (round): Define using libm_alias_double.
652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
653 Include <libm-alias-double.h>.
654 (trunc): Define using libm_alias_double.
655 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
656 <libm-alias-double.h>.
657 (ceil): Define using libm_alias_double.
658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
659 <libm-alias-double.h>.
660 (floor): Define using libm_alias_double.
661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
662 <libm-alias-double.h>.
663 (round): Define using libm_alias_double.
664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
665 <libm-alias-double.h>.
666 (trunc): Define using libm_alias_double.
667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
668 <libm-alias-double.h>.
669 (ceil): Define using libm_alias_double.
670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
671 <libm-alias-double.h>.
672 (floor): Define using libm_alias_double.
673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
674 <libm-alias-double.h>.
675 (modf): Define using libm_alias_double.
676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
677 <libm-alias-double.h>.
678 (round): Define using libm_alias_double.
679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
680 <libm-alias-double.h>.
681 (trunc): Define using libm_alias_double.
682 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
683 <libm-alias-double.h>.
684 (ceil): Define using libm_alias_double.
685 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
686 <libm-alias-double.h>.
687 (floor): Define using libm_alias_double.
688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
689 <libm-alias-double.h>.
690 (nearbyint): Define using libm_alias_double.
691 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
692 <libm-alias-double.h>.
693 (rint): Define using libm_alias_double.
694 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
695 <libm-alias-double.h>.
696 (round): Define using libm_alias_double.
697 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
698 <libm-alias-double.h>.
699 (trunc): Define using libm_alias_double.
700 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
701 <libm-alias-double.h>.
702 (ceil): Define using libm_alias_double.
703 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
704 <libm-alias-double.h>.
705 (floor): Define using libm_alias_double.
706 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
707 <libm-alias-double.h>.
708 (round): Define using libm_alias_double.
709 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
710 <libm-alias-double.h>.
711 (trunc): Define using libm_alias_double.
713 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
714 (fabs): Define using libm_alias_double.
715 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
716 (fma): Define using libm_alias_double.
717 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
718 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
719 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
720 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
722 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
724 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
726 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
727 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
728 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
733 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
735 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
737 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
739 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
740 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
741 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
742 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
745 (libm-sysdep_routines): Add s_nearbyintf-generic and
747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
760 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
771 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
782 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
793 (sysdep_calls): New rule.
794 (sysdep_routines): Use sysdep_calls as base.
795 (libm-sysdep_routines): Add generic rule for symbols shared with
796 libc. Add s_copysign-generic and s_copysign-generic objects.
797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
806 2017-12-01 Mike FABIAN <mfabian@redhat.com>
809 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
810 the list of locales to be built for testing.
811 * localedata/is_IS.UTF-8.in: New file.
812 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
815 2017-12-01 Joseph Myers <joseph@codesourcery.com>
817 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
818 <libm-alias-float.h>.
819 (fabsf): Define using libm_alias_float.
821 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
823 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
825 2017-11-30 Joseph Myers <joseph@codesourcery.com>
827 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
828 <libm-alias-float.h>.
829 (fabsf): Define using libm_alias_float.
830 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
831 <libm-alias-float.h>.
832 (lrintf): Define using libm_alias_float.
833 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
834 <libm-alias-float.h>.
835 (rintf): Define using libm_alias_float.
837 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
838 <libm-alias-double.h>.
839 (fabs): Define using libm_alias_double.
840 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
841 <libm-alias-double.h>.
842 (lrint): Define using libm_alias_double.
843 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
844 <libm-alias-double.h>.
845 (rint): Define using libm_alias_double.
847 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
848 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
849 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
850 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
851 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
852 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
853 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
854 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
855 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
856 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
857 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
858 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
859 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
860 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
861 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
862 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
863 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
864 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
866 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
867 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
868 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
870 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
871 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
872 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
874 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
875 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
876 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
878 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
879 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
880 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
882 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
883 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
884 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
886 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
887 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
888 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
890 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
891 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
893 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
894 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
895 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
897 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
898 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
899 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
900 s_nearbyint_template.c.
901 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
902 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
903 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
905 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
906 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
907 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
909 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
910 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
911 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
913 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
914 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
915 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
917 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
918 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
919 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
921 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
922 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
923 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
925 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
926 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
927 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
929 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
930 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
931 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
932 s_atan.c instead of including s_atan.c.
933 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
934 s_atanf.c instead of including s_atanf.c.
935 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
936 s_atanl.c instead of including s_atanl.c.
937 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
939 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
940 instead of s_atanf.c.
941 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
942 instead of s_atanl.c.
944 * scripts/update-copyrights: Do not handle intl/plural.c
947 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
950 * configure.ac (BISON): Require to be present.
951 * configure: Regenerated.
952 * intl/Makefile (generated): Add plural.c.
953 [$(BISON) != no]: Make code unconditional.
954 (plural.c): Change rule to $(objpfx)plural.c.
955 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
956 * intl/plural.c: Remove.
957 * manual/install.texi (Tools for Compilation): Document bison as
959 * INSTALL: Regenerated.
961 2017-11-30 Joseph Myers <joseph@codesourcery.com>
963 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
964 <libm-alias-double.h>.
965 (llrint): Define using libm_alias_double.
966 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
967 <libm-alias-float.h>.
968 (llrintf): Define using libm_alias_float.
969 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
970 <libm-alias-ldouble.h>.
971 (llrintl): Define using libm_alias_ldouble.
973 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
974 declare_mgen_alias instead of weak_alias.
975 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
976 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
977 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
979 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
981 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
983 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
984 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
985 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
987 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
988 Add submul_1-generic.
989 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
990 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
991 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
993 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
994 Add addmul_1-generic.
995 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
996 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
997 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
999 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
1001 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
1002 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
1003 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
1005 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
1007 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
1008 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
1009 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
1011 2017-11-30 Mike FABIAN <mfabian@redhat.com>
1013 According to CLDR, collation rules for Serbian and Bosnian
1014 should be the same as for Croatian.
1017 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
1018 and to the list of locales to be built for testing.
1019 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
1020 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
1021 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
1022 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
1024 2017-11-30 Mike FABIAN <mfabian@redhat.com>
1026 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
1027 to make test case pass.
1028 * localedata/hr_HR.UTF-8.in: Add more test strings.
1030 2017-11-30 Mike FABIAN <mfabian@redhat.com>
1032 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
1034 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
1036 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
1037 the list of locales to built for testing.
1038 * localedata/hr_HR.UTF-8.in: New file.
1040 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
1043 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
1045 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
1046 CLDR (except use ligatures for the digraphs, CLDR does not use
1047 the ligatures), add first_workday, some fixes in the date and time
1049 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
1051 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
1052 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
1053 Add int_p_cs_precedes and int_n_cs_precedes.
1054 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
1055 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
1057 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
1058 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
1060 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
1061 and lang_lib. Change postal_fmt.
1063 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
1065 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
1067 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
1068 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
1069 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
1070 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
1071 * sysdeps/generic/setjmpP.h: New file.
1072 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
1073 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
1074 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
1075 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
1076 Add jmp_buf-ssp.sym.
1077 (tests): Add tst-saved_mask-1.
1079 2017-11-30 Arjun Shankar <arjun@redhat.com>
1082 * malloc/malloc.c (__libc_malloc): Use checked_request2size
1083 instead of request2size.
1085 2017-11-30 Joseph Myers <joseph@codesourcery.com>
1087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
1088 (__lllrint): Remove alias.
1089 (lllrint): Likewise.
1090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
1091 (__lllrintf): Likewise.
1092 (lllrintf): Likewise.
1094 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
1095 <libm-alias-float.h>.
1096 (copysignf): Define using libm_alias_float.
1097 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
1098 <libm-alias-float.h>.
1099 (fabsf): Define using libm_alias_float.
1100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1101 Include <libm-alias-float.h>.
1102 (copysignf): Define using libm_alias_float.
1103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
1104 <libm-alias-float.h>.
1105 (fabsf): Define using libm_alias_float.
1106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
1107 <libm-alias-float.h>.
1108 (fdimf): Define using libm_alias_float.
1109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
1110 <libm-alias-float.h>.
1111 (fmaf): Define using libm_alias_float.
1112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
1113 <libm-alias-float.h>.
1114 (llrintf): Define using libm_alias_float.
1115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
1116 Include <libm-alias-float.h>.
1117 (nearbyintf): Define using libm_alias_float.
1118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
1119 <libm-alias-float.h>.
1120 (rintf): Define using libm_alias_float.
1121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
1122 <libm-alias-float.h>.
1123 (llrintf): Define using libm_alias_float.
1124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
1125 <libm-alias-float.h>.
1126 (lrintf): Define using libm_alias_float.
1127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
1128 <libm-alias-float.h>.
1129 (nearbyintf): Define using libm_alias_float.
1130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
1131 <libm-alias-float.h>.
1132 (rintf): Define using libm_alias_float.
1133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
1134 <libm-alias-float.h>.
1135 (ceilf): Define using libm_alias_float.
1136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
1137 <libm-alias-float.h>.
1138 (floorf): Define using libm_alias_float.
1139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
1140 <libm-alias-float.h>.
1141 (fmaf): Define using libm_alias_float.
1142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
1143 <libm-alias-float.h>.
1144 (lrintf): Define using libm_alias_float.
1145 (llrintf): Likewise.
1146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
1147 <libm-alias-float.h>.
1148 (nearbyintf): Define using libm_alias_float.
1149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
1150 <libm-alias-float.h>.
1151 (rintf): Define using libm_alias_float.
1152 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
1153 <libm-alias-float.h>.
1154 (truncf): Define using libm_alias_float.
1155 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
1156 <libm-alias-float.h>.
1157 (copysignf): Define using libm_alias_float.
1158 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
1159 <libm-alias-float.h>.
1160 (fabsf): Define using libm_alias_float.
1161 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
1162 <libm-alias-float.h>.
1163 (lrintf): Define using libm_alias_float.
1164 (llrintf): Likewise.
1165 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
1166 <libm-alias-float.h>.
1167 (nearbyintf): Define using libm_alias_float.
1168 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
1169 <libm-alias-float.h>.
1170 (rintf): Define using libm_alias_float.
1172 2017-11-29 Joseph Myers <joseph@codesourcery.com>
1174 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1175 <libm-alias-double.h>.
1176 (copysign): Define using libm_alias_double.
1177 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
1178 <libm-alias-double.h>.
1179 (fabs): Define using libm_alias_double.
1180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1181 Include <libm-alias-double.h>.
1182 (copysign): Define using libm_alias_double.
1183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1184 <libm-alias-double.h>.
1185 (fabs): Define using libm_alias_double.
1186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
1187 <libm-alias-double.h>.
1188 (fdim): Define using libm_alias_double.
1189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
1190 <libm-alias-double.h>.
1191 (fma): Define using libm_alias_double.
1192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
1193 <libm-alias-double.h>.
1194 (llrint): Define using libm_alias_double.
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
1196 Include <libm-alias-double.h>.
1197 (nearbyint): Define using libm_alias_double.
1198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
1199 <libm-alias-double.h>.
1200 (rint): Define using libm_alias_double.
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
1202 <libm-alias-double.h>.
1203 (fabs): Define using libm_alias_double.
1204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
1205 <libm-alias-double.h>.
1206 (llrint): Define using libm_alias_double.
1207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
1208 <libm-alias-double.h>.
1209 (nearbyint): Define using libm_alias_double.
1210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
1211 <libm-alias-double.h>.
1212 (rint): Define using libm_alias_double.
1213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
1214 <libm-alias-double.h>.
1215 (ceil): Define using libm_alias_double.
1216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
1217 <libm-alias-double.h>.
1218 (floor): Define using libm_alias_double.
1219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
1220 <libm-alias-double.h>.
1221 (fma): Define using libm_alias_double.
1222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
1223 <libm-alias-double.h>.
1224 (lrint): Define using libm_alias_double.
1226 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
1227 <libm-alias-double.h>.
1228 (nearbyint): Define using libm_alias_double.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
1230 <libm-alias-double.h>.
1231 (rint): Define using libm_alias_double.
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
1233 <libm-alias-double.h>.
1234 (trunc): Define using libm_alias_double.
1235 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
1236 <libm-alias-double.h>.
1237 (copysign): Define using libm_alias_double.
1238 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
1239 <libm-alias-double.h>.
1240 (fabs): Define using libm_alias_double.
1241 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
1242 <libm-alias-double.h>.
1243 (lrint): Define using libm_alias_double.
1245 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
1246 <libm-alias-double.h>.
1247 (nearbyint): Define using libm_alias_double.
1248 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
1249 <libm-alias-double.h>.
1250 (rint): Define using libm_alias_double.
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
1255 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1257 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1258 SPARC --disable-multi-arch glibc variants.
1260 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
1261 <libm-alias-float.h>.
1262 (exp2f): Define using libm_alias_float, or libm_alias_float_other
1264 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
1265 <libm-alias-float.h>.
1266 (exp2f): Define using libm_alias_float, or libm_alias_float_other
1268 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
1269 <libm-alias-float.h>.
1270 (exp2f): Define using libm_alias_float, or libm_alias_float_other
1272 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
1273 <libm-alias-float.h>.
1274 (exp2f): Define using libm_alias_float, or libm_alias_float_other
1276 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
1277 <libm-alias-float.h>.
1278 (exp2f): Define using libm_alias_float, or libm_alias_float_other
1280 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
1281 <libm-alias-float.h>.
1282 (ceilf): Define using libm_alias_float.
1283 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
1284 <libm-alias-float.h>.
1285 (floorf): Define using libm_alias_float.
1286 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
1287 <libm-alias-float.h>.
1288 (fmaf): Define using libm_alias_float.
1289 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
1290 <libm-alias-float.h>.
1291 (nearbyintf): Define using libm_alias_float.
1292 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
1293 <libm-alias-float.h>.
1294 (rintf): Define using libm_alias_float.
1295 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
1296 <libm-alias-float.h>.
1297 (truncf): Define using libm_alias_float.
1298 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
1299 (copysignf): Define using libm_alias_float.
1300 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
1301 (cosf): Define using libm_alias_float.
1302 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
1303 (fabsf): Define using libm_alias_float.
1304 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
1305 (fmaxf): Define using libm_alias_float.
1306 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
1307 (fminf): Define using libm_alias_float.
1308 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
1309 (llrintf): Define using libm_alias_float.
1310 [!__ILP32__] (lrintf): Likewise.
1311 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
1312 (sincosf): Define using libm_alias_float.
1313 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
1314 (sinf): Define using libm_alias_float.
1315 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
1316 (lrintf): Define using libm_alias_float.
1318 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
1319 <libm-alias-double.h>.
1320 (atan): Define using libm_alias_double.
1321 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
1322 <libm-alias-double.h>.
1323 (ceil): Define using libm_alias_double.
1324 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
1325 <libm-alias-double.h>.
1326 (floor): Define using libm_alias_double.
1327 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
1328 <libm-alias-double.h>.
1329 (fma): Define using libm_alias_double.
1330 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
1331 <libm-alias-double.h>.
1332 (nearbyint): Define using libm_alias_double.
1333 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
1334 <libm-alias-double.h>.
1335 (rint): Define using libm_alias_double.
1336 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
1337 <libm-alias-double.h>.
1338 (sin): Define using libm_alias_double.
1340 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
1341 <libm-alias-double.h>.
1342 (tan): Define using libm_alias_double.
1343 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
1344 <libm-alias-double.h>.
1345 (trunc): Define using libm_alias_double.
1346 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
1347 (copysign): Define using libm_alias_double.
1348 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
1349 (fabs): Define using libm_alias_double.
1350 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
1351 (fmax): Define using libm_alias_double.
1352 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
1353 (fmin): Define using libm_alias_double.
1354 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
1355 (llrint): Define using libm_alias_double.
1356 [!__ILP32__] (lrint): Likewise.
1357 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
1358 (lrint): Define using libm_alias_double.
1360 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1363 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
1365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
1366 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
1367 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
1368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
1369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
1370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1373 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
1375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
1376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
1377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
1378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
1379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
1380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1383 (libm-sysdep_routines): Add s_nearbyint-generic and
1384 s_nearbyintf-generic objects.
1385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
1386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
1387 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
1388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
1389 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
1390 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
1392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
1393 Add s_finitef-generic and s_finite-generic objects.
1394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
1395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
1396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
1397 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
1398 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
1399 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
1401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
1402 Add s_isinff-generic and s_isinf-generic objects.
1403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
1404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
1405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
1406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
1407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
1408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
1411 Add s_isnanf-generic and s_isnan-generic objects.
1412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
1413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
1414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
1416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
1417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1419 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
1421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
1423 (sysdep_routines): Use sysdep_calls as base.
1424 (libm-sysdep_routines): Add generic rule for symbols shared with
1425 libc. Add s_signbit-generic and s_signbitf-generic objects.
1426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
1427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
1428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
1429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
1430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
1431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1433 2017-11-29 Joseph Myers <joseph@codesourcery.com>
1435 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
1436 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
1437 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
1438 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
1439 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
1440 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
1441 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
1442 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
1443 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
1444 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
1445 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
1446 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
1447 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
1449 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
1450 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
1452 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
1453 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
1454 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
1455 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
1456 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
1457 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
1458 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
1459 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
1460 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
1461 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
1463 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
1465 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
1466 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
1467 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
1468 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
1469 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
1470 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
1471 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
1472 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
1473 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
1474 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
1475 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
1476 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
1477 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
1478 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
1479 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
1480 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
1481 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
1482 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
1483 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
1485 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
1486 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
1487 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
1488 * sysdeps/ia64/fpu/w_lgammaf_main.c
1489 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
1490 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
1492 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
1495 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
1496 * localedata/fr_CA.UTF-8.in: New file with test data for backward
1498 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
1500 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
1501 * localedata/locales/de_DE (LC_COLLATE): Likewise.
1502 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
1503 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
1504 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
1505 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
1506 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
1507 instead of “ifdef DIACRIT_BACKWARD”.
1509 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1511 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
1512 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
1513 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1514 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
1515 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
1516 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
1517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
1522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
1523 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1524 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1525 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
1526 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
1527 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
1528 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
1529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1530 ($(have-as-vis3) == yes): Remove conditional.
1531 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
1533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
1535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
1537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
1539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
1541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
1542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
1543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
1546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
1548 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
1550 2017-11-29 Joseph Myers <joseph@codesourcery.com>
1552 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
1553 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
1554 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
1555 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
1556 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
1557 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
1558 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
1559 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
1560 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
1561 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
1562 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
1563 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
1564 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
1565 libm_alias_double_r.
1566 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
1568 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
1569 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
1570 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
1571 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
1572 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
1573 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
1574 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
1575 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
1576 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
1577 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
1578 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
1580 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
1582 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
1583 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
1584 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
1585 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
1586 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
1587 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
1588 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
1589 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
1590 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
1591 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
1592 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
1593 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
1594 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
1595 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
1596 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
1597 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
1598 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
1599 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
1601 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
1602 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
1603 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
1604 * sysdeps/ia64/fpu/w_lgamma_main.c
1605 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
1606 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
1608 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
1610 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
1611 address of $global$ into %dp register earlier. Use pc-relative
1612 instruction sequence for PIC case.
1614 2017-11-28 Joseph Myers <joseph@codesourcery.com>
1616 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
1617 (asinhf): Define using libm_alias_float.
1618 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
1619 (atanf): Define using libm_alias_float.
1620 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
1621 (cbrtf): Define using libm_alias_float.
1622 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
1623 (ceilf): Define using libm_alias_float.
1624 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
1625 (copysignf): Define using libm_alias_float.
1626 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
1627 (expm1f): Define using libm_alias_float.
1628 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
1629 (fabsf): Define using libm_alias_float.
1630 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
1631 (floorf): Define using libm_alias_float.
1632 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
1633 (fmaxf): Define using libm_alias_float.
1634 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
1635 (fminf): Define using libm_alias_float.
1636 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
1637 (frexpf): Define using libm_alias_float.
1638 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
1639 (llrintf): Define using libm_alias_float.
1640 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
1641 (logbf): Define using libm_alias_float.
1642 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
1643 (lrintf): Define using libm_alias_float.
1644 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
1645 (nearbyintf): Define using libm_alias_float.
1646 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
1647 (remquof): Define using libm_alias_float.
1648 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
1649 (rintf): Define using libm_alias_float.
1650 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
1651 (truncf): Define using libm_alias_float.
1652 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
1653 <libm-alias-float.h>.
1654 (exp2f): Define using libm_alias_float, or libm_alias_float_other
1656 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
1657 <libm-alias-float.h>.
1658 (expf): Define using libm_alias_float, or libm_alias_float_other
1660 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
1661 <libm-alias-float.h>.
1662 (log2f): Define using libm_alias_float, or libm_alias_float_other
1664 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
1665 <libm-alias-float.h>.
1666 (logf): Define using libm_alias_float, or libm_alias_float_other
1668 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
1669 <libm-alias-float.h>.
1670 (powf): Define using libm_alias_float, or libm_alias_float_other
1672 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
1673 <libm-alias-float.h>.
1674 (cosf): Define using libm_alias_float.
1675 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
1676 <libm-alias-float.h>.
1677 (sincosf): Define using libm_alias_float.
1678 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
1679 <libm-alias-float.h>.
1680 (sinf): Define using libm_alias_float.
1681 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
1682 (fmaxf): Define using libm_alias_float.
1683 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
1684 (fminf): Define using libm_alias_float.
1685 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1686 <libm-alias-float.h>.
1687 (fmaf): Define using libm_alias_float.
1689 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
1690 (asinh): Define using libm_alias_double.
1691 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
1692 (atan): Define using libm_alias_double.
1693 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
1694 (cbrt): Define using libm_alias_double.
1695 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
1696 (ceil): Define using libm_alias_double.
1697 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
1698 (copysign): Define using libm_alias_double.
1699 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
1700 (expm1): Define using libm_alias_double.
1701 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
1702 (fabs): Define using libm_alias_double.
1703 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
1704 (fdim): Define using libm_alias_double.
1705 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
1706 (floor): Define using libm_alias_double.
1707 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
1708 (fmax): Define using libm_alias_double.
1709 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
1710 (fmin): Define using libm_alias_double.
1711 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
1712 (frexp): Define using libm_alias_double.
1713 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
1714 (llrint): Define using libm_alias_double.
1715 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
1716 (logb): Define using libm_alias_double.
1717 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
1718 (lrint): Define using libm_alias_double.
1719 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
1720 (nearbyint): Define using libm_alias_double.
1721 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
1722 (remquo): Define using libm_alias_double.
1723 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
1724 (rint): Define using libm_alias_double.
1725 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
1726 (trunc): Define using libm_alias_double.
1727 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
1728 (fmax): Define using libm_alias_double.
1729 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
1730 (fmin): Define using libm_alias_double.
1731 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
1732 (fma): Define using libm_alias_double.
1734 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
1737 * elf/dl-hwcaps.c (ROUND): Removed.
1738 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
1739 and ELF_NOTE_NEXT_OFFSET.
1740 * elf/dl-load.c (ROUND): Removed.
1741 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
1742 * elf/readelflib.c (ROUND): Removed.
1743 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
1744 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
1745 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
1746 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
1748 2017-11-28 Joseph Myers <joseph@codesourcery.com>
1750 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
1751 [!__fmaf] (fmaf): Define using libm_alias_float.
1753 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
1754 [!__fma] (fma): Define using libm_alias_double.
1755 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
1757 2017-11-28 Mike FABIAN <mfabian@redhat.com>
1760 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
1761 and implement the collation rules for cs from CLDR on top of that.
1762 * Makefile: Add cs_CZ.UTF-8 to test-input.
1763 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
1765 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
1767 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
1769 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
1770 Icarus Sparry <icarus.w.sparry@intel.com>
1772 * benchtests/Makefile:Add BENCHSET to allow subsets of
1773 benchmarks to be run.
1774 * benchtests/README: Add documentation for: Running subsets of
1777 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
1779 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
1780 range of tests names.
1782 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
1783 result from property and remove "max", min" and "mean" from
1784 required properties based on benchtests/bench-skeleton.c.
1786 2017-11-28 Florian Weimer <fweimer@redhat.com>
1789 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
1790 due to Internet requirement.
1791 * posix/Makefile (tests): Remove tst-getaddrinfo4,
1793 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
1795 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1797 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1798 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
1799 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
1800 (sysdep_routines): Add memset-ultra1.
1801 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
1803 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
1804 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
1805 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
1806 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
1807 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
1808 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
1809 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
1810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1812 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
1814 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
1815 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
1816 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
1817 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
1818 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
1819 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
1820 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
1822 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1823 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
1824 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
1825 (sysdep_routines): Add memcpy-ultra1.
1826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
1827 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
1829 2017-11-28 Joseph Myers <joseph@codesourcery.com>
1831 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
1832 (cfloat_versions): Take function argument without trailing 'f'.
1833 Call libm_alias_float_other.
1834 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
1835 * sysdeps/alpha/fpu/cargf.c: Likewise.
1836 * sysdeps/alpha/fpu/cimagf.c: Likewise.
1837 * sysdeps/alpha/fpu/conjf.c: Likewise.
1838 * sysdeps/alpha/fpu/crealf.c: Likewise.
1839 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
1840 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1841 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
1842 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1843 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
1844 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1845 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1846 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1847 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
1848 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
1849 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
1850 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
1851 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1852 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1853 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
1854 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1855 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1856 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
1857 (clog10f): Use libm_alias_float_other.
1858 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
1859 (ceilf): Define using libm_alias_float.
1860 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
1861 (copysignf): Define using libm_alias_float.
1862 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
1863 (fabsf): Define using libm_alias_float.
1864 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
1865 (floorf): Define using libm_alias_float.
1866 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
1867 (fmaxf): Define using libm_alias_float.
1868 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
1869 (fminf): Define using libm_alias_float.
1870 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
1871 (lrintf): Define using libm_alias_float.
1872 (llrintf): Likewise.
1873 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
1874 (lroundf): Define using libm_alias_float.
1875 (llroundf): Likewise.
1876 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
1877 (rintf): Define using libm_alias_float.
1878 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
1879 (truncf): Define using libm_alias_float.
1881 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
1882 (ceilf): Define using libm_alias_float.
1883 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
1884 (floorf): Define using libm_alias_float.
1885 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
1886 (fmaf): Define using libm_alias_float.
1887 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
1888 (fmaxf): Define using libm_alias_float.
1889 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
1890 (fminf): Define using libm_alias_float.
1891 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
1892 (llrintf): Define using libm_alias_float.
1893 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
1894 (llroundf): Define using libm_alias_float.
1895 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
1896 (lrintf): Define using libm_alias_float.
1897 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
1898 (lroundf): Define using libm_alias_float.
1899 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
1900 <libm-alias-float.h>.
1901 (nearbyintf): Define using libm_alias_float.
1902 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
1903 (rintf): Define using libm_alias_float.
1904 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
1905 (roundf): Define using libm_alias_float.
1906 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
1907 (truncf): Define using libm_alias_float.
1909 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
1910 (ceil): Define using libm_alias_double.
1911 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
1912 (copysign): Define using libm_alias_double.
1913 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
1914 (fabs): Define using libm_alias_double.
1915 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
1916 (floor): Define using libm_alias_double.
1917 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
1918 (fmax): Define using libm_alias_double.
1919 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
1920 (fmin): Define using libm_alias_double.
1921 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
1922 (lrint): Define using libm_alias_double.
1924 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
1925 (lround): Define using libm_alias_double.
1926 (llround): Likewise.
1927 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
1928 (rint): Define using libm_alias_double.
1929 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
1930 (trunc): Define using libm_alias_double.
1932 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
1933 (libm_alias_double_r): Add semicolon after weak_alias call.
1935 2017-11-27 Joseph Myers <joseph@codesourcery.com>
1937 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
1938 (ceil): Define using libm_alias_double.
1939 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
1940 (floor): Define using libm_alias_double.
1941 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
1942 (fma): Define using libm_alias_double.
1943 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
1944 (fmax): Define using libm_alias_double.
1945 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
1946 (fmin): Define using libm_alias_double.
1947 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
1948 (llrint): Define using libm_alias_double.
1949 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
1950 (llround): Define using libm_alias_double.
1951 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
1952 (lrint): Define using libm_alias_double.
1953 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
1954 (lround): Define using libm_alias_double.
1955 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
1956 (nearbyint): Define using libm_alias_double.
1957 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
1958 (rint): Define using libm_alias_double.
1959 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
1960 (round): Define using libm_alias_double.
1961 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
1962 (trunc): Define using libm_alias_double.
1964 2017-11-27 Florian Weimer <fweimer@redhat.com>
1966 * sysdeps/unix/sysv/linux/mlock2.c: New file.
1967 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
1968 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
1969 (tests): Add tst-mlock2.
1970 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
1971 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
1972 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
1973 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
1974 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
1975 for mlock. Document mlock2.
1977 2017-11-27 Joseph Myers <joseph@codesourcery.com>
1979 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
1980 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
1982 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
1984 * sysdeps/x86/Makeconfig: New file.
1985 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
1986 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1987 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
1988 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1989 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
1990 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1991 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
1993 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1994 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
1995 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1996 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
1997 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1998 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
1999 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
2000 * manual/math.texi (Mathematics): Document support for _Float64x.
2001 * math/Versions (GLIBC_2.27): Add _Float64x functions.
2002 * stdlib/Versions (GLIBC_2.27): Likewise.
2003 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2004 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2005 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2006 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2007 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2008 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2009 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2010 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2011 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2012 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2013 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2014 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2021 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2022 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2024 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2025 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2026 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2027 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2029 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2030 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2031 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2032 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2034 2017-11-27 Andreas Schwab <schwab@suse.de>
2036 * elf/Makefile (dl-routines): Add dl-sort-maps.
2037 * elf/dl-sort-maps.c: New file.
2038 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
2039 (_dl_sort_maps): Declare.
2040 * elf/dl-fini.c (_dl_sort_fini): Remove.
2041 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
2042 * elf/dl-close.c (_dl_close_worker): Likewise.
2043 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
2045 * elf/dl-open.c (dl_open_worker): Likewise.
2047 2017-11-24 Joseph Myers <joseph@codesourcery.com>
2049 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
2050 using libm_alias_float128.
2051 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
2053 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
2055 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
2056 (setpayloadsigf128): Likewise.
2057 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
2059 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
2062 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
2063 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
2064 -mfloat128 to CFLAGS.
2066 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
2068 (CFLAGS-libm-test-support-float64x.c): New variable.
2069 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
2070 $(f128-loader-link) to gnulib-tests.
2072 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
2073 (libm_alias_float128_other_r): If
2074 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
2076 (libm_alias_float128_r): Add semicolon after weak_alias call.
2077 * sysdeps/generic/libm-alias-ldouble.h
2078 (libm_alias_ldouble_other_r_f128): New macro.
2079 (libm_alias_ldouble_other_r_f64x): Likewise.
2080 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
2081 and libm_alias_ldouble_other_r_f64x.
2082 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
2083 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
2084 (libm_alias_ldouble_other_r_f128): New macro.
2085 (libm_alias_ldouble_other_r_f64x): Likewise.
2086 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
2087 and libm_alias_ldouble_other_r_f64x.
2089 * stdlib/strfroml.c: Always include <stdlib.h>.
2090 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
2091 undefine as macro and define as weak alias.
2092 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
2093 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
2095 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
2096 Define and later undefine as macro and define as weak alias.
2098 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
2099 Define and later undefine as macro. Define as weak alias if
2101 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
2102 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
2103 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
2104 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
2105 Define and later undefine as macro. Define as weak alias if
2107 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
2108 Define and later undefine as macro. Define as weak alias if
2110 * sysdeps/ieee754/float128/strtof128_l.c
2111 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
2112 Define and later undefine as macro. Define as weak alias if
2114 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
2115 Define and later undefine as macro. Define as weak alias if
2117 * sysdeps/ieee754/ldbl-128/strtold_l.c
2118 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
2119 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2120 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
2121 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
2122 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2123 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
2124 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2125 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
2126 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
2127 * sysdeps/ieee754/ldbl-96/strtold_l.c
2128 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
2129 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2130 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
2131 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
2133 * math/test-float64x.h: New file.
2134 * math/Makefile (type-float64x-yes): New variable.
2135 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
2137 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
2138 function-like macro.
2139 (min_of_type_): Likewise.
2140 (min_of_type_l): Likewise.
2141 (min_of_type_f128): Likewise.
2142 (min_of_type): Pass () as last argument of __MATH_TG.
2144 * stdlib/tst-strtod-round-skeleton.c
2145 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
2148 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
2149 for combinations of long double with _Float64 and _Float64x.
2151 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
2152 (__DECL_SIMD_cosf32): Likewise.
2153 (__DECL_SIMD_cosf64): Likewise.
2154 (__DECL_SIMD_cosf32x): Likewise.
2155 (__DECL_SIMD_cosf64x): Likewise.
2156 (__DECL_SIMD_cosf128x): Likewise.
2157 (__DECL_SIMD_sinf16): Likewise.
2158 (__DECL_SIMD_sinf32): Likewise.
2159 (__DECL_SIMD_sinf64): Likewise.
2160 (__DECL_SIMD_sinf32x): Likewise.
2161 (__DECL_SIMD_sinf64x): Likewise.
2162 (__DECL_SIMD_sinf128x): Likewise.
2163 (__DECL_SIMD_sincosf16): Likewise.
2164 (__DECL_SIMD_sincosf32): Likewise.
2165 (__DECL_SIMD_sincosf64): Likewise.
2166 (__DECL_SIMD_sincosf32x): Likewise.
2167 (__DECL_SIMD_sincosf64x): Likewise.
2168 (__DECL_SIMD_sincosf128x): Likewise.
2169 (__DECL_SIMD_logf16): Likewise.
2170 (__DECL_SIMD_logf32): Likewise.
2171 (__DECL_SIMD_logf64): Likewise.
2172 (__DECL_SIMD_logf32x): Likewise.
2173 (__DECL_SIMD_logf64x): Likewise.
2174 (__DECL_SIMD_logf128x): Likewise.
2175 (__DECL_SIMD_expf16): Likewise.
2176 (__DECL_SIMD_expf32): Likewise.
2177 (__DECL_SIMD_expf64): Likewise.
2178 (__DECL_SIMD_expf32x): Likewise.
2179 (__DECL_SIMD_expf64x): Likewise.
2180 (__DECL_SIMD_expf128x): Likewise.
2181 (__DECL_SIMD_powf16): Likewise.
2182 (__DECL_SIMD_powf32): Likewise.
2183 (__DECL_SIMD_powf64): Likewise.
2184 (__DECL_SIMD_powf32x): Likewise.
2185 (__DECL_SIMD_powf64x): Likewise.
2186 (__DECL_SIMD_powf128x): Likewise.
2188 * stdlib/Versions (libc): Move entries for wcstof128 and
2190 * wcsmbs/Versions (libc): ... here.
2191 Include <float128-abi.h>.
2193 2017-11-24 Florian Weimer <fweimer@redhat.com>
2195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2197 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
2198 <bits/mman-shared.h>.
2199 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
2201 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
2202 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
2203 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
2204 <bits/mman-shared.h>.
2206 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2209 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
2210 posix_memalign/free.
2211 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
2213 2017-11-22 Mike FABIAN <mfabian@redhat.com>
2216 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
2217 and implement the collation rules for pl from CLDR on top of that.
2218 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
2219 of locales to be built for testing.
2220 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
2222 2017-11-23 Joseph Myers <joseph@codesourcery.com>
2224 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
2225 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
2226 libm_alias_ldouble_other.
2227 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
2228 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
2229 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
2230 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
2231 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
2232 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
2233 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
2234 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
2235 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
2236 libm_alias_ldouble_r.
2237 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
2238 libm_alias_ldouble_other.
2239 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
2241 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
2242 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
2243 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
2244 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
2245 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
2246 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
2247 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
2249 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
2250 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
2251 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
2253 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
2255 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
2256 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
2257 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
2259 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
2260 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
2261 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
2262 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
2263 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
2264 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
2265 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
2266 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
2267 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
2268 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
2269 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
2271 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
2272 libm_alias_ldouble_other.
2273 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
2274 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
2275 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
2277 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
2278 libm_alias_ldouble_other.
2279 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
2280 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
2281 * sysdeps/ia64/fpu/w_lgammal_main.c
2282 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
2283 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
2285 2017-11-23 Florian Weimer <fweimer@redhat.com>
2287 * malloc/malloc.c (tcache_thread_shutdown): Rename from
2288 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
2289 alike. Remove freeres marker.
2290 * malloc/arena.c (arena_thread_freeres): Call
2291 tcache_thread_shutdown.
2293 2017-11-23 Florian Weimer <fweimer@redhat.com>
2296 Export nscd hash function as __nss_hash.
2297 * include/nss.h (__nss_hash): Declare.
2298 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
2300 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
2301 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
2303 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
2304 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
2305 * nss/Makefiles (routines): Add nss_hash.
2306 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
2307 * nss/nss_hash.c: Rename from nis/nis_hash.c.
2308 (__nss_hash): Rename from __nis_hash. Define hidden alias.
2309 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
2311 2017-11-23 Florian Weimer <fweimer@redhat.com>
2314 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
2315 Return error code, not -1.
2316 * signal/tst-sigwait-eintr.c: New file.
2317 * signal/Makefile (tests): Add tst-sigwait-eintr.
2319 2017-11-23 Florian Weimer <fweimer@redhat.com>
2321 Linux: Add memfd_create system call wrapper
2322 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
2324 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
2325 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
2326 [__USE_GNU] (memfd_create): Declare.
2327 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
2328 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
2329 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
2330 * sysdeps/unix/sysv/linux/**.abilist: Update.
2331 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
2333 2017-11-22 Joseph Myers <joseph@codesourcery.com>
2335 * localedata/gen-locale.sh: Fix typo in variable name.
2337 * resolv/res_debug.c (p_secstodate): Condition definition on
2338 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
2339 directly as __p_secstodate, and as a compat symbol. Do not use
2340 libresolv_hidden_def.
2341 * resolv/resolv.h (p_secstodate): Remove macro and function
2343 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
2345 * include/resolv.h (__p_secstodate): Do not use
2346 libresolv_hidden_proto.
2347 * resolv/Makefile (tests): Move tst-p_secstodate to ....
2348 (tests-internal): ... here.
2349 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
2350 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
2351 and declare and use __p_secstodate and use compat_symbol_reference
2353 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
2354 implementation returning 77.
2357 * resolv/res_debug.c: Include <libc-diag.h>.
2358 (p_secstodate): Assert time_t at least as wide as u_long. On
2359 overflow, use integer seconds since the epoch as output, or use
2360 "<overflow>" as output and set errno to EOVERFLOW if integer
2361 seconds since the epoch would be 14 or more characters.
2362 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
2364 * resolv/tst-p_secstodate.c: New file.
2365 * resolv/Makefile (tests): Add tst-p_secstodate.
2366 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
2368 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
2369 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2370 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
2372 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
2374 * posix/regcomp.c (init_word_char): Add comments.
2376 2017-11-22 Joseph Myers <joseph@codesourcery.com>
2379 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
2380 strlen to compute length of ut_user and set trailing NUL byte of
2383 2017-11-21 Mike FABIAN <mfabian@redhat.com>
2386 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
2387 using “copy "iso14651_t1"” and then implementing the
2388 collation rules for lv from CLDR on top of that.
2389 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
2390 of locales to be built for testing.
2391 * lv_LV.UTF-8.in: New file with test data to test the Latvian
2394 2017-11-21 Joseph Myers <joseph@codesourcery.com>
2396 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
2397 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
2398 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
2399 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
2400 [__USE_MISC] (MADV_HWPOISON): New macro.
2401 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
2403 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2405 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
2406 -Wmissing-braces on GCC 4.9.
2408 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
2410 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
2411 * sysdeps/s390/s390-32/start.S (_start): Likewise
2412 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
2413 (thread_start): Likewise.
2414 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
2415 (thread_start): Likewise.
2416 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
2417 (__makecontext_ret): Likewise.
2418 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2419 (__makecontext_ret): Likewise.
2421 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
2423 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
2424 __wcschrnul): Remove attribute_hidden.
2426 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
2428 regex: don't assume uint64_t or uint32_t
2429 This avoids -Werror=overflow errors for 32-bit systems in
2430 the 64-bit case. Problem reported by Joseph Myers in:
2431 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
2432 Also, when this code is used in Gnulib it ports to platforms
2433 that lack uint64_t and uint32_t. The C standard doesn't guarantee
2434 them, and on some 32-bit compilers there is no uint64_t.
2435 Problem reported by Gianluigi Tiesi in:
2436 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
2437 * posix/regcomp.c (init_word_char): Don't assume that the types
2438 uint64_t and uint32_t exist. Adapted from Gnulib patch
2439 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
2440 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
2442 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
2444 * sysdeps/aarch64/memset-reg.h: New file.
2445 * sysdeps/aarch64/memset.S: Use it.
2446 (__memset): Rename to MEMSET macro.
2447 [ZVA_MACRO]: Use zva_macro.
2448 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2449 Add memset_generic and memset_falkor.
2450 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2451 (__libc_ifunc_impl_list): Add memset ifuncs.
2452 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
2453 local variable zva_size.
2454 * sysdeps/aarch64/multiarch/memset.c: New file.
2455 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
2456 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
2457 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
2458 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
2459 (DCZID_DZP_MASK): New macro.
2460 (DCZID_BS_MASK): Likewise.
2461 (init_cpu_features): Read and set zva_size.
2462 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
2463 (struct cpu_features): New member zva_size.
2465 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
2466 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
2467 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
2469 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
2470 backwards. Fix timing computation.
2471 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
2472 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
2473 on memset by N at a time. Fix timing computation.
2475 2017-11-20 Florian Weimer <fweimer@redhat.com>
2477 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
2478 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
2480 2017-11-19 Florian Weimer <fweimer@redhat.com>
2482 manual: Document mprotect
2483 * manual/memory.texi (Memory Protection): New section.
2484 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
2485 documentation of PROT_* flags and reference the Memory Protection
2488 2017-11-19 Florian Weimer <fweimer@redhat.com>
2490 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
2491 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
2492 (Scatter-Gather): ... to here. Remove misleading comment.
2494 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
2496 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
2499 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
2500 when /proc/<pid>/setgroups does not exist.
2502 2017-11-18 Florian Weimer <fweimer@redhat.com>
2504 * sysdeps/unix/sysv/linux/tst-ttyname.c
2505 (become_root_in_mount_ns): Remove.
2506 (do_in_chroot_1): Call support_enter_mount_namespace.
2507 (do_in_chroot_2): Likewise.
2508 (do_test): Call support_become_root early.
2510 2017-11-18 Florian Weimer <fweimer@redhat.com>
2512 * support/namespace.h (support_enter_mount_namespace): Declare.
2513 * support/support_enter_mount_namespace.c: New file.
2514 * support/Makefile (libsupport-routines): Add
2515 support_enter_mount_namespace.
2517 2017-11-18 Florian Weimer <fweimer@redhat.com>
2519 * support/temp_file.c (support_create_temp_directory): Use
2520 test_dir and do not rely on the presence of the XXXXXX suffix.
2521 * support/temp_file.h (support_create_temp_directory): Update
2523 * support/tst-xreadlink.c (do_test): Adjust.
2524 * support/support_chroot.c (support_chroot_create): Likewise.
2526 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2528 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
2530 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
2533 2017-11-17 Joseph Myers <joseph@codesourcery.com>
2535 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
2536 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
2537 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
2538 (ceill): Define using libm_alias_ldouble.
2539 * sysdeps/x86_64/fpu/s_copysignl.S: Include
2540 <libm-alias-ldouble.h>.
2541 (copysignl): Define using libm_alias_ldouble.
2542 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
2543 (fabsl): Define using libm_alias_ldouble.
2544 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
2545 (floorl): Define using libm_alias_ldouble.
2546 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
2547 (fmaxl): Define using libm_alias_ldouble.
2548 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
2549 (fminl): Define using libm_alias_ldouble.
2550 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
2551 (llrintl): Define using libm_alias_ldouble.
2553 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
2554 <libm-alias-ldouble.h>.
2555 (nearbyintl): Define using libm_alias_ldouble.
2556 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
2557 (truncl): Define using libm_alias_ldouble.
2558 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
2559 <libm-alias-ldouble.h>.
2560 (lrintl): Define using libm_alias_ldouble.
2562 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
2563 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
2564 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
2565 (asinhl): Define using libm_alias_ldouble.
2566 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
2567 (atanl): Define using libm_alias_ldouble.
2568 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
2569 (cbrtl): Define using libm_alias_ldouble.
2570 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
2571 (ceill): Define using libm_alias_ldouble.
2572 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
2573 (copysignl): Define using libm_alias_ldouble.
2574 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
2575 (fabsl): Define using libm_alias_ldouble.
2576 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
2577 (floorl): Define using libm_alias_ldouble.
2578 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
2579 (fmaxl): Define using libm_alias_ldouble.
2580 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
2581 (fminl): Define using libm_alias_ldouble.
2582 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
2583 (frexpl): Define using libm_alias_ldouble.
2584 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
2585 (llrintl): Define using libm_alias_ldouble.
2586 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
2587 (logbl): Define using libm_alias_ldouble.
2588 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
2589 (lrintl): Define using libm_alias_ldouble.
2590 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
2591 (nearbyintl): Define using libm_alias_ldouble.
2592 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
2593 (nextafterl): Define using libm_alias_ldouble.
2594 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
2595 (remquol): Define using libm_alias_ldouble.
2596 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
2597 (rintl): Define using libm_alias_ldouble.
2598 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
2599 (truncl): Define using libm_alias_ldouble.
2600 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
2601 (fmaxl): Define using libm_alias_ldouble.
2602 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
2603 (fminl): Define using libm_alias_ldouble.
2605 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
2606 to C syntax instead of availability and properties of types.
2607 * bits/floatn.h [!__ASSEMBLER]: Likewise.
2608 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
2609 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
2610 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
2611 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
2612 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
2614 2017-11-17 Florian Weimer <fweimer@redhat.com>
2616 support_become_root: Enable file creation in namespaces.
2617 * support/support_become_root.c (setup_mapping): New function.
2618 (support_become_root): Call it.
2620 2017-11-17 Joseph Myers <joseph@codesourcery.com>
2622 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
2625 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2627 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
2628 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
2630 2017-11-16 Joseph Myers <joseph@codesourcery.com>
2632 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
2634 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2637 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2639 * INSTALL: Fix botched up regeneration.
2641 * NEWS: Update sourceare link to https.
2642 * configure.ac: Likewise.
2643 * crypt/md5test-giant.c: Likewise.
2644 * dlfcn/bug-atexit1.c: Likewise.
2645 * dlfcn/bug-atexit2.c: Likewise.
2646 * localedata/README: Likewise.
2647 * malloc/tst-mallocfork.c: Likewise.
2648 * manual/install.texi: Likewise.
2649 * nptl/tst-pthread-getattr.c: Likewise.
2650 * stdio-common/tst-fgets.c: Likewise.
2651 * stdio-common/tst-fwrite.c: Likewise.
2652 * sunrpc/Makefile: Likewise.
2653 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
2654 * wcsmbs/tst-mbrtowc2.c: Likewise.
2655 * configure: Regenerate.
2656 * INSTALL: Regenerate.
2658 2017-11-15 Martin Sebor <msebor@redhat.com>
2660 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
2661 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
2662 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
2664 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
2667 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
2668 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
2671 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
2672 Defer is_pty check until end of the function.
2673 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2676 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
2677 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
2678 (ttyname): Likewise.
2679 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
2680 (__ttyname_r): Likewise.
2682 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
2685 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
2687 * manual/terminal.texi (Is It a Terminal):
2688 Mention ENODEV for ttyname and ttyname_r.
2690 2017-11-15 Joseph Myers <joseph@codesourcery.com>
2692 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
2695 * sysdeps/unix/sysv/linux/bits/mman-linux.h
2696 [__USE_MISC] (MADV_WIPEONFORK): New macro.
2697 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
2698 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
2699 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
2700 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
2702 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2704 * signal/sigrelse.c (sigrelse): Optimize implementation.
2706 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
2707 (__sigpause): Rely on __sigsuspend to implement single thread
2708 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
2710 2017-11-15 Joseph Myers <joseph@codesourcery.com>
2712 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2713 kernel version to 4.14.
2715 2017-11-15 Steve Ellcey <sellcey@cavium.com>
2718 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
2719 Check if ifname is too long.
2721 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
2723 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
2725 2017-11-15 Mike FABIAN <mfabian@redhat.com>
2727 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
2728 was accidentally lost.
2730 2017-11-15 Mike FABIAN <mfabian@redhat.com>
2732 * localedata/locales/az_IR: Add standard copyright header.
2734 2017-11-15 Florian Weimer <fweimer@redhat.com>
2737 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
2738 not just the top one. Output a new "subheaps" statistic.
2740 2017-11-15 Florian Weimer <fweimer@redhat.com>
2743 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
2744 under the per-arena lock.
2745 * malloc/Makefile (tests): Add tst-malloc_info.
2746 (tst-malloc_info): Link with libpthread.
2747 * malloc/tst-malloc_info.c: New file.
2749 2017-11-15 Joseph Myers <joseph@codesourcery.com>
2752 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
2753 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
2754 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
2755 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
2756 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
2757 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
2758 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
2759 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
2760 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
2761 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
2762 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
2763 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
2764 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
2765 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
2766 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
2767 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
2768 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
2769 (__floating_type): Likewise.
2770 (__real_integer_type): Likewise.
2771 (__complex_integer_type): Likewise.
2772 (__expr_is_real): Likewise.
2773 (__tgmath_real_type_sub): Likewise.
2774 (__tgmath_real_type): Likewise.
2775 (__tgmath_complex_type_sub): Likewise.
2776 (__tgmath_complex_type): Likewise.
2777 (__TGMATH_F128): Likewise.
2778 (__TGMATH_CF128): Likewise.
2779 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
2781 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
2782 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
2784 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
2786 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
2787 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
2788 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
2789 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
2791 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
2792 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
2794 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
2795 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
2796 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
2798 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
2799 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
2800 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
2804 2017-11-14 Joseph Myers <joseph@codesourcery.com>
2806 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
2807 for stpncpy calls for GCC 8.
2808 (test_strncat): Disable -Wstringop-truncation warning for strncat
2809 calls for GCC 8. Disable -Wstringop-overflow= warning for one
2810 strncat call for GCC 7.
2811 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
2813 (test_memcmp): Use memcpy instead of strncpy for calls not copying
2816 * string/bug-strncat1.c: Include <libc-diag.h>.
2817 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
2819 2017-11-13 Claude Paroz <claude@2xlibre.net>
2822 * localedata/locales/aa_DJ: Improved readibility by replacing
2823 <Uxxxx> sequences in the ASCII printable range by their ASCII
2824 character equivalents.
2825 * localedata/locales/aa_ER: Likewise.
2826 * localedata/locales/aa_ER@saaho: Likewise.
2827 * localedata/locales/aa_ET: Likewise.
2828 * localedata/locales/af_ZA: Likewise.
2829 * localedata/locales/agr_PE: Likewise.
2830 * localedata/locales/ak_GH: Likewise.
2831 * localedata/locales/am_ET: Likewise.
2832 * localedata/locales/anp_IN: Likewise.
2833 * localedata/locales/ar_AE: Likewise.
2834 * localedata/locales/ar_BH: Likewise.
2835 * localedata/locales/ar_DZ: Likewise.
2836 * localedata/locales/ar_EG: Likewise.
2837 * localedata/locales/ar_IN: Likewise.
2838 * localedata/locales/ar_IQ: Likewise.
2839 * localedata/locales/ar_JO: Likewise.
2840 * localedata/locales/ar_KW: Likewise.
2841 * localedata/locales/ar_LB: Likewise.
2842 * localedata/locales/ar_LY: Likewise.
2843 * localedata/locales/ar_MA: Likewise.
2844 * localedata/locales/ar_OM: Likewise.
2845 * localedata/locales/ar_QA: Likewise.
2846 * localedata/locales/ar_SA: Likewise.
2847 * localedata/locales/ar_SD: Likewise.
2848 * localedata/locales/ar_SS: Likewise.
2849 * localedata/locales/ar_SY: Likewise.
2850 * localedata/locales/ar_TN: Likewise.
2851 * localedata/locales/ar_YE: Likewise.
2852 * localedata/locales/as_IN: Likewise.
2853 * localedata/locales/ast_ES: Likewise.
2854 * localedata/locales/ayc_PE: Likewise.
2855 * localedata/locales/az_AZ: Likewise.
2856 * localedata/locales/az_IR: Likewise.
2857 * localedata/locales/be_BY: Likewise.
2858 * localedata/locales/be_BY@latin: Likewise.
2859 * localedata/locales/bem_ZM: Likewise.
2860 * localedata/locales/ber_DZ: Likewise.
2861 * localedata/locales/ber_MA: Likewise.
2862 * localedata/locales/bg_BG: Likewise.
2863 * localedata/locales/bhb_IN: Likewise.
2864 * localedata/locales/bho_IN: Likewise.
2865 * localedata/locales/bi_VU: Likewise.
2866 * localedata/locales/bn_BD: Likewise.
2867 * localedata/locales/bn_IN: Likewise.
2868 * localedata/locales/bo_CN: Likewise.
2869 * localedata/locales/bo_IN: Likewise.
2870 * localedata/locales/br_FR: Likewise.
2871 * localedata/locales/brx_IN: Likewise.
2872 * localedata/locales/bs_BA: Likewise.
2873 * localedata/locales/byn_ER: Likewise.
2874 * localedata/locales/ca_AD: Likewise.
2875 * localedata/locales/ca_ES: Likewise.
2876 * localedata/locales/ca_FR: Likewise.
2877 * localedata/locales/ca_IT: Likewise.
2878 * localedata/locales/ce_RU: Likewise.
2879 * localedata/locales/chr_US: Likewise.
2880 * localedata/locales/cmn_TW: Likewise.
2881 * localedata/locales/crh_UA: Likewise.
2882 * localedata/locales/cs_CZ: Likewise.
2883 * localedata/locales/csb_PL: Likewise.
2884 * localedata/locales/cv_RU: Likewise.
2885 * localedata/locales/cy_GB: Likewise.
2886 * localedata/locales/da_DK: Likewise.
2887 * localedata/locales/de_AT: Likewise.
2888 * localedata/locales/de_BE: Likewise.
2889 * localedata/locales/de_CH: Likewise.
2890 * localedata/locales/de_DE: Likewise.
2891 * localedata/locales/de_IT: Likewise.
2892 * localedata/locales/de_LI: Likewise.
2893 * localedata/locales/de_LU: Likewise.
2894 * localedata/locales/doi_IN: Likewise.
2895 * localedata/locales/dv_MV: Likewise.
2896 * localedata/locales/dz_BT: Likewise.
2897 * localedata/locales/el_CY: Likewise.
2898 * localedata/locales/el_GR: Likewise.
2899 * localedata/locales/en_AG: Likewise.
2900 * localedata/locales/en_AU: Likewise.
2901 * localedata/locales/en_BW: Likewise.
2902 * localedata/locales/en_CA: Likewise.
2903 * localedata/locales/en_DK: Likewise.
2904 * localedata/locales/en_GB: Likewise.
2905 * localedata/locales/en_HK: Likewise.
2906 * localedata/locales/en_IE: Likewise.
2907 * localedata/locales/en_IL: Likewise.
2908 * localedata/locales/en_IN: Likewise.
2909 * localedata/locales/en_NG: Likewise.
2910 * localedata/locales/en_NZ: Likewise.
2911 * localedata/locales/en_PH: Likewise.
2912 * localedata/locales/en_SG: Likewise.
2913 * localedata/locales/en_US: Likewise.
2914 * localedata/locales/en_ZA: Likewise.
2915 * localedata/locales/en_ZM: Likewise.
2916 * localedata/locales/en_ZW: Likewise.
2917 * localedata/locales/eo: Likewise.
2918 * localedata/locales/es_AR: Likewise.
2919 * localedata/locales/es_BO: Likewise.
2920 * localedata/locales/es_CL: Likewise.
2921 * localedata/locales/es_CO: Likewise.
2922 * localedata/locales/es_CR: Likewise.
2923 * localedata/locales/es_CU: Likewise.
2924 * localedata/locales/es_DO: Likewise.
2925 * localedata/locales/es_EC: Likewise.
2926 * localedata/locales/es_ES: Likewise.
2927 * localedata/locales/es_GT: Likewise.
2928 * localedata/locales/es_HN: Likewise.
2929 * localedata/locales/es_MX: Likewise.
2930 * localedata/locales/es_NI: Likewise.
2931 * localedata/locales/es_PA: Likewise.
2932 * localedata/locales/es_PE: Likewise.
2933 * localedata/locales/es_PR: Likewise.
2934 * localedata/locales/es_PY: Likewise.
2935 * localedata/locales/es_SV: Likewise.
2936 * localedata/locales/es_US: Likewise.
2937 * localedata/locales/es_UY: Likewise.
2938 * localedata/locales/es_VE: Likewise.
2939 * localedata/locales/et_EE: Likewise.
2940 * localedata/locales/eu_ES: Likewise.
2941 * localedata/locales/eu_ES@euro: Likewise.
2942 * localedata/locales/fa_IR: Likewise.
2943 * localedata/locales/ff_SN: Likewise.
2944 * localedata/locales/fi_FI: Likewise.
2945 * localedata/locales/fil_PH: Likewise.
2946 * localedata/locales/fo_FO: Likewise.
2947 * localedata/locales/fr_BE: Likewise.
2948 * localedata/locales/fr_CA: Likewise.
2949 * localedata/locales/fr_CH: Likewise.
2950 * localedata/locales/fr_FR: Likewise.
2951 * localedata/locales/fr_LU: Likewise.
2952 * localedata/locales/fur_IT: Likewise.
2953 * localedata/locales/fy_DE: Likewise.
2954 * localedata/locales/fy_NL: Likewise.
2955 * localedata/locales/ga_IE: Likewise.
2956 * localedata/locales/gd_GB: Likewise.
2957 * localedata/locales/gez_ER: Likewise.
2958 * localedata/locales/gez_ET: Likewise.
2959 * localedata/locales/gl_ES: Likewise.
2960 * localedata/locales/gu_IN: Likewise.
2961 * localedata/locales/gv_GB: Likewise.
2962 * localedata/locales/ha_NG: Likewise.
2963 * localedata/locales/hak_TW: Likewise.
2964 * localedata/locales/he_IL: Likewise.
2965 * localedata/locales/hi_IN: Likewise.
2966 * localedata/locales/hif_FJ: Likewise.
2967 * localedata/locales/hne_IN: Likewise.
2968 * localedata/locales/hr_HR: Likewise.
2969 * localedata/locales/hsb_DE: Likewise.
2970 * localedata/locales/ht_HT: Likewise.
2971 * localedata/locales/hu_HU: Likewise.
2972 * localedata/locales/hy_AM: Likewise.
2973 * localedata/locales/i18n: Likewise.
2974 * localedata/locales/ia_FR: Likewise.
2975 * localedata/locales/id_ID: Likewise.
2976 * localedata/locales/ig_NG: Likewise.
2977 * localedata/locales/ik_CA: Likewise.
2978 * localedata/locales/is_IS: Likewise.
2979 * localedata/locales/it_CH: Likewise.
2980 * localedata/locales/it_IT: Likewise.
2981 * localedata/locales/iu_CA: Likewise.
2982 * localedata/locales/ja_JP: Likewise.
2983 * localedata/locales/ka_GE: Likewise.
2984 * localedata/locales/kk_KZ: Likewise.
2985 * localedata/locales/kl_GL: Likewise.
2986 * localedata/locales/kn_IN: Likewise.
2987 * localedata/locales/ko_KR: Likewise.
2988 * localedata/locales/kok_IN: Likewise.
2989 * localedata/locales/ks_IN: Likewise.
2990 * localedata/locales/ks_IN@devanagari: Likewise.
2991 * localedata/locales/ku_TR: Likewise.
2992 * localedata/locales/kw_GB: Likewise.
2993 * localedata/locales/ky_KG: Likewise.
2994 * localedata/locales/lb_LU: Likewise.
2995 * localedata/locales/lg_UG: Likewise.
2996 * localedata/locales/li_BE: Likewise.
2997 * localedata/locales/li_NL: Likewise.
2998 * localedata/locales/lij_IT: Likewise.
2999 * localedata/locales/ln_CD: Likewise.
3000 * localedata/locales/lo_LA: Likewise.
3001 * localedata/locales/lt_LT: Likewise.
3002 * localedata/locales/lv_LV: Likewise.
3003 * localedata/locales/lzh_TW: Likewise.
3004 * localedata/locales/mag_IN: Likewise.
3005 * localedata/locales/mai_IN: Likewise.
3006 * localedata/locales/mg_MG: Likewise.
3007 * localedata/locales/mhr_RU: Likewise.
3008 * localedata/locales/mi_NZ: Likewise.
3009 * localedata/locales/mk_MK: Likewise.
3010 * localedata/locales/ml_IN: Likewise.
3011 * localedata/locales/mn_MN: Likewise.
3012 * localedata/locales/mni_IN: Likewise.
3013 * localedata/locales/mr_IN: Likewise.
3014 * localedata/locales/ms_MY: Likewise.
3015 * localedata/locales/mt_MT: Likewise.
3016 * localedata/locales/my_MM: Likewise.
3017 * localedata/locales/nan_TW: Likewise.
3018 * localedata/locales/nan_TW@latin: Likewise.
3019 * localedata/locales/nb_NO: Likewise.
3020 * localedata/locales/nds_DE: Likewise.
3021 * localedata/locales/nds_NL: Likewise.
3022 * localedata/locales/ne_NP: Likewise.
3023 * localedata/locales/nhn_MX: Likewise.
3024 * localedata/locales/niu_NU: Likewise.
3025 * localedata/locales/niu_NZ: Likewise.
3026 * localedata/locales/nl_AW: Likewise.
3027 * localedata/locales/nl_BE: Likewise.
3028 * localedata/locales/nl_NL: Likewise.
3029 * localedata/locales/nn_NO: Likewise.
3030 * localedata/locales/nr_ZA: Likewise.
3031 * localedata/locales/nso_ZA: Likewise.
3032 * localedata/locales/oc_FR: Likewise.
3033 * localedata/locales/om_ET: Likewise.
3034 * localedata/locales/om_KE: Likewise.
3035 * localedata/locales/or_IN: Likewise.
3036 * localedata/locales/os_RU: Likewise.
3037 * localedata/locales/pa_IN: Likewise.
3038 * localedata/locales/pa_PK: Likewise.
3039 * localedata/locales/pap_AW: Likewise.
3040 * localedata/locales/pap_CW: Likewise.
3041 * localedata/locales/pl_PL: Likewise.
3042 * localedata/locales/ps_AF: Likewise.
3043 * localedata/locales/pt_BR: Likewise.
3044 * localedata/locales/pt_PT: Likewise.
3045 * localedata/locales/quz_PE: Likewise.
3046 * localedata/locales/raj_IN: Likewise.
3047 * localedata/locales/ro_RO: Likewise.
3048 * localedata/locales/ru_RU: Likewise.
3049 * localedata/locales/ru_UA: Likewise.
3050 * localedata/locales/rw_RW: Likewise.
3051 * localedata/locales/sa_IN: Likewise.
3052 * localedata/locales/sat_IN: Likewise.
3053 * localedata/locales/sc_IT: Likewise.
3054 * localedata/locales/sd_IN: Likewise.
3055 * localedata/locales/sd_IN@devanagari: Likewise.
3056 * localedata/locales/se_NO: Likewise.
3057 * localedata/locales/sgs_LT: Likewise.
3058 * localedata/locales/shs_CA: Likewise.
3059 * localedata/locales/si_LK: Likewise.
3060 * localedata/locales/sid_ET: Likewise.
3061 * localedata/locales/sk_SK: Likewise.
3062 * localedata/locales/sl_SI: Likewise.
3063 * localedata/locales/sm_WS: Likewise.
3064 * localedata/locales/so_DJ: Likewise.
3065 * localedata/locales/so_ET: Likewise.
3066 * localedata/locales/so_KE: Likewise.
3067 * localedata/locales/so_SO: Likewise.
3068 * localedata/locales/sq_AL: Likewise.
3069 * localedata/locales/sq_MK: Likewise.
3070 * localedata/locales/sr_ME: Likewise.
3071 * localedata/locales/sr_RS: Likewise.
3072 * localedata/locales/sr_RS@latin: Likewise.
3073 * localedata/locales/ss_ZA: Likewise.
3074 * localedata/locales/st_ZA: Likewise.
3075 * localedata/locales/sv_FI: Likewise.
3076 * localedata/locales/sv_SE: Likewise.
3077 * localedata/locales/sw_KE: Likewise.
3078 * localedata/locales/sw_TZ: Likewise.
3079 * localedata/locales/szl_PL: Likewise.
3080 * localedata/locales/ta_IN: Likewise.
3081 * localedata/locales/ta_LK: Likewise.
3082 * localedata/locales/tcy_IN: Likewise.
3083 * localedata/locales/te_IN: Likewise.
3084 * localedata/locales/tg_TJ: Likewise.
3085 * localedata/locales/th_TH: Likewise.
3086 * localedata/locales/the_NP: Likewise.
3087 * localedata/locales/ti_ER: Likewise.
3088 * localedata/locales/ti_ET: Likewise.
3089 * localedata/locales/tig_ER: Likewise.
3090 * localedata/locales/tk_TM: Likewise.
3091 * localedata/locales/tl_PH: Likewise.
3092 * localedata/locales/tn_ZA: Likewise.
3093 * localedata/locales/to_TO: Likewise.
3094 * localedata/locales/tpi_PG: Likewise.
3095 * localedata/locales/tr_CY: Likewise.
3096 * localedata/locales/tr_TR: Likewise.
3097 * localedata/locales/ts_ZA: Likewise.
3098 * localedata/locales/tt_RU: Likewise.
3099 * localedata/locales/tt_RU@iqtelif: Likewise.
3100 * localedata/locales/ug_CN: Likewise.
3101 * localedata/locales/uk_UA: Likewise.
3102 * localedata/locales/unm_US: Likewise.
3103 * localedata/locales/ur_IN: Likewise.
3104 * localedata/locales/ur_PK: Likewise.
3105 * localedata/locales/uz_UZ: Likewise.
3106 * localedata/locales/uz_UZ@cyrillic: Likewise.
3107 * localedata/locales/ve_ZA: Likewise.
3108 * localedata/locales/vi_VN: Likewise.
3109 * localedata/locales/wa_BE: Likewise.
3110 * localedata/locales/wae_CH: Likewise.
3111 * localedata/locales/wal_ET: Likewise.
3112 * localedata/locales/wo_SN: Likewise.
3113 * localedata/locales/xh_ZA: Likewise.
3114 * localedata/locales/yi_US: Likewise.
3115 * localedata/locales/yo_NG: Likewise.
3116 * localedata/locales/yue_HK: Likewise.
3117 * localedata/locales/yuw_PG: Likewise.
3118 * localedata/locales/zh_CN: Likewise.
3119 * localedata/locales/zh_HK: Likewise.
3120 * localedata/locales/zh_SG: Likewise.
3121 * localedata/locales/zh_TW: Likewise.
3122 * localedata/locales/zu_ZA: Likewise.
3124 2017-11-13 Florian Weimer <fweimer@redhat.com>
3126 * support/next_to_fault.h, support/next_to_fault.c: New files.
3127 * support/Makefile (libsupport-routines): Add next_to_fault.
3128 * resolv/tst-inet_pton.c (struct next_to_fault)
3129 (next_to_fault_allocate, next_to_fault_free): Remove.
3130 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
3132 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
3134 * elf/dl-support.c: Include <dl-procruntime.c>.
3135 * include/link.h: Include <link_map.h>.
3136 * sysdeps/generic/dl-procruntime.c: New file.
3137 * sysdeps/generic/link_map.h: Likewise.
3138 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
3139 the writable ld.so namespace.
3141 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
3143 timezone: pacify GCC -Wstringop-truncation
3144 Problem reported by Martin Sebor in:
3145 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
3146 * timezone/zic.c (writezone): Use memcpy, not strncpy.
3148 2017-11-12 Florian Weimer <fweimer@redhat.com>
3150 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
3152 (tests): Add tst-xreadlink.
3153 * support/support.h (xstrndup): Declare.
3154 * support/xunistd.h (xunlink, xreadlink): Declare.
3155 * support/temp_file.h (support_create_temp_directory): Declare.
3156 * support/temp_file.c (support_create_temp_directory): New function.
3157 * support/support_chroot.c (support_chroot_create): Use it.
3158 * support/xreadlink.c: New file.
3159 * support/xstrndup.c: Likewise.
3160 * support/xunlink.c: Likewise.
3161 * support/tst-xreadlink.c: Likewise.
3163 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
3165 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
3167 2017-11-11 Florian Weimer <fweimer@redhat.com>
3171 * resolv/res_comp.c (printable_string, binary_hnok)
3172 (binary_leading_dash): New functions.
3173 (res_hnok): Reimplement using these functions and ns_name_pton.
3174 (res_ownok): Likewise.
3175 (res_mailok): Reimplement using printable_string, ns_name_pton and
3177 (res_dnok): Reimplement using printable_string and ns_name_pton.
3178 * resolv/tst-res_hnok.c (tests): Add additional tests.
3179 (LETTERDIGITS, PRINTABLE): Define.
3180 (do_test): Adjust one_char results.
3182 2017-11-11 Florian Weimer <fweimer@redhat.com>
3185 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
3186 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
3188 2017-11-11 Florian Weimer <fweimer@redhat.com>
3190 * resolv/tst-ns_name_pton.c: New file.
3191 * resolv/Makefile (tests): Add tst-ns_name_pton.
3192 (tst-ns_name_pton): Link against libresolv.
3194 2017-11-11 Florian Weimer <fweimer@redhat.com>
3196 * resolv/tst-res_hnok.c: New file.
3197 * resolv/Makefile (tests): Add tst-res_hnok.
3198 (tst-res_hnok): Link against libresolv.
3200 2017-11-11 Florian Weimer <fweimer@redhat.com>
3202 * resolv/tst-resolv-network.c: Use test framework instead explicit
3205 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
3207 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
3209 [!_ISOMAC] (STR_HELPER): New.
3210 [!_ISOMAC] (STR): Likewise.
3211 [!_ISOMAC] (TEST_SIZE): Likewise.
3212 [!_ISOMAC] (TEST_ALIGN): Likewise.
3213 [!_ISOMAC] (TEST_OFFSET): Likewise.
3214 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
3215 field offsets of jmp_buf as well as sigjmp_buf.
3216 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
3217 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
3218 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
3219 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
3220 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
3221 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
3222 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
3223 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
3224 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
3225 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
3227 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
3229 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
3234 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
3235 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
3236 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
3237 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
3238 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
3239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
3241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
3243 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
3244 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
3245 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
3247 2017-11-07 Joseph Myers <joseph@codesourcery.com>
3250 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3251 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
3252 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3253 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
3254 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3255 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
3256 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3257 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
3258 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3259 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
3260 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3261 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
3262 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3263 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
3264 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3265 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
3266 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3267 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
3268 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3269 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
3270 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3271 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
3272 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3273 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
3274 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3275 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
3276 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3277 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
3278 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3279 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
3280 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3281 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
3282 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3283 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
3284 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3285 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
3286 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3287 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
3288 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3289 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
3290 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3291 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
3292 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3293 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
3294 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3295 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
3296 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3297 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
3298 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3299 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
3300 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3301 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
3302 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3303 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
3304 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3305 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
3306 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3307 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
3308 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3309 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
3310 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3311 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
3312 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3313 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
3314 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3315 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
3316 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3317 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
3318 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3319 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
3320 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3321 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
3322 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3323 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
3324 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3325 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
3326 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3327 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
3328 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3329 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
3330 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3331 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
3332 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3333 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
3334 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3335 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
3336 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3337 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
3339 * stdlib/tst-strtod.h (F16): New macro.
3345 (IF_FLOAT16): Likewise.
3346 (IF_FLOAT32): Likewise.
3347 (IF_FLOAT64): Likewise.
3348 (IF_FLOAT32X): Likewise.
3349 (IF_FLOAT64X): Likewise.
3350 (IF_FLOAT128X): Likewise.
3351 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
3352 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
3353 (STRTOD_TEST_FOREACH): Likewise.
3354 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
3355 (CHOOSE_f64): Likewise.
3356 (CHOOSE_f32x): Likewise.
3357 (CHOOSE_f64x): Likewise.
3359 2017-11-07 Andreas Schwab <schwab@suse.de>
3361 * nptl/Makefile (tests-internal): Remove tst-typesizes.
3363 2017-11-07 Mike FABIAN <mfabian@redhat.com>
3366 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
3368 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
3371 2017-11-07 Claude Paroz <claude@2xlibre.net>
3374 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
3376 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
3378 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
3381 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3384 * nptl/allocatestack.c (allocate_stack): Check if
3385 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
3386 __PTHREAD_MUTEX_HAVE_PREV is defined.
3387 * nptl/descr.h (pthread): Likewise.
3388 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3390 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3391 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3392 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
3393 * sysdeps/nptl/bits/thread-shared-types.h
3394 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
3396 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
3397 of __WORDSIZE for internal layout.
3398 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
3399 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
3400 instead of __WORDSIZE whether to use an union for __spins and __list
3402 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
3404 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
3405 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
3407 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
3408 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3410 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3411 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3413 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3414 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3416 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
3417 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3419 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
3420 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3422 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
3423 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3425 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
3426 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3428 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
3429 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3431 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
3432 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3434 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
3435 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3437 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
3438 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3440 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
3441 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3443 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
3444 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3446 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
3447 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3450 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
3452 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
3453 checks for expected input type size.
3454 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3455 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3457 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3458 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
3459 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3460 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
3461 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3462 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
3463 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
3464 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
3465 superflous runtime assert check.
3466 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
3468 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
3470 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3472 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
3474 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
3476 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
3478 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
3479 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
3480 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3482 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3484 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3486 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
3488 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3490 * nptl/pthread_attr_setinheritsched.c
3491 (__pthread_attr_setinheritsched): Likewise.
3492 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
3494 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
3496 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
3497 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
3498 __old_pthread_attr_setstack): Likewise.
3499 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3501 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3503 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
3505 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3506 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3508 * nptl/tst-typesizes.c: Remove file.
3510 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
3511 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
3512 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
3513 checks for internal pthread_mutex_t offsets.
3514 * sysdeps/aarch64/nptl/pthread-offsets.h
3515 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
3516 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
3517 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
3518 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
3519 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
3520 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
3521 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
3522 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
3523 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
3524 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
3525 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
3526 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
3527 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
3528 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
3529 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
3530 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
3531 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
3532 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
3534 2017-11-07 Florian Weimer <fweimer@redhat.com>
3536 * bits/mman-linux.h: Move ...
3537 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
3539 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
3542 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3544 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
3545 Redefine STRNLEN as __strnlen_power8.
3547 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3549 * signal/sighold.c (sighold): Optimize implementation.
3551 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
3552 __NR_rt_sigqueueinfo.
3554 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3556 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
3557 assume __NR_rt_sigtimedwait.
3558 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
3559 and add LIBC_CANCEL_HANDLED for cancellation marking.
3560 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3562 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
3563 (sysdeps_routines): Add memchr_noneon.
3564 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
3565 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
3566 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
3567 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
3568 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
3569 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
3570 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
3572 * sysdeps/arm/arm-ifunc.h: New file.
3573 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
3574 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
3575 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
3576 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
3577 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
3578 (__memcpy_neon): Avoid create hidden alias.
3579 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
3580 (__memcpy_vfp): Likewise.
3581 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
3582 (sysdep_routines): Add memcpy_arm.
3583 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
3585 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
3588 * Makerules (make-link-multidir): New.
3589 * config.make.in (multidir): New.
3590 * configure.ac (libc_cv_multidir): New. AC_SUBST.
3591 * configure: Regenerated.
3592 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
3593 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
3594 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
3597 2017-11-06 Joseph Myers <joseph@codesourcery.com>
3600 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
3601 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
3603 2017-11-04 Mike FABIAN <mfabian@redhat.com>
3605 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
3608 2017-11-04 Florian Weimer <fweimer@redhat.com>
3610 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
3612 2017-11-03 Joseph Myers <joseph@codesourcery.com>
3614 * math/math.h [__HAVE_DISTINCT_FLOAT16
3615 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
3616 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
3617 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
3618 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
3619 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
3620 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
3621 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
3622 (__MATH_TG_F32): New macro.
3623 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
3624 (__MATH_TG_F64X): Likewise.
3625 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
3626 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
3628 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
3630 * po/de.po: Update translations.
3631 * po/ru.po: Likewise.
3633 2017-11-03 Florian Weimer <fweimer@redhat.com>
3635 * manual/filesys.texi (Hard Links): Document linkat.
3637 2017-11-03 Joseph Myers <joseph@codesourcery.com>
3639 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
3640 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
3641 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
3642 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
3643 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
3644 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
3645 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
3646 the same as _Float128.
3647 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
3648 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
3649 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
3652 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
3654 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
3656 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
3658 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3659 (strtof32x): Likewise.
3660 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3661 (strtof64x): Likewise.
3662 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3663 (strtof128x): Likewise.
3664 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3665 (strfromf16): Likewise.
3666 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3667 (strfromf32): Likewise.
3668 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3669 (strfromf64): Likewise.
3670 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3671 (strfromf32x): Likewise.
3672 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3673 (strfromf64x): Likewise.
3674 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3675 (strfromf128x): Likewise.
3676 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
3677 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
3678 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
3679 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
3680 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
3681 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
3683 2017-11-03 Richard Henderson <rth@twiddle.net>
3685 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
3687 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3689 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
3691 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3693 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
3694 DT_TLSDESC_GOT initialization.
3695 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
3696 (_dl_tlsdesc_resolve_hold): Likewise.
3697 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
3698 (_dl_tlsdesc_resolve_hold): Likewise.
3699 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
3700 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
3702 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3704 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
3706 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3709 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
3710 non-lazily for R_ARM_TLS_DESC.
3712 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3715 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
3716 R_ARM_TLS_DESC case.
3717 (elf_machine_lazy_rel): Remove the prelink check.
3719 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3721 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
3722 DT_TLSDESC_GOT initialization.
3723 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
3724 (_dl_tlsdesc_resolve_rela): Likewise.
3725 (_dl_tlsdesc_resolve_hold): Likewise.
3726 (_dl_tlsdesc_undefweak): Remove ldar.
3727 (_dl_tlsdesc_dynamic): Likewise.
3728 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
3729 (_dl_tlsdesc_resolve_rela): Likewise.
3730 (_dl_tlsdesc_resolve_hold): Likewise.
3731 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
3732 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
3733 (_dl_tlsdesc_resolve_rela): Likewise.
3734 (_dl_tlsdesc_resolve_hold): Likewise.
3736 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3738 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
3739 binding and initialization non-lazily for R_AARCH64_TLSDESC.
3741 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3743 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
3744 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3746 2017-11-02 Joseph Myers <joseph@codesourcery.com>
3748 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
3750 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
3751 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
3752 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
3753 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
3754 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
3755 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
3756 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
3757 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
3758 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
3759 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
3760 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
3762 2017-11-02 Mike FABIAN <mfabian@redhat.com>
3765 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
3766 * localedata/locales/tpi_PG: Add standard header.
3768 2017-11-02 Florian Weimer <fweimer@redhat.com>
3770 test-errno-linux: quotactl can fail with EPERM in containers.
3771 * sysdeps/unix/sysv/linux/test-errno-linux.c
3772 (LIST, LIST_FORWARD): New macros.
3773 (check_error_in_list): New function.
3774 (test_wrp_rv): Accept list of permitted error codes.
3775 (test_wrp_rv2): Remove.
3776 (test_wrp): Call test_wrp_rv with list of error codes.
3777 (test_wrp2): Accept list of error codes.
3778 (do_test): Adjust. Allow EPERM for quotactl.
3780 2017-11-02 Florian Weimer <fweimer@redhat.com>
3782 * stdio-common/bug16.c (do_test): Use array_length.
3783 * stdio-common/errlist.c (_sys_nerr): Likewise.
3784 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
3785 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
3786 * stdio-common/psiginfo.c (psiginfo): Use array_length.
3787 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
3788 (do_test): Use array_length.
3789 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
3790 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
3791 * stdio-common/tst-printf-round.c (do_test): Likewise.
3792 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
3793 (CHECK): Use array_length.
3794 * stdio-common/tstdiomisc.c (t3, F): Likewise.
3795 * stdio-common/tstscanf.c (main): Likewise.
3796 * stdio-common/vfprintf.c (process_string_arg): Likewise.
3798 2017-11-02 Florian Weimer <fweimer@redhat.com>
3800 Add array_length and array_end macros.
3801 * include/array_length.h: New file.
3803 2017-11-02 Florian Weimer <fweimer@redhat.com>
3806 * posix/tst-glob-tilde.c (do_noescape): New variable.
3807 (one_test): Process it.
3808 (do_test): Set do_noescape. Add unescaping test case.
3810 2017-11-01 Joseph Myers <joseph@codesourcery.com>
3813 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
3814 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
3815 with appropriate macros defined and undefined.
3816 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
3817 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3818 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
3819 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3820 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
3821 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3822 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
3823 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3824 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
3825 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3828 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
3829 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
3830 that for long double. Do not condition define and undefine of
3831 _Mdouble_complex_ on [__CFLOAT128].
3833 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
3835 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
3836 of <sysdeps/generic/sysdep.h>.
3837 (ALIGNARG): Removed.
3838 (ASM_SIZE_DIRECTIVE): Likewise.
3841 (ENTRY_CHK): Likewise.
3842 (END_CHK): Likewise.
3843 (syscall_error): Likewise.
3845 (PSEUDO_END): Likewise.
3847 (atom_text_section): Likewise.
3848 * sysdeps/x86/sysdep.h: New file.
3849 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
3850 of <sysdeps/generic/sysdep.h>.
3851 (ALIGNARG): Removed.
3852 (ASM_SIZE_DIRECTIVE): Likewise.
3855 (ENTRY_CHK): Likewise.
3856 (END_CHK): Likewise.
3857 (syscall_error): Likewise.
3859 (PSEUDO_END): Likewise.
3861 (atom_text_section): Likewise.
3863 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
3865 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
3866 category of LC_CTYPE set to "i18n:2012".
3867 * localedata/locales/i18n_ctype: Regenerate.
3869 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
3871 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
3872 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3873 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3874 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3876 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
3877 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
3878 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
3879 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
3881 2017-10-31 Joseph Myers <joseph@codesourcery.com>
3884 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
3886 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
3888 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
3890 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3891 (CMPLXF32X): Likewise.
3892 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3893 (CMPLXF64X): Likewise.
3894 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3895 (CMPLXF128X): Likewise.
3898 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
3899 (__MATH_EVAL_FMT2): Define to add 0.0f.
3901 2017-10-31 Alan Modra <amodra@gmail.com>
3903 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
3905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
3908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
3910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
3913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
3916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3929 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3932 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3939 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
3940 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3945 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
3946 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
3947 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3948 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3949 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3950 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3951 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3952 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
3953 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3954 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3955 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3956 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
3957 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
3958 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3959 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3960 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3961 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3962 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3963 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3965 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3966 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3967 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3969 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
3970 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3971 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
3972 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
3973 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
3975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
3976 include sysdep.h and math_ldbl_opt.h.
3978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
3979 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
3980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
3982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
3983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
3984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
3989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
3993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
3994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
3996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
3997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
3998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
3999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
4000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
4001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
4003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4005 2017-10-31 Alan Modra <amodra@gmail.com>
4007 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
4008 string/strncase_l.c, not string/strncase.c.
4009 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
4010 (libc_hidden_def): Redefine.
4012 2017-10-31 Alan Modra <amodra@gmail.com>
4014 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
4015 (__STRCMP, STRCMP, __strcasecmp_l): Define.
4016 (__strcasecmp): Don't define.
4018 2017-10-31 Alan Modra <amodra@gmail.com>
4020 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
4022 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4023 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4024 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4026 2017-10-31 Alan Modra <amodra@gmail.com>
4028 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
4031 2017-10-31 Alan Modra <amodra@gmail.com>
4033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
4034 Redefine only when SHARED.
4036 2017-10-30 Joseph Myers <joseph@codesourcery.com>
4038 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
4039 Include <bits/math-finite.h> with appropriate macros defined and
4041 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
4042 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
4043 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
4044 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
4045 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
4047 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
4048 [!_Mlong_double_] (_Mlong_double_): Likewise.
4049 [!_Mfloat16_] (_Mfloat16_): Likewise.
4050 [!_Mfloat32_] (_Mfloat32_): Likewise.
4051 [!_Mfloat64_] (_Mfloat64_): Likewise.
4052 [!_Mfloat128_] (_Mfloat128_): Likewise.
4053 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
4054 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
4055 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
4056 (_Mdouble_): Define without indirection through those macros.
4057 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
4058 [!_Mfloat128_] (_Mfloat128_): Likewise.
4059 [_Mlong_double_] (_Mlong_double_): Likewise.
4060 (_Mdouble_): Define without indirection through those macros.
4061 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
4062 not add -D_Mlong_double_=double.
4063 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
4064 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
4066 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
4068 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
4070 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
4072 * sysdeps/x86/libc-start.c: Reformat.
4074 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
4077 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
4081 (L(Src2)): Likewise.
4082 (L(1)): Renamed to ...
4085 2017-10-30 Joseph Myers <joseph@codesourcery.com>
4087 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
4088 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
4089 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
4090 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
4091 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
4092 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
4093 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
4094 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
4095 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
4096 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
4097 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
4098 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
4099 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
4100 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
4101 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
4102 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
4103 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
4104 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
4105 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
4106 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
4107 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
4108 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
4109 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
4110 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
4111 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
4112 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
4113 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
4114 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
4115 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
4116 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
4117 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
4118 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
4119 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
4120 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
4121 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
4122 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
4123 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
4124 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
4125 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
4126 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
4127 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
4128 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
4129 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
4130 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
4131 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
4132 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
4133 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
4134 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
4135 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
4136 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
4137 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
4138 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
4139 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
4140 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
4141 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
4142 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
4143 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
4144 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
4145 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
4146 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
4147 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
4148 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
4149 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
4150 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
4151 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
4152 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
4154 2017-10-30 Florian Weimer <fweimer@redhat.com>
4156 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
4158 * io/tst-mkdirat.c (do_test): Likewise.
4159 * io/tst-mkfifoat.c (do_test): Likewise.
4160 * io/tst-mknodat.c (do_test): Likewise.
4161 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
4162 * locale/programs/locale.c (select_dirs): Likewise.
4163 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
4164 * posix/bug-glob2.c (my_readdir): Likewise.
4165 * posix/tst-dir.c (main): Likewise.
4166 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
4167 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
4169 2017-10-30 Florian Weimer <fweimer@redhat.com>
4171 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
4174 2017-10-30 Florian Weimer <fweimer@redhat.com>
4176 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
4177 Convert to support/test-driver.c.
4178 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
4179 New macro parameters.
4180 (PRINTF): Remove macro. Use test_verbose conditionals instead.
4181 * posix/tst-gnuglob.c: New file.
4182 * posix/tst-gnuglob64.c: Likewise.
4183 * posix/Makefile (tests): Add tst-gnuglob64.
4185 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
4188 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
4189 and use a better translation for March in “mon”.
4190 * localedata/locales/csb_PL: Use more ASCII to improve the
4191 readability of the source.
4193 2017-10-30 Mike FABIAN <mfabian@redhat.com>
4196 * localedata/locales/km_KH: Use ASCII as much
4197 as possible for better readability of the source and
4198 remove useless comments.
4199 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
4200 was commented out and apparently wrong anyway because it was
4201 using Lao characters. If Buddhist era should be used
4202 for km_KH, a native speaker should write the correct formaat
4204 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
4205 (According to CLDR, the first weekday for Cambodia is Sunday).
4206 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
4207 (These were using Lao characters which must be wrong. If we get
4208 the correct data from a native speaker, we could add it back, until
4209 then it is better not to have name_mr and name_mrs at all than
4212 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
4214 * locale/loadlocale.c: Correct size of
4215 _nl_value_type_LC_<category> arrays.
4217 2017-10-27 Joseph Myers <joseph@codesourcery.com>
4219 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
4220 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
4221 with appropriate macros defined and undefined.
4222 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
4223 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
4224 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
4225 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
4226 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
4228 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
4230 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
4233 2017-10-27 Mike FABIAN <mfabian@redhat.com>
4235 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
4236 with lowercase letters to make it agree with CLDR.
4238 2017-10-27 Mike FABIAN <mfabian@redhat.com>
4241 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
4242 first letters of yesstr and nostr in yesexpr and noexpr,
4243 not for the full words.
4244 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
4245 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
4246 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
4247 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
4248 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
4249 first letters of yesstr and nostr in yesexpr and noexpr,
4250 until now only English was matched in yesexpr and noexpr.
4251 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
4252 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
4253 fil but not for tl. As tl and fil are very similar, using fil
4254 is probably better than using English.
4256 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
4259 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
4260 in yesstr and nostr.
4262 2017-10-26 Joseph Myers <joseph@codesourcery.com>
4264 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
4265 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
4266 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
4268 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
4270 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
4272 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
4274 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4275 (SNANF128X): Likewise.
4277 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
4278 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
4279 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4280 (HUGE_VAL_F32): Likewise.
4281 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4282 (HUGE_VAL_F64): Likewise.
4283 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4284 (HUGE_VAL_F32X): Likewise.
4285 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4286 (HUGE_VAL_F64X): Likewise.
4287 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4288 (HUGE_VAL_F128X): Likewise.
4290 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
4292 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
4293 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
4294 for the br_FR locale.
4296 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
4299 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
4301 2017-10-25 Carlos O'Donell <carlos@redhat.com>
4303 * locale/programs/record-status.h: Define globals, and function
4304 prototypes. Move function bodies...
4305 * locale/programs/record-status.c: ... to here. New file.
4306 * iconv/Makefile (iconv_prog-modules): Add record-status.
4307 * locale/Makefile (lib-modules): Likewise.
4308 * iconv/iconv_prog.c: Remove verbose.
4309 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
4310 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
4311 record a warning about ASCII compatibility.
4312 * locale/programs/ld-monetary.c (monetary_finish): If
4313 warn_int_curr_symbol is true then record a warning about the symbol
4314 not being in our ISO 4217 list.
4315 * locale/programs/locale.c: Include record-status.h. Remove verbose.
4316 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
4317 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
4318 (OPT_NO_WARN): Define.
4320 (options): Add entry for --no-warnings, and --warnings.
4321 (set_warnings): New function to enable/disable warnings.
4322 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
4323 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
4324 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
4325 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
4326 Pass flags to generate_locale.
4327 (generate_locale): Accept new flag argument and pass it to localedef
4329 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
4330 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
4332 * localedata/Makefile (test-input-data): Use full file name.
4333 * localedata/da_DK.in: Rename to...
4334 * localedata/da_DK.ISO-8859-1.in: ...this.
4335 * localedata/de_DE.in: Rename to...
4336 * localedata/de_DE.ISO-8859-1.in: ...this.
4337 * localedata/en_US.in: Rename to...
4338 * localedata/en_US.ISO-8859-1.in: ...this.
4339 * localedata/fr_FR.in: Rename to...
4340 * localedata/fr_FR.UTF-8.in: ... this.
4341 * localedata/hr_HR.in: Rename to...
4342 * localedata/hr_HR.ISO-8859-2.in: ...this.
4343 * localedata/hu_HU.in: Rename to...
4344 * localedata/hu_HU.UTF-8.in: ...this.
4345 * localedata/si_LK.in: Rename to...
4346 * localedata/si_LK.UTF-8.in: ...this.
4347 * localedata/sv_SE.in: Rename to...
4348 * localedata/sv_SE.ISO-8859-1.in: ...this.
4349 * localedata/tr_TR.in: Rename to...
4350 * localedata/tr_TR.UTF-8.in: ...this.
4351 * localedata/uk_UA.in: Rename to...
4352 * localedata/uk_UA.UTF-8.in: ...this.
4353 * localedata/sort-test.sh: Test file is locale name with the
4356 * localedata/unicode-gen/Makefile (check_i18n): Rename to
4357 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
4359 * localedata/locales/i18n_ctype: Regenerate.
4360 * localedata/locales/tr_TR: Likewise.
4361 * localedata/locales/translit_circle: Likewise.
4362 * localedata/locales/translit_cjk_compat: Likewise.
4363 * localedata/locales/translit_combining: Likewise.
4364 * localedata/locales/translit_compat: Likewise.
4365 * localedata/locales/translit_font: Likewise.
4366 * localedata/locales/translit_fraction: Likewise.
4368 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
4371 lxvd2x/stxvd2x with lvx/stvx.
4372 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4374 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
4376 * include/alloc_buffer.h: Replace "if if " with "if " in
4378 * sysdeps/mips/memcpy.S: Likkewise.
4379 * sysdeps/mips/memset.S: Likewise.
4380 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4382 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
4384 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
4387 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4390 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
4392 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
4393 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
4394 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
4395 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
4396 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
4397 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
4398 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
4400 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4402 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
4403 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
4404 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
4405 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
4406 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
4407 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
4408 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
4409 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
4410 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
4411 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
4412 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
4413 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
4415 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4417 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
4418 as possible for better readability of the source.
4419 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
4420 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
4421 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
4422 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
4423 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
4424 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
4425 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
4426 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
4427 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
4428 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
4429 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
4430 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
4431 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
4432 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
4433 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
4434 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
4435 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
4436 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
4437 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
4438 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
4439 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
4440 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
4441 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
4442 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
4443 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
4444 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
4445 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
4446 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
4447 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
4448 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
4449 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
4450 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
4451 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
4452 * localedata/locales/en_US (LC_MESSAGES): Likewise.
4453 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
4454 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
4455 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
4456 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
4457 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
4458 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
4459 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
4460 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
4461 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
4462 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
4463 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
4464 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
4465 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
4466 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
4467 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
4468 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
4469 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
4470 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
4471 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
4472 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
4473 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
4474 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
4475 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
4476 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
4477 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
4478 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
4479 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
4480 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
4481 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
4482 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
4483 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
4484 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
4485 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
4486 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
4487 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
4488 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
4489 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
4490 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
4491 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
4492 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
4493 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
4494 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
4495 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
4496 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
4497 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
4498 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
4499 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
4500 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
4501 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
4502 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
4503 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
4504 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
4505 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
4506 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
4507 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
4508 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
4509 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
4510 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
4511 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
4512 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
4513 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
4514 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
4515 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
4516 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
4517 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
4518 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
4519 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
4520 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
4521 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
4522 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
4523 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
4524 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
4525 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
4526 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
4527 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
4528 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
4529 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
4530 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
4531 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
4532 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
4533 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
4534 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
4535 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
4536 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
4537 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
4538 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
4539 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
4540 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
4541 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
4542 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
4543 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
4544 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
4545 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
4546 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
4547 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
4548 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
4549 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
4550 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
4551 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
4552 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
4553 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
4554 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
4555 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
4556 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
4557 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
4558 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
4559 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
4560 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
4561 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
4562 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
4563 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
4564 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
4565 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
4566 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
4567 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
4568 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
4569 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
4570 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
4571 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
4572 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
4573 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
4574 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
4575 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
4576 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
4577 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
4578 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
4579 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
4580 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
4581 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
4582 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
4583 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
4584 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
4585 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
4586 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
4587 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
4588 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
4589 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
4590 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
4591 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
4592 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
4594 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4596 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
4597 (Use first letters of yesstr and nostr correctly instead of using
4600 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4602 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
4603 (Use first letters of yesstr and nostr correctly).
4605 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4607 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
4608 also check for the first characters of yesstr and nostr.
4609 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
4610 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
4612 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4614 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
4615 also check for Chinese characters.
4617 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4619 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
4620 match also for the contents of yesstr and nostr. As the first letter
4621 of yesstr and nostr is equal, checking only for the first letter
4624 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4626 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
4627 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
4629 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4631 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
4632 of main contributor.
4634 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4636 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
4637 instead of using English.
4639 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4641 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
4642 by including the first letters of nostr and yesexpr in the regexp.
4643 Also make it more readable by using ASCII where possible.
4645 2017-10-25 Mike FABIAN <mfabian@redhat.com>
4647 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
4648 the first letter of nostr in the regexp. It agrees with CLDR now.
4649 Also make it more readable by using ASCII where possible.
4651 2017-10-24 Mike FABIAN <mfabian@redhat.com>
4653 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
4654 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
4655 these strings contain a U+17D6 (which somewhat looks like a colon)
4656 instead of a real colon to separate the full words for “yes”
4657 and “no” from the single letter responses.
4659 2017-10-24 Mike FABIAN <mfabian@redhat.com>
4661 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
4662 it agree with CLDR (include the first letter of yesstr).
4663 Also make it more readable by using ASCII where possible.
4665 2017-10-24 Mike FABIAN <mfabian@redhat.com>
4667 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
4668 and improve yesexpr and noexpr. The yesstr and nostr apparently
4669 came from CLDR. And CLDR has a bug there: these strings contain
4670 a U+0903 (which looks like a colon) instead of a real colon
4671 to separate the full words for “yes” and “no” from the single
4674 2017-10-24 Mike FABIAN <mfabian@redhat.com>
4676 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
4677 letters of the full yesstr and nostr in yesexpr and noexpr.
4679 2017-10-24 Mike FABIAN <mfabian@redhat.com>
4681 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
4682 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
4683 * localedata/locales/an_ES: Make source more readable by using ASCII
4686 2017-10-24 Mike FABIAN <mfabian@redhat.com>
4689 * localedata/locales/yuw_PG: New file.
4690 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
4691 * locale/iso-639.def: Add Yau (Uruwa).
4693 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4695 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
4697 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4699 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
4700 (__libc_realloc): Likewise.
4701 (_mid_memalign): Likewise.
4702 (__libc_calloc): Likewise.
4704 2017-10-23 Mike FABIAN <mfabian@redhat.com>
4706 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
4707 by adding the generic +1 and -0 as in all other locales.
4708 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
4709 day names and make it more readable by using ASCII where possible.
4711 2017-10-24 Joseph Myers <joseph@codesourcery.com>
4713 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
4714 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
4716 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4718 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
4719 WNOHANG in waitpid call.
4721 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
4723 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
4724 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
4726 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
4727 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
4728 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
4729 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
4730 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
4731 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
4732 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
4733 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
4736 2017-10-23 Michael Collison <michael.collison@arm.com>
4738 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
4739 with __builtin_sqrt.
4740 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
4741 with __builtin_sqrtf.
4742 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
4743 with __builtin_ceil.
4744 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
4745 with __builtin_ceilf.
4746 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
4747 with __builtin_floor.
4748 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
4749 with __builtin_floorf.
4750 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
4752 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
4753 with __builtin_fmaf.
4754 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
4755 with __builtin_fmax.
4756 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
4757 with __builtin_fmaxf.
4758 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
4759 with __builtin_fmin.
4760 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
4761 with __builtin_fminf.
4762 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
4763 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
4764 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
4765 with builtin_rint and conversion to int.
4766 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
4767 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
4768 with builtin_llround.
4769 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
4770 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
4771 with builtin_rint and conversion to long int.
4772 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
4773 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
4774 with builtin_lround.
4775 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
4776 with builtin_lroundf.
4777 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
4778 statements with __builtin_nearbyint.
4779 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
4780 statements with __builtin_nearbyintf.
4781 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
4782 with __builtin_rint.
4783 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
4784 with __builtin_rintf.
4785 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
4786 with __builtin_round.
4787 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
4788 with __builtin_roundf.
4789 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
4790 with __builtin_trunc.
4791 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
4792 with __builtin_truncf.
4793 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
4794 and s_l[l]round[f].c too.
4796 2017-10-23 Alan Modra <amodra@gmail.com>
4798 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
4799 Adjust stack after restoring regs. Add missing LR cfi_restore.
4801 2017-10-23 Alan Modra <amodra@gmail.com>
4803 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
4804 Move LR save and frame setup/teardown and LR restore to
4805 immediately around memset call. Provide cfi.
4807 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4809 * sysdeps/i386/fpu/e_powf.S: Removed.
4810 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
4811 * sysdeps/i386/fpu/w_powf.c: Likewise.
4812 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
4813 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4814 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4816 (CFLAGS-e_powf-sse2.c): New.
4817 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
4818 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
4820 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4822 * sysdeps/i386/fpu/e_log2f.S: Removed.
4823 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
4824 * sysdeps/i386/fpu/w_log2f.c: Likewise.
4825 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
4826 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4827 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4829 (CFLAGS-e_log2f-sse2.c): New.
4830 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
4831 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
4833 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4835 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4837 (CFLAGS-e_powf-fma.c): New.
4838 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
4839 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
4841 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4843 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4845 (CFLAGS-e_log2f-fma.c): New.
4846 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
4847 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
4849 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4851 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4853 (CFLAGS-e_logf-fma.c): New.
4854 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
4855 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
4857 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4859 * sysdeps/i386/fpu/e_logf.S: Removed.
4860 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
4861 * sysdeps/i386/fpu/w_logf.c: Likewise.
4862 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
4863 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
4864 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4865 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4867 (CFLAGS-e_logf-sse2.c): New.
4868 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
4869 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
4871 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4873 * sysdeps/i386/fpu/e_exp2f.S: Removed.
4874 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
4875 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
4876 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4877 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4879 (CFLAGS-e_exp2f-sse2.c): New.
4880 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
4881 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
4883 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4885 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4887 (CFLAGS-e_exp2f-fma.c): New.
4888 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
4889 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
4891 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4893 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
4894 * sysdeps/i386/fpu/e_expf.S: Likewise.
4895 * sysdeps/i386/fpu/math_errf.c: Likewise.
4896 * sysdeps/i386/fpu/w_expf.c: Likewise.
4897 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
4898 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4899 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
4900 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
4901 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4902 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4904 (CFLAGS-e_expf-sse2.c): New.
4905 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
4906 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
4908 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
4910 * sysdeps/x86_64/fpu/e_expf.S: Removed.
4911 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
4912 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
4913 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
4915 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
4917 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
4918 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
4920 (__redirect_expf): This.
4921 (SYMBOL_NAME): Changed to expf.
4922 (__ieee754_expf): Renamed to ...
4924 (__GI___expf): This.
4925 (__ieee754_expf): Add strong_alias.
4926 (__expf_finite): Likewise.
4928 Include <sysdeps/ieee754/flt-32/e_expf.c>.
4930 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
4933 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
4936 2017-10-21 Florian Weimer <fweimer@redhat.com>
4938 * posix/Makefile (tests): Add tst-glob-tilde.
4939 (tests-special): Add tst-glob-tilde-mem.out
4940 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
4941 (tst-glob-tilde-mem.out): Add mtrace check.
4942 * posix/tst-glob-tilde.c: New file.
4944 2017-10-20 Joseph Myers <joseph@codesourcery.com>
4946 * bits/floatn-common.h: New file.
4947 * math/Makefile (headers): Add bits/floatn-common.h.
4948 * bits/floatn.h: Include <bits/floatn-common.h>.
4949 * sysdeps/ia64/bits/floatn.h: Likewise.
4950 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
4951 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
4952 * sysdeps/powerpc/bits/floatn.h: Likewise.
4953 * sysdeps/x86/bits/floatn.h: Likewise.
4955 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4957 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
4958 indicates whether compiler emits an warning for alias for
4959 functions with incompatible types.
4962 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
4963 the auxiliary process is terminated by a signal before calling _exit
4966 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
4969 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
4971 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
4972 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
4973 and bit_arch_XSAVEC_Usable if needed.
4974 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
4975 and bit_arch_Use_dl_runtime_resolve_opt.
4976 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4978 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4979 (bit_arch_Prefer_No_AVX512): Updated.
4980 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
4981 (bit_arch_XSAVEC_Usable): New.
4982 (STATE_SAVE_OFFSET): Likewise.
4983 (STATE_SAVE_MASK): Likewise.
4984 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
4985 (cpu_features): Add xsave_state_size and xsave_state_full_size.
4986 (index_arch_Use_dl_runtime_resolve_opt): Removed.
4987 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4988 (index_arch_XSAVEC_Usable): New.
4989 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4990 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
4991 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
4993 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
4994 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
4995 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
4996 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
4997 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
4998 _dl_runtime_resolve_xsavec.
4999 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
5001 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
5002 instead of VEC_SIZE.
5003 (REGISTER_SAVE_BND0): Removed.
5004 (REGISTER_SAVE_BND1): Likewise.
5005 (REGISTER_SAVE_BND3): Likewise.
5006 (REGISTER_SAVE_RAX): Always defined to 0.
5008 (_dl_runtime_resolve_avx): Likewise.
5009 (_dl_runtime_resolve_avx_slow): Likewise.
5010 (_dl_runtime_resolve_avx_opt): Likewise.
5011 (_dl_runtime_resolve_avx512): Likewise.
5012 (_dl_runtime_resolve_avx512_opt): Likewise.
5013 (_dl_runtime_resolve_sse): Likewise.
5014 (_dl_runtime_resolve_sse_vex): Likewise.
5016 (_dl_runtime_resolve_fxsave): Likewise.
5017 (USE_XSAVE): Likewise.
5018 (_dl_runtime_resolve_xsave): Likewise.
5019 (USE_XSAVEC): Likewise.
5020 (_dl_runtime_resolve_xsavec): Likewise.
5021 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
5023 (_dl_runtime_resolve_avx512_opt): Likewise.
5024 (_dl_runtime_resolve_avx): Likewise.
5025 (_dl_runtime_resolve_avx_opt): Likewise.
5026 (_dl_runtime_resolve_sse): Likewise.
5027 (_dl_runtime_resolve_sse_vex): Likewise.
5028 (_dl_runtime_resolve_fxsave): New.
5029 (_dl_runtime_resolve_xsave): Likewise.
5030 (_dl_runtime_resolve_xsavec): Likewise.
5032 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
5036 * posix/glob.c (__glob): Fix one-byte overflow.
5038 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
5040 * malloc/malloc.c (sysdep-cancel.h): Add include.
5042 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
5044 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
5046 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
5048 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
5049 (tests): Remove $(objpfx)ga_test depdendency.
5050 * resolv/ga_test.c: Remove file.
5052 2017-10-20 Mike FABIAN <mfabian@redhat.com>
5055 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
5056 * localedata/locales/kab_DZ: New file.
5058 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
5060 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
5061 _dl_relocate_static_pie instead of _dl_start to compute load
5062 address in static PIE.
5064 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
5066 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
5068 2017-10-20 Mike FABIAN <mfabian@redhat.com>
5071 * localedata/SUPPORTED: Add shn_MM/UTF-8.
5072 * localedata/locales/shn_MM: New file.
5074 2017-10-20 Florian Weimer <fweimer@redhat.com>
5077 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
5078 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
5079 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
5080 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
5081 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
5082 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
5084 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
5086 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5088 2017-10-19 Joseph Myers <joseph@codesourcery.com>
5090 * sysdeps/mips/ieee754/bits/floatn.h: New file.
5093 * sysdeps/mips/bits/long-double.h: Move to ....
5094 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
5096 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
5098 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
5100 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
5101 H.J. Lu <hongjiu.lu@intel.com>
5104 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5105 GLRO(dl_platform) to NULL.
5106 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
5107 (modules-names): Add tst-platformmod-1 and
5108 x86_64/tst-platformmod-2.
5109 (CFLAGS-tst-platform-1.c): New.
5110 (CFLAGS-tst-platformmod-1.c): Likewise.
5111 (CFLAGS-tst-platformmod-2.c): Likewise.
5112 (LDFLAGS-tst-platformmod-2.so): Likewise.
5113 ($(objpfx)tst-platform-1): Likewise.
5114 ($(objpfx)tst-platform-1.out): Likewise.
5115 (tst-platform-1-ENV): Likewise.
5116 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
5117 * sysdeps/x86_64/tst-platform-1.c: New file.
5118 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
5119 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
5121 2017-10-19 Mike FABIAN <mfabian@redhat.com>
5124 * locale/iso-639.def: Add Karbi.
5125 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
5126 * localedata/locales/mjw_IN: New file.
5128 2017-10-18 Joseph Myers <joseph@codesourcery.com>
5130 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
5131 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
5132 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
5133 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
5134 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
5135 (libm_alias_ldouble_other_r): Also create _Float128 alias.
5136 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
5138 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
5139 (libm_alias_ldouble_other_r): Also create _Float128 alias.
5140 * manual/math.texi (Mathematics): Document additional architecture
5141 support for _Float128.
5142 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5143 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5144 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5145 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5146 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5147 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5148 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5150 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5152 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5153 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5154 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5155 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5156 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5158 2017-10-18 Renlin Li <renlin.li@arm.com>
5160 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
5161 _DYNAMIC symbol to calculate load address.
5163 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
5165 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
5166 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
5168 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
5169 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
5171 2017-10-18 Mike FABIAN <mfabian@redhat.com>
5174 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
5175 and improve readability by using more ASCII.
5176 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
5177 and improve readability by using more ASCII.
5179 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
5181 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
5182 not all targets support atomics on bool.
5184 2017-10-17 Joseph Myers <joseph@codesourcery.com>
5186 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
5187 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
5189 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
5190 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
5191 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
5192 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
5193 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
5194 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
5196 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5198 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
5201 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
5204 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
5205 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
5206 (do_check_remalloced_chunk): Fix build bug.
5207 (do_check_malloc_state): Add assert that checks arena->top.
5208 (malloc_consolidate): Remove initialization.
5209 (int_mallinfo): Remove call to malloc_consolidate.
5210 (__libc_mallopt): Clarify why malloc_consolidate is needed.
5212 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
5214 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
5215 (have_fastchunks): Remove.
5216 (clear_fastchunks): Remove.
5217 (set_fastchunks): Remove.
5218 (malloc_state): Add have_fastchunks.
5219 (malloc_init_state): Use have_fastchunks.
5220 (do_check_malloc_state): Remove incorrect invariant checks.
5221 (_int_malloc): Use have_fastchunks.
5222 (_int_free): Likewise.
5223 (malloc_consolidate): Likewise.
5225 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
5227 * malloc/malloc.c (tcache_put): Inline.
5228 (tcache_get): Inline.
5230 2017-10-17 Jordi Mallach <jordi@gnu.org>
5232 Aurelien Jarno <aurelien@aurel32.net>
5234 * localedata/locales/ca_ES@valencia: New file.
5235 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
5237 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
5240 * math/math.h: Let signbit use the builtin in C++ mode with gcc
5243 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5245 * scripts/build-many-glibcs.py (Context.add_all_configs):
5246 Add arm-linux-gnueabihf multiarch extra_glibcs.
5248 * sysdeps/generic/ifunc-init.h: New file.
5249 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
5251 2017-10-17 Mike FABIAN <mfabian@redhat.com>
5254 * localedata/locales/el_GR: Set n_cs_precedes to 0.
5255 * localedata/locales/el_CY: copy "el_GR" because it is identical.
5256 * stdlib/tst-strfmon_l.c: adapt test case.
5258 2017-10-16 Joseph Myers <joseph@codesourcery.com>
5260 * sysdeps/generic/float128-abi.h: New file.
5261 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
5262 non-__prefixed symbols to ....
5263 * math/Versions: ... here. Include <float128-abi.h>.
5264 * stdlib/Versions ... and here. Include <float128-abi.h>
5266 2017-10-16 Florian Weimer <fweimer@redhat.com>
5268 * version.h (VERSION): Switch to ".9000" as the development
5271 2017-10-16 Florian Weimer <fweimer@redhat.com>
5274 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
5275 compat_symbol_reference to access non-default version.
5277 2017-10-16 Florian Weimer <fweimer@redhat.com>
5279 * malloc/Makefile (others-extras): Set to mcheck-init.o.
5281 2017-10-16 Carlos O'Donell <carlos@redhat.com>
5283 * include/shlib-compat.h (compat_symbol_reference): Update
5286 2017-10-16 Joseph Myers <joseph@codesourcery.com>
5288 * math/Makefile (test-types): Add
5289 $(type-float128-$(float128-alias-fcts)).
5290 * math/test-float128.h (TYPE_STR): Define conditional on
5291 [FLT128_MANT_DIG == LDBL_MANT_DIG].
5292 (ULP_IDX): Likewise.
5293 (ULP_I_IDX): Likewise.
5295 * stdlib/strtold.c: Include <bits/floatn.h>
5296 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
5297 and later undefine as macro. Define as weak alias if
5299 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
5300 and later undefine as macro. Define as weak alias if
5302 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
5303 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
5304 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
5305 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
5306 Define and later undefine as macro. Define as weak alias if
5308 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
5310 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
5311 Define and later undefine as macro. Define as weak alias if
5313 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
5314 Define and later undefine as macro. Define as weak alias if
5317 2017-10-15 Carlos O'Donell <carlos@redhat.com>
5319 * localedata/collate-test.c (allocate_arrays): Don't use \n in
5320 record_verbose messages.
5322 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
5325 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
5326 to silence -O3 -Wall warning with GCC 7.
5328 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
5330 * Makeconfig (+link-static-before-libc): Use the first of
5331 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
5332 * gmon/Makefile (tests): Add tst-gmon-static.
5333 (tests-static): Likewise.
5334 (CFLAGS-tst-gmon-static.c): New.
5335 (CRT-tst-gmon-static): Likewise.
5336 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
5337 (tst-gmon-static-ENV): Likewise.
5338 (tests-special): Likewise.
5339 ($(objpfx)tst-gmon-static.out): Likewise.
5340 (clean-tst-gmon-static-data): Likewise.
5341 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
5342 * gmon/tst-gmon-static-gprof.sh: New file.
5343 * gmon/tst-gmon-static.c: Likewise.
5345 2017-10-13 Carlos O'Donell <carlos@redhat.com>
5348 * locale/programs/linereader.c (get_string): Don't warn on
5349 non-symbolic character.
5352 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
5356 * locale/programs/record-status.h: New file
5357 * locale/programs/locale.c: Add comment.
5358 * locale/programs/charmap-dir.c: Don't include error.h.
5359 (charmap_opendir): Use record_error.
5360 * locale/programs/charmap.c: Don't include error.h.
5361 (charmap_read): Use record_error, and record_warning.
5362 (parse_charmap): Likewise.
5363 * locale/programs/ld-address.c: Don't include error.h.
5364 (address_finish): Use record_error, and record_warning.
5365 * locale/programs/ld-collate.c: Don't include error.h.
5366 (collate_finish): Use record_error, and record_error_at_line.
5367 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
5368 (ctype_class_new): Likewise.
5369 (ctype_map_new): Likewise.
5370 (set_one_default): Likewise.
5371 (set_class_defaults): Likewise.
5372 (translit_flatten): Likewise.
5373 (allocate_arrays): Use record_error, and record_verbose.
5374 * locale/programs/ld-identification.c: Don't include error.h.
5375 (indentation_finish): Use record_error and record_warning.
5376 * locale/programs/ld-measurement.c: Don't include error.h.
5377 (measurement_finish): Use record_error.
5378 * locale/programs/ld-messages.c
5379 (message_finish): Likewise.
5380 * locale/programs/ld-monetary.c
5381 (monetary_finish): Likewise.
5382 * locale/programs/ld-name.c (name_finish): Use record_error
5384 * locale/programs/ld-numeric.c
5385 (numeric_finish): Use record_error.
5386 * locale/programs/ld-paper.c: Don't include error.h.
5387 (paper_finish): Use record_error.
5388 * locale/programs/ld-telephone.c: Don't include error.h.
5389 (telephone_finish): Use record_error.
5390 * locale/programs/ld-time.c (time_finish): Likewise.
5391 * locale/programs/linereader.h (lr_error): Make inline func.
5392 * locale/programs/localedef.c: Define recorded_warning_count,
5393 and recorded_error_count.
5394 (main): Use record_error. Use recorded_error_count and
5395 recorded_warning_count to issue correct error returns.
5396 (add_to_readlist): Use record_error.
5397 (find_locale): Likewise.
5398 (load_locale): Likewise.
5399 * locale/programs/localedef.h: Remove be_quiet
5400 and WITH_CUR_LOCALE.
5401 * locale/programs/locarchive.c (compare_from_file): Use
5403 * locale/programs/locfile.c (write_locale_data): Use
5405 * locale/programs/repertoire.c: Dont include error.h.
5406 (repertoire_complain): Use record_error.
5407 * localedata/tst-fmon.sh: Expect failures from localedef.
5408 * localedata/tst-locale.sh: Likewise.
5409 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
5411 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
5412 (REPORTS): Likewise.
5414 (i18n): Rename to...
5415 (i18n_ctype): ...this.
5416 (i18n-report): Rename to...
5417 (i18n_ctype-report): ...this.
5418 * localedata/locales/i18n_ctype: Regenerate.
5419 * localedata/locales/i18n: copy i18n_ctype.
5421 2017-10-13 Joseph Myers <joseph@codesourcery.com>
5423 * stdlib/strfroml.c: Include <bits/floatn.h>.
5424 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
5425 Define before include of <stdlib.h> and undefine afterwards, then
5426 define as weak alias.
5428 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
5429 Undefine and restore default definition. Use
5430 libm_alias_ldouble_other.
5432 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
5435 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
5438 2017-10-13 James Clarke <jrtc27@jrtc27.com>
5440 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5441 Assign sym_map to be map for local symbols, as TLS relocations
5442 use sym_map to determine whether the symbol is defined and to
5443 extract the TLS information.
5444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5445 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5447 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5450 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
5451 (math_force_eval): Add powerpc version.
5454 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
5456 (do_test): Likewise.
5457 * stdio-common/tst-printf.sh: Likewise.
5458 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
5459 ifdef clause in order to set the carry bit right. Replace r0 by
5460 0 without changing the behavior.
5462 2017-10-13 Joseph Myers <joseph@codesourcery.com>
5464 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
5465 <libm-alias-ldouble.h>.
5466 (fabsl): Define using libm_alias_ldouble.
5467 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
5468 <libm-alias-ldouble.h>.
5469 (fabsl): Define using libm_alias_ldouble.
5471 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
5472 Remove conditional code.
5474 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
5475 Rename to __clog10_internal_l.
5476 (__clog10_internal_l): Define aliases using
5477 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
5480 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5482 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
5483 * benchtests/sincosf-inputs: New file.
5484 * benchtests/cosf-inputs: New file.
5485 * benchtests/sinf-inputs: New file.
5487 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5489 * posix/tst-spawn.c (do_test): Wait for both children.
5491 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
5494 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
5495 tests-pie): Add tst-gmon-pie.
5496 (CFLAGS-tst-gmon-pie.c): New.
5497 (CRT-tst-gmon-pie): Likewise.
5498 (tst-gmon-pie-ENV): Likewise.
5499 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
5500 ($(objpfx)tst-gmon-pie.out): Likewise.
5501 (clean-tst-gmon-pie-data): Likewise.
5502 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
5503 * gmon/gmon.c [PIC]: Include <link.h>.
5504 [PIC] (callback): New function.
5505 (write_hist): Add an argument for load address. Subtract load
5507 (write_call_graph): Likewise.
5508 (write_gmon): Call __dl_iterate_phdr to get load address, pass
5509 it to write_hist and write_call_graph.
5510 * gmon/tst-gmon-pie.c: New file.
5512 2017-10-11 Joseph Myers <joseph@codesourcery.com>
5514 * math/Makefile (test-types-basic): New variable.
5515 (test-types): Likewise.
5516 (libm-test-support): Use $(test-types) instead of $(types).
5517 (libm-tests-base-normal): Likewise.
5518 (libm-tests-base-finite): Likewise.
5519 (libm-tests-base-inline): Likewise.
5520 (generated): Likewise.
5521 ($(objpfx)libm-test-support-$(t).c): Likewise.
5522 (libm-tests-for-type iterator): Likewise.
5523 (libm-test-support iterator): Likewise.
5524 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
5525 (ulp_idx): Use ULP_IDX.
5526 * math/test-ldouble.h: Include <float.h>.
5527 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
5528 (ULP_IDX): New macro.
5529 (ULP_I_IDX): Likewise.
5530 * math/test-double.h (ULP_IDX): Likewise.
5531 (ULP_I_IDX): Likewise.
5532 * math/test-float.h (ULP_IDX): Likewise.
5533 (ULP_I_IDX): Likewise.
5534 * math/test-float128.h (ULP_IDX): Likewise.
5535 (ULP_I_IDX): Likewise.
5537 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5539 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
5540 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5541 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5542 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
5543 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5544 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
5545 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
5546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5548 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5549 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
5550 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5551 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5553 (SINGLE_THREAD_BY_GLOBAL): Define.
5554 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5556 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5558 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5560 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5562 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
5563 (SINGLE_THREAD_BY_GLOBAL): Likewise.
5564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5567 2017-10-11 Andreas Schwab <schwab@suse.de>
5569 * nis/Makefile (aux): Remove.
5570 * nscd/Makefile (aux): Add nscd_hash.
5571 (nscd-modules): Likewise.
5572 ($(objpfx)nscd): Don't depend on libnsl.
5573 * nscd/nscd_hash.c: New file.
5574 * nscd/nscd_hash.h: Likewise.
5575 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
5576 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
5577 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
5578 instead of <nis/rpcsvc/nis.h>.
5579 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
5581 2017-10-11 Florian Weimer <fweimer@redhat.com>
5584 Avoid large NSS buffers with many addresses, aliases.
5585 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
5586 using dynarrays and struct alloc_buffer.
5587 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
5588 (tst-nss-files-hosts-multi): Link with -ldl.
5589 * nss/tst-nss-files-hosts-multi.c: New file.
5591 2017-10-11 Florian Weimer <fweimer@redhat.com>
5594 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
5595 scratch_buffer. Eliminate gotos.
5597 2017-10-11 Joseph Myers <joseph@codesourcery.com>
5599 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
5600 libm_alias_ldouble_other.
5601 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
5602 undefine and redefine.
5603 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
5604 (exp10l): Do not define here.
5605 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
5606 (weak_alias): Undefine and redefine.
5607 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
5608 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
5609 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
5610 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
5612 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
5613 [!__fma] (fma): Define using libm_alias_double.
5614 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
5615 [!__fmaf] (fmaf): Define using libm_alias_float.
5616 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
5617 (fmal): Define using libm_alias_ldouble.
5619 2017-10-10 Joseph Myers <joseph@codesourcery.com>
5621 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
5623 (libm_alias_double_other): Likewise.
5624 (libm_alias_double_r): Use libm_alias_double_other_r.
5625 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
5627 (libm_alias_float_other): Likewise.
5628 (libm_alias_float_r): Use libm_alias_float_other_r.
5629 * sysdeps/generic/libm-alias-float128.h
5630 (libm_alias_float128_other_r): New macro.
5631 (libm_alias_float128_other): Likewise.
5632 (libm_alias_float128_r): Use libm_alias_float128_other_r.
5633 * sysdeps/generic/libm-alias-ldouble.h
5634 (libm_alias_ldouble_other_r): New macro.
5635 (libm_alias_ldouble_other): Likewise.
5636 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
5637 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
5638 (libm_alias_double_other_r): New macro.
5639 (libm_alias_double_other): Likewise.
5640 (libm_alias_double_r): Use libm_alias_double_other_r.
5641 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
5642 (libm_alias_ldouble_other_r): New macro.
5643 (libm_alias_ldouble_other): Likewise.
5644 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
5645 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
5646 [!USE_AS_COMPAT]: Use libm_alias_double_other.
5647 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
5648 [!USE_AS_COMPAT]: Use libm_alias_float_other.
5649 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
5650 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
5651 * math/w_exp2f.c: Use libm_alias_float_other.
5652 * math/w_expf.c: Likewise.
5653 * math/w_log2f.c: Likewise.
5654 * math/w_logf.c: Likewise.
5655 * math/w_powf.c: Likewise.
5656 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
5657 [!__exp2f]: Use libm_alias_float_other.
5658 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
5659 [!__expf]: Use libm_alias_float_other.
5660 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
5661 [!__log2f]: Use libm_alias_float_other.
5662 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
5663 [!__logf]: Use libm_alias_float_other.
5664 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
5665 [!__powf]: Use libm_alias_float_other.
5667 2017-10-10 Florian Weimer <fweimer@redhat.com>
5669 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
5671 (_nss_files_gethostbyname3_r): Call it.
5673 2017-10-09 Joseph Myers <joseph@codesourcery.com>
5675 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
5676 error. Remove default definition of declare_mgen_alias.
5677 [!declare_mgen_alias_r]: Likewise.
5678 * sysdeps/generic/math-type-macros-double.h
5679 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
5680 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
5681 (declare_mgen_alias_r): Likewise.
5682 * sysdeps/generic/math-type-macros-float128.h
5683 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
5684 * sysdeps/generic/math-type-macros-ldouble.h
5685 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
5686 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
5688 (declare_mgen_alias_r_s): Likewise.
5689 (declare_mgen_alias_r): Likewise.
5690 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
5691 (lgamma_r): Define using libm_alias_double_r.
5692 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
5693 (lgammaf_r): Define using libm_alias_float_r.
5694 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
5695 (lgammal_r): Define using libm_alias_ldouble_r.
5696 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
5697 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5699 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5701 * lib/glob.c (__glob_pattern_type): Remove now-spurious
5704 2017-10-09 Joseph Myers <joseph@codesourcery.com>
5706 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
5708 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
5711 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
5712 [__cplusplus >= 201103] (__USE_ISOC99): Define.
5713 * math/Makefile (test-math-cxx11): New test.
5714 * math/test-math-cxx11.cc: New file.
5716 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
5718 * login/openpty.c (openpty): Close slave pty file descriptor on error.
5720 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
5721 call to allocate the slave pty file descriptor.
5723 2017-10-06 Joseph Myers <joseph@codesourcery.com>
5725 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
5726 [!__fma] (fma): Define using libm_alias_double.
5727 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
5728 [!__fma] (fma): Define using libm_alias_double.
5730 * sysdeps/ieee754/float128/float128_private.h: Include
5731 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
5732 (libm_alias_ldouble_r): Undefine and redefine.
5733 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
5734 <libm-alias-ldouble.h>.
5735 (asinhl): Define using libm_alias_ldouble.
5736 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
5737 <libm-alias-ldouble.h>.
5738 (atanl): Define using libm_alias_ldouble.
5739 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
5740 <libm-alias-ldouble.h>.
5741 (cbrtl): Define using libm_alias_ldouble.
5742 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
5743 <libm-alias-ldouble.h>.
5744 (ceill): Define using libm_alias_ldouble.
5745 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
5746 <libm-alias-ldouble.h>.
5747 (copysignl): Define using libm_alias_ldouble.
5748 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
5749 <libm-alias-ldouble.h>.
5750 (cosl): Define using libm_alias_ldouble.
5751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
5752 <libm-alias-ldouble.h>.
5753 (erfl): Define using libm_alias_ldouble.
5755 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
5756 <libm-alias-ldouble.h>.
5757 (expm1l): Define using libm_alias_ldouble.
5758 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
5759 <libm-alias-ldouble.h>.
5760 (fabsl): Define using libm_alias_ldouble.
5761 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
5762 <libm-alias-ldouble.h>.
5763 (floorl): Define using libm_alias_ldouble.
5764 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
5765 <libm-alias-ldouble.h>.
5766 (fmal): Define using libm_alias_ldouble.
5767 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
5768 <libm-alias-ldouble.h>.
5769 (frexpl): Define using libm_alias_ldouble.
5770 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
5772 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
5773 <libm-alias-ldouble.h>.
5774 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
5776 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
5777 <libm-alias-ldouble.h>.
5778 (getpayloadl): Define using libm_alias_ldouble.
5779 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
5780 <libm-alias-ldouble.h>.
5781 (llrintl): Define using libm_alias_ldouble.
5782 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
5783 <libm-alias-ldouble.h>.
5784 (llroundl): Define using libm_alias_ldouble.
5785 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
5786 <libm-alias-ldouble.h>.
5787 (logbl): Define using libm_alias_ldouble.
5788 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
5789 <libm-alias-ldouble.h>.
5790 (lrintl): Define using libm_alias_ldouble.
5791 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
5792 <libm-alias-ldouble.h>.
5793 (lroundl): Define using libm_alias_ldouble.
5794 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
5795 <libm-alias-ldouble.h>.
5796 (modfl): Define using libm_alias_ldouble.
5797 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
5798 <libm-alias-ldouble.h>.
5799 (nearbyintl): Define using libm_alias_ldouble.
5800 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
5801 <libm-alias-ldouble.h>.
5802 (nextafterl): Define using libm_alias_ldouble.
5803 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
5804 <libm-alias-ldouble.h>.
5805 (nextupl): Define using libm_alias_ldouble.
5806 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
5807 <libm-alias-ldouble.h>.
5808 (remquol): Define using libm_alias_ldouble.
5809 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
5810 <libm-alias-ldouble.h>.
5811 (rintl): Define using libm_alias_ldouble.
5812 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
5813 <libm-alias-ldouble.h>.
5814 (roundevenl): Define using libm_alias_ldouble.
5815 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
5816 <libm-alias-ldouble.h>.
5817 (roundl): Define using libm_alias_ldouble.
5818 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
5819 using libm_alias_ldouble.
5820 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
5821 <libm-alias-ldouble.h>.
5822 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
5823 Define using libm_alias_ldouble.
5824 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
5825 <libm-alias-ldouble.h>.
5826 (sincosl): Define using libm_alias_ldouble.
5827 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
5828 <libm-alias-ldouble.h>.
5829 (sinl): Define using libm_alias_ldouble.
5830 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
5831 <libm-alias-ldouble.h>.
5832 (tanhl): Define using libm_alias_ldouble.
5833 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
5834 <libm-alias-ldouble.h>.
5835 (tanl): Define using libm_alias_ldouble.
5836 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5837 <libm-alias-ldouble.h>.
5838 (totalorderl): Define using libm_alias_ldouble.
5839 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5840 <libm-alias-ldouble.h>.
5841 (totalordermagl): Define using libm_alias_ldouble.
5842 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
5843 <libm-alias-ldouble.h>.
5844 (truncl): Define using libm_alias_ldouble.
5845 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
5847 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
5849 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
5850 <libm-alias-ldouble.h>.
5851 (weak_alias): Do not undefine and redefine.
5852 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
5853 (copysignl): Define with long_double_symbol only if [IS_IN
5855 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
5856 <libm-alias-ldouble.h>.
5857 (weak_alias): Do not undefine and redefine.
5858 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
5859 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
5860 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
5861 <libm-alias-ldouble.h>.
5862 (weak_alias): Do not undefine and redefine.
5863 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
5864 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
5865 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
5866 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
5867 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
5868 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
5869 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
5870 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
5871 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
5872 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
5875 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
5876 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
5878 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
5879 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
5880 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
5881 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
5882 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
5883 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
5885 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
5886 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
5887 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
5888 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
5890 2017-10-06 Carlos O'Donell <carlos@redhat.com>
5893 * malloc/malloc.c (tcache_shutting_down): Use bool type.
5894 (tcache_thread_freeres): Set tcache_shutting_down before
5896 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
5897 * malloc/tst-malloc-tcache-leak.c: New file.
5899 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5901 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
5902 back to powerpc32 file.
5903 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
5904 (memrchr): Add __memrchr_power8 to ifunc list.
5905 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
5906 extra bytes for unaligned inputs.
5908 2017-10-06 Joseph Myers <joseph@codesourcery.com>
5910 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
5911 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5916 2017-10-05 Joseph Myers <joseph@codesourcery.com>
5918 * sysdeps/arm/libm-test-ulps: Update.
5920 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
5921 <libm-alias-ldouble.h>.
5922 (asinhl): Define using libm_alias_ldouble.
5923 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
5924 <libm-alias-ldouble.h>.
5925 (cbrtl): Define using libm_alias_ldouble.
5926 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
5927 <libm-alias-ldouble.h>.
5928 (copysignl): Define using libm_alias_ldouble.
5929 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
5930 <libm-alias-ldouble.h>.
5931 (cosl): Define using libm_alias_ldouble.
5932 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
5933 <libm-alias-ldouble.h>.
5934 (erfl): Define using libm_alias_ldouble.
5936 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
5937 <libm-alias-ldouble.h>.
5938 (fmal): Define using libm_alias_ldouble.
5939 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
5940 <libm-alias-ldouble.h>.
5941 (frexpl): Define using libm_alias_ldouble.
5942 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
5944 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
5945 <libm-alias-ldouble.h>.
5946 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
5948 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
5949 <libm-alias-ldouble.h>.
5950 (getpayloadl): Define using libm_alias_ldouble.
5951 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
5952 <libm-alias-ldouble.h>.
5953 (llrintl): Define using libm_alias_ldouble.
5954 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
5955 <libm-alias-ldouble.h>.
5956 (llroundl): Define using libm_alias_ldouble.
5957 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
5958 <libm-alias-ldouble.h>.
5959 (lrintl): Define using libm_alias_ldouble.
5960 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
5961 <libm-alias-ldouble.h>.
5962 (lroundl): Define using libm_alias_ldouble.
5963 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
5964 <libm-alias-ldouble.h>.
5965 (modfl): Define using libm_alias_ldouble.
5966 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
5967 <libm-alias-ldouble.h>.
5968 (nextupl): Define using libm_alias_ldouble.
5969 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
5970 <libm-alias-ldouble.h>.
5971 (remquol): Define using libm_alias_ldouble.
5972 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
5973 <libm-alias-ldouble.h>.
5974 (roundevenl): Define using libm_alias_ldouble.
5975 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
5976 <libm-alias-ldouble.h>.
5977 (roundl): Define using libm_alias_ldouble.
5978 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
5979 using libm_alias_ldouble.
5980 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
5981 <libm-alias-ldouble.h>.
5982 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
5983 <libm-alias-ldouble.h>.
5984 (setpayloadsigl): Define using libm_alias_ldouble.
5985 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
5986 <libm-alias-ldouble.h>.
5987 (sincosl): Define using libm_alias_ldouble.
5988 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
5989 <libm-alias-ldouble.h>.
5990 (sinl): Define using libm_alias_ldouble.
5991 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
5992 <libm-alias-ldouble.h>.
5993 (tanhl): Define using libm_alias_ldouble.
5994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
5995 <libm-alias-ldouble.h>.
5996 (tanl): Define using libm_alias_ldouble.
5997 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5998 <libm-alias-ldouble.h>.
5999 (totalorderl): Define using libm_alias_ldouble.
6000 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6001 <libm-alias-ldouble.h>.
6002 (totalordermagl): Define using libm_alias_ldouble.
6003 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
6005 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
6008 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
6010 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6012 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6013 (__libc_ifunc_impl_list): Likewise.
6014 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
6015 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
6017 * benchtests/bench-memmove-walk.c: New file.
6018 * benchtests/Makefile (string-benchset): Add it.
6020 * benchtests/bench-memset-walk.c: New file.
6021 * benchtests/Makefile (string-benchset): Add it.
6023 * benchtests/bench-memcpy-walk.c: New file.
6024 * benchtests/Makefile (string-benchset): Add it.
6026 2017-10-05 Florian Weimer <fweimer@redhat.com>
6028 nscd: Eliminate compilation time dependency in the build output.
6029 * nscd/nscd_stat.c (STATDATA_VERSION)
6030 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
6031 (STATDATA_VERSION_FULL): New macro definitions.
6032 (compilation): Remove.
6033 (struct statdata): Adjust version member.
6034 (send_stats): Set version from STATDATA_VERSION_FULL.
6035 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
6037 2017-10-05 Joseph Myers <joseph@codesourcery.com>
6039 * configure.ac (--enable-add-ons): Remove option.
6040 (machine): Do not mention add-ons in comment.
6041 (LIBC_PRECONFIGURE): Likewise.
6042 (add_ons): Remove variable and sanity checks and logic to locate
6044 (add_ons_automatic): Remove variable.
6045 (configured_add_ons): Likewise.
6046 (add_ons_sfx): Likewise.
6047 (add_ons_pfx): Likewise.
6048 (add_on_subdirs): Likewise.
6049 (sysnames_add_ons): Likewise. Remove loop over add-ons and
6050 consideration of add-ons in Implies handling.
6051 (sysdeps_add_ons): Likewise.
6052 * configure: Regenerated.
6053 * libidn/configure.ac: Remove.
6054 * libidn/configure: Likewise.
6055 * sysdeps/unix/inet/configure.ac: New file.
6056 * sysdeps/unix/inet/configure: New generated file.
6057 * sysdeps/unix/inet/Subdirs: Add libidn.
6058 * Makeconfig (sysdeps-srcdirs): Remove variable.
6059 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
6060 ($(common-objpfx)config.status): Do not depend on add-on files.
6061 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
6063 (all-subdirs): Do not include $(add-on-subdirs).
6064 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
6065 * config.make.in (add-ons): Remove variable.
6066 (add-on-subdirs): Likewise.
6067 (sysdeps-add-ons): Likewise.
6068 * manual/Makefile (add-chapters): Remove.
6069 ($(objpfx)texis): Do not depend on $(add-chapters).
6070 (nonexamples): Do not handle $(add-chapters).
6071 (examples): Do not handle $(add-ons).
6072 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
6074 * manual/install.texi (Installation): Do not mention add-ons.
6075 (--enable-add-ons): Do not document configure option.
6076 * INSTALL: Regenerated.
6077 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
6078 * manual/maint.texi (Hierarchy Conventions): Do not mention
6080 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
6082 * scripts/gen-sorted.awk: Do not handle Subdirs files from
6084 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
6085 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
6087 2017-10-05 Andreas Schwab <schwab@suse.de>
6090 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
6091 (_IO_flush_all_lockp): Always lock list_all_lock.
6092 (_IO_flush_all_linebuffered): Likewise.
6093 (_IO_unbuffer_all): Likewise.
6095 2017-10-05 Florian Weimer <fweimer@redhat.com>
6098 Do not flush stdio streams on abort.
6099 * stdlib/abort.c (fflush): Remove macro definition.
6100 (abort): Remove stages related to stdio flushing.
6102 2017-10-05 Florian Weimer <fweimer@redhat.com>
6104 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
6106 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
6108 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6110 2017-10-05 Florian Weimer <fweimer@redhat.com>
6112 * support/support_format_hostent.c (support_format_hostent): Add
6113 more error information for NETDB_INTERNAL.
6115 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
6117 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
6118 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
6119 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
6120 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
6121 AC_DEFINE if multi-arch is enabled.
6122 * sysdeps/i386/configure: Regenerated.
6124 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
6126 * Makeconfig (+link-static-before-libc): Use
6127 $(DEFAULT-LDFLAGS-$(@F)).
6128 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
6129 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
6130 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
6132 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
6134 * elf/Makefile (tests): Add tst-main1.
6135 (modules-names): Add tst-main1mod.
6136 ($(objpfx)tst-main1): New.
6137 (CRT-tst-main1): Likewise.
6138 (LDFLAGS-tst-main1): Likewise.
6139 (LDLIBS-tst-main1): Likewise.
6140 (tst-main1mod.so-no-z-defs): Likewise.
6141 * elf/tst-main1.c: New file.
6142 * elf/tst-main1mod.c: Likewise.
6144 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
6146 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
6148 2017-10-04 Joseph Myers <joseph@codesourcery.com>
6150 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
6151 (fma): Define using libm_alias_double.
6152 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
6153 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
6155 (fmal): Do not define as compat symbol here.
6156 * sysdeps/alpha/fpu/s_fma.c: New file.
6158 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6160 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
6162 2017-10-04 Joseph Myers <joseph@codesourcery.com>
6165 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
6167 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
6169 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
6170 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6171 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
6172 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
6173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6174 Include <math_ldbl_opt.h>
6175 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
6177 (compat_symbol): Undefine and redefine.
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
6180 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6181 (compat_symbol): Undefine and redefine.
6182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
6183 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
6184 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
6186 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
6187 GLIBC_2.0 copysignl symbol.
6188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6189 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
6191 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
6193 2017-10-04 Florian Weimer <fweimer@redhat.com>
6195 * scripts/check-local-headers.sh: Ignore nspr4 header file
6196 directory in addition to nspr.
6198 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
6201 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
6202 * configure: Regenerate.
6203 * crypt/Makefile (nss-cpp-flags): New variable.
6204 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
6205 (CPPFLAGS-md5-crypt.c): Use it.
6206 * scripts/check-local-headers.sh: Ignore nspr header file
6209 2017-10-04 Andreas Schwab <schwab@suse.de>
6211 * nis/Makefile (services): Remove compat.
6212 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
6213 ($(objpfx)libnss_compat.so): Remove rule.
6214 * nis/Versions (libnss_compat): Remove.
6215 * nss/Makefile (services): Add compat.
6216 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
6217 * nss/Versions (libnss_compat): Define.
6218 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
6219 Don't include <rpc/types.h>. Replace bool_t by bool.
6220 * nss/nss_compat/compat-initgroups.c: Likewise.
6221 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
6222 instead of <rpcsrv/ypclnt.h>.
6223 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
6224 yp_get_default_domain.
6225 * nss/nss_compat/compat-pwd.c: Likewise.
6226 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
6227 yp_get_default_domain.
6228 * nss/nss_compat/nisdomain.c: New file.
6229 * nss/nss_compat/nisdomain.h: Likewise.
6231 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6234 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
6235 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6237 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
6241 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
6243 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
6245 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
6246 "movl main@GOTOFF(%ebx), %eax".
6248 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
6250 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
6251 allow undefined _DYNAMIC in PIE libc.a.
6252 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
6255 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
6257 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
6260 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
6262 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
6265 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
6267 * math/test-math-iscanonical.cc (error): Replace bool with int.
6269 2017-10-03 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
6272 (modf): Define using libm_alias_double, only if [!__modf].
6273 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
6274 <libm-alias-double.h>.
6275 (modf): Define using libm_alias_double, only if [!__modf].
6276 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
6278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
6279 (weak_alias): Do not undefine and redefine.
6280 (strong_alias): Likewise.
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
6282 (weak_alias): Likewise.
6283 (strong_alias): Likewise.
6285 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
6286 (logb): Define using libm_alias_double, only if [!__logb].
6287 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
6288 <libm-alias-double.h>.
6289 (logb): Define using libm_alias_double, only if [!__logb].
6290 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
6291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
6292 (weak_alias): Do not undefine and redefine.
6293 (strong_alias): Likewise.
6294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
6295 (weak_alias): Likewise.
6296 (strong_alias): Likewise.
6298 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
6300 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
6301 Check SHARED instead PIC.
6303 2017-10-03 Joseph Myers <joseph@codesourcery.com>
6305 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
6306 [!__fmaf] (fmaf): Define using libm_alias_float.
6308 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
6309 (frexp): Define using libm_alias_double.
6310 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
6311 <libm-alias-double.h>.
6312 (frexp): Define using libm_alias_double.
6313 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
6316 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6319 * math/math.h: Trivial fix for unbalanced parentheses in comment.
6320 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
6321 (CFLAGS-test-math-iscanonical.cc): New variable.
6322 * math/test-math-iscanonical.cc: New file.
6323 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
6324 Provide a C++ implementation based on function overloading,
6325 rather than using __MATH_TG, which uses C-only builtins.
6326 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
6328 * sysdeps/powerpc/powerpc64le/Makefile
6329 (CFLAGS-test-math-iscanonical.cc): New variable.
6331 2017-10-03 Joseph Myers <joseph@codesourcery.com>
6333 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
6334 (ceil): Define using libm_alias_double.
6335 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
6336 (floor): Define using libm_alias_double.
6337 * sysdeps/ieee754/dbl-64/s_llround.c: Include
6338 <libm-alias-double.h>.
6339 (llround): Define using libm_alias_double.
6340 * sysdeps/ieee754/dbl-64/s_lround.c: Include
6341 <libm-alias-double.h>.
6342 (lround): Define using libm_alias_double.
6343 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
6344 <libm-alias-double.h>.
6345 (nearbyint): Define using libm_alias_double.
6346 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
6347 <libm-alias-double.h>.
6348 (remquo): Define using libm_alias_double.
6349 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
6350 (rint): Define using libm_alias_double.
6351 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
6352 (round): Define using libm_alias_double.
6353 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
6354 (trunc): Define using libm_alias_double.
6355 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
6356 <libm-alias-double.h>.
6357 (ceil): Define using libm_alias_double.
6358 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
6359 <libm-alias-double.h>.
6360 (floor): Define using libm_alias_double.
6361 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
6362 <libm-alias-double.h>.
6363 (llround): Define using libm_alias_double.
6364 [_LP64] (lround): Likewise.
6365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
6366 <libm-alias-double.h>.
6367 [!_LP64] (lround): Define using libm_alias_double.
6368 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
6369 <libm-alias-double.h>.
6370 (nearbyint): Define using libm_alias_double.
6371 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
6372 <libm-alias-double.h>.
6373 (remquo): Define using libm_alias_double.
6374 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
6375 <libm-alias-double.h>.
6376 (rint): Define using libm_alias_double.
6377 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
6378 <libm-alias-double.h>.
6379 (round): Define using libm_alias_double.
6380 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
6381 <libm-alias-double.h>.
6382 (trunc): Define using libm_alias_double.
6383 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
6384 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
6385 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
6386 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
6387 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
6388 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
6389 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
6390 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
6391 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
6393 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6395 * math/w_remainder.c: New file.
6396 * math/w_remainderf.c: New file.
6397 * math/w_remainderl.c: New file.
6399 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
6401 * elf/rtld.c (BOOTSTRAP_MAP): New.
6402 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
6403 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
6405 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
6407 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
6410 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6412 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
6413 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
6414 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
6415 rtld_hidden_data_ver): Define to empty.
6416 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
6417 __assert_perror_fail): Likewise.
6418 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
6419 (__rewinddir): Likewise.
6420 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
6421 (__profile_frequency): Likewise.
6422 * include/setjmp.h (__sigsetjmp): Likewise.
6423 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
6424 __libc_sigaction): Likewise.
6425 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
6426 not set hidden attribute.
6427 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
6428 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
6429 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
6430 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
6431 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
6432 __fxstatat64): Likewise.
6433 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
6434 (__uname): Likewise.
6435 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
6436 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
6437 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
6438 (NO_RTLD_HIDDEN): Set.
6439 * sysdeps/mach/hurd/configure: Refresh.
6440 * config.h.in: Refresh.
6442 2017-10-02 Joseph Myers <joseph@codesourcery.com>
6444 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
6445 (atan): Define using libm_alias_double.
6446 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
6447 (tan): Define using libm_alias_double.
6448 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
6449 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
6452 define as weak alias of __atan. Do not define any aliases if
6454 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
6455 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
6456 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
6457 as weak alias of __tan. Do not define any aliases if [__tan].
6458 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
6459 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
6460 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
6462 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
6463 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
6464 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
6465 and define as weak alias of __atan.
6466 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
6468 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
6469 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
6470 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
6471 define as weak alias of __tan.
6473 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6475 * math/w_lgamma.c: New file.
6476 * math/w_lgammaf.c: New file.
6477 * math/w_lgammal.c: New file.
6479 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6481 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
6482 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
6483 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
6484 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
6485 * sysdeps/ieee754/flt-32/w_logf.c: New file.
6486 * sysdeps/ieee754/flt-32/w_powf.c: New file.
6487 * sysdeps/i386/fpu/w_log2f.c: New file.
6488 * sysdeps/i386/fpu/w_logf.c: New file.
6489 * sysdeps/i386/fpu/w_powf.c: New file.
6490 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
6491 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
6492 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
6494 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6495 H.J. Lu <hongjiu.lu@intel.com>
6497 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
6498 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
6499 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
6500 * sysdeps/ieee754/flt-32/w_expf.c: New file.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
6504 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
6505 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
6506 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
6507 * sysdeps/i386/fpu/w_exp2f.c: New file.
6508 * sysdeps/i386/fpu/w_expf.c: New file.
6509 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
6510 * sysdeps/x86_64/fpu/w_expf.c: New file.
6512 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6514 * math/Versions (logf): New libm symbol at GLIBC_2.27.
6517 * math/w_log2f.c: New file.
6518 * math/w_logf.c: New file.
6519 * math/w_powf.c: New file.
6520 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
6521 * math/w_logf_compat.c (__logf_compat): Likewise.
6522 * math/w_powf_compat.c (__powf_compat): Likewise.
6523 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
6524 * sysdeps/ia64/fpu/e_logf.S: Likewise.
6525 * sysdeps/ia64/fpu/e_powf.S: Likewise.
6526 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6527 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6528 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6529 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6530 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6531 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6532 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6533 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6534 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6535 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6536 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6537 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6547 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6548 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6550 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6555 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6556 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6557 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6559 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6561 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6562 (sysdep_routines): Add memrchr_power8.
6563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6564 (memrchr): Add __memrchr_power8 to list of memrchr functions.
6565 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
6567 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
6568 (memrchr): Add __memrchr_power8 to ifunc list.
6569 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
6571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6574 * sysdeps/unix/sysv/linux/posix_fadvise64.c
6575 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
6577 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6578 (__posix_fallocate64_l64): Likewise.
6580 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6583 * sysdeps/unix/sysv/linux/sched_setaffinity.c
6584 (__sched_setaffinity_new): Add libc_hidden_proto and
6587 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6590 * include/glob.h (__glob64): Add libc_hidden_proto.
6591 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
6594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6597 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
6600 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6603 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
6605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6608 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
6611 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6614 * csu/version.c (__libc_print_version): Add attribute_hidden.
6616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6619 * include/libc-internal.h (__init_misc): Add attribute_hidden.
6621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6624 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
6626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6629 * nscd/nscd_helper.c (__nis_hash): New prototype.
6631 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6634 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
6635 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
6637 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6638 * termios/tcgetattr.c (__tcgetattr): Likewise.
6640 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6643 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
6644 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
6645 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
6646 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
6647 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
6649 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6652 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
6654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6657 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
6658 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
6660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6663 * intl/hash-string.h (__hash_string): Add attribute_hidden.
6665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6668 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
6669 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
6671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6674 * include/ifreq.h: New file.
6675 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
6676 (__ifreq): Likewise.
6677 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
6678 (__ifreq): Likewise.
6680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6683 * include/idna.h: New file.
6684 * inet/getnameinfo.c: Include <idna.h> instead of
6686 (__idna_to_unicode_lzlz): Removed.
6687 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
6689 (__idna_to_ascii_lz): Removed.
6690 (__idna_to_unicode_lzlz): Likewise.
6692 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6695 * include/plural-exp.h: New file.
6696 * intl/plural-exp.c: Include <plural-exp.h> instead of
6699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6702 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
6703 "getsourcefilter.h".
6704 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
6705 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
6706 "getsourcefilter.h".
6707 (__get_sol): Removed.
6709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6712 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
6714 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
6716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6719 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
6722 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6725 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
6727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6730 * include/search.h (__tdestroy): Add libc_hidden_proto.
6731 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
6733 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6736 * include/assert.h (__assert_fail_base): Add attribute_hidden.
6738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6741 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
6744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6747 * include/signal.h (__kill): Add libc_hidden_proto.
6748 (__sigblock): Likewise.
6749 (__sigprocmask): Likewise.
6750 (__sigaltstack): Likewise.
6751 * signal/kill.c (__kill): Add libc_hidden_def.
6752 * signal/sigblock.c (__sigblock): Likewise.
6753 * signal/sigprocmask.c (__sigprocmask): Likewise.
6754 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6755 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6756 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6757 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6758 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
6760 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6762 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6763 (__sigprocmask): Likewise.
6764 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
6766 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6767 (__sigprocmask): Likewise.
6768 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6771 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6774 * include/string.h (__strsep): Add libc_hidden_proto.
6775 * string/strsep.c (__strsep): Add libc_hidden_def.
6777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6780 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
6782 (__spawni): Likewise.
6784 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6787 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
6788 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
6791 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6794 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
6796 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6799 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
6800 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
6801 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6802 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
6803 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
6805 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
6806 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
6808 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6811 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
6812 (__dcigettext): Likewise.
6814 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6817 * include/sys/sysinfo.h (__get_nprocs_conf): Add
6819 (__get_nprocs): Likewise.
6820 (__get_phys_pages): Likewise.
6821 (__get_avphys_pages): Likewise.
6822 (__get_child_max): Add attribute_hidden.
6823 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
6824 (__get_nprocs): Likewise.
6825 (__get_phys_pages): Likewise.
6826 (__get_avphys_pages): Likewise.
6827 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
6829 (__get_nprocs): Likewise.
6830 (__get_phys_pages): Likewise.
6831 (__get_avphys_pages): Likewise.
6832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
6834 (__get_nprocs_conf): Likewise.
6835 (__get_phys_pages): Likewise.
6836 (__get_avphys_pages): Likewise.
6838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6841 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
6843 (__netlink_close): Likewise.
6844 (__netlink_free_handle): Likewise.
6845 (__netlink_request): Likewise.
6847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6850 * include/rpc/rpc.h (__rpc_thread_variables): Add
6852 (__rpc_thread_svc_cleanup): Likewise.
6853 (__rpc_thread_clnt_cleanup): Likewise.
6854 (__rpc_thread_key_cleanup): Likewise.
6856 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6859 * include/sys/uio.h (__readv): Add libc_hidden_proto.
6860 (__writev): Likewise.
6861 * misc/readv.c (__readv): Add libc_hidden_def.
6862 * misc/writev.c (__writev): Likewise.
6863 * sysdeps/posix/readv.c (__readv): Likewise.
6864 * sysdeps/posix/writev.c (__writev): Likewise.
6865 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
6866 (__readv): Likewise.
6867 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
6868 (__writev): Likewise.
6870 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6873 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
6874 (__regcomp): Add libc_hidden_proto.
6875 (__regexec): Likewise.
6876 (__regfree): Likewise.
6877 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
6878 (__regfree): Likewise.
6879 * posix/regexec.c (__regexec): Likewise.
6881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6884 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
6885 (__getutent): Likewise.
6886 (__getutid): Likewise.
6887 (__getutline): Likewise.
6888 (__pututline): Likewise.
6889 (__getutent_r): Likewise.
6890 (__getutid_r): Likewise.
6891 (__getutline_r): Likewise.
6892 (__utmpname): Add attribute_hidden.
6893 (__setutent): Likewise.
6894 (__endutent): Likewise.
6895 * login/getutent.c (__getutent): Add libc_hidden_def.
6896 * login/getutent_r.c (__getutent_r): Likewise.
6897 (__pututline): Likewise.
6898 * login/getutid.c (__getutid): Likewise.
6899 * login/getutid_r.c (__getutid_r): Likewise.
6900 * login/getutline.c (__getutline): Likewise.
6901 * login/getutline_r.c (__getutline_r): Likewise.
6902 * login/updwtmp.c (__updwtmp): Likewise.
6904 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6907 * include/dirent.h (__opendir): Always add attribute_hidden.
6908 (__fdopendir): Likewise.
6909 (__closedir): Likewise.
6910 (__readdir): Likewise.
6911 (__readdir64): Add libc_hidden_proto.
6912 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
6913 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
6914 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
6915 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
6918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6921 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
6922 * include/netdb.h (__gethostbyaddr_r): Likewise.
6923 (__gethostbyname_r): Likewise.
6924 (__gethostbyname2_r): Likewise.
6925 (__getnetbyaddr_r): Likewise.
6926 (__getnetbyname_r): Likewise.
6927 (__getservbyname_r): Likewise.
6928 (__getservbyport_r): Likewise.
6929 (__getprotobyname_r): Likewise.
6930 (__getprotobynumber_r): Likewise.
6931 (__getnetgrent_r): Likewise.
6932 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
6933 (__getrpcbynumber_r): Likewise.
6934 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
6936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6939 * include/stdio.h (__fcloseall): Add attribute_hidden.
6940 (__getline): Likewise.
6941 (__path_search): Likewise.
6942 (__gen_tempname): Likewise.
6943 (__libc_message): Likewise.
6944 (__flockfile): Likewise.
6945 (__funlockfile): Likewise.
6946 (__fxprintf): Likewise.
6947 (__fxprintf_nocancel): Likewise.
6949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6952 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
6953 (__sgetsgent_r): Likewise.
6955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6958 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
6959 (__statfs64): Likewise.
6960 (__fstatfs64): Likewise.
6961 * include/sys/statvfs.h (__statvfs64): Likewise.
6962 (__fstatvfs64): Likewise.
6963 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
6964 (__statfs_filesize_max): Likewise.
6965 (__statfs_symlinks): Likewise.
6966 (__statfs_chown_restricted): Likewise.
6968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6971 * include/time.h (__tzstring): Add attribute_hidden.
6972 (__tzfile_read): Likewise.
6973 (__tzfile_compute): Likewise.
6974 (__tzfile_default): Likewise.
6975 (__tzset_parse_tz): Likewise.
6976 (__offtime): Likewise.
6977 (__asctime_r): Likewise.
6978 (__tzset): Likewise.
6979 (__tz_convert): Likewise.
6980 (__getdate_r): Likewise.
6981 (__getclktck): Likewise.
6983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
6986 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
6987 (__nscd_unmap): Likewise.
6988 (__nscd_cache_search): Likewise.
6989 (__nscd_get_nl_timestamp): Likewise.
6990 (__nscd_getpwnam_r): Likewise.
6991 (__nscd_getpwuid_r): Likewise.
6992 (__nscd_getgrnam_r): Likewise.
6993 (__nscd_getgrgid_r): Likewise.
6994 (__nscd_gethostbyname_r): Likewise.
6995 (__nscd_gethostbyname2_r): Likewise.
6996 (__nscd_gethostbyaddr_r): Likewise.
6997 (__nscd_getai): Likewise.
6998 (__nscd_getgrouplist): Likewise.
6999 (__nscd_getservbyname_r): Likewise.
7000 (__nscd_getservbyport_r): Likewise.
7001 (__nscd_innetgr): Likewise.
7002 (__nscd_setnetgrent): Likewise.
7004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7007 * include/gmp.h: Declare internal functions only if _ISOMAC is
7009 (__mpn_extract_double): Add attribute_hidden.
7010 (__mpn_extract_long_double): Likewise.
7011 (__mpn_extract_float128): Likewise.
7012 (__mpn_construct_float): Likewise.
7013 (__mpn_construct_double): Likewise.
7014 (__mpn_construct_long_double): Likewise.
7015 (__mpn_construct_float128): Likewise.
7016 (mpn_add_1): Likewise.
7017 (mpn_addmul_1): Likewise.
7018 (mpn_add_n): Likewise.
7019 (mpn_cmp): Likewise.
7020 (mpn_divrem): Likewise.
7021 (mpn_lshift): Likewise.
7022 (mpn_mul): Likewise.
7023 (mpn_mul_1): Likewise.
7024 (mpn_rshift): Likewise.
7025 (mpn_sub_1): Likewise.
7026 (mpn_submul_1): Likewise.
7027 (mpn_sub_n): Likewise.
7029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7032 * include/wchar.h (__wcsnlen): Add attribute_hidden.
7033 (__wcscat): Likewise.
7034 (__btowc): Likewise.
7035 (__wcrtomb): Likewise.
7036 (__mbsrtowcs): Likewise.
7037 (__wcsrtombs): Likewise.
7038 (__mbsnrtowcs): Likewise.
7039 (__wcsnrtombs): Likewise.
7040 (__wcsncpy): Likewise.
7041 (__wcpncpy): Likewise.
7042 (__wmemcpy): Likewise.
7043 (__wmempcpy): Likewise.
7044 (__wmemmove): Likewise.
7045 (__wcschrnul): Likewise.
7046 (__vfwscanf): Likewise.
7047 (__vswprintf): Likewise.
7048 (__fwprintf): Likewise.
7049 (__vfwprintf): Likewise.
7051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7054 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
7055 (__getgrgid_r): Likewise.
7056 (__getgrnam_r): Likewise.
7057 * include/pwd.h (__getpwuid_r): Likewise.
7058 (__getpwnam_r): Likewise.
7059 (__fgetpwent_r): Likewise.
7060 * include/shadow.h (__getspnam_r): Likewise.
7061 (__sgetspent_r): Likewise.
7062 (__fgetspent_r): Likewise.
7064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7067 * include/unistd.h (__access): Add attribute_hidden.
7068 (__lseek64): Likewise.
7069 (__libc_pread64): Likewise.
7070 (__pipe2): Likewise.
7071 (__sleep): Likewise.
7072 (__chdir): Likewise.
7073 (__fchdir): Likewise.
7074 (__getcwd): Likewise.
7075 (__rmdir): Likewise.
7076 (__execvpe): Likewise.
7077 (__execve): Likewise.
7078 (__setsid): Likewise.
7079 (__getuid): Likewise.
7080 (__geteuid): Likewise.
7081 (__getgid): Likewise.
7082 (__getegid): Likewise.
7083 (__getgroups): Likewise.
7084 (__group_member): Likewise.
7085 (__ttyname_r): Likewise.
7086 (__isatty): Likewise.
7087 (__readlink): Likewise.
7088 (__unlink): Likewise.
7089 (__gethostname): Likewise.
7090 (__profil): Likewise.
7091 (__getdtablesize): Likewise.
7093 (__ftruncate): Likewise.
7094 (__ftruncate64): Likewise.
7096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7099 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
7100 * argp/argp-fs-xinl.c: Likewise.
7101 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
7102 * argp/argp-parse.c: Include <argp.h>.
7103 * argp/argp-xinl.c: Likewise.
7104 * include/argp-fmtstream.h: New file.
7105 * include/argp.h (__argp_error): Add attribute_hidden.
7106 (__argp_failure): Likewise.
7107 (__argp_input): Likewise.
7108 (__argp_state_help): Likewise.
7110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7113 * include/wchar.h (____wcstof_l_internal): New prototype.
7114 (____wcstod_l_internal): Likewise.
7115 (____wcstold_l_internal): Likewise.
7116 (____wcstol_l_internal): Likewise.
7117 (____wcstoul_l_internal): Likewise.
7118 (____wcstoll_l_internal): Likewise.
7119 (____wcstoull_l_internal): Likewise.
7120 (____wcstof128_l_internal): Likewise.
7121 * sysdeps/ieee754/float128/wcstof128.c
7122 (____wcstof128_l_internal): Removed.
7123 * sysdeps/ieee754/float128/wcstof128_l.c
7124 (____wcstof128_l_internal): Likewise.
7125 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
7126 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
7127 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
7128 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
7129 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
7130 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
7131 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
7132 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
7133 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
7134 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
7136 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7139 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
7140 instead of <sys/statvfs.h>.
7141 (__internal_statvfs): Removed.
7142 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
7143 instead of <sys/statvfs.h>.
7144 (__internal_statvfs64): Removed.
7145 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
7146 "internal_statvfs.h" instead of <sys/statvfs.h>.
7147 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
7148 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
7149 instead of <sys/statvfs.h>.
7150 (__internal_statvfs): Removed.
7151 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
7152 instead of <sys/statvfs.h>.
7153 (__internal_statvfs64): Removed.
7155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7158 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
7159 (__gconv_close): Likewise.
7160 (__gconv): Likewise.
7161 (__gconv_find_transform): Likewise.
7162 (__gconv_lookup_cache): Likewise.
7163 (__gconv_compare_alias_cache): Likewise.
7164 (__gconv_load_cache): Likewise.
7165 (__gconv_get_path): Likewise.
7166 (__gconv_close_transform): Likewise.
7167 (__gconv_release_cache): Likewise.
7168 (__gconv_find_shlib): Likewise.
7169 (__gconv_release_shlib): Likewise.
7170 (__gconv_get_builtin_trans): Likewise.
7171 (__gconv_compare_alias): Likewise.
7172 * include/dlfcn.h (_dlerror_run): Likewise.
7173 * include/stdio.h (__fortify_fail_abort): Likewise.
7174 * include/time.h (__tz_compute): Likewise.
7175 (__strptime_internal): Likewise.
7176 * intl/gettextP.h (_nl_find_domain): Likewise.
7177 (_nl_load_domain): Likewise.
7178 (_nl_find_msg): Likewise.
7179 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
7180 (EXTRACT_PLURAL_EXPRESSION): Likewise.
7181 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
7182 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
7183 (__gai_find_request): Likewise.
7184 (__gai_remove_request): Likewise.
7185 (__gai_notify): Likewise.
7186 (__gai_notify_only): Likewise.
7187 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
7188 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
7189 (_dl_non_dynamic_init): Likewise.
7190 (_dl_aux_init): Likewise.
7191 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
7192 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7194 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
7195 (__wcsmbs_clone_conv): Likewise.
7196 (__wcsmbs_named_conv): Likewise.
7198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7201 * include/stdlib.h (__random): Add attribute_hidden.
7202 (__random_r): Likewise.
7203 (__srandom_r): Likewise.
7204 (__initstate_r): Likewise.
7205 (__setstate_r): Likewise.
7206 (__erand48_r): Likewise.
7207 (__nrand48_r): Likewise.
7208 (__jrand48_r): Likewise.
7209 (__srand48_r): Likewise.
7210 (__seed48_r): Likewise.
7211 (__lcong48_r): Likewise.
7212 (__drand48_iterate): Likewise.
7213 (__setenv): Likewise.
7214 (__unsetenv): Likewise.
7215 (__clearenv): Likewise.
7216 (__ptsname_r): Likewise.
7217 (__posix_openpt): Likewise.
7218 (__add_to_environ): Likewise.
7219 (__realpath): Add libc_hidden_proto.
7220 (__ecvt_r): Likewise.
7221 (__fcvt_r): Likewise.
7222 (__qecvt_r): Likewise.
7223 (__qfcvt_r): Likewise.
7224 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
7225 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
7227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7230 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
7231 * include/time.h (__mktime_internal): Likewise.
7232 * libio/iolibio.h (__fopen_internal): Likewise.
7234 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
7236 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
7238 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
7239 Correct offset used to restore PIC register.
7241 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
7244 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
7245 code to load address of __getcontext_ret when generating PIC code.
7247 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
7249 * elf/Makefile (tests-static-internal): Add
7250 tst-tls1-static-non-pie.
7251 (LDFLAGS-tst-tls1-static-non-pie): New.
7252 * elf/tst-tls1-static-non-pie.c: New file.
7254 2017-09-29 Joseph Myers <joseph@codesourcery.com>
7256 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
7257 (asinh): Define using libm_alias_double.
7258 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
7259 (cbrt): Define using libm_alias_double.
7260 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
7261 <libm-alias-double.h>.
7262 (copysign): Define using libm_alias_double.
7263 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
7264 (erf): Define using libm_alias_double.
7266 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
7267 (expm1): Define using libm_alias_double.
7268 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
7269 (fabs): Define using libm_alias_double.
7270 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
7272 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
7273 <libm-alias-double.h>.
7274 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
7276 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
7277 <libm-alias-double.h>.
7278 (getpayload): Define using libm_alias_double.
7279 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
7280 <libm-alias-double.h>.
7281 (llrint): Define using libm_alias_double.
7282 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
7283 (lrint): Define using libm_alias_double.
7284 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
7285 <libm-alias-double.h>.
7286 (nextup): Define using libm_alias_double.
7287 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
7288 <libm-alias-double.h>.
7289 (roundeven): Define using libm_alias_double.
7290 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
7292 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
7293 <libm-alias-double.h>.
7294 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
7295 using libm_alias_double.
7296 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
7297 (cos): Define using libm_alias_double.
7299 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
7300 <libm-alias-double.h>.
7301 (sincos): Define using libm_alias_double.
7302 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
7303 (tanh): Define using libm_alias_double.
7304 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
7305 <libm-alias-double.h>.
7306 (totalorder): Define using libm_alias_double.
7307 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
7308 <libm-alias-double.h>.
7309 (totalordermag): Define using libm_alias_double.
7310 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
7312 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
7314 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
7315 <libm-alias-double.h>.
7316 (getpayload): Define using libm_alias_double.
7317 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
7318 <libm-alias-double.h>.
7319 (roundeven): Define using libm_alias_double.
7320 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
7321 <libm-alias-double.h>.
7322 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
7323 <libm-alias-double.h>.
7324 (totalorder): Define using libm_alias_double.
7325 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
7326 <libm-alias-double.h>.
7327 (totalordermag): Define using libm_alias_double.
7328 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
7329 libc compat symbol here.
7330 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
7331 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
7332 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
7333 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
7334 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
7335 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
7336 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
7337 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
7338 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
7339 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
7341 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
7343 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
7344 _dl_relocate_static_pie instead of _dl_start to compute load
7345 address in static PIE. Return 0 if _DYNAMIC is undefined for
7348 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
7350 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
7351 _DYNAMIC is undefined for static executable.
7353 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
7355 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
7357 2017-09-29 Joseph Myers <joseph@codesourcery.com>
7359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7361 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
7363 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7364 (__ieee754_lgamma_r): Use fabs rather than __fabs.
7365 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7366 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7367 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7368 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
7369 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7370 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7371 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
7372 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
7373 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7374 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7375 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
7376 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
7377 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7378 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7379 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
7381 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
7383 * math/bits/cmathcalls.h (cimag): Remove inline.
7384 (creal): Remove inline.
7385 (conj): Remove inline.
7387 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
7389 * math/Makefile (type-float-routines): Add e_powf_log2_data.
7390 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
7391 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
7392 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
7393 (issignalingf_inline): Likewise.
7394 (POWF_LOG2_TABLE_BITS): Likewise.
7395 (POWF_LOG2_POLY_ORDER): Likewise.
7396 (POWF_SCALE_BITS): Likewise.
7397 (POWF_SCALE): Likewise.
7398 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
7399 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
7400 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
7402 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
7404 * math/Makefile (type-float-routines): Add e_log2f_data.
7405 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
7406 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
7407 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
7408 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
7409 * sysdeps/i386/fpu/e_log2f_data.c: New file.
7410 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
7411 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
7413 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
7415 * math/Makefile (type-float-routines): Add e_logf_data.
7416 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
7417 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
7418 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
7419 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
7420 * sysdeps/i386/fpu/e_logf_data.c: New file.
7421 * sysdeps/ia64/fpu/e_logf_data.c: New file.
7422 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
7424 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
7426 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
7427 undefined _DYNAMIC in PIE libc.a.
7428 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
7431 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
7433 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
7434 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
7435 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
7436 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
7437 (__signbit): Remove.
7438 (__signbitl): Remove.
7439 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
7440 (__signbit): Remove.
7441 (__signbitl): Remove.
7442 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
7443 (__signbit): Remove.
7444 (__signbitl): Remove.
7445 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
7446 (__signbit): Remove.
7447 (__signbitl): Remove.
7448 * sysdeps/tile/bits/mathinline.h: Delete file.
7449 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
7450 (__signbit): Remove.
7451 (__signbitl): Remove.
7453 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
7455 * math/math.h: Improve handling of C99 isgreater macros.
7456 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
7457 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
7458 * sysdeps/powerpc/bits/mathinline.h: Likewise.
7459 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7460 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7462 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
7464 * sysdeps/aarch64/libm-test-ulps: Update.
7466 2017-09-28 Joseph Myers <joseph@codesourcery.com>
7469 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7470 math_opt_barrier on argument when doing arithmetic on it.
7471 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7472 Likewise. Use math_force_eval not math_opt_barrier after
7474 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
7475 math_opt_barrier on argument when doing arithmetic on it.
7476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7479 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
7481 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
7483 (__freeifaddrs): Likewise.
7485 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7487 * include/dirent.h (__dirfd): New declaration.
7488 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
7490 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
7491 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
7492 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
7493 * include/unistd.h (__revoke): New declaration.
7494 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
7496 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7497 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
7499 * include/dirent.h (__seekdir): New declaration.
7500 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
7501 redefine as weak alias.
7502 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
7504 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
7505 and use libc_hidden_def on them.
7506 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
7508 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
7509 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
7510 instead of getifaddrs and freeifaddrs.
7512 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
7515 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
7516 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
7517 (__dso_handle): Remove declaration.
7518 * dlfcn/tstatexit.c (__dso_handle): Removed.
7519 (main): Don't check __dso_handle.
7520 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
7521 (main): Don't check __dso_handle.
7522 * include/dso_handle.h: New file.
7523 * malloc/mtrace.c: Include <dso_handle.h>.
7524 (mtrace): Pass __dso_handle directly.
7525 * nptl/pthread_atfork.c: Include <dso_handle.h>.
7526 (__dso_handle): Remove declaration.
7527 (__pthread_atfork): Pass __dso_handle directly.
7528 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
7529 (__dso_handle): Removed.
7530 * posix/wordexp-test.c: Include <dso_handle.h>.
7531 (__dso_handle): Remove declaration.
7532 (__app_register_atfork): Pass __dso_handle directly.
7533 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
7534 (__dso_handle): Remove declaration.
7535 (at_quick_exit): Pass __dso_handle directly.
7536 * stdlib/atexit.c: Include <dso_handle.h>.
7537 (__dso_handle): Remove declaration.
7538 (atexit): Pass __dso_handle directly.
7539 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
7540 (__dso_handle): Removed.
7542 2017-09-26 Joseph Myers <joseph@codesourcery.com>
7544 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
7547 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
7549 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
7550 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
7551 values to correct default value for given type.
7553 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
7556 * elf/Makefile (tests): Add tst-debug1.
7557 ($(objpfx)tst-debug1): New.
7558 ($(objpfx)tst-debug1.out): Likewise.
7559 ($(objpfx)tst-debug1mod1.so): Likewise.
7560 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
7562 * elf/tst-debug1.c: New file.
7564 2017-09-26 Joseph Myers <joseph@codesourcery.com>
7566 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
7567 Define using __ifunc.
7569 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7571 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
7574 2017-09-26 Joseph Myers <joseph@codesourcery.com>
7577 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
7579 2017-09-26 Florian Weimer <fweimer@redhat.com>
7581 * resolv/Makefile (tests-internal): Fix typo in comment.
7583 2017-09-26 Florian Weimer <fweimer@redhat.com>
7585 * resolv/nss_dns/dns-host.c: Fix typo in comment.
7587 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7589 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
7590 Use an union instead of a max_align_t array for __space,
7591 so that __space is the same size on all platforms.
7592 * malloc/scratch_buffer_grow_preserve.c
7593 (__libc_scratch_buffer_grow_preserve): Likewise.
7596 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
7598 * posix/Makefile (routines): Add glob-lstat-compat and
7599 glob64-lstat-compat.
7600 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
7601 * posix/glob-lstat-compat.c: New file.
7602 * posix/glob64-lstat-compat.c: Likewise.
7603 * posix/tst-glob_lstat_compat.c: Likewise.
7604 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
7605 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
7606 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
7607 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
7609 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
7610 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
7611 * posix/glob.c (glob_lstat): New function.
7612 (glob): Rename to __glob and add versioned symbol to 2.27.
7613 (glob_in_dir): Use glob_lstat.
7614 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
7615 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7616 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
7618 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
7619 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
7620 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
7621 gl_lstat on glob call.
7622 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
7624 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7625 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7626 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7627 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7628 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7629 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7630 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7631 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7632 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7633 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7634 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7635 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7638 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7640 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7641 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7642 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7643 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7644 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7647 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7649 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7651 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
7653 * configure.ac (AS): Require binutils 2.25 or later.
7654 * configure: Regenerated.
7656 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7659 * stdlib/test-atexit-race-common.c (do_test): Minimize required
7662 2017-09-25 DJ Delorie <dj@redhat.com>
7665 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
7668 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7670 * sysdeps/ieee754/dbl-64/sincos32.h
7671 [SINCCOS32_H]: Remove define.
7672 [SINCOS32_H]: Define.
7674 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
7676 * math/Versions (expf): New libm symbol at GLIBC_2.27.
7678 * math/w_exp2f.c: New file.
7679 * math/w_expf.c: New file.
7680 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
7681 * math/w_expf_compat.c (__expf_compat): Likewise.
7682 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
7683 * sysdeps/ia64/fpu/e_expf.S: Likewise.
7684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7685 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7686 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7687 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7688 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7690 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7691 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7692 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7693 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7694 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7704 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7705 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7706 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7707 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7708 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7713 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7714 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7715 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7717 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
7719 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
7720 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
7721 (roundtoint, converttoint): Likewise.
7722 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
7723 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
7724 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
7725 * sysdeps/ieee754/flt-32/math_config.h: New file.
7726 * sysdeps/ieee754/flt-32/math_errf.c: New file.
7727 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
7728 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
7729 * sysdeps/i386/fpu/math_errf.c: New file.
7730 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
7731 * sysdeps/ia64/fpu/math_errf.c: New file.
7732 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
7733 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
7735 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7737 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
7738 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
7739 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
7740 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
7741 to make sure that these symbols are defined.
7742 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
7744 (__need_NULL): Do not define.
7745 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
7747 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
7748 CMGROUP_MAX, cmsgcred): Do not define.
7749 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
7751 * bits/socket.h: Likewise.
7752 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
7753 __gettimeofday instead of gettimeofday.
7754 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
7755 instead of settimeofday.
7757 2017-09-22 Joseph Myers <joseph@codesourcery.com>
7759 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
7760 (asinhf): Define using libm_alias_float.
7761 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
7762 (atanf): Define using libm_alias_float.
7763 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
7764 (cbrtf): Define using libm_alias_float.
7765 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
7766 (ceilf): Define using libm_alias_float.
7767 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
7768 <libm-alias-float.h>.
7769 (copysignf): Define using libm_alias_float.
7770 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
7771 (cosf): Define using libm_alias_float.
7772 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
7773 (erff): Define using libm_alias_float.
7775 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
7776 (expm1f): Define using libm_alias_float.
7777 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
7778 (fabsf): Define using libm_alias_float.
7779 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
7780 (floorf): Define using libm_alias_float.
7781 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
7782 (frexpf): Define using libm_alias_float.
7783 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
7785 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
7786 <libm-alias-float.h>.
7787 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
7789 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
7790 <libm-alias-float.h>.
7791 (getpayloadf): Define using libm_alias_float.
7792 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
7793 <libm-alias-float.h>.
7794 (llrintf): Define using libm_alias_float.
7795 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
7796 <libm-alias-float.h>.
7797 (llroundf): Define using libm_alias_float.
7798 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
7799 (logbf): Define using libm_alias_float.
7800 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
7801 (lrintf): Define using libm_alias_float.
7802 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
7803 (lroundf): Define using libm_alias_float.
7804 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
7805 (modff): Define using libm_alias_float.
7806 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
7807 <libm-alias-float.h>.
7808 (nearbyintf): Define using libm_alias_float.
7809 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
7810 <libm-alias-float.h>.
7811 (nextafterf): Define using libm_alias_float.
7812 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
7813 <libm-alias-float.h>.
7814 (nextupf): Define using libm_alias_float.
7815 * sysdeps/ieee754/flt-32/s_remquof.c: Include
7816 <libm-alias-float.h>.
7817 (remquof): Define using libm_alias_float.
7818 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
7819 (rintf): Define using libm_alias_float.
7820 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
7821 <libm-alias-float.h>.
7822 (roundevenf): Define using libm_alias_float.
7823 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
7824 (roundf): Define using libm_alias_float.
7825 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
7826 using libm_alias_float.
7827 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
7828 <libm-alias-float.h>.
7829 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
7830 Define using libm_alias_float.
7831 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
7832 <libm-alias-float.h>.
7833 (sincosf): Define using libm_alias_float.
7834 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
7835 (sinf): Define using libm_alias_float.
7836 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
7837 (tanf): Define using libm_alias_float.
7838 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
7839 (tanhf): Define using libm_alias_float.
7840 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
7841 <libm-alias-float.h>.
7842 (totalorderf): Define using libm_alias_float.
7843 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
7844 <libm-alias-float.h>.
7845 (totalordermagf): Define using libm_alias_float.
7846 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
7847 (truncf): Define using libm_alias_float.
7848 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
7850 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
7853 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7856 math/math.h: Let fpclassify use the builtin in C++ mode, even
7857 when optimazing for size.
7859 2017-09-22 Joseph Myers <joseph@codesourcery.com>
7861 * csu/Makefile (generated): Do not add version-info.h.
7862 (before-compile): Likewise.
7863 (all-Banner-files): Remove variable.
7864 ($(objpfx)version-info.h): Remove rule.
7865 * csu/version.c (banner): Do not include "version-info.h".
7866 * libidn/Banner: Remove.
7867 * manual/contrib.texi (Simon Josefsson): New entry.
7869 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7871 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7872 Remove conditionals on LDBL_MANT_DIG.
7873 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
7874 (__ieee754_lgammal_r): Likewise.
7876 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7878 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
7880 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
7881 _Float128 and L(). Replace _Float128 with long double and L(x)
7882 with xL, throughout the file.
7883 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
7888 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
7891 sysdeps/ieee754/ldbl-128ibm.
7892 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
7893 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
7894 of including it. Keep _Float128 and L() intact. These will be
7895 reviewed by a separate patch.
7896 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
7901 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
7904 (__finitef128): Define to __redirect___finitef128.
7905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
7906 (__isinff128): Define to __redirect___isinff128.
7907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
7908 (__isnanf128): Define to __redirect___isnanf128.
7910 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7912 * sysdeps/powerpc/powerpc64le/Makefile
7913 (CFLAGS-tst-strtod-nan-locale.c): New variable.
7914 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
7916 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7917 Carlos O'Donell <carlos@redhat.com>
7920 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
7921 * stdlib/test-dlclose-exit-race.c: New file.
7922 * stdlib/test-dlclose-exit-race-helper.c: New file.
7923 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
7925 2017-09-21 Joseph Myers <joseph@codesourcery.com>
7927 * crypt/Banner: Remove file.
7928 * nptl/Banner: Likewise.
7929 * resolv/Banner: Likewise.
7930 * soft-fp/Banner: Likewise.
7931 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
7932 ($(objpfx)version.d): Remove dependency on banner.h.
7933 ($(objpfx)version.os): Likewise.
7934 * nptl/version.c (banner): Do not include banner.h.
7935 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
7936 Jelinek and BIND code.
7938 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
7939 Carlos O'Donell <carlos@redhat.com>
7941 * support/xdlfcn.h: New file.
7942 * support/xdlfcn.c: New file.
7943 * support/Makefile (libsupport-routines): Add xdlfcn.
7944 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
7946 2017-09-20 Joseph Myers <joseph@codesourcery.com>
7949 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7950 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
7951 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
7952 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
7953 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7954 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
7955 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
7956 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7958 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
7959 Ricky Zhou <rickyz@google.com>
7960 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
7963 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
7965 (__new_exitfn): Fail registration when we finished at_exit processing.
7966 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7967 * stdlib/on_exit.c (__on_exit): Likewise.
7968 * stdlib/exit.c (__exit_funcs_done): New variable.
7969 (__run_exit_handlers): Use __exit_funcs_lock.
7970 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
7972 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
7973 (test-cxa_atexit-race, test-on_exit-race): New tests.
7974 * stdlib/test-atexit-race-common.c: New file.
7975 * stdlib/test-atexit-race.c: New file.
7976 * stdlib/test-at_quick_exit-race.c: New file.
7977 * stdlib/test-cxa_atexit-race.c: New file.
7978 * stdlib/test-on_exit-race.c: New file.
7980 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
7982 * benchtests/Makefile: Add exp2f and log2f benchmarks.
7983 * benchtests/exp2f-inputs: Copy of expf-inputs.
7984 * benchtests/log2f-inputs: Copy of logf-inputs.
7986 2017-09-19 Joseph Myers <joseph@codesourcery.com>
7988 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
7989 Explicitly take address of first element of array arguments in
7990 call to INLINE_SYSCALL.
7992 2017-09-19 Andreas Schwab <schwab@suse.de>
7995 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
7997 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
7999 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
8000 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
8001 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8002 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
8003 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8004 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
8005 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8006 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
8007 * posix/Makefile (tests): Add tst-fexecve.
8008 * posix/tst-fexecve.c: New file.
8010 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8012 * benchtests/Makefile: Add logf benchmark.
8013 * benchtests/logf-inputs: Add reduced trace from wrf_r.
8015 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8017 * benchtests/Makefile: Add expf benchmark.
8018 * benchtests/expf-inputs: Add reduced trace from wrf_r.
8020 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8022 * csu/Makefile: Add -funwind-tables to libc-start.c.
8023 * debug/Makefile: Add -funwind-tables to backtrace.c.
8024 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
8025 * sysdeps/arm/Makefile: Likewise.
8026 * sysdeps/i386/Makefile: Likewise.
8027 * sysdeps/m68k/Makefile: Likewise.
8028 * sysdeps/mips/Makefile: Likewise.
8029 * sysdeps/nios2/Makefile: Likewise.
8030 * sysdeps/sh/Makefile: Likewise.
8031 * sysdeps/sparc/Makefile: Likewise.
8033 2017-09-19 Joseph Myers <joseph@codesourcery.com>
8035 * benchtests/Makefile (bench-math): Add trunc and truncf.
8036 (CFLAGS-bench-trunc.c): New variable.
8037 (CFLAGS-bench-truncf.c): Likewise.
8038 * benchtests/trunc-inputs: New file.
8039 * benchtests/truncf-inputs: Likewise.
8041 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8043 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
8045 2017-09-18 Joseph Myers <joseph@codesourcery.com>
8047 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
8048 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
8050 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
8051 (exp10l): Define as weak alias.
8052 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
8053 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
8055 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
8056 (remainderl): Define as weak alias.
8058 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
8059 (fmal): Define using libm_alias_ldouble.
8060 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
8061 (acoshl): Define using libm_alias_ldouble.
8062 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
8063 (acosl): Define using libm_alias_ldouble.
8064 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
8065 (asinl): Define using libm_alias_ldouble.
8066 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
8067 (atan2l): Define using libm_alias_ldouble.
8068 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
8069 (atanhl): Define using libm_alias_ldouble.
8070 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
8071 (coshl): Define using libm_alias_ldouble.
8072 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
8073 (exp10l): Define using libm_alias_ldouble.
8074 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
8075 (exp2l): Define using libm_alias_ldouble.
8076 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
8077 (expl): Define using libm_alias_ldouble.
8078 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
8079 (fmodl): Define using libm_alias_ldouble.
8080 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
8081 (hypotl): Define using libm_alias_ldouble.
8082 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
8083 (j0l): Define using libm_alias_ldouble.
8085 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
8086 (j1l): Define using libm_alias_ldouble.
8088 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
8089 (jnl): Define using libm_alias_ldouble.
8091 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
8092 (log10l): Define using libm_alias_ldouble.
8093 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
8094 (log2l): Define using libm_alias_ldouble.
8095 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
8096 (logl): Define using libm_alias_ldouble.
8097 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
8098 (powl): Define using libm_alias_ldouble.
8099 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
8100 (remainderl): Define using libm_alias_ldouble.
8101 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
8102 (sinhl): Define using libm_alias_ldouble.
8103 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
8104 (sqrtl): Define using libm_alias_ldouble.
8105 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
8106 (tgammal): Define using libm_alias_ldouble.
8107 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
8108 (exp10l): Do not use long_double_symbol here.
8109 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
8110 [LIBM_SVID_COMPAT] (remainderl): Likewise.
8111 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
8112 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8113 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8114 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8115 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8116 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8117 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8118 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
8119 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8120 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8121 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8122 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8123 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8124 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8125 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8126 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8127 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8128 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8129 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8130 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8132 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
8134 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
8135 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
8137 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
8139 * io/read.c (read): Add libc_hidden_weak.
8140 * sysdeps/mach/hurd/read.c (read): Likewise.
8141 * io/write.c (write): Likewise.
8142 * sysdeps/mach/hurd/write.c (write): Likewise.
8143 * io/pread64.c (__pread64): Likewise.
8144 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
8145 * posix/pread64.c (__pread64): Add libc_hidden_def.
8147 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8149 * benchtests/scripts/compare_strings.py: New option -g.
8150 (draw_graph): Print a message that a graph is being generated.
8151 (process_results): Generate graph only if -g is passed.
8152 (main): Process option -g.
8154 * benchtests/scripts/compare_strings.py (process_results):
8155 Better spacing for output.
8157 * benchtests/scripts/compare_strings.py: Use argparse.
8158 * benchtests/README: Document existence of compare_strings.py.
8160 2017-09-15 Joseph Myers <joseph@codesourcery.com>
8162 * math/s_fma.c: Include <libm-alias-double.h>.
8163 (fma): Define using libm_alias_double.
8164 * math/s_nextafter.c: Include <libm-alias-double.h>.
8165 (nextafter): Define using libm_alias_double.
8166 * math/w_acos_compat.c: Include <libm-alias-double.h>.
8167 (acos): Define using libm_alias_double.
8168 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
8169 (aocsh): Define using libm_alias_double.
8170 * math/w_asin_compat.c: Include <libm-alias-double.h>.
8171 (asin): Define using libm_alias_double.
8172 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
8173 (atan2): Define using libm_alias_double.
8174 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
8175 (atanh): Define using libm_alias_double.
8176 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
8177 (cosh): Define using libm_alias_double.
8178 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
8179 (exp10): Define using libm_alias_double.
8180 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
8181 (exp2): Define using libm_alias_double.
8182 * math/w_exp_compat.c: Include <libm-alias-double.h>.
8183 (exp): Define using libm_alias_double.
8184 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
8185 (fmod): Define using libm_alias_double.
8186 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
8187 (hypot): Define using libm_alias_double.
8188 * math/w_j0_compat.c: Include <libm-alias-double.h>.
8189 (j0): Define using libm_alias_double.
8191 * math/w_j1_compat.c: Include <libm-alias-double.h>.
8192 (j1): Define using libm_alias_double.
8194 * math/w_jn_compat.c: Include <libm-alias-double.h>.
8195 (jn): Define using libm_alias_double.
8197 * math/w_log10_compat.c: Include <libm-alias-double.h>.
8198 (log10): Define using libm_alias_double.
8199 * math/w_log2_compat.c: Include <libm-alias-double.h>.
8200 (log2): Define using libm_alias_double.
8201 * math/w_log_compat.c: Include <libm-alias-double.h>.
8202 (log): Define using libm_alias_double.
8203 * math/w_pow_compat.c: Include <libm-alias-double.h>.
8204 (pow): Define using libm_alias_double.
8205 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
8206 (remainder): Define using libm_alias_double.
8207 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
8208 (sinh): Define using libm_alias_double.
8209 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
8210 (sqrt): Define using libm_alias_double.
8211 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
8212 (tgamma): Define using libm_alias_double.
8213 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
8214 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
8215 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
8216 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
8217 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
8218 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
8219 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
8220 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8221 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8222 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8223 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8224 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8225 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8226 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8227 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8228 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8229 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8230 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8231 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8232 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8233 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8234 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8235 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8236 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8237 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8239 * math/e_acoshl.c: Remove.
8240 * math/e_acosl.c: Likewise.
8241 * math/e_asinl.c: Likewise.
8242 * math/e_atan2l.c: Likewise.
8243 * math/e_atanhl.c: Likewise.
8244 * math/e_coshl.c: Likewise.
8245 * math/e_expl.c: Likewise.
8246 * math/e_fmodl.c: Likewise.
8247 * math/e_gammal_r.c: Likewise.
8248 * math/e_hypotl.c: Likewise.
8249 * math/e_j0l.c: Likewise.
8250 * math/e_j1l.c: Likewise.
8251 * math/e_jnl.c: Likewise.
8252 * math/e_lgammal_r.c: Likewise.
8253 * math/e_log10l.c: Likewise.
8254 * math/e_log2l.c: Likewise.
8255 * math/e_logl.c: Likewise.
8256 * math/e_powl.c: Likewise.
8257 * math/e_rem_pio2l.c: Likewise.
8258 * math/e_sinhl.c: Likewise.
8259 * math/e_sqrtf128.c: Likewise.
8260 * math/e_sqrtl.c: Likewise.
8261 * math/k_cosl.c: Likewise.
8262 * math/k_sinl.c: Likewise.
8263 * math/k_tanl.c: Likewise.
8264 * math/s_asinhl.c: Likewise.
8265 * math/s_atanl.c: Likewise.
8266 * math/s_cbrtl.c: Likewise.
8267 * math/s_erfl.c: Likewise.
8268 * math/s_expm1l.c: Likewise.
8269 * math/s_log1pl.c: Likewise.
8270 * math/s_tanhl.c: Likewise.
8272 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
8276 [$(subdir) = math] (sysdep_calls): New variable. Has the
8277 previous contents of sysdep_routines, but re-sorted..
8278 [$(subdir) = math] (sysdep_routines): Re-use the contents from
8280 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
8281 defined in sysdep_calls and replace by the respective m_* names.
8282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
8283 (compat_symbol): Undefine to avoid duplicated compat symbols in
8286 2017-09-15 Joseph Myers <joseph@codesourcery.com>
8288 * math/s_fmaf.c: Include <libm-alias-float.h>.
8289 (fmaf): Define using libm_alias_float.
8290 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
8291 (acosf): Define using libm_alias_float.
8292 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
8293 (acoshf): Define using libm_alias_float.
8294 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
8295 (asinf): Define using libm_alias_float.
8296 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
8297 (atan2f): Define using libm_alias_float.
8298 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
8299 (atanhf): Define using libm_alias_float.
8300 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
8301 (coshf): Define using libm_alias_float.
8302 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
8303 (exp10f): Define using libm_alias_float.
8304 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
8305 (fmodf): Define using libm_alias_float.
8306 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
8307 (hypotf): Define using libm_alias_float.
8308 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
8309 (j0f): Define using libm_alias_float.
8311 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
8312 (j1f): Define using libm_alias_float.
8314 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
8315 (jnf): Define using libm_alias_float.
8317 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
8318 (log10f): Define using libm_alias_float.
8319 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
8320 (log2f): Define using libm_alias_float.
8321 * math/w_logf_compat.c: Include <libm-alias-float.h>.
8322 (logf): Define using libm_alias_float.
8323 * math/w_powf_compat.c: Include <libm-alias-float.h>.
8324 (powf): Define using libm_alias_float.
8325 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
8326 (remainderf): Define using libm_alias_float.
8327 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
8328 (sinhf): Define using libm_alias_float.
8329 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
8330 (sqrtf): Define using libm_alias_float.
8331 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
8332 (tgammaf): Define using libm_alias_float.
8334 2017-09-14 Joseph Myers <joseph@codesourcery.com>
8336 * include/math.h (roundeven): Change hidden_proto call to
8338 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
8340 [NO_LONG_DOUBLE] (__j0l): New strong alias.
8341 (y0): Rename to __y0 and define as weak alias.
8342 [NO_LONG_DOUBLE] (__y0l): New strong alias.
8343 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
8345 (y0f): Rename to __y0f and define as weak alias.
8346 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
8348 [NO_LONG_DOUBLE] (__j1l): New strong alias.
8349 (y1): Rename to __y1 and define as weak alias.
8350 [NO_LONG_DOUBLE] (__y1l): New strong alias.
8351 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
8353 (y1f): Rename to __y1f and define as weak alias.
8354 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
8356 [NO_LONG_DOUBLE] (__jnl): New strong alias.
8357 (yn): Rename to __yn and define as weak alias.
8358 [NO_LONG_DOUBLE] (__ynl): New strong alias.
8359 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
8361 (ynf): Rename to __ynf and define as weak alias.
8362 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
8363 (fromfp): Define as weak alias.
8364 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
8365 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
8366 (fromfpx): Define as weak alias.
8367 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
8368 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
8369 __getpayload and define as weak alias.
8370 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
8371 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
8372 __roundeven and define as weak alias.
8373 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
8374 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
8376 (setpayload): Define as weak alias.
8377 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
8378 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
8380 (setpayloadsig): Define as weak alias.
8381 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
8382 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
8383 __totalorder and define as weak alias.
8384 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
8385 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
8386 to __totalordermag and define as weak alias.
8387 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
8388 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
8389 (ufromfp): Define as weak alias.
8390 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
8391 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
8393 (ufromfpx): Define as weak alias.
8394 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
8395 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
8396 Rename to __getpayload and define as weak alias.
8397 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
8398 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
8399 Rename to __roundeven and define as weak alias.
8400 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
8401 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
8402 Rename to __totalorder and define as weak alias.
8403 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
8404 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
8405 (totalordermag): Rename to __totalordermag and define as weak
8407 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
8408 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
8410 (__roundevenl): Likewise.
8411 (__totalorderl): Likewise.
8412 (__totalordermagl): Likewise
8413 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
8415 (fromfpf128): Define as weak alias.
8416 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
8418 (fromfpxf128): Define as weak alias.
8419 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
8421 (setpayloadf128): Define as weak alias.
8422 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
8423 __setpayloadsigf128.
8424 (setpayloadsigf128): Define as weak alias.
8425 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
8427 (ufromfpf128): Define as weak alias.
8428 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
8430 (ufromfpxf128): Define as weak alias.
8431 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
8432 (fromfpf): Define as weak alias.
8433 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
8435 (fromfpxf): Define as weak alias.
8436 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
8437 __getpayloadf and define as weak alias.
8438 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
8439 __roundevenf and define as weak alias.
8440 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
8442 (setpayloadf): Define as weak alias.
8443 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
8445 (setpayloadsigf): Define as weak alias.
8446 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
8447 __totalorderf and define as weak alias.
8448 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
8449 Rename to __totalordermagf and define as weak alias.
8450 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
8452 (ufromfpf): Define as weak alias.
8453 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
8455 (ufromfpxf): Define as weak alias.
8456 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
8458 (fromfpl): Define as weak alias.
8459 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
8461 (fromfpxl): Define as weak alias.
8462 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
8463 to __getpayloadl and define as weak alias.
8464 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
8465 __roundevenl and define as weak alias.
8466 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
8468 (setpayloadl): Define as weak alias.
8469 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
8471 (setpayloadsigl): Define as weak alias.
8472 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
8473 to __totalorderl and define as weak alias.
8474 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
8475 Rename to __totalordermagl and define as weak alias.
8476 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
8478 (ufromfpl): Define as weak alias.
8479 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
8481 (ufromfpxl): Define as weak alias.
8482 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
8484 (fromfpl): Define as weak alias.
8485 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
8487 (fromfpxl): Define as weak alias.
8488 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
8489 Rename to __getpayloadl and define as weak alias.
8490 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
8491 to __roundevenl and define as weak alias. Call __roundeven
8492 instead of roundeven.
8493 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
8495 (setpayloadl): Define as weak alias.
8496 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
8498 (setpayloadsigl): Define as weak alias.
8499 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
8500 Rename to __totalorderl and define as weak alias.
8501 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
8502 Rename to __totalordermagl and define as weak alias.
8503 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
8505 (ufromfpl): Define as weak alias.
8506 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
8508 (ufromfpxl): Define as weak alias.
8509 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
8511 (fromfpl): Define as weak alias.
8512 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
8514 (fromfpxl): Define as weak alias.
8515 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
8516 __getpayloadl and define as weak alias.
8517 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
8518 __roundevenl and define as weak alias.
8519 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
8521 (setpayloadl): Define as weak alias.
8522 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
8524 (setpayloadsigl): Define as weak alias.
8525 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
8526 __totalorderl and define as weak alias.
8527 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
8528 Rename to __totalordermagl and define as weak alias.
8529 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
8531 (ufromfpl): Define as weak alias.
8532 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
8534 (ufromfpxl): Define as weak alias.
8536 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
8538 * benchtests/bench-string.h (realloc_bufs): New function.
8539 (test_init): Call it.
8540 * benchtests/bench-memset-large.c (do_test): Likewise.
8541 * benchtests/bench-memset.c (do_test): Likewise.
8543 * benchtests/bench-memset-large.c: Print output in JSON
8545 * benchtests/bench-memset.c: Likewise.
8547 2017-09-14 Mike FABIAN <mfabian@redhat.com>
8550 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
8551 * iconvdata/Makefile: Add IBM858.
8552 * iconvdata/gconv-modules: Likewise.
8553 * iconvdata/tst-tables.sh: Likewise.
8554 * iconvdata/ibm858.c: New file.
8555 * localedata/charmaps/IBM858: Likewise.
8557 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
8560 * locales/niu_NZ (LC_TIME): copy "niu_NU".
8561 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
8563 2017-09-14 Mike FABIAN <mfabian@redhat.com>
8566 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
8567 and add tel_int_fmt.
8569 2017-09-14 Joseph Myers <joseph@codesourcery.com>
8571 * sysdeps/generic/libm-alias-float128.h: New file.
8572 * sysdeps/generic/math-type-macros-float128.h: Include
8573 <libm-alias-float128.h>.
8574 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
8576 2017-09-13 Joseph Myers <joseph@codesourcery.com>
8578 * sysdeps/generic/libm-alias-ldouble.h: New file.
8579 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
8580 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
8581 * sysdeps/generic/math-type-macros-ldouble.h: Include
8582 <libm-alias-ldouble.h>.
8583 [!declare_mgen_alias] (declare_mgen_alias): Define to use
8586 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
8588 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
8589 * math/w_exp_compat.c: ... here.
8590 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
8591 * math/w_expf_compat.c: ... here.
8592 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
8593 * math/w_expl_compat.c: ... here.
8594 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
8595 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
8596 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
8597 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
8599 2017-09-13 Joseph Myers <joseph@codesourcery.com>
8601 * math/w_scalbln_template.c (strong_alias): Do not undefine and
8603 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
8605 (ldexpl): Only define as compat symbol for libc, not libm.
8606 (scalbnl): Define as compat symbol for libc here.
8607 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
8608 define for [IS_IN (libc)].
8609 (__ldexpl_2): Remove alias.
8610 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
8611 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
8612 name in long_double_symbol call.
8613 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
8614 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8615 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8616 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
8617 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
8619 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
8620 Define as compat symbol.
8622 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8624 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
8625 * sysdeps/unix/sysv/linux/alpha/Makefile
8626 [$(subdir) = csu] (sysdep_routines): Remove rule.
8628 2017-09-13 Joseph Myers <joseph@codesourcery.com>
8630 * sysdeps/generic/libm-alias-double.h: New file.
8631 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
8632 * sysdeps/generic/math-type-macros-double.h: Include
8633 <libm-alias-double.h>.
8634 [declare_mgen_alias] (declare_mgen_alias): Define to use
8636 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
8637 (M_LIBM_NEED_COMPAT): Remove macro.
8638 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
8639 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
8640 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
8642 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8643 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8644 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8645 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8646 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8647 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8648 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8649 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8650 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8651 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8652 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8653 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8654 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8655 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8656 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8657 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8658 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8659 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8660 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8661 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8662 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8663 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8664 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8665 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8666 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8667 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8668 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8669 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
8670 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
8672 (declare_mgen_alias): New macro.
8673 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
8674 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
8676 (M_LIBM_NEED_COMPAT): Remove macro.
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
8678 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
8680 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
8681 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
8683 2017-09-12 Joseph Myers <joseph@codesourcery.com>
8685 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
8686 (declare_mgen_alias_2): Remove.
8687 * sysdeps/generic/math-type-macros-double.h
8688 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
8690 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
8692 (ldexp): Define with declare_mgen_alias.
8695 2017-09-12 Steve Ellcey <sellcey@cavium.com>
8697 * grp/initgroups.c: Include config.h.
8698 (DEFAULT_CONFIG): New macro.
8699 (internal_getgrouplist): Use DEFAULT_CONFIG.
8700 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8701 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
8702 (DEFAULT_DEFCONFIG): New macro.
8703 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
8704 * nss/grp-lookup.c: Include config.h
8705 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
8706 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
8707 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
8708 * manual/nss.texi: Update default values section.
8710 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
8713 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
8715 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
8716 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
8717 Handle MathVec_Prefer_No_AVX512.
8718 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
8719 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
8722 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
8724 * posix/sched_primax.c (__sched_get_priority_max): Add
8726 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
8727 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
8728 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
8729 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
8730 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
8731 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
8732 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
8733 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
8736 2017-09-11 Joseph Myers <joseph@codesourcery.com>
8738 * sysdeps/generic/libm-alias-float.h: New file.
8739 * sysdeps/generic/math-type-macros-float.h: Include
8740 <libm-alias-float.h>.
8741 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
8743 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
8746 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
8747 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
8748 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
8749 (HWCAP_IMPORTANT): Likewise.
8750 (HWCAP_X86_64): New enum.
8751 (HWCAP_X86_AVX512_1): Updated.
8752 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
8753 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
8754 (modules-names): Add x86_64/tst-x86_64mod-1.
8755 (LDFLAGS-tst-x86_64mod-1.so): New.
8756 ($(objpfx)tst-x86_64-1): Likewise.
8757 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
8758 (tst-x86_64-1-clean): Likewise.
8759 * sysdeps/x86_64/tst-x86_64-1.c: New file.
8760 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
8762 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8764 * po/sv.po: Update translations.
8765 * po/fr.po: Likewise.
8767 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8769 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
8771 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
8773 * elf/rtld-Rules: Fix $(error) use.
8775 2017-09-09 Mike FABIAN <mfabian@redhat.com>
8778 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
8779 * locale/iso-639.def: Change “Bengali” to “Bangla”.
8780 * localedata/locales/bn_BD: “Bengali” was still used in some
8781 comments. Change it to “Bangla”.
8783 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
8785 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
8787 2017-09-08 Steve Ellcey <sellcey@cavium.com>
8789 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
8790 thunderx2t99p1 to list of cpu names.
8791 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
8792 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
8794 2017-09-08 Steve Ellcey <sellcey@cavium.com>
8796 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
8797 Use strcmp instead of tunable_is_name.
8799 2017-09-08 Joseph Myers <joseph@codesourcery.com>
8801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8802 (F_GET_RW_HINT): New macro.
8803 [__USE_GNU] (F_SET_RW_HINT): Likewise.
8804 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
8805 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
8806 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
8807 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
8808 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
8809 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
8810 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
8811 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
8813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8814 (F_ADD_SEALS): New macro.
8815 [__USE_GNU] (F_GET_SEALS): Likewise.
8816 [__USE_GNU] (F_SEAL_SEAL): Likewise.
8817 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
8818 [__USE_GNU] (F_SEAL_GROW): Likewise.
8819 [__USE_GNU] (F_SEAL_WRITE): Likewise.
8821 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8823 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
8824 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
8825 * posix/glob_internal.h (__glob_pattern_type):
8826 * posix/glob.c (glob):
8827 * posix/glob_pattern_p.c (__glob_pattern_p):
8830 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
8831 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8832 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
8833 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
8834 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
8836 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
8837 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
8838 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
8839 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8840 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
8841 * sysdeps/wordsize-64/glob.c: Likewise.
8842 * sysdeps/wordsize-64/glob64.c: Likewise.
8843 * sysdeps/wordsize-64/globfree.c: Likewise.
8844 * sysdeps/wordsize-64/globfree64.c: Likewise.
8845 * sysdeps/unix/sysv/linux/glob.c: New file.
8846 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
8847 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
8848 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
8849 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
8850 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
8851 adds !GLOB_NO_OLD_VERSION as an extra condition.
8852 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
8853 using relative path instead of absolute one.
8854 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
8855 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8856 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8857 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
8858 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
8859 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
8862 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
8863 (glob): Use the same scratch buffer for both getlogin_r and
8864 getpwnam_r. Don’t require preallocation of the login name. This
8865 simplifies storage allocation, and corrects the handling of
8869 * posix/glob.c (glob): Port recent patches to platforms
8871 (glob): Fix longstanding misuse of errno after getpwnam_r, which
8872 returns an error number rather than setting errno.
8874 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
8875 instead of GCC extension.
8876 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
8877 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
8878 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
8882 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
8883 * posix/bug-glob1.c: Remove file.
8884 * posix/tst-glob_symlinks.c: New file.
8885 * posix/glob.c (__lstat64): New macro.
8886 (is_dir): New function.
8887 (glob, glob_in_dir): Match symlinks even if they are dangling.
8888 (link_stat, link_exists_p): Remove. All uses removed.
8892 * posix/glob.c (struct readdir_result): Remove skip_entry member.
8893 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
8898 * posix/Makefile (routines): Add globfree, globfree64, and
8900 * posix/flexmember.h: New file.
8901 * posix/glob_internal.h: Likewise.
8902 * posix/glob_pattern_p.c: Likewise.
8903 * posix/globfree.c: Likewise.
8904 * posix/globfree64.c: Likewise.
8905 * sysdeps/gnu/globfree64.c: Likewise.
8906 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
8907 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
8908 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
8909 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
8910 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
8911 * sysdeps/wordsize-64/globfree.c: Likewise.
8912 * sysdeps/wordsize-64/globfree64.c: Likewise.
8913 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
8914 [NDEBUG): Remove comments.
8915 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
8916 (dirent_type): New type. Use uint_fast8_t not
8917 uint8_t, as C99 does not require uint8_t.
8918 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
8919 (struct readdir_result): Use dirent_type. Do not define skip_entry
8920 unless it is needed; this saves a byte on platforms lacking d_ino.
8921 (readdir_result_type, readdir_result_skip_entry):
8922 New functions, replacing ...
8923 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
8924 these functions, which were removed. This makes the callers
8925 easier to read. All callers changed.
8926 (D_INO_TO_RESULT): Now empty if there is no d_ino.
8927 (size_add_wrapv, glob_use_alloca): New static functions.
8928 (glob, glob_in_dir): Check for size_t overflow in several places,
8929 and fix some size_t checks that were not quite right.
8930 Remove old code using SHELL since Bash no longer
8932 (glob, prefix_array): Separate MS code better.
8933 (glob_in_dir): Remove old Amiga and VMS code.
8934 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
8936 (glob_in_dir): Do not rely on undefined behavior in accessing
8937 struct members beyond their bounds. Use a flexible array member
8939 (link_stat): Rename from link_exists2_p and return -1/0 instead of
8940 0/1. Caller changed.
8941 (glob): Fix memory leaks.
8942 * posix/glob64 (globfree64): Move to separate file.
8943 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
8944 (globfree64): Remove hidden alias.
8945 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
8947 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
8949 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
8951 Move compat code to separate file.
8952 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
8955 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
8957 * resolv/tst-resolv-qtypes.c (domain): Changed to
8958 "const char domain[] =".
8960 2017-09-07 Joseph Myers <joseph@codesourcery.com>
8962 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
8965 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
8966 (TCP_MD5SIG_EXT): Likewise.
8967 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
8968 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
8969 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
8971 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
8973 2017-09-07 Mike FABIAN <mfabian@redhat.com>
8975 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
8977 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
8980 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
8982 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8984 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
8985 before assuming that the file is empty. Avoid testing buffer content
8988 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8991 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
8993 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
8995 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
8997 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
8999 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
9001 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
9003 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
9006 2017-09-06 Florian Weimer <fweimer@redhat.com>
9008 * malloc/dynarray_emplace_enlarge.c
9009 (__libc_dynarray_emplace_enlarge): Add missing else.
9011 2017-09-06 Florian Weimer <fweimer@redhat.com>
9014 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
9015 case of failure to obtain the global conf object.
9017 2017-09-06 Florian Weimer <fweimer@redhat.com>
9020 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
9021 dynarray allocation failure.
9023 2017-09-06 Florian Weimer <fweimer@redhat.com>
9025 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
9026 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
9027 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
9029 (response): Call them. Add 'p', '6' flag processing.
9030 (test_reverse): New function.
9031 (test_get2_any): Call it.
9032 (test_no_inet6): Add 'p' test.
9033 (test_inet6): Likewise.
9035 2017-09-06 Florian Weimer <fweimer@redhat.com>
9037 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
9038 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
9040 (test_gai): Adjust query names. Add additional tests.
9041 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
9042 test_get2. Adjust query names. Add additional tests.
9043 (test_no_inet6): New function, extracted from threadfunc.
9044 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
9045 Add additional tests.
9047 2017-09-06 Mike FABIAN <mfabian@redhat.com>
9050 * localedata/unicode-gen/utf8_gen.py: Set the width for
9051 characters with Prepended_Concatenation_Mark property to 1
9052 * localedata/charmaps/UTF-8: Updated using the improved script.
9054 2017-09-06 Mike FABIAN <mfabian@redhat.com>
9057 * localedata/unicode-gen/utf8_gen.py: Improve the script to
9058 use the range notation for all ranges of neighbouring characters
9059 with the same width.
9061 2017-09-05 Joseph Myers <joseph@codesourcery.com>
9063 * sysdeps/generic/math-type-macros-double.h: Include
9064 <math-svid-compat.h>.
9065 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
9066 * sysdeps/generic/math-type-macros-float.h: Include
9067 <math-svid-compat.h>.
9068 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
9069 * sysdeps/generic/math-type-macros-ldouble.h: Include
9070 <math-svid-compat.h>.
9071 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
9072 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
9074 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
9075 * math/w_acosf_compat.c: Likewise.
9076 * math/w_acosh_compat.c: Likewise.
9077 * math/w_acoshf_compat.c: Likewise.
9078 * math/w_acoshl_compat.c: Likewise.
9079 * math/w_acosl_compat.c: Likewise.
9080 * math/w_asin_compat.c: Likewise.
9081 * math/w_asinf_compat.c: Likewise.
9082 * math/w_asinl_compat.c: Likewise.
9083 * math/w_atan2_compat.c: Likewise.
9084 * math/w_atan2f_compat.c: Likewise.
9085 * math/w_atan2l_compat.c: Likewise.
9086 * math/w_atanh_compat.c: Likewise.
9087 * math/w_atanhf_compat.c: Likewise.
9088 * math/w_atanhl_compat.c: Likewise.
9089 * math/w_cosh_compat.c: Likewise.
9090 * math/w_coshf_compat.c: Likewise.
9091 * math/w_coshl_compat.c: Likewise.
9092 * math/w_exp10_compat.c: Likewise.
9093 * math/w_exp10f_compat.c: Likewise.
9094 * math/w_exp10l_compat.c: Likewise.
9095 * math/w_exp2_compat.c: Likewise.
9096 * math/w_exp2f_compat.c: Likewise.
9097 * math/w_exp2l_compat.c: Likewise.
9098 * math/w_fmod_compat.c: Likewise.
9099 * math/w_fmodf_compat.c: Likewise.
9100 * math/w_fmodl_compat.c: Likewise.
9101 * math/w_hypot_compat.c: Likewise.
9102 * math/w_hypotf_compat.c: Likewise.
9103 * math/w_hypotl_compat.c: Likewise.
9104 * math/w_j0_compat.c: Likewise.
9105 * math/w_j0f_compat.c: Likewise.
9106 * math/w_j0l_compat.c: Likewise.
9107 * math/w_j1_compat.c: Likewise.
9108 * math/w_j1f_compat.c: Likewise.
9109 * math/w_j1l_compat.c: Likewise.
9110 * math/w_jn_compat.c: Likewise.
9111 * math/w_jnf_compat.c: Likewise.
9112 * math/w_jnl_compat.c: Likewise.
9113 * math/w_lgamma_r_compat.c: Likewise.
9114 * math/w_lgammaf_r_compat.c: Likewise.
9115 * math/w_lgammal_r_compat.c: Likewise.
9116 * math/w_log10_compat.c: Likewise.
9117 * math/w_log10f_compat.c: Likewise.
9118 * math/w_log10l_compat.c: Likewise.
9119 * math/w_log2_compat.c: Likewise.
9120 * math/w_log2f_compat.c: Likewise.
9121 * math/w_log2l_compat.c: Likewise.
9122 * math/w_log_compat.c: Likewise.
9123 * math/w_logf_compat.c: Likewise.
9124 * math/w_logl_compat.c: Likewise.
9125 * math/w_pow_compat.c: Likewise.
9126 * math/w_powf_compat.c: Likewise.
9127 * math/w_powl_compat.c: Likewise.
9128 * math/w_remainder_compat.c: Likewise.
9129 * math/w_remainderf_compat.c: Likewise.
9130 * math/w_remainderl_compat.c: Likewise.
9131 * math/w_sinh_compat.c: Likewise.
9132 * math/w_sinhf_compat.c: Likewise.
9133 * math/w_sinhl_compat.c: Likewise.
9134 * math/w_sqrt_compat.c: Likewise.
9135 * math/w_sqrtf_compat.c: Likewise.
9136 * math/w_sqrtl_compat.c: Likewise.
9137 * math/w_tgamma_compat.c: Likewise.
9138 * math/w_tgammaf_compat.c: Likewise.
9139 * math/w_tgammal_compat.c: Likewise.
9140 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
9142 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
9143 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
9145 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
9146 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
9148 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
9149 * sysdeps/i386/fpu/w_sqrt.c: New file.
9150 * sysdeps/ia64/fpu/w_acos.c: Likewise.
9151 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9152 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9153 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9154 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9155 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9156 * sysdeps/ia64/fpu/w_asin.c: Likewise.
9157 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9158 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9159 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9160 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9161 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9162 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9163 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9164 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9165 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9166 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9167 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9168 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9169 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9170 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9171 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9172 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9173 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9174 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9175 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9176 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9177 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9178 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9179 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9180 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9181 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9182 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9183 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9184 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9185 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9186 * sysdeps/ia64/fpu/w_log.c: Likewise.
9187 * sysdeps/ia64/fpu/w_log10.c: Likewise.
9188 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9189 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9190 * sysdeps/ia64/fpu/w_log2.c: Likewise.
9191 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9192 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9193 * sysdeps/ia64/fpu/w_logf.c: Likewise.
9194 * sysdeps/ia64/fpu/w_logl.c: Likewise.
9195 * sysdeps/ia64/fpu/w_pow.c: Likewise.
9196 * sysdeps/ia64/fpu/w_powf.c: Likewise.
9197 * sysdeps/ia64/fpu/w_powl.c: Likewise.
9198 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9199 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9200 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9201 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9202 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9203 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9204 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9205 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9206 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9207 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
9208 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
9209 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
9212 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9213 * sysdeps/ieee754/k_standard.c: Likewise.
9214 * sysdeps/ieee754/k_standardf.c: Likewise.
9215 * sysdeps/ieee754/k_standardl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9218 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9219 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
9220 long_double_symbol call on [LIBM_SVID_COMPAT].
9221 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9222 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9223 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9224 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9225 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9226 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9227 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9228 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9229 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9230 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9231 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9232 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9233 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9234 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9235 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9236 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9237 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9238 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9239 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9240 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9241 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
9242 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
9244 2017-09-05 Steve Ellcey <sellcey@cavium.com>
9246 * include/shlib-compat.h (TEST_COMPAT): New Macro.
9247 * malloc/tst-mallocstate.c: Convert from test-skeleton
9248 to test-driver. Ifdef code using TEST_COMPAT macro.
9249 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
9250 * math/test-matherr.c: Likewise.
9252 2017-09-05 Joseph Myers <joseph@codesourcery.com>
9255 * debug/pcprofiledump.c (main): Use byte-swapped mask when
9256 comparing word with byte-swapped constant.
9258 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
9261 * locale/iso-639.def: add Miskito.
9262 * localedata/SUPPORTED: Add miq_NI/UTF-8.
9263 * localedata/locales/miq_NI: New file.
9265 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
9268 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
9269 (__mkdir): Likewise.
9270 * io/chmod.c (__chmod): Add libc_hidden_def.
9271 * io/mkdir.c (__mkdir): Likewise.
9272 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9273 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9274 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
9275 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
9277 2017-09-04 Joseph Myers <joseph@codesourcery.com>
9279 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9283 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
9284 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9286 2017-09-04 Florian Weimer <fweimer@redhat.com>
9288 * math/math.h: Issue warning if log is defined.
9290 2017-09-04 Joseph Myers <joseph@codesourcery.com>
9292 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9293 kernel version to 4.13.
9295 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9297 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
9298 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
9300 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
9301 just <bits/types.h>.
9302 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
9303 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
9304 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
9305 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
9306 * misc/preadv2.c: Include <errno.h>.
9307 * misc/preadv64v2.c: Include <errno.h>.
9308 * misc/pwritev2.c: Include <errno.h>.
9309 * misc/pwritev64v2.c: Include <errno.h>.
9310 * sysdeps/posix/preadv2.c: Include <errno.h>.
9311 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
9312 Fix <unistd.h> inclusion.
9313 * sysdeps/posix/pwritev2.c: Include <errno.h>.
9314 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
9315 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
9316 __strtoul_internal): New functions.
9317 * sysdeps/posix/pause.c: Include <sigsetops.h>.
9318 * sysdeps/posix/system.c: Include <sigsetops.h>.
9319 * sysdeps/mach/hurd/i386/Makefile
9320 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
9321 [$(subdir) = csu] (sysdep-only-routines): Likewise.
9322 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
9323 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
9324 __feraiseexcept_renamed to feraiseexcept instead of
9326 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
9327 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
9328 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
9329 RWF_NOWAIT): Define to 0 if undefined already.
9330 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
9332 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
9333 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
9335 2017-09-01 Joseph Myers <joseph@codesourcery.com>
9337 * manual/math.texi (pow10): Do not document.
9340 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
9341 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
9342 * math/libm-test-exp10.inc (pow10_test): Remove.
9343 (do_test): Do not call pow10.
9344 * math/w_exp10_compat.c (pow10): Make into compat symbol.
9345 [NO_LONG_DOUBLE] (pow10l): Likewise.
9346 * math/w_exp10f_compat.c (pow10f): Likewise.
9347 * math/w_exp10l_compat.c (pow10l): Likewise.
9348 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
9349 (pow10): Make into compat symbol.
9350 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
9351 (pow10f): Make into compat symbol.
9352 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
9353 (pow10l): Make into compat symbol.
9354 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
9356 (CFLAGS-nldbl-pow10.c): Remove variable..
9357 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
9358 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
9359 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
9360 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
9361 Undefine and redefine.
9362 (pow10l): Make into compat symbol.
9363 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
9364 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9365 * sysdeps/arm/libm-test-ulps: Likewise.
9366 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
9367 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9368 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9369 * sysdeps/microblaze/libm-test-ulps: Likewise.
9370 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9371 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9372 * sysdeps/nios2/libm-test-ulps: Likewise.
9373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9374 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9375 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9376 * sysdeps/sh/libm-test-ulps: Likewise.
9377 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9378 * sysdeps/tile/libm-test-ulps: Likewise.
9379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9381 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9383 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
9385 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
9387 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
9388 "../ChangeLog.old/ChangeLog.8".
9389 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
9390 "../ChangeLog.old/ChangeLog.14".
9392 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
9394 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
9397 2017-09-01 Joseph Myers <joseph@codesourcery.com>
9399 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
9401 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
9403 * csu/version.c (banner): Remove "by Roland McGrath et al.".
9404 * nptl/Banner: Remove "by Ulrich Drepper et al.".
9406 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9408 * stdlib/tst-atexit-common.c (do_test): Test support for at least
9411 2017-09-01 Zack Weinberg <zackw@panix.com>
9413 * math/math.h (HUGE_VAL): Improve commentary.
9415 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9416 Andreas Schwab <schwab@suse.de>
9419 * include/stdio.h (__gen_tempfd): New function.
9420 * stdio-common/Makefile (routines): Add gentempfd.
9421 * stdio-common/gentempfd.c: New file.
9422 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
9423 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
9426 2017-09-01 Florian Weimer <fweimer@redhat.com>
9430 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
9431 result to determine success or failure, not the errno value.
9432 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
9433 (tst-nss-files-hosts-erange): Link with -ldl.
9434 * nss/tst-nss-files-hosts-erange.c: New file.
9435 * nss/tst-resolv-basic.c (response): Handle nodata.example.
9436 (do_test): Add NO_DATA tests.
9437 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
9440 2017-09-01 Florian Weimer <fweimer@redhat.com>
9443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
9444 coming from gethostbyname2_r.
9446 2017-09-01 Florian Weimer <fweimer@redhat.com>
9448 * support/namespace.h (struct support_chroot_configuration): Add
9450 (struct support_chroot): Add path_hosts, path_host_conf.
9451 * support/support_chroot.c (write_file): New function.
9452 (support_chroot_create): Call it to process /etc/resolv.conf,
9453 /etc/hosts, /etc/host.conf.
9454 (support_chroot_free): Update.
9456 2017-09-01 Florian Weimer <fweimer@redhat.com>
9458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
9459 status indicates it is set.
9461 2017-09-01 Florian Weimer <fweimer@redhat.com>
9463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
9464 function lookup failures more reliable.
9466 2017-09-01 Florian Weimer <fweimer@redhat.com>
9468 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
9469 (getcanonname): Likewise.
9470 (gaih_inet): Likewise.
9472 2017-09-01 Florian Weimer <fweimer@redhat.com>
9474 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
9475 (getcanonname): Likewise.
9476 (gaih_inet): Likewise.
9478 2017-08-31 Steve Ellcey <sellcey@cavium.com>
9479 Richard Henderson <rth@twiddle.net>
9481 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
9482 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
9483 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
9484 (IREG_SIZE, OREG_SIZE): New macros.
9485 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
9486 (IREG_SIZE, OREG_SIZE): New macros.
9487 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
9488 (IREG_SIZE): New macro.
9489 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
9490 (IREG_SIZE): New macro.
9491 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
9493 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
9494 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
9495 (__CONCATX): Handle exceptions correctly on large values that may
9497 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
9498 Initialize if not already set.
9499 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
9501 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9503 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
9504 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
9506 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
9508 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
9510 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
9512 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
9514 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
9516 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
9518 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
9519 (NO_CANCELLATION): Likewise.
9520 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
9522 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
9524 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
9526 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
9527 (NO_CANCELLATION): Likewise.
9528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
9529 (NO_CANCELLATION): Likewise.
9530 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
9532 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
9534 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
9536 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
9538 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
9540 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
9541 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
9543 2017-08-31 Steve Ellcey <sellcey@cavium.com>
9545 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
9548 2017-08-31 Florian Weimer <fweimer@redhat.com>
9550 * include/libc-symbols.h (internal_function): Remove.
9552 2017-08-31 Florian Weimer <fweimer@redhat.com>
9554 * stdlib/fmtmsg.c (internal_addseverity): Remove
9557 2017-08-31 Florian Weimer <fweimer@redhat.com>
9559 * stdio-common/printf_fp.c (group_number): Remove
9561 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
9563 2017-08-31 Florian Weimer <fweimer@redhat.com>
9565 * posix/fnmatch.c (internal_function): Remove definition.
9566 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
9567 * posix/regcomp.c (peek_token, init_word_char)
9568 (duplicate_node_closure, fetch_token, peek_token)
9569 (peek_token_bracket, build_range_exp, build_collating_symbol):
9571 * posix/regex_internal.c (re_string_construct_common)
9572 (create_ci_newstate, create_cd_newstate, re_string_allocate)
9573 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
9574 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
9575 (re_string_translate_buffer, re_string_reconstruct)
9576 (re_string_peek_byte_case, re_string_fetch_byte_case)
9577 (re_string_destruct, re_string_context_at, re_node_set_alloc)
9578 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
9579 (re_node_set_add_intersect, re_node_set_init_union)
9580 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
9581 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
9582 (re_dfa_add_node, calc_state_hash, re_acquire_state)
9583 (re_acquire_state_context): Likewise.
9584 * posix/regex_internal.h (internal_function): Remove definition.
9585 (re_string_realloc_buffers, build_wcs_buffer)
9586 (build_wcs_upper_buffer, build_upper_buffer)
9587 (re_string_translate_buffer, re_string_context_at)
9588 (re_string_char_size_at, re_string_wchar_at)
9589 (re_string_elem_size_at): Likewise.
9590 * posix/regexec.c (match_ctx_init, match_ctx_clean)
9591 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
9592 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
9593 (re_search_internal, re_search_2_stub, re_search_stub)
9594 (re_copy_regs, prune_impossible_nodes, check_matching)
9595 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
9596 (free_fail_stack_return, sift_states_iter_mb)
9597 (sift_states_backward, build_sifted_states)
9598 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
9599 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
9600 (check_subexp_limits, sift_states_bkref, merge_state_array)
9601 (find_recover_state, transit_state, merge_state_with_log)
9602 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
9603 (transit_state_mb, transit_state_bkref, get_subexp)
9604 (get_subexp_sub, find_subexp_node, check_arrival)
9605 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
9606 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
9607 (check_node_accept_bytes, find_collation_sequence_value)
9608 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
9609 (acquire_init_state_context, check_halt_node_context)
9610 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
9611 (sub_epsilon_src_nodes): Likewise.
9612 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
9613 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
9614 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
9615 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
9616 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
9617 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
9618 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
9619 * sysdeps/posix/ttyname.c (getttyname): Likewise.
9620 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9621 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
9623 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
9625 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
9626 (PWRITEV): Likewise.
9627 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
9628 (PWRITEV): Likewise.
9629 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
9630 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
9632 2017-08-31 Florian Weimer <fweimer@redhat.com>
9634 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
9635 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
9636 Remove internal_function.
9637 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9638 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
9639 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
9640 (__deallocate_stack, __libc_pthread_init)
9641 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
9642 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
9643 (__libc_disable_asynccancel, __librt_disable_asynccancel):
9645 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
9646 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
9647 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
9649 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
9650 (__pthread_mutex_unlock_usercnt): Likewise.
9652 2017-08-31 Florian Weimer <fweimer@redhat.com>
9654 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
9655 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
9656 (fts_safe_changedir): Remove internal_function.
9657 * io/ftw.c (internal_function): Remove definition.
9658 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
9660 2017-08-31 Florian Weimer <fweimer@redhat.com>
9662 * inet/deadline.c (__deadline_current_time)
9663 (__deadline_from_timeval, __deadline_to_ms): Remove
9665 * inet/getnameinfo.c (nrl_domainname): Likewise.
9666 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
9667 * inet/inet6_option.c (add_pad): Likewise.
9668 * inet/net-internal.h (__deadline_current_time)
9669 (__deadline_from_timeval, __deadline_to_ms): Likewise.
9670 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
9671 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
9672 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
9674 2017-08-31 Joseph Myers <joseph@codesourcery.com>
9676 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
9677 include <bits/nan.h>.
9678 * math/Makefile (headers): Remove bits/nan.h.
9679 * bits/nan.h: Remove.
9680 * sysdeps/ieee754/bits/nan.h: Likewise.
9681 * sysdeps/mips/bits/nan.h: Likewise.
9683 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
9684 not include <bits/inf.h>.
9685 * math/Makefile (headers): Remove bits/inf.h.
9686 * bits/inf.h: Remove.
9687 * sysdeps/ieee754/bits/inf.h: Likewise.
9689 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
9690 bits/huge_vall.h or bits/huge_val_flt128.h.
9691 (HUGE_VAL): Define directly here.
9692 [__USE_ISOC99] (HUGE_VALF): Likewise.
9693 [__USE_ISOC99] (HUGE_VALL): Likewise.
9694 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9695 (HUGE_VAL_F128): Likewise.
9696 * math/Makefile (headers): Remove bits/huge_val.h,
9697 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
9698 * bits/huge_val.h: Remove.
9699 * bits/huge_val_flt128.h: Likewise.
9700 * bits/huge_valf.h: Likewise.
9701 * bits/huge_vall.h: Likewise.
9702 * sysdeps/ia64/bits/huge_vall.h: Likewise.
9703 * sysdeps/ieee754/bits/huge_val.h: Likewise.
9704 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
9705 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
9706 * sysdeps/sh/bits/huge_val.h: Likewise.
9707 * sysdeps/sparc/bits/huge_vall.h: Likewise.
9708 * sysdeps/x86/bits/huge_vall.h: Likewise.
9710 2017-08-31 Florian Weimer <fweimer@redhat.com>
9712 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
9714 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
9716 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
9717 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9718 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
9719 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
9720 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9721 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9722 * elf/dl-libc.c (dlerror_run): Likewise.
9723 * elf/dl-load.c (add_name_to_object, decompose_rpath)
9724 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
9725 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
9726 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
9728 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
9729 (_dl_higher_prime_number, _dl_strtoul): Likewise.
9730 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
9731 * elf/dl-profile.c (_dl_start_profile): Likewise.
9732 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
9733 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
9735 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
9736 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
9737 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
9738 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
9739 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
9740 (_dl_allocate_tls_storage): Likewise.
9741 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
9742 (_dl_check_all_versions): Likewise.
9743 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9744 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
9745 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
9746 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
9747 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
9748 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
9749 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
9750 internal_function from __dl_start.
9751 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
9752 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9753 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
9754 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
9755 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
9756 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
9757 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
9758 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
9759 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
9760 (_dl_next_ld_env_entry, _dl_important_hwcaps)
9761 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
9762 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
9763 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
9764 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
9765 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
9767 (struct rtld_global_ro): Remove internal_function from the
9768 _dl_lookup_symbol_x member.
9769 (_dl_symbol_value): Remove. No longer defined anywhere.
9770 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
9772 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
9773 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9774 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
9775 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
9776 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
9777 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
9778 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
9779 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
9780 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
9781 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9782 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
9783 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9785 2017-08-31 Florian Weimer <fweimer@redhat.com>
9787 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
9788 Remove internal_function.
9789 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
9791 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
9794 2017-08-31 Florian Weimer <fweimer@redhat.com>
9796 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
9797 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
9798 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
9800 2017-08-31 Florian Weimer <fweimer@redhat.com>
9802 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
9803 (__gai_enqueue_request): Remove internal_function.
9804 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
9805 (__gai_remove_request, __gai_notify, __gai_notify_only)
9806 (__gai_sigqueue): Likewise.
9807 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
9808 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9809 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
9810 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9813 2017-08-31 Florian Weimer <fweimer@redhat.com>
9815 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
9816 * include/dirent.h (__opendirat, __getdents, __getdents64)
9817 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
9818 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
9819 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
9820 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
9822 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
9824 2017-08-31 Florian Weimer <fweimer@redhat.com>
9826 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
9828 (GETCWD_RETURN_TYPE): Likewise.
9830 2017-08-31 Florian Weimer <fweimer@redhat.com>
9832 * include/time.h (__tz_compute, __strptime_internal): Remove
9834 * time/strptime_l.c (__strptime_internal): Likewise.
9835 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
9837 2017-08-31 Florian Weimer <fweimer@redhat.com>
9839 * iconv/gconv.c (__gconv): Remove internal_function.
9840 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
9841 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
9842 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
9843 (__gconv_release_cache): Likewise.
9844 * iconv/gconv_close.c (__gconv_close): Likewise.
9845 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
9846 (read_conf_file, __gconv_get_path): Likewise.
9847 * iconv/gconv_db.c (derivation_lookup, add_derivation)
9848 (__gconv_release_step, gen_steps, increment_counter)
9849 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
9850 (__gconv_close_transform, free_modules_db): Likewise.
9851 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
9853 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
9854 (__gconv_find_transform, __gconv_lookup_cache)
9855 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
9856 (__gconv_close_transform, __gconv_release_cache)
9857 (__gconv_loaded_object, __gconv_release_shlib)
9858 (__gconv_compare_alias): Likewise.
9859 * iconv/gconv_open.c (__gconv_open): Likewise.
9860 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
9861 * iconv/iconvconfig.c (add_module): Likewise.
9862 * intl/dcigettext.c (plural_lookup, guess_category_value)
9863 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
9864 * intl/eval-plural.h (plural_eval): Likewise.
9865 * intl/finddomain.c (_nl_find_domain): Likewise.
9866 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
9867 (_nl_load_domain, _nl_find_msg): Likewise.
9868 (internal_function): Remove definition.
9869 * intl/loadinfo.h (internal_function): Likewise.
9870 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
9872 * intl/localealias.c (internal_function): Remove definition.
9873 (read_alias_file): Remove internal_function.
9874 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
9875 * intl/plural-exp.h (internal_function): Remove definition.
9876 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
9878 * intl/plural.c: Regenerate.
9879 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
9880 * locale/coll-lookup.c (__collidx_table_lookup)
9881 (__collseq_table_lookup): Likewise.
9882 * locale/coll-lookup.h (__collidx_table_lookup)
9883 (__collseq_table_lookup): Likewise.
9884 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
9885 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9886 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
9887 (_nl_unload_locale): Likewise.
9888 * locale/localeinfo.h (struct __locale_data): Remove
9889 internal_function from cleanup member.
9890 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
9891 (_nl_remove_locale, _nl_load_locale_from_archive)
9892 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
9893 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
9894 (_nl_cleanup_time): Remove internal_function.
9895 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
9896 (_nl_parse_alt_digit): Likewise.
9897 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
9898 (_nl_select_era_entry): Likewise.
9899 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
9900 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
9901 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
9902 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
9903 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
9905 2017-08-31 Florian Weimer <fweimer@redhat.com>
9907 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
9908 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
9909 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
9910 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
9912 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
9913 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
9914 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
9915 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
9917 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
9919 2017-08-31 Florian Weimer <fweimer@redhat.com>
9921 * misc/getttyent.c (skip, value): Remove internal_function.
9922 * misc/syslog.c (openlog_internal): Likewise.
9923 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
9925 2017-08-31 Florian Weimer <fweimer@redhat.com>
9927 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
9928 (__nss_rewrite_field): Remove internal_function.
9929 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9930 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
9931 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9932 * nss/nsswitch.c (nss_parse_file, nss_getline)
9933 (nss_parse_service_list, nss_new_service): Likewise.
9934 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
9935 * nss/valid_field.c (__nss_valid_field): Likewise.
9936 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9938 2017-08-31 Florian Weimer <fweimer@redhat.com>
9940 * malloc/arena.c (__malloc_fork_lock_parent)
9941 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
9942 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
9943 internal_function from defintions.
9944 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
9945 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
9946 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
9947 internal_function from declarations.
9948 * malloc/malloc.c (internal_function): Do not define.
9949 (mem2mem_check): Remove internal_function from declaration.
9950 (munmap_chunk, mremap_chunk): Remove internal_function.
9951 * malloc/mtrace.c (tr_where): Likewise.
9953 2017-08-31 Florian Weimer <fweimer@redhat.com>
9955 * include/rpc/pmap_clnt.h (__get_socket): Remove
9957 * sunrpc/auth_des.c (synchronize): Likewise.
9958 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
9959 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
9960 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
9961 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
9962 (key_call): Likewise.
9963 * sunrpc/pm_getport.c (__get_socket): Likewise.
9964 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
9965 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
9966 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
9967 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
9968 (invalidate): Likewise.
9969 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
9970 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
9971 (set_input_fragment, get_input_bytes): Likewise.
9973 2017-08-31 Florian Weimer <fweimer@redhat.com>
9975 * malloc/malloc.c (_int_free): Remove locked variable and related
9978 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
9981 * Makerules (build-module-helper-objlist): Filter out
9982 $(elf-objpfx)sofini.os.
9983 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
9986 2017-08-31 Florian Weimer <fweimer@redhat.com>
9988 * libio/fcloseall.c: Assume weak_alias is defined.
9989 * libio/feof.c: Likewise.
9990 * libio/fileno.c: Likewise.
9991 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
9992 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
9994 (_IO_file_open): Call __open directly.
9995 (_IO_new_file_sync): Assume ESPIPE is defined.
9996 (_IO_file_seekoff_maybe_mmap): Call __read directly.
9997 (_IO_new_file_write): Call __write directly.
9998 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
9999 * libio/ftello64.c (__ftello64): Assume EIO is defined.
10000 * libio/genops.c: Assume _LIBC is defined.
10001 (save_for_backup): Remove internal_function.
10002 * libio/getc.c: Assume weak_alias is defined.
10003 * libio/getwc.c: Likewise.
10004 * libio/iofclose.c: Assume _LIBC is defined.
10005 * libio/iofdopen.c: Likewise.
10006 (_IO_fcntl): Remove macro definition.
10007 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
10008 Call __fcntl directly.
10009 * libio/iofflush.c: Assume weak_alias is defined.
10010 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
10012 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
10013 * libio/iofgets.c: Likewise.
10014 * libio/iofopen.c: Assume _LIBC is defined.
10015 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
10016 * libio/iofputs.c: Assume weak_alias is defined.
10017 * libio/iofread.c: Likewise.
10018 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
10019 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10020 * libio/ioftell.c: Assume weak_alias is defined.
10021 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
10022 * libio/iofwide.c: Assume _LIBC is defined.
10023 (_IO_fwide): Drop SHARED conditional because it is implied by
10025 * libio/iofwrite.c: Assume weak_alias is defined.
10026 * libio/iogetdelim.c: Likewise.
10027 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
10028 * libio/iogetwline.c (wmemcpy): Remove macro definition.
10029 (_IO_getwline): Call __wmemcpy directly.
10030 * libio/iopopen.c: Assume _LIBC is defined.
10031 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
10032 (_IO_close): Remove macro definitions.
10033 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
10035 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
10037 * libio/ioputs.c: Assume weak_alias is defined.
10038 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
10039 * libio/iosetbuffer.c: Assume weak_alias is defined.
10040 * libio/iosetvbuf.c: Likewise.
10041 * libio/ioungetc.c: Likewise.
10042 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
10043 libc_hidden_def, libc_hidden_weak, NULL are defined.
10044 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
10045 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
10047 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
10049 (_IO_old_file_init_internal): Drop SHARED conditional because it
10050 is implied by SHLIB_COMPAT.
10051 (_IO_old_file_fopen): Call __open directly.
10052 (_IO_old_file_sync): Assume ESPIPE is defined.
10053 (_IO_old_file_write): Call __write directly.
10054 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
10055 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
10056 Call __fcntl directly.
10057 * libio/oldiofgetpos.c: Assume weak_alias is defined.
10058 (_IO_old_fgetpos): Assume EIO is defined.
10059 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
10060 (_IO_old_fgetpos64): Assume EIO is defined.
10061 * libio/oldiofsetpos.c: Assume weak_alias is defined.
10062 (_IO_old_fsetpos): Assume EIO is defined.
10063 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
10064 (_IO_old_fsetpos64): Assume EIO is defined.
10065 * libio/oldiopopen.c: Assume _LIBC is defined.
10066 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
10067 (_IO_close): Remove macro definitions.
10068 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
10070 (_IO_old_proc_close): Call __close, __waitpid directly.
10071 * libio/put.c: Assume weak_alias is defined.
10072 * libio/stdfiles.c: Assume _LIBC is defined.
10073 * libio/stdio.c: Likewise.
10074 * libio/wfileops.c: Likewise.
10075 (_IO_wfile_sync): Assume ESPIPE is defined.
10076 * libio/wgenops.c: Assume _LIBC is defined.
10077 (save_for_wbackup): Remove internal_function.
10079 2017-08-31 Florian Weimer <fweimer@redhat.com>
10081 * malloc/malloc.c (top_check): Change return type to void. Remove
10083 * malloc/hooks.c (top_check): Likewise.
10084 (malloc_check, realloc_check, memalign_check): Adjust.
10086 2017-08-30 Joseph Myers <joseph@codesourcery.com>
10089 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
10090 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
10091 sigcontext and namespace requirements.
10092 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
10093 * sysdeps/m68k/sys/ucontext.h: Likewise.
10094 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
10095 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
10096 <bits/sigcontext.h>.
10097 (__ctx): Define earlier.
10098 (mcontext_t): Define structure contents rather than using struct
10100 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
10101 __glibc_reserved1 instead of __reserved.
10102 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
10103 <bits/sigcontext.h>.
10104 (__ctx): Define earlier.
10105 (mcontext_t): Define structure contents rather than using struct
10107 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
10108 mcontext_t instead of struct sigcontext.
10109 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
10110 <bits/sigcontext.h>.
10111 (__ctx): Define earlier.
10112 (mcontext_t): Define structure contents rather than using struct
10114 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
10115 <bits/sigcontext.h>.
10116 (__ctx): Define earlier.
10117 (mcontext_t): Define structure contents rather than using struct
10119 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
10120 mcontext_t instead of struct sigcontext.
10121 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
10122 mcontext_t instead of struct sigcontext.
10123 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
10124 <bits/sigcontext.h>.
10125 (__ctx): New macro.
10126 (struct __ia64_fpreg_mcontext): New type.
10127 (mcontext_t): Define structure contents rather than using struct
10129 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
10130 (uc_sigmask): Define using __ctx.
10131 (uc_stack): Likewise.
10132 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
10133 <bits/sigcontext.h>.
10134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10135 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
10136 <bits/sigcontext.h>.
10137 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
10138 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
10139 <bits/sigcontext.h>.
10140 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
10141 <bits/sigcontext.h>.
10142 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
10143 <bits/sigcontext.h>.
10144 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
10145 <bits/sigcontext.h>.
10146 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
10147 <bits/sigcontext.h>.
10148 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
10149 <bits/sigcontext.h>.
10150 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
10151 <bits/sigcontext.h>.
10152 (__ctx): Define earlier.
10153 (mcontext_t): Define structure contents rather than using struct
10155 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
10156 <bits/sigcontext.h>. Include <bits/types.h>.
10157 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
10158 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
10159 (test-xfail-XPG42/ucontext.h/conform): Likewise.
10160 (test-xfail-UNIX98/signal.h/conform): Likewise.
10161 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10162 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10163 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10164 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10165 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10166 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10167 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10168 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10169 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10171 2017-08-30 Florian Weimer <fweimer@redhat.com>
10173 * malloc/dynarray_emplace_enlarge.c
10174 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
10175 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
10176 * malloc/tst-dynarray.c (test_long_overflow): New function.
10177 (do_test): Call it.
10179 2017-08-30 Florian Weimer <fweimer@redhat.com>
10181 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
10182 (set_arena_corrupt): Remove definitions.
10183 (mtrim): Do not check for corrupt arena.
10184 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
10187 2017-08-30 Florian Weimer <fweimer@redhat.com>
10190 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
10192 (ptmalloc_init): Do not set or use check_action.
10193 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
10194 call to malloc_printerr. Remove return statement.
10195 (free_check): Likewise. Remove arena unlock.
10196 (top_check): Update comment. Adjust call to malloc_printerr.
10197 Remove heap repair code.
10198 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
10199 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
10200 (sysmalloc): Adjust call to malloc_printerr.
10201 (munmap_chunk, __libc_realloc): Likewise. Remove return
10203 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
10204 Remove errout label and corresponding gotos.
10205 (_int_free): Likewise. Remove arena unlock.
10206 (do_set_mallopt_check): Do not set check_action.
10207 (malloc_printerr): Adjust parameter list. Do not mark arena as
10209 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
10211 * manual/probes.texi (Memory Allocation Probes): Remove
10212 memory_mallopt_check_action.
10214 2017-08-30 Steve Ellcey <sellcey@cavium.com>
10216 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
10217 Use pointer to uint64_t instead of long int for sp.
10219 2017-08-30 Florian Weimer <fweimer@redhat.com>
10222 * malloc/malloc.c (malloc_printerr): Always terminate the process,
10223 without printing a backtrace. Do not leak any information in the
10225 * manual/memory.texi (Heap Consistency Checking): Update.
10226 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
10228 2017-08-30 Florian Weimer <fweimer@redhat.com>
10230 Do not scale NPTL tests with available number of CPUs.
10231 * nptl/tst-cond16.c (count): Set to constant value of 8.
10232 * nptl/tst-cond18.c (count): Likewise.
10234 2017-08-29 Joseph Myers <joseph@codesourcery.com>
10237 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
10238 Define to take a second argument that is a macro that
10239 concatentates a suffix, not the suffix itself.
10240 (__CONCAT_d): New macro.
10241 (__CONCAT_f): Likewise.
10242 (__CONCAT_l): Likewise.
10244 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
10246 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
10249 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10250 Aurelien Jarno <aurelien@aurel32.net>
10251 Maciej W. Rozycki <macro@imgtec.com>
10254 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
10255 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
10256 `mips16-syscall6' and `mips16-syscall7'.
10257 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
10258 (CFLAGS-mips16-syscall7.c): Remove.
10259 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
10260 Remove `__mips16_syscall5', `__mips16_syscall6' and
10261 `__mips16_syscall7'.
10262 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
10263 (__mips16_syscall0): Rename `__mips16_syscall_return' to
10264 `__mips_syscall_return'.
10265 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
10266 (__mips16_syscall1): Likewise.
10267 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
10268 (__mips16_syscall2): Likewise.
10269 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
10270 (__mips16_syscall3): Likewise.
10271 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
10272 (__mips16_syscall4): Likewise.
10273 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
10275 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
10277 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
10279 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
10280 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
10281 `__mips16_syscall5'. Remove prototype.
10282 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
10283 `__mips16_syscall6'. Remove prototype.
10284 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
10285 `__mips16_syscall7'. Remove prototype.
10286 (__nomips16, __mips16_syscall_return): Move to...
10287 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
10288 (__nomips16, __mips_syscall_return): ... here.
10289 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
10290 `__mips16_syscall_return' to `__mips_syscall_return'.
10291 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
10292 `internal_syscall##nr'.
10293 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
10294 `internal_syscall##nr'.
10295 (FORCE_FRAME_POINTER): Remove.
10296 (__mips_syscall5): New prototype.
10297 (internal_syscall5): Rewrite to call `__mips_syscall5'.
10298 (__mips_syscall6): New prototype.
10299 (internal_syscall6): Rewrite to call `__mips_syscall6'.
10300 (__mips_syscall7): New prototype.
10301 (internal_syscall7): Rewrite to call `__mips_syscall7'.
10302 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
10303 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
10304 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
10305 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
10306 (sysdep_routines): Add libc-do-syscall.
10307 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
10308 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
10310 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10313 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
10314 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
10315 (advise_stack_range): New function.
10316 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
10317 stack non required to advise_stack_range at allocatestack.c
10319 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10321 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
10323 2017-08-29 Florian Weimer <fweimer@redhat.com>
10326 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
10327 __end_fct. Mangle __end_fct after setting it to NULL.
10328 * iconv/Makefile (tests): Add tst-gconv-init-failure.
10329 (modules-names, modules-names-tests): Add
10330 tst-gconv-init-failure-mod.
10331 (gconv-modules): New target.
10332 (tst-gconv-init-failure-mod.so): Link against libsupport.
10333 (tst-gconv-init-failure): Depend on gconv-modules,
10334 tst-gconv-init-failure-mod.so.
10335 * iconv/tst-gconv-init-failure-mod.c: New file.
10336 * iconv/tst-gconv-init-failure.c: Likewise.
10337 * iconv/test-gconv-modules: Likewise.
10339 2017-08-29 Florian Weimer <fweimer@redhat.com>
10342 * iconv/gconv_db.c (free_derivation): Remove redundant
10344 (gen_steps): Unconditionally mangle __btowc_fct after
10346 (increment_counter): Likewise. Do not call init_fct for internal
10349 2017-08-29 Joseph Myers <joseph@codesourcery.com>
10352 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
10353 (_MSUF_): Remove macro.
10354 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
10356 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
10357 (__REDIRFROM_X): New macro.
10358 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
10360 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
10361 (__REDIRTO_X): Likewise.
10362 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
10364 (__MATH_REDIRCALL_2): Likewise.
10365 (__MATH_REDIRCALL_INTERNAL): Likewise.
10366 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
10367 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
10368 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
10369 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
10370 * math/test-finite-macros.c: New file.
10371 * math/Makefile (tests): Add test-finite-macros.
10372 (CFLAGS-test-finite-macros.c): New variable.
10374 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
10375 Jeff Law <law@redhat.com>
10378 Mangle NULL pointers in iconv/gconv.
10379 * iconv/gconv_cache.c (find_module): Demangle init_fct before
10380 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
10381 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
10382 is non-NULL before demangling the end_fct. Check for NULL
10383 end_fct after demangling.
10384 (__gconv_release_step): Demangle the end_fct before checking
10385 it for NULL. Remove assert on __shlibc_handle != NULL.
10386 (gen_steps): Don't check btowc_fct for NULL before mangling.
10387 Demangle init_fct before checking for NULL.
10388 (increment_counter): Likewise.
10389 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
10390 end_fct for NULL before mangling.
10391 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
10394 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
10397 * locale/iso-639.def: add Morisyen.
10399 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10402 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
10403 (iszero): New C++ implementation that does not use
10404 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
10405 signaling nans are enabled, since __builtin_types_compatible_p
10406 is a C-only feature.
10407 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
10408 defined, include ieee754_float128.h for access to the union and
10409 member ieee854_float128.ieee.
10410 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
10411 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
10412 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
10413 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
10414 options of test-math-zero on powerpc64le.
10416 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
10418 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
10419 Change double to float.
10421 2017-08-28 Joseph Myers <joseph@codesourcery.com>
10423 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
10425 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
10426 conditional code; define contents only for [LIBM_SVID_COMPAT].
10428 2017-08-28 Florian Weimer <fweimer@redhat.com>
10430 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
10431 (abi-lp64_be-options): Remove.
10432 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
10433 (abi-hard-options): Likewise.
10434 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
10435 (abi-o32_hard-options, abi-o32_soft_2008-options)
10436 (abi-o32_hard_2008-options, abi-n32_soft-options)
10437 (abi-n32_hard-options, abi-n32_soft_2008-options)
10438 (abi-n32_hard_2008-options, abi-n64_soft-options)
10439 (abi-n64_hard-options, abi-n64_soft_2008-options)
10440 (abi-n64_hard_2008-options): Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
10442 (abi-64-v1-options, abi-64-v2-options): Likewise.
10443 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
10444 (abi-64-options): Likewise.
10445 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
10446 (abi-64-options): Likewise.
10447 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
10448 (abi-64-options): Likewise.
10449 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
10450 (abi-64-options, abi-x32-options): Likewise.
10452 2017-08-28 Florian Weimer <fweimer@redhat.com>
10454 Store supported list of SYS_* system calls in the source tree.
10455 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10456 (bits/syscall.h): Generate from list file.
10457 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
10458 [$(subdir) = misc] (tests): Add tst-syscall-list.
10459 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
10460 [$(subdir) = misc] (tst-syscall-list-macros.list)
10461 [$(subdir) = misc] (tst-syscall-list-nr.list)
10462 (tst-syscall-list-sys.list): Helper targets for new
10463 tst-syscall-list test.
10464 [$(subdir) = misc] (tst-syscall-list.out): Run test script
10465 tst-syscall-list.sh.
10466 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
10467 target. Do not include bits/syscall.d.
10468 [$(subdir) = misc] (generated): Do not update.
10469 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
10470 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
10471 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
10472 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
10474 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10476 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
10477 (tst-cxa_atexit, tst-on_exit): Likewise.
10478 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
10479 tst-cxa_atexit, and tst-on_exit.
10480 * stdlib/tst-atexit-common.c: New file.
10481 * stdlib/tst-atexit.c: New file.
10482 * stdlib/tst-at_quick_exit.c: New file.
10483 * stdlib/tst-cxa_atexit.c: New file.
10484 * stdlib/tst-on_exit.c: New file.
10486 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10488 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
10489 * mach/stack_chk_fail_local.c: New file.
10490 * hurd/stack_chk_fail_local.c: New file.
10491 * mach/Machrules ($(interface-library)-routines): Add
10492 stack_chk_fail_local.
10493 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
10494 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
10495 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
10496 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
10497 * hurd/Makefile (CFLAGS-hurdstartup.o,
10498 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
10500 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
10502 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
10503 (index_cpu_*, index_arch_*): Removed.
10505 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10507 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
10508 Use uint64_t instead of unsigned long.
10510 2017-08-25 Joseph Myers <joseph@codesourcery.com>
10512 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
10513 [__HAVE_DISTINCT_FLOAT128].
10515 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
10516 of <bits/math-finite.h>.
10517 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
10518 inclusion of <bits/math-finite.h>.
10519 * math/bits/math-finite.h (__REDIRTO_X): Do not define
10520 conditionally on [__MATH_DECLARING_LDOUBLE && defined
10521 __NO_LONG_DOUBLE_MATH].
10522 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
10523 (__MATH_REDIRCALL_2): Likewise.
10524 (__MATH_REDIRCALL_INTERNAL): Likewise.
10525 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
10526 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
10527 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
10529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10541 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10542 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10543 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10544 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10546 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
10547 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
10548 w_sqrtf_compat-ppc32.
10550 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10552 * math/math.h [defined __cplusplus] (issignaling): In the long
10553 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
10554 is not defined. Call __issignaling, otherwise.
10556 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10558 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
10559 syscall definitions and replace __builtin_expect with __glibc_likely.
10560 * sysdeps/unix/syscall-template.S: Update comment about cancellable
10562 (SYSCALL_CANCELLABLE): Removedefinition
10563 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
10565 (PSEUDO_END): Likewise.
10566 [IS_IN (libpthread)] (CENABLE): Likewise.
10567 [IS_IN (libpthread)] (CDISABLE): Likewise.
10568 [IS_IN (libc)] (CENABLE): Likewise.
10569 [IS_IN (libc)] (CENABLE): Likewise.
10570 [IS_IN (librt)] (CDISABLE): Likewise.
10571 [IS_IN (librt)] (CDISABLE): Likewise.
10572 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10573 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
10575 (PSEUDO_END): Likewise.
10576 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
10577 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
10578 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
10579 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
10580 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
10581 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
10582 (CENABLE): Likewise.
10583 (CDISABLE): Likewise.
10584 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10585 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
10587 (PSEUDO_END): Likewise.
10588 [IS_IN (libpthread)] (CENABLE): Likewise.
10589 [IS_IN (libpthread)] (CDISABLE): Likewise.
10590 [IS_IN (libc)] (CENABLE): Likewise.
10591 [IS_IN (libc)] (CENABLE): Likewise.
10592 [IS_IN (librt)] (CDISABLE): Likewise.
10593 [IS_IN (librt)] (CDISABLE): Likewise.
10594 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10595 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
10597 (PSEUDO_END): Likewise.
10598 [IS_IN (libpthread)] (CENABLE): Likewise.
10599 [IS_IN (libpthread)] (CDISABLE): Likewise.
10600 [IS_IN (libc)] (CENABLE): Likewise.
10601 [IS_IN (libc)] (CENABLE): Likewise.
10602 [IS_IN (librt)] (CDISABLE): Likewise.
10603 [IS_IN (librt)] (CDISABLE): Likewise.
10604 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10605 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
10607 (PSEUDO_END): Likewise.
10608 [IS_IN (libpthread)] (CENABLE): Likewise.
10609 [IS_IN (libpthread)] (CDISABLE): Likewise.
10610 [IS_IN (libc)] (CENABLE): Likewise.
10611 [IS_IN (libc)] (CENABLE): Likewise.
10612 [IS_IN (librt)] (CDISABLE): Likewise.
10613 [IS_IN (librt)] (CDISABLE): Likewise.
10614 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10615 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
10617 (PSEUDO_END): Likewise.
10618 [IS_IN (libpthread)] (CENABLE): Likewise.
10619 [IS_IN (libpthread)] (CDISABLE): Likewise.
10620 [IS_IN (libc)] (CENABLE): Likewise.
10621 [IS_IN (libc)] (CENABLE): Likewise.
10622 [IS_IN (librt)] (CDISABLE): Likewise.
10623 [IS_IN (librt)] (CDISABLE): Likewise.
10624 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10625 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
10627 (PSEUDO_END): Likewise.
10628 [IS_IN (libpthread)] (CENABLE): Likewise.
10629 [IS_IN (libpthread)] (CDISABLE): Likewise.
10630 [IS_IN (libc)] (CENABLE): Likewise.
10631 [IS_IN (libc)] (CENABLE): Likewise.
10632 [IS_IN (librt)] (CDISABLE): Likewise.
10633 [IS_IN (librt)] (CDISABLE): Likewise.
10634 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10635 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
10637 (PSEUDO_END): Likewise.
10638 [IS_IN (libpthread)] (CENABLE): Likewise.
10639 [IS_IN (libpthread)] (CDISABLE): Likewise.
10640 [IS_IN (libc)] (CENABLE): Likewise.
10641 [IS_IN (libc)] (CENABLE): Likewise.
10642 [IS_IN (librt)] (CDISABLE): Likewise.
10643 [IS_IN (librt)] (CDISABLE): Likewise.
10644 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10645 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
10647 (PSEUDO_END): Likewise.
10648 [IS_IN (libpthread)] (CENABLE): Likewise.
10649 [IS_IN (libpthread)] (CDISABLE): Likewise.
10650 [IS_IN (libc)] (CENABLE): Likewise.
10651 [IS_IN (libc)] (CENABLE): Likewise.
10652 [IS_IN (librt)] (CDISABLE): Likewise.
10653 [IS_IN (librt)] (CDISABLE): Likewise.
10654 (SINGLE_THREAD_P): Likewise.
10655 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
10657 (PSEUDO_END): Likewise.
10658 [IS_IN (libpthread)] (CENABLE): Likewise.
10659 [IS_IN (libpthread)] (CDISABLE): Likewise.
10660 [IS_IN (libc)] (CENABLE): Likewise.
10661 [IS_IN (libc)] (CENABLE): Likewise.
10662 [IS_IN (librt)] (CDISABLE): Likewise.
10663 [IS_IN (librt)] (CDISABLE): Likewise.
10664 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10665 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
10667 (PSEUDO_END): Likewise.
10668 [IS_IN (libpthread)] (CENABLE): Likewise.
10669 [IS_IN (libpthread)] (CDISABLE): Likewise.
10670 [IS_IN (libc)] (CENABLE): Likewise.
10671 [IS_IN (libc)] (CENABLE): Likewise.
10672 [IS_IN (librt)] (CDISABLE): Likewise.
10673 [IS_IN (librt)] (CDISABLE): Likewise.
10674 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10675 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
10676 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10677 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
10678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
10680 (PSEUDO_END): Likewise.
10681 [IS_IN (libpthread)] (CENABLE): Likewise.
10682 [IS_IN (libpthread)] (CDISABLE): Likewise.
10683 [IS_IN (libc)] (CENABLE): Likewise.
10684 [IS_IN (libc)] (CENABLE): Likewise.
10685 [IS_IN (librt)] (CDISABLE): Likewise.
10686 [IS_IN (librt)] (CDISABLE): Likewise.
10687 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
10690 (PSEUDO_END): Likewise.
10691 [IS_IN (libpthread)] (CENABLE): Likewise.
10692 [IS_IN (libpthread)] (CDISABLE): Likewise.
10693 [IS_IN (libc)] (CENABLE): Likewise.
10694 [IS_IN (libc)] (CENABLE): Likewise.
10695 [IS_IN (librt)] (CDISABLE): Likewise.
10696 [IS_IN (librt)] (CDISABLE): Likewise.
10697 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10698 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
10700 (PSEUDO_END): Likewise.
10701 [IS_IN (libpthread)] (CENABLE): Likewise.
10702 [IS_IN (libpthread)] (CDISABLE): Likewise.
10703 [IS_IN (libc)] (CENABLE): Likewise.
10704 [IS_IN (libc)] (CENABLE): Likewise.
10705 [IS_IN (librt)] (CDISABLE): Likewise.
10706 [IS_IN (librt)] (CDISABLE): Likewise.
10707 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
10709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
10711 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
10713 (PSEUDO_END): Likewise.
10714 [IS_IN (libpthread)] (CENABLE): Likewise.
10715 [IS_IN (libpthread)] (CDISABLE): Likewise.
10716 [IS_IN (libc)] (CENABLE): Likewise.
10717 [IS_IN (libc)] (CENABLE): Likewise.
10718 [IS_IN (librt)] (CDISABLE): Likewise.
10719 [IS_IN (librt)] (CDISABLE): Likewise.
10720 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10721 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
10723 (PSEUDO_END): Likewise.
10724 [IS_IN (libpthread)] (CENABLE): Likewise.
10725 [IS_IN (libpthread)] (CDISABLE): Likewise.
10726 [IS_IN (libc)] (CENABLE): Likewise.
10727 [IS_IN (libc)] (CENABLE): Likewise.
10728 [IS_IN (librt)] (CDISABLE): Likewise.
10729 [IS_IN (librt)] (CDISABLE): Likewise.
10730 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10732 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
10734 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
10736 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
10738 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10740 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
10743 * string/stratcliff.c (do_test): Declare size, nchars, inner,
10744 middle and outer with size_t instead of int. Repleace %d and
10745 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
10746 "MAX (outer, nchars - 64)" to support unsigned outer and
10747 nchars. Also exit loop when outer == 0.
10749 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10751 * include/fcntl.h (__fcntl_nocancel): Remove definition.
10752 * include/signal.h (__sigsuspend_nocancel): Likewise.
10753 * include/time.h (__nanosleep_nocancel): Likewise.
10754 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
10755 * login/utmp_file.c: Include non cancellable syscall header.
10756 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
10759 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
10761 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
10762 .byte sequences with AVX512F instructions.
10763 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
10764 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10765 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10766 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
10768 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10771 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
10772 Steve Ellcey <sellcey@cavium.com>
10774 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
10775 Use PTR_REG macro in cmp instruction.
10777 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10779 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
10780 Change the return type of the ifunc resolver to match the return
10781 type of the target function.
10783 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10785 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
10786 (preadv64): Likewise.
10787 (pwrite64(: Likewise.
10788 (pwritev64): Likewise.
10790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10791 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
10792 (LOAD_ARGS_0): Likewise.
10793 (LOAD_ARGS_1): Likewise.
10794 (LOAD_ARGS_2): Likewise.
10795 (LOAD_ARGS_3): Likewise.
10796 (LOAD_ARGS_4): Likewise.
10797 (LOAD_ARGS_5): Likewise.
10798 (LOAD_ARGS_6): Likewise.
10799 (LOAD_REGS_0): Likewise.
10800 (LOAD_REGS_1): Likewise.
10801 (LOAD_REGS_2): Likewise.
10802 (LOAD_REGS_3): Likewise.
10803 (LOAD_REGS_4): Likewise.
10804 (LOAD_REGS_5): Likewise.
10805 (LOAD_REGS_6): Likewise.
10806 (ASM_ARGS_0): Likewise.
10807 (ASM_ARGS_1): Likewise.
10808 (ASM_ARGS_2): Likewise.
10809 (ASM_ARGS_3): Likewise.
10810 (ASM_ARGS_4): Likewise.
10811 (ASM_ARGS_5): Likewise.
10812 (ASM_ARGS_6): Likewise.
10813 (LOAD_ARGS_TYPES_1): Likewise.
10814 (LOAD_ARGS_TYPES_2): Likewise.
10815 (LOAD_ARGS_TYPES_3): Likewise.
10816 (LOAD_ARGS_TYPES_4): Likewise.
10817 (LOAD_ARGS_TYPES_5): Likewise.
10818 (LOAD_ARGS_TYPES_6): Likewise.
10819 (LOAD_REGS_TYPES_1): Likewise.
10820 (LOAD_REGS_TYPES_2): Likewise.
10821 (LOAD_REGS_TYPES_3): Likewise.
10822 (LOAD_REGS_TYPES_4): Likewise.
10823 (LOAD_REGS_TYPES_5): Likewise.
10824 (LOAD_REGS_TYPES_6): Likewise.
10825 (TYPEFY): New define.
10826 (ARGIFY): Likewise.
10827 (internal_syscall0): Likewise.
10828 (internal_syscall1): Likewise.
10829 (internal_syscall2): Likewise.
10830 (internal_syscall3): Likewise.
10831 (internal_syscall4): Likewise.
10832 (internal_syscall5): Likewise.
10833 (internal_syscall6): Likewise.
10834 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
10835 (INTERNAL_SYSCALL_NCS): Remove define.
10836 (internal_syscall1): Add define.
10838 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10840 * math/w_remainder_compat.c: Remove duplicate inclusion of
10841 math-svid-compat.h.
10842 * math/w_remainderf_compat.c: Likewise.
10843 * math/w_remainderl_compat.c: Likewise.
10845 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10849 2017-08-22 Joseph Myers <joseph@codesourcery.com>
10852 * math/tgmath.h (__floating_type): Simplify definitions.
10853 (__real_integer_type): New macro.
10854 (__complex_integer_type): Likewise.
10855 (__expr_is_real): Likewise.
10856 (__tgmath_real_type_sub): Update comment to describe handling of
10858 (__tgmath_complex_type_sub): New macro.
10859 (__tgmath_complex_type): Likewise.
10860 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10861 (__TGMATH_CF128): Use __expr_is_real.
10862 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
10864 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10865 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
10866 * math/gen-tgmath-tests.py (Type.create_type): Create complex
10869 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10871 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
10873 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
10875 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
10878 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
10879 nanosleep_not_cancel with __nanosleep_nocancel.
10880 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
10881 (__nanosleep_nocancel): New macro.
10882 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
10884 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
10886 (__nanosleep_nocancel): New prototype.
10888 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
10889 pause_not_cancel with __pause_nocancel.
10890 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
10891 (__pause_nocancel): New macro.
10892 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
10894 (__pause_nocancel): New prototype.
10895 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
10897 2017-08-22 Martin Sebor <msebor@redhat.com>
10899 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
10900 to return a pointer to the same type as the target function.
10902 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
10906 * include/printf.h (__printf_fphex): Add attribute_hidden.
10907 (__guess_grouping): New prototype.
10908 * stdio-common/printf_fp.c (__guess_grouping): Removed.
10909 * stdio-common/reg-printf.c (__register_printf_specifier): Add
10910 libc_hidden_proto and libc_hidden_def.
10911 * stdlib/strfmon_l.c (__guess_grouping): Removed.
10912 (__vstrfmon_l): Remove the third argument passed to
10915 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10917 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
10918 definition for issignaling that does not rely on __MATH_TG,
10919 since __MATH_TG uses __builtin_types_compatible_p, which is only
10920 available in C mode.
10921 (CFLAGS-test-math-issignaling.cc): New variable.
10922 * math/Makefile [CXX] (tests): Add test-math-issignaling.
10923 * math/test-math-issignaling.cc: New test for C++ implementation
10924 of type-generic issignaling.
10925 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
10926 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
10927 options of test-math-issignaling on powerpc64le.
10929 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
10931 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
10933 (hidden_proto): Likewise.
10934 (hidden_tls_proto): Likewise.
10935 (__hidden_proto): Likewise.
10937 2017-08-22 Florian Weimer <fweimer@redhat.com>
10939 math: Statically link tests of internal functionality.
10940 * math/Makefile (tests): Remove atest-exp, atest-sincos,
10942 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
10943 (gmp-objs): Remove assignment.
10944 (atest-exp, atest-sincos, atest-exp2): Remove targets.
10946 2017-08-22 Joseph Myers <joseph@codesourcery.com>
10949 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
10951 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
10953 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
10956 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
10957 variable definitions above inclusion of ../Rules.
10959 2017-08-21 Joseph Myers <joseph@codesourcery.com>
10961 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
10962 case calling __builtin_unreachable.
10964 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10966 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
10967 __waitpid_nocancel.
10968 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
10969 (__waitpid_nocancel): New macro.
10970 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
10972 (__waitpid_nocancel): Replace macro with a function.
10973 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
10976 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
10978 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
10979 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
10981 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
10982 __writev_nocancel_nostatus.
10983 (write_call_graph): Likewise.
10984 (write_bb_counts): Likewise.
10985 * resolv/herror.c (herror): Likewise.
10986 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
10988 (__writev_nocancel_nostatus): New macro.
10989 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
10991 (__writev_nocancel_nostatus): New function.
10993 2017-08-21 Joseph Myers <joseph@codesourcery.com>
10996 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
10998 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
11000 (hidden_proto): Likewise.
11001 (hidden_tls_proto): Likewise.
11002 (__hidden_proto): Likewise.
11005 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
11006 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11015 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
11016 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11017 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11018 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11019 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11020 GLIBC_2.0 sqrtl symbol.
11022 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
11023 [__USE_MISC] (_LIB_VERSION): Likewise.
11024 [__USE_MISC] (struct exception): Likewise.
11025 [__USE_MISC] (matherr): Likewise.
11026 [__USE_MISC] (DOMAIN): Likewise.
11027 [__USE_MISC] (SING): Likewise.
11028 [__USE_MISC] (OVERFLOW): Likewise.
11029 [__USE_MISC] (UNDERFLOW): Likewise.
11030 [__USE_MISC] (TLOSS): Likewise.
11031 [__USE_MISC] (PLOSS): Likewise.
11032 [__USE_MISC] (HUGE): Likewise.
11033 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
11034 * math/math-svid-compat.h: New file.
11035 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
11037 * include/math.h [!_ISOMAC] (__matherr): Remove.
11038 * manual/arith.texi (FP Exceptions): Do not document matherr.
11039 * math/Makefile (tests): Change test-matherr to test-matherr-3.
11040 (tests-internal): New variable.
11041 (install-lib): Do not add libieee.a.
11042 (non-lib.a): Likewise.
11043 (extra-objs): Do not add libieee.a and ieee-math.o.
11044 (CPPFLAGS-s_lib_version.c): Remove variable.
11045 ($(objpfx)libieee.a): Remove rule.
11046 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
11047 * math/ieee-math.c: Remove.
11048 * math/libm-test-support.c (matherr): Remove.
11049 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
11050 and license notices. Include <math-svid-compat.h> and
11052 (matherr): Undefine as macro. Use compat_symbol_reference.
11053 (_LIB_VERSION): Likewise.
11054 * math/test-matherr-2.c: New file.
11055 * math/test-matherr-3.c: Likewise.
11056 * sysdeps/generic/math_private.h (__kernel_standard): Remove
11058 (__kernel_standard_f): Likewise.
11059 (__kernel_standard_l): Likewise.
11060 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
11061 <math_private.h>. Include <math-svid-compat.h>.
11062 (_LIB_VERSION): Undefine as macro.
11063 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
11064 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
11065 [LIBM_SVID_COMPAT], use compat_symbol.
11066 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
11067 <math_private.h>. Include <math-svid-compat.h>.
11068 (matherr): Undefine as macro.
11069 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
11071 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
11072 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
11073 compat_symbol_reference.
11074 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
11075 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
11076 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
11077 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
11078 (MATHERR_D): Remove declaration.
11079 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
11080 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
11081 [LIBM_BUILD] (pmatherrf): Likewise.
11082 [LIBM_BUILD] (pmatherr): Likewise.
11083 [LIBM_BUILD] (pmatherrl): Likewise.
11084 (DOMAIN): Likewise.
11086 (OVERFLOW): Likewise.
11087 (UNDERFLOW): Likewise.
11090 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
11091 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
11093 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
11094 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
11096 * math/lgamma-compat.h: Include <math-svid-compat.h>.
11097 * math/w_acos_compat.c: Likewise.
11098 * math/w_acosf_compat.c: Likewise.
11099 * math/w_acosh_compat.c: Likewise.
11100 * math/w_acoshf_compat.c: Likewise.
11101 * math/w_acoshl_compat.c: Likewise.
11102 * math/w_acosl_compat.c: Likewise.
11103 * math/w_asin_compat.c: Likewise.
11104 * math/w_asinf_compat.c: Likewise.
11105 * math/w_asinl_compat.c: Likewise.
11106 * math/w_atan2_compat.c: Likewise.
11107 * math/w_atan2f_compat.c: Likewise.
11108 * math/w_atan2l_compat.c: Likewise.
11109 * math/w_atanh_compat.c: Likewise.
11110 * math/w_atanhf_compat.c: Likewise.
11111 * math/w_atanhl_compat.c: Likewise.
11112 * math/w_cosh_compat.c: Likewise.
11113 * math/w_coshf_compat.c: Likewise.
11114 * math/w_coshl_compat.c: Likewise.
11115 * math/w_exp10_compat.c: Likewise.
11116 * math/w_exp10f_compat.c: Likewise.
11117 * math/w_exp10l_compat.c: Likewise.
11118 * math/w_exp2_compat.c: Likewise.
11119 * math/w_exp2f_compat.c: Likewise.
11120 * math/w_exp2l_compat.c: Likewise.
11121 * math/w_fmod_compat.c: Likewise.
11122 * math/w_fmodf_compat.c: Likewise.
11123 * math/w_fmodl_compat.c: Likewise.
11124 * math/w_hypot_compat.c: Likewise.
11125 * math/w_hypotf_compat.c: Likewise.
11126 * math/w_hypotl_compat.c: Likewise.
11127 * math/w_j0_compat.c: Likewise.
11128 * math/w_j0f_compat.c: Likewise.
11129 * math/w_j0l_compat.c: Likewise.
11130 * math/w_j1_compat.c: Likewise.
11131 * math/w_j1f_compat.c: Likewise.
11132 * math/w_j1l_compat.c: Likewise.
11133 * math/w_jn_compat.c: Likewise.
11134 * math/w_jnf_compat.c: Likewise.
11135 * math/w_jnl_compat.c: Likewise.
11136 * math/w_lgamma_main.c: Likewise.
11137 * math/w_lgamma_r_compat.c: Likewise.
11138 * math/w_lgammaf_main.c: Likewise.
11139 * math/w_lgammaf_r_compat.c: Likewise.
11140 * math/w_lgammal_main.c: Likewise.
11141 * math/w_lgammal_r_compat.c: Likewise.
11142 * math/w_log10_compat.c: Likewise.
11143 * math/w_log10f_compat.c: Likewise.
11144 * math/w_log10l_compat.c: Likewise.
11145 * math/w_log2_compat.c: Likewise.
11146 * math/w_log2f_compat.c: Likewise.
11147 * math/w_log2l_compat.c: Likewise.
11148 * math/w_log_compat.c: Likewise.
11149 * math/w_logf_compat.c: Likewise.
11150 * math/w_logl_compat.c: Likewise.
11151 * math/w_pow_compat.c: Likewise.
11152 * math/w_powf_compat.c: Likewise.
11153 * math/w_powl_compat.c: Likewise.
11154 * math/w_remainder_compat.c: Likewise.
11155 * math/w_remainderf_compat.c: Likewise.
11156 * math/w_remainderl_compat.c: Likewise.
11157 * math/w_scalb_compat.c: Likewise.
11158 * math/w_scalbf_compat.c: Likewise.
11159 * math/w_scalbl_compat.c: Likewise.
11160 * math/w_sinh_compat.c: Likewise.
11161 * math/w_sinhf_compat.c: Likewise.
11162 * math/w_sinhl_compat.c: Likewise.
11163 * math/w_sqrt_compat.c: Likewise.
11164 * math/w_sqrtf_compat.c: Likewise.
11165 * math/w_sqrtl_compat.c: Likewise.
11166 * math/w_tgamma_compat.c: Likewise.
11167 * math/w_tgammaf_compat.c: Likewise.
11168 * math/w_tgammal_compat.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
11170 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
11171 * sysdeps/ieee754/k_standard.c: Likewise.
11172 * sysdeps/ieee754/k_standardf.c: Likewise.
11173 * sysdeps/ieee754/k_standardl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
11177 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11178 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11179 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11180 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11181 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11182 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11187 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11188 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11189 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11190 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11192 2017-08-21 Florian Weimer <fweimer@redhat.com>
11195 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
11196 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
11197 Move before inclusion of ../Rules.
11199 2017-08-21 Florian Weimer <fweimer@redhat.com>
11202 * assert/assert.h (assert): Use static_cast (bool) for C++.
11203 Use the ternary operator in the warning branch for GNU C.
11204 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
11205 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
11206 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
11207 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
11208 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
11210 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
11213 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11214 (__syscall_clock_gettime): Add attribute_hidden.
11215 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
11216 (__start_context): Likewise.
11218 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
11220 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
11222 (hidden_proto): Likewise.
11223 (hidden_tls_proto): Likewise.
11224 (__hidden_proto): Likewise.
11226 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
11228 * include/libc-symbols.h (attribute_hidden): Enable hidden
11229 visibility in libc.a compiled with PIE.
11231 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
11234 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
11235 Add attribute_hidden.
11237 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
11240 * Makerules (all-nonlib): Add $(others-extras).
11241 * catgets/Makefile (others-extras): New.
11242 * elf/Makefile (others-extras): Likewise.
11243 * nss/Makefile (others-extras): Likewise.
11245 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
11248 * csu/libc-start.c (__libc_multiple_libcs): Removed.
11249 * elf/dl-open.c: Include <libc-internal.h>.
11250 (__libc_multiple_libcs): Removed.
11251 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
11253 * include/libc-internal.h (__libc_multiple_libcs): New.
11254 * misc/sbrk.c: Include <libc-internal.h>.
11255 (__libc_multiple_libcs): Removed.
11257 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
11260 * grp/initgroups.c (__nss_group_database): Removed.
11261 (__nss_initgroups_database): Likewise.
11262 * nscd/gai.c (__nss_hosts_database): Likewise.
11263 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
11264 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
11265 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
11266 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
11267 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
11268 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
11270 * nss/nsswitch.c (__nss_database_custom): Define only if
11271 USE_NSCD is defined.
11272 (__nss_configure_lookup): Use __nss_database_custom only if
11273 USE_NSCD is defined.
11274 * nss/nsswitch.h (__nss_database_custom): Declare only if
11275 USE_NSCD is defined. Add attribute_hidden.
11276 (__nss_setent): Add attribute_hidden.
11277 (__nss_endent): Likewise.
11278 (__nss_getent_r): Likewise.
11279 (__nss_getent): Likewise.
11280 (DEFINE_DATABASE): Declare __nss_##arg##_database.
11282 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
11285 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
11286 libc_hidden_proto and libc_hidden_def.
11288 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
11291 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
11292 Add libc_hidden_proto.
11293 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
11294 Add libc_hidden_def.
11296 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
11299 * gmon/Makefile (routines): Remove bb_init_func and
11301 (elide-routines.os): Removed.
11302 * gmon/bb_exit_func.c: Likewise.
11303 * gmon/bb_init_func.c: Likewise.
11304 * include/sys/gmon.h (__bb): Likewise.
11305 (__bb_init_func): Likewise.
11306 (__bb_exit_func): Likewise.
11307 * sysdeps/alpha/bb_init_func.S: Likewise.
11309 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
11311 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
11312 * include/setjmp.h (____longjmp_chk): Here. Add
11315 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
11318 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
11320 (__strspn_sse2): Likewise.
11322 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11324 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
11325 (close_not_cancel_no_status): Likewise.
11326 (__close_nocancel): New macro.
11327 (__close_nocancel_nostatus): Likewise.
11328 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
11330 (close_not_cancel): Likewise.
11331 (close_not_cancel_no_status): Likewise.
11332 (__close_nocancel): New prototype.
11333 (__close_nocancel_nostatus): New function.
11334 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
11335 * catgets/open_catalog.c (__open_catalog): Replace
11336 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
11337 * gmon/gmon.c (write_gmon): Likewise.
11338 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11339 * intl/loadmsgcat.c (close): Likewise.
11340 * io/ftw.c (open_dir_stream): Likewise.
11341 (ftw_startup): Likewise.
11342 * libio/fileops.c (_IO_file_open): Likewise.
11343 (_IO_file_close_mmap): Likewise.
11344 (_IO_file_close): Likewise.
11345 * libio/iopopen.c (_IO_dup2): Likewise.
11346 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11347 * locale/loadlocale.c (_nl_load_locale): Likewise.
11348 * login/utmp_file.c (pututline_file): Likewise.
11349 (endutent_file): Likewise.
11350 * misc/daemon.c (daemon): Likewise.
11351 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11352 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11353 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11354 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11355 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11356 * nscd/nscd_helper.c (open_socket): Likewise.
11357 (__nscd_open_socket): Likewise.
11358 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11359 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
11360 (__nscd_innetgr): Likewise.
11361 * nss/nss_db/db-open.c (internal_setent): Likewise.
11362 * resolv/res-close.c (__res_iclose): Likewise.
11363 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
11364 * sysdeps/posix/closedir.c (__closedir): Likewise.
11365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
11366 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11367 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
11368 (opendir_tail): Likewise.
11369 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
11370 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
11371 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11372 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11373 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
11374 (gethostid): Likewise.
11375 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
11376 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11378 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11379 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
11380 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
11381 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
11383 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
11384 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
11385 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
11387 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
11388 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11390 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11392 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11393 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
11394 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
11397 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
11398 (openat_not_cancel_3): Likewise.
11399 (openat64_not_cancel_3): Likewise).
11400 (openat_not_cancel_3): Likewise).
11401 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
11403 (openat_not_cancel_3): Likewise.
11404 (openat64_not_cancel): Likewise.
11405 (openat64_not_cancel_3): Likewise.
11406 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
11407 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
11408 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
11409 __open{64}_nocancel.
11410 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
11411 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11412 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11414 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
11417 * include/argz.h (__argz_create_sep): New function prototype.
11418 (__argz_append): Likewise.
11419 (__argz_add): Likewise.
11420 (__argz_add_sep): Likewise.
11421 (__argz_delete): Likewise.
11422 (__argz_insert): Likewise.
11423 (__argz_replace): Likewise.
11424 * string/argz.h (__argz_create_sep): Removed.
11425 (__argz_append): Likewise.
11426 (__argz_add): Likewise.
11427 (__argz_add_sep): Likewise.
11428 (__argz_delete): Likewise.
11429 (__argz_insert): Likewise.
11430 (__argz_replace): Likewise.
11432 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
11434 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
11435 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
11436 (GNU_PROPERTY_STACK_SIZE): Likewie.
11437 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
11438 (GNU_PROPERTY_LOPROC): Likewise.
11439 (GNU_PROPERTY_HIPROC): Likewise.
11440 (GNU_PROPERTY_LOUSER): Likewise.
11441 (GNU_PROPERTY_HIUSER): Likewise.
11442 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
11443 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
11444 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
11445 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
11446 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
11447 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
11448 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
11449 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
11450 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
11451 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
11452 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
11453 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
11454 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
11455 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
11456 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
11457 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
11458 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
11459 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
11460 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
11461 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
11462 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
11463 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
11464 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
11466 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11468 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
11471 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11474 * math/math.h (isinf): Check if in C or C++ mode before using
11475 __builtin_types_compatible_p, since this is a C mode feature.
11477 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11479 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
11480 (__write_nocancel): New macro.
11481 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
11482 Rewrite as a function prototype.
11483 (write_not_cancel): Remove macro.
11484 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
11485 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
11486 (write_gmon): Likewise.
11487 * libio/fileops.c (_IO_new_file_write): Likewise.
11488 * login/utmp_file.c (pututline_file): Likewise.
11489 (updwtmp_file): Likewise.
11490 * stdio-common/psiginfo.c (psiginfo): Likewise.
11491 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
11492 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
11493 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
11495 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11498 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
11499 (__read_nocancel): New macro.
11500 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
11502 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
11504 (__read_nocancel): New prototype.
11505 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
11506 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
11507 with __read_nocancel.
11508 * intl/loadmsgcat.c (read): Likewise.
11509 * libio/fileops.c (_IO_file_read): Likewise.
11510 * locale/loadlocale.c (_nl_load_locale): Likewise.
11511 * login/utmp_file.c (getutent_r_file): Likewise.
11512 (internal_getut_r): Likewise.
11513 (getutline_r_file): Likewise.
11514 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
11515 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11516 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
11517 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11519 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
11520 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
11521 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
11523 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
11525 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
11527 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11529 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
11531 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
11534 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
11535 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
11538 2017-08-17 DJ Delorie <dj@redhat.com>
11540 * bug17079.c: Update to new test harness.
11541 * test-digits-dots.c: Likewise.
11542 * test-netdb.c: Likewise.
11543 * tst-field.c: Likewise.
11544 * tst-nss-getpwent.c: Likewise.
11545 * tst-nss-static.c: Likewise.
11546 * tst-nss-test1.c: Likewise.
11547 * tst-nss-test2.c: Likewise.
11548 * tst-nss-test3.c: Likewise.
11549 * tst-nss-test4.c: Likewise.
11550 * tst-nss-test5.c: Likewise.
11552 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11554 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
11555 (open_not_cancel_2): Likewise.
11556 (open_nocancel): New macro.
11557 (open64_nocancel): Likewise.
11558 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
11559 (open_not_cancel_2): Likewise.
11560 (__open_nocancel): New prototype.
11561 (__open64_nocancel): Likewise.
11562 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
11564 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
11565 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
11566 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
11567 with __open_nocancel.
11568 * csu/check_fds.c (check_one_fd): Likewise.
11569 * gmon/gmon.c (write_gmon): Likewise.
11570 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
11571 * intl/loadmsgcat.c (open): Likewise.
11572 * libio/fileops.c (_IO_file_open): Likewise.
11573 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11574 * locale/loadlocale.c (_nl_load_locale): Likewise.
11575 * login/utmp_file.c (setutent_file): Likewise.
11576 * misc/daemon.c (daemon): Likewise.
11577 * nss/nss_db/db-open.c (internal_setent): Likewise.
11578 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
11579 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
11580 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
11581 (__opendir): Likewise.
11582 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
11583 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
11584 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
11585 (gethostid): Likewise.
11586 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
11587 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11590 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
11591 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
11592 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
11594 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
11596 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
11598 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
11600 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11602 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11604 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11605 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
11607 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
11609 * benchtests/bench-skeleton.c (main): Add support for
11610 latency benchmarking.
11611 * benchtests/scripts/bench.py: Add support for latency benchmarking.
11613 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
11615 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
11616 the startup object.
11618 2017-08-17 Florian Weimer <fweimer@redhat.com>
11620 * include/sys/socket.h (__opensock): Remove internal_function.
11621 * socket/opensock.c (__opensock): Likewise.
11622 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
11624 2017-08-16 Joseph Myers <joseph@codesourcery.com>
11627 * signal/bits/types/__sigval_t.h: New file.
11628 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
11629 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
11630 and define sigval_t using __sigval_t.
11631 * include/bits/types/__sigval_t.h: New file.
11632 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
11633 instead of <bits/types/__sigval_t.h>.
11634 (struct sigevent): Use __sigval_t instead of sigval_t.
11635 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
11636 instead of <bits/types/__sigval_t.h>.
11637 (siginfo_t): Use __sigval_t instead of sigval_t.
11638 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
11639 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
11640 (struct sigevent): Use __sigval_t instead of sigval_t.
11641 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
11642 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
11643 (siginfo_t): Use __sigval_t instead of sigval_t.
11644 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
11646 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
11648 * NEWS: Remove "[Add new features here]" for 2.27.
11650 2017-08-16 Joseph Myers <joseph@codesourcery.com>
11652 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
11655 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
11657 * NEWS: Mention x86-64 FMA optimization.
11659 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
11662 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11664 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
11665 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
11666 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
11668 2017-08-16 Andreas Schwab <schwab@suse.de>
11672 * elf/ldd.bash.in: Never run file directly.
11674 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
11677 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
11678 (L(SP_INF_0)): Likewise.
11680 2017-08-15 Florian Weimer <fweimer@redhat.com>
11682 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
11685 2017-08-15 Florian Weimer <fweimer@redhat.com>
11687 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
11688 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
11689 BROKEN_THREAD_SIGNALS code.
11690 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
11691 request_list): Remove caller_pid member used for
11692 BROKEN_THREAD_SIGNALS.
11693 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
11694 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
11695 Remove BROKEN_THREAD_SIGNALS support.
11696 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11697 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
11699 2017-08-15 Florian Weimer <fweimer@redhat.com>
11701 * gmon/Makefile (tests): Add tst-gmon.
11702 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
11704 (tests-special): Add tst-gmon-prof.out.
11705 (tst-gmon.out): Depend on clean-tst-gmon-data.
11706 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
11707 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
11708 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
11710 * aclocal.m4 (GPROF): Set and substitute.
11711 * config.amke.in (GPROF): Set.
11712 * configure: Regenerate.
11714 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
11716 * elf/elf.h A (NT_PPC_TAR): New macro.
11717 (NT_PPC_PPR): Likewise.
11718 (NT_PPC_DSCR): Likewise.
11719 (NT_PPC_EBB): Likewise.
11720 (NT_PPC_PMU): Likewise.
11721 (NT_PPC_TM_CGPR): Likewise.
11722 (NT_PPC_TM_CFPR): Likewise.
11723 (NT_PPC_TM_CVMX): Likewise.
11724 (NT_PPC_TM_CVSX): Likewise.
11725 (NT_PPC_TM_SPR): Likewise.
11726 (NT_PPC_TM_CTAR): Likewise.
11727 (NT_PPC_TM_CPPR): Likewise.
11728 (NT_PPC_TM_CDSCR): Likewise.
11730 2017-08-15 Florian Weimer <fweimer@redhat.com>
11732 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
11733 regparm (2) instead of internal_function.
11734 (_MCOUNT_DECL): Adjust.
11736 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11738 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
11739 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11741 2017-08-14 Joseph Myers <joseph@codesourcery.com>
11743 * conform/data/sys/wait.h-data (si_value): Do not expect for
11746 2017-08-14 Florian Weimer <fweimer@redhat.com>
11749 NSS: Create stubs for accidentally exported lookup functions.
11750 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
11751 Remove declaration.
11752 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
11753 (ether_hostton): Call __nss_ethers_lookup2 instead.
11754 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
11755 (ether_ntohost): Call __nss_ethers_lookup2 instead.
11756 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
11757 (setup): Call __nss_netgroup_lookup2 instead.
11758 * nss/Makefile (routines): Add compat-lookup.
11759 * nss/Versions (GLIBC_2.27): Add symbol version.
11760 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
11761 (DB_COMPAT_FCT): Remove.
11762 * nss/compat-lookup.c: New file.
11763 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
11764 from databases.def.
11765 * nss/service-lookup.c (NO_COMPAT): Remove definition.
11766 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
11767 (netname2user): Call __nss_publickey_lookup2 instead.
11768 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
11769 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
11772 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11773 Sergei Trofimovich <slyfox@inbox.ru>
11776 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
11777 Rename to MMAP2_PAGE_UNIT.
11778 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
11779 __OFF_T_MATCHES_OFF64_T is not defined.
11780 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
11782 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
11783 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
11785 2017-08-14 Florian Weimer <fweimer@redhat.com>
11787 i386: Do not set internal_function.
11788 * config.h.in (USE_REGPARMS, internal_function): Remove.
11789 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
11790 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
11792 2017-08-14 Florian Weimer <fweimer@redhat.com>
11794 * elf/dl-init.c (_dl_init): Remove internal_function.
11795 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
11796 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
11798 2017-08-14 Florian Weimer <fweimer@redhat.com>
11800 * elf/rtld.c (_dl_start): Remove internal_function.
11801 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
11804 2017-08-14 Florian Weimer <fweimer@redhat.com>
11806 * elf/dl-fini.c (_dl_fini): Remove internal_function
11807 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
11809 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
11811 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
11812 (bit_cpu_SHSTK): Likewise.
11813 (index_cpu_IBT): Likewise.
11814 (index_cpu_SHSTK): Likewise.
11815 (reg_IBT): Likewise.
11816 (reg_SHSTK): Likewise.
11817 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11818 Handle index_cpu_IBT and index_cpu_SHSTK.
11820 2017-08-14 Mike FABIAN <mfabian@redhat.com>
11823 * po/fr.po: Fix spelling mistake.
11825 2017-08-13 Florian Weimer <fweimer@redhat.com>
11827 * elf/dl-addr.c (_dl_addr): Remove internal_function.
11828 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
11829 (_dl_catch_error, _dl_receive_error): Likewise.
11830 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
11831 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
11832 (_dl_deallocate_tls): Likewise.
11833 * include/dlfcn.h (_dl_addr): Likewise.
11834 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
11835 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
11836 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
11839 2017-08-13 Florian Weimer <fweimer@redhat.com>
11841 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
11842 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
11844 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
11846 2017-08-13 Florian Weimer <fweimer@redhat.com>
11848 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
11850 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
11851 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
11852 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
11853 internal_function from _dl_make_stack_executable_hook member.
11854 (_dl_make_stack_executable): Remove internal_function.
11855 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
11857 * sysdeps/unix/sysv/linux/dl-execstack.c
11858 (_dl_make_stack_executable): Likewise.
11860 2017-08-13 Florian Weimer <fweimer@redhat.com>
11862 * sysdeps/unix/sysv/linux/netlinkaccess.h
11863 (__netlink_assert_response): Remove internal_function.
11864 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11865 (__netlink_assert_response): Likewise.
11867 2017-08-13 Florian Weimer <fweimer@redhat.com>
11869 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
11871 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
11873 2017-08-13 Florian Weimer <fweimer@redhat.com>
11875 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
11877 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
11878 * inet/netgroup.h (__internal_setnetgrent)
11879 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
11880 * inet/getnetgrent_r.c (__internal_setnetgrent)
11881 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
11882 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
11883 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
11884 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
11885 * nss/nsswitch.h (db_lookup_function): Likewise.
11887 2017-08-13 Florian Weimer <fweimer@redhat.com>
11889 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
11890 Remove internal_function.
11891 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
11892 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
11893 message argument on the stack.
11894 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
11897 2017-08-12 Mike FABIAN <mfabian@redhat.com>
11899 Adapt test case data to the changes in the thousands
11903 * localedata/tst-langinfo.sh: Adapt test case data.
11904 * stdlib/tst-strfmon_l.c: Likewise.
11905 * stdlib/tst-strtod4.c: Likewise.
11906 * stdlib/tst-strtod5i.c: Likewise.
11908 2017-08-11 Florian Weimer <fweimer@redhat.com>
11911 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
11912 Suppress pedantic warning resulting from statement expression.
11913 (__ASSERT_FUNCTION): Add missing __extension__.
11915 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11917 * benchtests/bench-memmove-large.c: Print output in JSON
11919 * benchtests/bench-memmove.c: Likewise.
11921 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
11922 * benchtests/bench-memchr.c (do_one_test): Likewise.
11923 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
11924 * benchtests/bench-memcpy.c (do_one_test): Likewise.
11925 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
11926 * benchtests/bench-memmove.c (do_one_test): Likewise.
11927 * benchtests/bench-memset-large.c (do_one_test): Likewise.
11928 * benchtests/bench-memset.c (do_one_test): Likewise.
11929 * benchtests/bench-string.h (test_init): Remove memsets.
11931 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
11934 (Computing the Width of an Integer Data Type): Rename section to
11935 "Width of an Integer Type". Remove inaccurate statement regarding
11936 lack of C language facilities for determining width of integer
11937 types, and reorder content to improve flow and context of
11940 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
11942 * lang.texi (va_copy): Change standard from ISO to C99.
11943 (__va_copy): Add standard and header annotation.
11944 Update description for clarity of origins and current use.
11946 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11949 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
11950 xssqrtqp requires operands to be in Vector Registers
11951 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
11952 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
11953 (__ieee754_sqrtf128): Likewise.
11955 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11957 * sysdeps/aarch64/memcmp.S (memcmp):
11958 Rewrite of optimized memcmp.
11960 2017-08-10 Florian Weimer <fweimer@redhat.com>
11962 Introduce ld.so exceptions.
11963 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
11964 (_dl_exception_create, _dl_exception_create_format)
11965 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
11966 (_dl_catch_exception): Declare.
11967 (_dl_catch_error): Update comment.
11968 * elf/dl-error-skeleton.c (struct catch): Replace objname,
11969 errstring, malloced members with exception member.
11970 (_dl_out_of_memory): Remove.
11971 (fatal_error): New function, extracted from _dl_signal_error.
11972 (_dl_signal_exception, _dl_signal_cexception): New functions.
11973 (_dl_signal_error): Call _dl_exception_create to allocate an
11975 (_dl_catch_exception): New function, based on _dl_catch_error.
11976 (_dl_catch_error): Implement using _dl_catch_exception.
11977 * elf/dl-exception.c: New file.
11978 * elf/Makefile (dl-routines): Add dl-exception.
11979 (elide-routines.os): Likewise.
11980 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
11981 _dl_exception_create_format, _dl_exception_free.
11982 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
11983 _dl_signal_exception.
11984 * elf/dl-lookup.c (make_string): Remove.
11985 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
11986 _dl_signal_cexception, _dl_exception_free.
11987 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
11988 _dl_signal_exception.
11989 * elf/dl-sym.c (do_sym): Likewise.
11990 * elf/dl-version.c (make_string): Remove.
11991 (match_symbol): Use _dl_exception_create_format,
11992 _dl_signal_cexception, _dl_exception_free.
11993 (_dl_check_map_versions): Likewise.
11994 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
11995 _dl_catch_exception.
11996 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11997 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11998 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11999 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12000 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12001 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12002 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12003 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12005 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12012 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12013 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12014 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12016 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12018 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12020 2017-08-10 Florian Weimer <fweimer@redhat.com>
12022 * inet/net-internal.h (__inet6_scopeid_pton): Remove
12023 attribute_hidden, internal_function.
12024 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
12027 2017-08-10 Florian Weimer <fweimer@redhat.com>
12029 * malloc/malloc.c (get_max_fast): Reimplement as an inline
12030 function which calls __builtin_unreachable.
12032 2017-08-10 Mike FABIAN <mfabian@redhat.com>
12034 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
12035 Indian monetary formatting
12036 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
12039 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
12041 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
12042 Fix typo in comment.
12045 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
12046 PTRACE_SEIZE_DEVEL): Remove.
12047 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
12048 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12049 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12053 2017-08-09 Joseph Myers <joseph@codesourcery.com>
12055 * posix/bits/types.h (__qaddr_t): Remove.
12058 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
12059 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12061 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
12062 (ucontext_t): Use __ctx with uc_flags.
12063 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
12064 (__ctxt): Likewise.
12065 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12067 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
12068 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12070 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
12071 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12073 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
12075 (ucontext_t): Use __ctx with uc_flags.
12076 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
12077 (ucontext_t): Use __ctx with uc_flags.
12078 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
12079 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
12080 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
12081 (ucontext_t): Use __ctx with uc_flags.
12082 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
12083 undefine further down.
12084 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
12086 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
12087 undefine further down.
12088 (ucontext_t): Use __ctx with uc_flags.
12089 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
12090 undefine further down.
12091 (ucontext_t): Use __ctx with uc_flags.
12092 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
12093 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
12094 Rename uc_pad to __glibc_reserved1.
12095 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
12096 undefine further down.
12097 (ucontext_t): Use __ctx with uc_flags.
12098 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
12100 (ucontext_t): Use __ctx with uc_flags.
12101 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
12102 __ctx with uc_flags.
12103 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
12104 (ucontext_t): Use __ctx with uc_flags.
12105 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
12106 __ctx with uc_flags.
12108 2017-08-09 Florian Weimer <fweimer@redhat.com>
12111 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
12112 before early return.
12114 2017-08-09 Andreas Schwab <schwab@suse.de>
12117 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
12121 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
12122 tst-compat-forwarder.
12123 (modules-names): Add tst-compat-forwarder-mod.
12124 ($(objpfx)tst-compat-forwarder): Depend on
12125 $(objpfx)tst-compat-forwarder-mod.so.
12126 * nptl/tst-compat-forwarder.c: New file.
12127 * nptl/tst-compat-forwarder-mod.c: New file.
12129 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
12131 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
12134 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
12135 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12137 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
12139 (__libc_ifunc_impl_list): Add __memcpy_falkor.
12140 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
12141 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
12142 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
12144 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
12147 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12150 * manual/setjmp.texi (getcontex): Document uc_stack value
12151 compatibility differences.
12153 2017-08-08 Joseph Myers <joseph@codesourcery.com>
12155 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
12156 (old_malloc_hook): Likewise.
12157 (old_memalign_hook): Likewise.
12158 (old_realloc_hook): Likewise.
12159 (struct hdr): Likewise.
12161 (freehook): Likewise.
12162 (mallochook): Likewise.
12163 (memalignhook): Likewise.
12164 (reallochook): Likewise.
12165 (mprobe): Likewise.
12166 * malloc/mtrace.c (mallwatch): Likewise.
12167 (tr_old_free_hook): Likewise.
12168 (tr_old_malloc_hook): Likewise.
12169 (tr_old_realloc_hook): Likewise.
12170 (tr_old_memalign_hook): Likewise.
12171 (tr_where): Likewise.
12172 (lock_and_info): Likewise.
12173 (tr_freehook): Likewise.
12174 (tr_mallochook): Likewise.
12175 (tr_reallochook): Likewise.
12176 (tr_memalignhook): Likewise.
12177 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
12178 * misc/mmap.c (__mmap): Likewise.
12179 * misc/mmap64.c (__mmap64): Likewise.
12180 * misc/mprotect.c (__mprotect): Likewise.
12181 * misc/msync.c (msync): Likewise.
12182 * misc/munmap.c (__munmap): Likewise.
12183 * posix/posix_madvise.c (posix_madvise): Likewise.
12184 * socket/send.c (__send): Likewise.
12185 * socket/sendto.c (__sendto): Likewise.
12186 * socket/setsockopt.c (__setsockopt): Likewise.
12187 * string/memcmp.c (__ptr_t): Remove macro.
12188 (MEMCMP): Use void * instead of ptr_t.
12189 * string/memrchr.c (__ptr_t): Remove macro.
12190 (__memrchr): Use void * instead of ptr_t.
12191 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
12192 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
12193 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
12194 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
12195 * sysdeps/mach/msync.c (msync): Likewise.
12196 * sysdeps/mach/munmap.c (__munmap): Likewise.
12197 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
12199 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12200 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
12201 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
12202 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
12203 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12204 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12205 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
12206 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
12208 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12209 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
12210 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
12211 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
12212 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
12213 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
12214 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
12215 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
12216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
12218 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
12219 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
12220 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
12221 (MEMCMP): Use void * instead of ptr_t.
12222 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
12223 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
12225 2017-08-08 Florian Weimer <fweimer@redhat.com>
12227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
12230 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
12233 * csu/libc-tls.c: Include <startup.h> first.
12234 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
12235 * elf/dl-tunables.c: Include <startup.h> first.
12236 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
12237 * sysdeps/generic/startup.h: New file.
12238 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
12239 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
12240 (I386_USE_SYSENTER): New. Defined to 0.
12242 2017-08-08 Andreas Schwab <schwab@suse.de>
12245 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
12246 * nptl/pt-system.c (system): Likewise.
12248 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12251 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
12253 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
12254 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
12255 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
12256 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
12257 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12258 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12259 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12261 2017-08-07 Joseph Myers <joseph@codesourcery.com>
12264 * bits/sigaction.h (struct sigaction): Define sa_handler and
12265 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
12266 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12267 [__USE_XOPEN_EXTENDED].
12268 (SA_RESTART): Likewise.
12269 (SA_NODEFER): Likewise.
12270 (SA_RESETHAND): Likewise.
12271 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
12272 (struct sigaction): Define sa_handler and sa_sigaction using union
12273 also for [__USE_XOPEN_EXTENDED].
12274 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12275 [__USE_XOPEN_EXTENDED].
12276 (SA_RESTART): Likewise.
12277 (SA_NODEFER): Likewise.
12278 (SA_RESETHAND): Likewise.
12279 * sysdeps/unix/sysv/linux/bits/sigaction.h
12280 (struct sigaction): Define sa_handler and sa_sigaction using union
12281 also for [__USE_XOPEN_EXTENDED].
12282 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12283 [__USE_XOPEN_EXTENDED].
12284 (SA_RESTART): Likewise.
12285 (SA_NODEFER): Likewise.
12286 (SA_RESETHAND): Likewise.
12287 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
12288 (struct sigaction): Define sa_handler and sa_sigaction using union
12289 also for [__USE_XOPEN_EXTENDED].
12290 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12291 [__USE_XOPEN_EXTENDED].
12292 (SA_RESTART): Likewise.
12293 (SA_NODEFER): Likewise.
12294 (SA_RESETHAND): Likewise.
12295 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
12296 (struct sigaction): Define sa_handler and sa_sigaction using union
12297 also for [__USE_XOPEN_EXTENDED].
12298 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12299 [__USE_XOPEN_EXTENDED].
12300 (SA_RESTART): Likewise.
12301 (SA_NODEFER): Likewise.
12302 (SA_RESETHAND): Likewise.
12303 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
12304 (struct sigaction): Define sa_handler and sa_sigaction using union
12305 also for [__USE_XOPEN_EXTENDED].
12306 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12307 [__USE_XOPEN_EXTENDED].
12308 (SA_RESTART): Likewise.
12309 (SA_NODEFER): Likewise.
12310 (SA_RESETHAND): Likewise.
12311 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12312 (struct sigaction): Define sa_handler and sa_sigaction using union
12313 also for [__USE_XOPEN_EXTENDED].
12314 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12315 [__USE_XOPEN_EXTENDED].
12316 (SA_RESTART): Likewise.
12317 (SA_NODEFER): Likewise.
12318 (SA_RESETHAND): Likewise.
12319 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12320 (struct sigaction): Define sa_handler and sa_sigaction using union
12321 also for [__USE_XOPEN_EXTENDED].
12322 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12323 [__USE_XOPEN_EXTENDED].
12324 (SA_RESTART): Likewise.
12325 (SA_NODEFER): Likewise. Define directly rather than as alias.
12326 (SA_RESETHAND): Likewise.
12327 (SA_INTERRUPT): Define only for [__USE_MISC].
12328 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
12329 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
12331 (SA_STACK): Define only for [__USE_MISC].
12332 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
12333 (struct sigaction): Define sa_handler and sa_sigaction using union
12334 also for [__USE_XOPEN_EXTENDED].
12335 (SA_ONSTACK): Change [__USE_UNIX98] condition to
12336 [__USE_XOPEN_EXTENDED].
12337 (SA_RESTART): Likewise.
12338 (SA_NODEFER): Likewise.
12339 (SA_RESETHAND): Likewise.
12340 (SA_NOPTRACE): Define only for [__USE_MISC].
12342 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
12343 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
12344 (struct catalog_info): Likewise.
12345 * inet/htontest.c (lo): Likewise.
12347 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12348 * inet/inet_net.c (inet_network): Likewise.
12349 * inet/inet_netof.c (inet_netof): Likewise.
12350 * inet/rcmd.c (__ivaliduser): Likewise.
12351 (iruserok): Likewise.
12352 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
12353 * locale/programs/locale-spec.c (locale_special): Likewise.
12354 * nis/nis_findserv.c (struct findserv_req): Likewise.
12355 (__nis_findfastest_with_timeout): Likewise.
12356 * nss/test-netdb.c (test_network): Likewise.
12357 * resolv/inet_neta.c (inet_neta): Likewise.
12358 * resolv/ns_date.c (ns_datetosecs): Likewise.
12359 (SECS_PER_DAY): Likewise.
12360 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
12362 * resolv/res_comp.c (__putlong): Likewise.
12363 (__putshort): Likewise.
12364 (_getlong): Likewise.
12365 (_getshort): Likewise.
12366 * resolv/res_debug.c (p_time): Likewise.
12367 (precsize_ntoa): Likewise.
12368 (precsize_aton): Likewise.
12369 (latlon2ul): Likewise.
12370 (loc_aton): Likewise.
12371 (loc_ntoa): Likewise.
12372 * resolv/res_hconf.c (struct netaddr): Likewise.
12373 (_res_hconf_reorder_addrs): Likewise.
12374 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12375 (clnttcp_control): Likewise.
12376 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12377 (clntudp_control): Likewise.
12378 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12379 (clntunix_control): Likewise.
12380 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12381 * sunrpc/rpc/auth.h (union des_block): Likewise.
12382 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
12383 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
12384 (xdrrec_create): Likewise.
12385 (xdrrec_endofrecord): Likewise.
12386 (flush_out): Likewise.
12387 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
12388 (xdrstdio_putlong): Likewise.
12389 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
12392 * misc/sys/cdefs.h (__long_double_t): Remove.
12393 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
12394 instead of __long_double_t,
12395 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
12397 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12399 * benchtests/scripts/compare_strings.py: Avoid display error when
12400 running on a text terminal.
12402 * benchtests/scripts/compare_strings.py (main): Add an
12403 optional -base option.
12404 (process_results): New argument base_func.
12406 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
12408 * benchtests/bench-memcpy-large.c (test_name): Likewise.
12409 * benchtests/bench-memcpy-random.c (test_name): Likewise.
12411 2017-08-07 Andreas Schwab <schwab@suse.de>
12413 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
12414 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12415 * intl/Makefile ($(objpfx)tst-gettext.out)
12416 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
12417 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
12418 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12419 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12420 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
12421 * posix/Makefile ($(objpfx)globtest.out)
12422 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
12423 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
12424 ($(objpfx)tst-printf.out): Likewise.
12425 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
12426 ($(objpfx)tst-setcontext3.out): Likewise.
12428 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
12430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12431 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
12432 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
12433 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
12434 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
12436 (CFLAGS-doasin-fma.c): New.
12437 (CFLAGS-dosincos-fma.c): Likewise.
12438 (CFLAGS-e_asin-fma.c): Likewise.
12439 (CFLAGS-e_atan2-fma.c): Likewise.
12440 (CFLAGS-e_exp-fma.c): Likewise.
12441 (CFLAGS-e_log-fma.c): Likewise.
12442 (CFLAGS-e_pow-fma.c): Likewise.
12443 (CFLAGS-halfulp-fma.c): Likewise.
12444 (CFLAGS-mpa-fma.c): Likewise.
12445 (CFLAGS-mpatan-fma.c): Likewise.
12446 (CFLAGS-mpatan2-fma.c): Likewise.
12447 (CFLAGS-mpexp-fma.c): Likewise.
12448 (CFLAGS-mplog-fma.c): Likewise.
12449 (CFLAGS-mpsqrt-fma.c): Likewise.
12450 (CFLAGS-mptan-fma.c): Likewise.
12451 (CFLAGS-s_atan-fma.c): Likewise.
12452 (CFLAGS-sincos32-fma.c): Likewise.
12453 (CFLAGS-slowexp-fma.c): Likewise.
12454 (CFLAGS-slowpow-fma.c): Likewise.
12455 (CFLAGS-s_sin-fma.c): Likewise.
12456 (CFLAGS-s_tan-fma.c): Likewise.
12457 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
12459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
12460 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
12461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
12462 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
12463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
12464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
12465 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
12466 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
12467 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
12468 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
12469 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
12470 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
12471 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
12472 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
12473 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
12474 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
12475 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
12476 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
12477 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
12478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
12479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
12480 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
12481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12482 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12483 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12484 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12489 2017-08-04 Joseph Myers <joseph@codesourcery.com>
12491 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
12492 (min_of_type_f): New macro.
12493 (min_of_type_): Likewise.
12494 (min_of_type_l): Likewise.
12495 (min_of_type_f128): Likewise.
12496 (min_of_type): Define using __MATH_TG and taking an expression
12498 (math_check_force_underflow): Pass expression instead of type to
12500 (math_check_force_underflow_nonneg): Likewise.
12502 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12504 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
12505 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
12506 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
12508 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12511 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
12512 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
12513 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
12514 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
12515 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
12516 memcpy_chk-nonshared, mempcpy_chk-nonshared,
12517 memmove_chk-nonshared and memset_chk-nonshared
12518 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
12519 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
12520 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
12521 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
12522 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
12523 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
12524 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
12525 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
12526 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
12527 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
12528 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
12529 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
12530 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
12531 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
12532 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
12533 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
12534 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
12535 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
12536 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
12537 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
12538 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
12539 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
12540 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
12541 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
12542 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
12543 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
12544 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
12545 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
12546 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
12547 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
12548 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
12549 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
12550 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
12551 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
12552 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
12553 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
12554 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
12555 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
12556 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
12557 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
12558 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
12559 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
12560 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
12561 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
12562 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
12563 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
12564 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
12565 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
12566 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
12567 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
12568 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
12569 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
12570 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
12571 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
12572 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
12573 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
12574 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
12575 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
12576 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
12577 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
12578 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
12579 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
12580 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
12581 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
12582 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
12583 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
12584 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
12585 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
12586 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
12587 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
12588 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
12589 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12590 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12591 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12592 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12593 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12594 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12595 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12596 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12597 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12598 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12599 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12600 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12601 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12602 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12603 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12604 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12605 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12606 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12607 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12608 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12609 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12610 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12611 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12612 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12613 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12614 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12615 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12616 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12617 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12618 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12619 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12620 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12621 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12622 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12623 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12624 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12625 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12627 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12629 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
12630 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
12631 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
12632 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
12633 svml_d_log2_core-sse2, svml_d_log4_core-sse,
12634 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
12635 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
12636 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
12637 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
12638 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
12639 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
12640 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
12641 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
12642 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
12643 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
12644 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
12645 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
12646 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
12647 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
12648 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
12649 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
12650 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
12651 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
12652 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
12653 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
12654 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
12655 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
12656 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
12657 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
12658 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
12659 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
12660 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
12661 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
12662 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
12663 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
12664 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
12665 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
12666 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
12667 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
12668 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
12669 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
12670 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
12671 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
12672 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
12673 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
12674 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
12675 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
12676 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
12677 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
12678 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
12679 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
12680 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
12681 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
12682 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
12683 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
12684 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
12685 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
12686 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
12687 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
12689 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
12690 Don't include <sysdep.h> nor <init-arch.h>.
12691 (_ZGVbN2v_cos): Removed.
12692 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
12694 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
12695 Don't include <sysdep.h> nor <init-arch.h>.
12696 (_ZGVdN4v_cos): Removed.
12697 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
12699 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
12700 Don't include <sysdep.h> nor <init-arch.h>.
12701 (_ZGVeN8v_cos): Removed.
12702 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
12704 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
12705 Don't include <sysdep.h> nor <init-arch.h>.
12706 (_ZGVbN2v_exp): Removed.
12707 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
12709 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
12710 Don't include <sysdep.h> nor <init-arch.h>.
12711 (_ZGVdN4v_exp): Removed.
12712 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
12714 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
12715 Don't include <sysdep.h> nor <init-arch.h>.
12716 (_ZGVeN8v_exp): Removed.
12717 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
12719 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
12720 Don't include <sysdep.h> nor <init-arch.h>.
12721 (_ZGVbN2v_log): Removed.
12722 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
12724 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
12725 Don't include <sysdep.h> nor <init-arch.h>.
12726 (_ZGVdN4v_log): Removed.
12727 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
12729 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
12730 Don't include <sysdep.h> nor <init-arch.h>.
12731 (_ZGVeN8v_log): Removed.
12732 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
12734 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
12735 Don't include <sysdep.h> nor <init-arch.h>.
12736 (_ZGVbN2vv_pow): Removed.
12737 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
12739 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
12740 Don't include <sysdep.h> nor <init-arch.h>.
12741 (_ZGVdN4vv_pow): Removed.
12742 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
12744 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
12745 Don't include <sysdep.h> nor <init-arch.h>.
12746 (_ZGVeN8vv_pow): Removed.
12747 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
12749 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
12750 Don't include <sysdep.h> nor <init-arch.h>.
12751 (_ZGVbN2v_sin): Removed.
12752 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
12754 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
12755 Don't include <sysdep.h> nor <init-arch.h>.
12756 (_ZGVbN4v_sin): Removed.
12757 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
12759 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
12760 Don't include <sysdep.h> nor <init-arch.h>.
12761 (_ZGVbN8v_sin): Removed.
12762 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
12764 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
12765 Don't include <sysdep.h> nor <init-arch.h>.
12766 (_ZGVbN2vvv_sincos): Removed.
12767 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
12769 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
12770 Don't include <sysdep.h> nor <init-arch.h>.
12771 (_ZGVdN4vvv_sincos): Removed.
12772 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
12774 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
12775 Don't include <sysdep.h> nor <init-arch.h>.
12776 (_ZGVeN8vvv_sincos): Removed.
12777 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
12779 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
12780 Don't include <sysdep.h> nor <init-arch.h>.
12781 (_ZGVeN16v_cosf): Removed.
12782 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
12784 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
12785 Don't include <sysdep.h> nor <init-arch.h>.
12786 (_ZGVbN4v_cosf): Removed.
12787 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
12789 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
12790 Don't include <sysdep.h> nor <init-arch.h>.
12791 (_ZGVdN8v_cosf): Removed.
12792 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
12794 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
12795 Don't include <sysdep.h> nor <init-arch.h>.
12796 (_ZGVeN16v_expf): Removed.
12797 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
12799 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
12800 Don't include <sysdep.h> nor <init-arch.h>.
12801 (_ZGVbN4v_expf): Removed.
12802 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
12804 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
12805 Don't include <sysdep.h> nor <init-arch.h>.
12806 (_ZGVdN8v_expf): Removed.
12807 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
12809 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
12810 Don't include <sysdep.h> nor <init-arch.h>.
12811 (_ZGVeN16v_logf): Removed.
12812 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
12814 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
12815 Don't include <sysdep.h> nor <init-arch.h>.
12816 (_ZGVbN4v_logf): Removed.
12817 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
12819 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
12820 Don't include <sysdep.h> nor <init-arch.h>.
12821 (_ZGVdN8v_logf): Removed.
12822 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
12824 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
12825 Don't include <sysdep.h> nor <init-arch.h>.
12826 (_ZGVeN16vv_powf): Removed.
12827 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
12829 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
12830 Don't include <sysdep.h> nor <init-arch.h>.
12831 (_ZGVbN4vv_powf): Removed.
12832 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
12834 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
12835 Don't include <sysdep.h> nor <init-arch.h>.
12836 (_ZGVdN8vv_powf): Removed.
12837 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
12839 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
12840 Don't include <sysdep.h> nor <init-arch.h>.
12841 (_ZGVeN16vvv_sincosf): Removed.
12842 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
12844 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
12845 Don't include <sysdep.h> nor <init-arch.h>.
12846 (_ZGVbN4vvv_sincosf): Removed.
12847 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
12849 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
12850 Don't include <sysdep.h> nor <init-arch.h>.
12851 (_ZGVdN8vvv_sincosf): Removed.
12852 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
12854 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
12855 Don't include <sysdep.h> nor <init-arch.h>.
12856 (_ZGVeN16v_sinf): Removed.
12857 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
12859 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
12860 Don't include <sysdep.h> nor <init-arch.h>.
12861 (_ZGVbN4v_sinf): Removed.
12862 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
12864 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
12865 Don't include <sysdep.h> nor <init-arch.h>.
12866 (_ZGVdN8v_sinf): Removed.
12868 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12870 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12871 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
12872 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
12873 s_rint-sse4_1 and s_rintf-sse4_1.
12874 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
12875 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12876 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12877 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12878 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12879 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
12880 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
12881 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12882 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12883 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
12884 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
12885 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
12887 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
12888 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
12889 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
12890 (__ceilf): Removed.
12891 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
12892 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
12893 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
12894 (__floor): Removed.
12895 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
12896 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
12897 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
12898 (__floorf): Removed.
12899 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
12900 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
12901 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
12902 (__nearbyint): Removed.
12903 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
12904 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
12905 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
12906 (__nearbyintf): Removed.
12907 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
12908 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
12909 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
12911 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
12912 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
12913 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
12914 (__rintf): Removed.
12916 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12918 * sysdeps/i386/start.S (_start): Check Check PIC instead of
12919 SHARED. Avoid dynamic relocation against main in static PIE.
12921 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12924 * elf/Makefile (CFLAGS-tst-prelink.c): New.
12925 (LDFLAGS-tst-prelink): Likewise.
12927 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12929 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
12930 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
12931 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
12932 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12933 (INTERNAL_SYSCALL_NCS): Likewise.
12934 (LOADARGS_1): Likewise.
12935 (LOADARGS_5): Likewise.
12936 (RESTOREARGS_1): Likewise.
12937 (RESTOREARGS_5): Likewise.
12939 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12941 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
12942 (MEMPCPY_SYMBOL): Likewise.
12943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12944 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
12945 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
12947 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12948 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12950 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
12951 (__hidden_ver1): Don't use in libc.a.
12952 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12953 (__mempcpy): Don't create a weak alias in libc.a.
12954 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
12956 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
12957 (__hidden_ver1): Don't use in libc.a.
12959 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12961 * config.make.in (have-insert): New.
12962 * configure.ac (libc_cv_insert): New. Set to yes if linker
12963 supports INSERT in linker script.
12964 (AC_SUBST(libc_cv_insert): New.
12965 * configure: Regenerated.
12966 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
12967 if $(have-insert) == yes.
12969 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12971 * elf/Makefile (tests): Add vismain only if
12972 $(have-protected-data) == yes.
12973 (tests-pie): Likewise.
12975 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12978 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12979 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
12981 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
12984 * sysdeps/i386/i586/memset.S
12985 (__memset_zero_constant_len_parameter): Removed.
12986 * sysdeps/i386/i686/memset.S
12987 (__memset_zero_constant_len_parameter): Likewise.
12988 * sysdeps/i386/i686/multiarch/memset_chk.S
12989 (__memset_zero_constant_len_parameter): Likewise.
12990 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
12993 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
12995 * stdlib/getentropy.c (getentropy): Change return type to int.
12997 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
12999 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13001 2017-08-03 Joseph Myers <joseph@codesourcery.com>
13003 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
13005 * math/s_nexttowardf.c (__nexttowardf): Likewise.
13006 * sysdeps/generic/math_private.h (ieee_double_shape_type):
13008 (ieee_float_shape_type): Likewise.
13009 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
13010 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
13011 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13012 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13013 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13014 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
13015 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
13016 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13017 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13019 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13020 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13021 (__ieee754_yn): Likewise.
13022 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13023 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13024 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
13026 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13027 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
13028 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
13029 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
13030 (__erfc): Likewise.
13031 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13032 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
13033 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
13034 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
13035 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
13036 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
13038 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13039 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
13040 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13041 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
13042 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13043 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
13044 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
13045 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
13046 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
13047 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13048 (__issignaling): Likewise.
13049 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
13050 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
13051 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13053 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13054 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
13055 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13056 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
13058 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
13060 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
13061 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
13062 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
13063 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13064 (__erfcf): Likewise.
13065 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13066 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13067 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
13068 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
13070 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
13071 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
13073 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13074 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
13075 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13076 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
13077 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
13078 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13079 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
13080 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
13082 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
13084 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13086 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
13087 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13089 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13091 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13092 (__ieee754_ynl): Likewise.
13093 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13094 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
13096 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
13098 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13099 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
13100 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13102 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13103 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
13104 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
13105 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
13106 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
13107 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13108 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
13109 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
13111 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13112 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
13113 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
13115 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
13116 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
13117 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13118 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13119 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
13120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13122 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13124 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13126 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13128 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
13129 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13130 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13131 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
13132 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13133 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
13134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
13136 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13138 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13139 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13142 (__ieee754_remainderl): Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13144 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13145 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13148 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13151 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13152 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
13153 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13154 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13155 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13158 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13159 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13160 (__ieee754_y0l): Likewise.
13163 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13164 (__ieee754_y1l): Likewise.
13167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13168 (__ieee754_ynl): Likewise.
13169 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13170 (__ieee754_lgammal_r): Likewise.
13171 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
13173 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13174 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
13175 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13176 (__erfcl): Likewise.
13177 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13178 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
13180 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
13181 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
13182 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13183 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
13184 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
13185 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13186 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13188 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
13189 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13190 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
13191 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
13192 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13194 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
13195 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
13197 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
13198 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
13199 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
13200 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13201 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
13203 2017-08-03 Florian Weimer <fweimer@redhat.com>
13206 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
13207 on memory allocation failure.
13209 2017-08-03 Alan Modra <amodra@gmail.com>
13211 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
13212 tst-tlsopt-powerpc.c with function name change and no test harness.
13213 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
13214 Call tls_get_addr_opt_test.
13215 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
13216 (modules-names): Add mod-tlsopt-powerpc.
13217 (mod-tlsopt-powerpc.so-no-z-defs): Define.
13218 (tst-tlsopt-powerpc): Depend on .so.
13219 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
13220 define. Expand use in TLS_GD and TLS_LD.
13222 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13224 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
13226 * sysdeps/posix/shm_open.c: Include <pthread.h>.
13228 2017-08-02 Joseph Myers <joseph@codesourcery.com>
13231 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
13232 comparing size with that of double.
13233 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
13234 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
13235 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
13236 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
13237 (__TGMATH_BINARY_REAL_IMAG): Likewise.
13238 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
13239 unsigned __int128 types.
13241 2017-08-02 Steve Ellcey <sellcey@cavium.com>
13243 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
13244 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
13245 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
13246 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
13247 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
13249 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
13251 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
13253 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
13255 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
13257 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
13258 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13259 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13260 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13261 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13262 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13263 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13265 2017-08-02 Joseph Myers <joseph@codesourcery.com>
13268 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
13269 bit-field expressions passed to sizeof or typeof.
13270 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13271 (__TGMATH_F128): Likewise.
13272 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13273 (__TGMATH_CF128): Likewise.
13274 (__TGMATH_UNARY_REAL_ONLY): Likewise.
13275 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
13276 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
13277 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
13278 (__TGMATH_BINARY_REAL_ONLY): Likewise.
13279 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
13280 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
13281 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
13282 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
13283 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
13284 (__TGMATH_UNARY_REAL_IMAG): Likewise.
13285 (__TGMATH_UNARY_IMAG): Likewise.
13286 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
13287 (__TGMATH_BINARY_REAL_IMAG): Likewise.
13288 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
13290 (define_vars_for_type): Handle bit_field type specially.
13291 (Tests.__init__): Declare structure with bit-field element.
13293 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
13296 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
13297 (MEMCPY_CHK): Define only if SHARED is defined.
13298 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
13300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
13303 See ChangeLog.18 for earlier changes.