1 2017-10-11 Andreas Schwab <schwab@suse.de>
3 * nis/Makefile (aux): Remove.
4 * nscd/Makefile (aux): Add nscd_hash.
5 (nscd-modules): Likewise.
6 ($(objpfx)nscd): Don't depend on libnsl.
7 * nscd/nscd_hash.c: New file.
8 * nscd/nscd_hash.h: Likewise.
9 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
10 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
11 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
12 instead of <nis/rpcsvc/nis.h>.
13 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
15 2017-10-11 Florian Weimer <fweimer@redhat.com>
18 Avoid large NSS buffers with many addresses, aliases.
19 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
20 using dynarrays and struct alloc_buffer.
21 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
22 (tst-nss-files-hosts-multi): Link with -ldl.
23 * nss/tst-nss-files-hosts-multi.c: New file.
25 2017-10-11 Florian Weimer <fweimer@redhat.com>
28 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
29 scratch_buffer. Eliminate gotos.
31 2017-10-11 Joseph Myers <joseph@codesourcery.com>
33 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
34 libm_alias_ldouble_other.
35 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
36 undefine and redefine.
37 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
38 (exp10l): Do not define here.
39 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
40 (weak_alias): Undefine and redefine.
41 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
42 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
43 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
44 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
46 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
47 [!__fma] (fma): Define using libm_alias_double.
48 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
49 [!__fmaf] (fmaf): Define using libm_alias_float.
50 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
51 (fmal): Define using libm_alias_ldouble.
53 2017-10-10 Joseph Myers <joseph@codesourcery.com>
55 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
57 (libm_alias_double_other): Likewise.
58 (libm_alias_double_r): Use libm_alias_double_other_r.
59 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
61 (libm_alias_float_other): Likewise.
62 (libm_alias_float_r): Use libm_alias_float_other_r.
63 * sysdeps/generic/libm-alias-float128.h
64 (libm_alias_float128_other_r): New macro.
65 (libm_alias_float128_other): Likewise.
66 (libm_alias_float128_r): Use libm_alias_float128_other_r.
67 * sysdeps/generic/libm-alias-ldouble.h
68 (libm_alias_ldouble_other_r): New macro.
69 (libm_alias_ldouble_other): Likewise.
70 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
71 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
72 (libm_alias_double_other_r): New macro.
73 (libm_alias_double_other): Likewise.
74 (libm_alias_double_r): Use libm_alias_double_other_r.
75 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
76 (libm_alias_ldouble_other_r): New macro.
77 (libm_alias_ldouble_other): Likewise.
78 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
79 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
80 [!USE_AS_COMPAT]: Use libm_alias_double_other.
81 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
82 [!USE_AS_COMPAT]: Use libm_alias_float_other.
83 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
84 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
85 * math/w_exp2f.c: Use libm_alias_float_other.
86 * math/w_expf.c: Likewise.
87 * math/w_log2f.c: Likewise.
88 * math/w_logf.c: Likewise.
89 * math/w_powf.c: Likewise.
90 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
91 [!__exp2f]: Use libm_alias_float_other.
92 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
93 [!__expf]: Use libm_alias_float_other.
94 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
95 [!__log2f]: Use libm_alias_float_other.
96 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
97 [!__logf]: Use libm_alias_float_other.
98 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
99 [!__powf]: Use libm_alias_float_other.
101 2017-10-10 Florian Weimer <fweimer@redhat.com>
103 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
105 (_nss_files_gethostbyname3_r): Call it.
107 2017-10-09 Joseph Myers <joseph@codesourcery.com>
109 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
110 error. Remove default definition of declare_mgen_alias.
111 [!declare_mgen_alias_r]: Likewise.
112 * sysdeps/generic/math-type-macros-double.h
113 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
114 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
115 (declare_mgen_alias_r): Likewise.
116 * sysdeps/generic/math-type-macros-float128.h
117 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
118 * sysdeps/generic/math-type-macros-ldouble.h
119 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
120 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
122 (declare_mgen_alias_r_s): Likewise.
123 (declare_mgen_alias_r): Likewise.
124 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
125 (lgamma_r): Define using libm_alias_double_r.
126 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
127 (lgammaf_r): Define using libm_alias_float_r.
128 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
129 (lgammal_r): Define using libm_alias_ldouble_r.
130 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
131 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
133 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
135 * lib/glob.c (__glob_pattern_type): Remove now-spurious
138 2017-10-09 Joseph Myers <joseph@codesourcery.com>
140 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
142 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
145 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
146 [__cplusplus >= 201103] (__USE_ISOC99): Define.
147 * math/Makefile (test-math-cxx11): New test.
148 * math/test-math-cxx11.cc: New file.
150 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
152 * login/openpty.c (openpty): Close slave pty file descriptor on error.
154 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
155 call to allocate the slave pty file descriptor.
157 2017-10-06 Joseph Myers <joseph@codesourcery.com>
159 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
160 [!__fma] (fma): Define using libm_alias_double.
161 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
162 [!__fma] (fma): Define using libm_alias_double.
164 * sysdeps/ieee754/float128/float128_private.h: Include
165 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
166 (libm_alias_ldouble_r): Undefine and redefine.
167 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
168 <libm-alias-ldouble.h>.
169 (asinhl): Define using libm_alias_ldouble.
170 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
171 <libm-alias-ldouble.h>.
172 (atanl): Define using libm_alias_ldouble.
173 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
174 <libm-alias-ldouble.h>.
175 (cbrtl): Define using libm_alias_ldouble.
176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
177 <libm-alias-ldouble.h>.
178 (ceill): Define using libm_alias_ldouble.
179 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
180 <libm-alias-ldouble.h>.
181 (copysignl): Define using libm_alias_ldouble.
182 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
183 <libm-alias-ldouble.h>.
184 (cosl): Define using libm_alias_ldouble.
185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
186 <libm-alias-ldouble.h>.
187 (erfl): Define using libm_alias_ldouble.
189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
190 <libm-alias-ldouble.h>.
191 (expm1l): Define using libm_alias_ldouble.
192 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
193 <libm-alias-ldouble.h>.
194 (fabsl): Define using libm_alias_ldouble.
195 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
196 <libm-alias-ldouble.h>.
197 (floorl): Define using libm_alias_ldouble.
198 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
199 <libm-alias-ldouble.h>.
200 (fmal): Define using libm_alias_ldouble.
201 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
202 <libm-alias-ldouble.h>.
203 (frexpl): Define using libm_alias_ldouble.
204 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
206 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
207 <libm-alias-ldouble.h>.
208 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
210 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
211 <libm-alias-ldouble.h>.
212 (getpayloadl): Define using libm_alias_ldouble.
213 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
214 <libm-alias-ldouble.h>.
215 (llrintl): Define using libm_alias_ldouble.
216 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
217 <libm-alias-ldouble.h>.
218 (llroundl): Define using libm_alias_ldouble.
219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
220 <libm-alias-ldouble.h>.
221 (logbl): Define using libm_alias_ldouble.
222 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
223 <libm-alias-ldouble.h>.
224 (lrintl): Define using libm_alias_ldouble.
225 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
226 <libm-alias-ldouble.h>.
227 (lroundl): Define using libm_alias_ldouble.
228 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
229 <libm-alias-ldouble.h>.
230 (modfl): Define using libm_alias_ldouble.
231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
232 <libm-alias-ldouble.h>.
233 (nearbyintl): Define using libm_alias_ldouble.
234 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
235 <libm-alias-ldouble.h>.
236 (nextafterl): Define using libm_alias_ldouble.
237 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
238 <libm-alias-ldouble.h>.
239 (nextupl): Define using libm_alias_ldouble.
240 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
241 <libm-alias-ldouble.h>.
242 (remquol): Define using libm_alias_ldouble.
243 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
244 <libm-alias-ldouble.h>.
245 (rintl): Define using libm_alias_ldouble.
246 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
247 <libm-alias-ldouble.h>.
248 (roundevenl): Define using libm_alias_ldouble.
249 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
250 <libm-alias-ldouble.h>.
251 (roundl): Define using libm_alias_ldouble.
252 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
253 using libm_alias_ldouble.
254 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
255 <libm-alias-ldouble.h>.
256 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
257 Define using libm_alias_ldouble.
258 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
259 <libm-alias-ldouble.h>.
260 (sincosl): Define using libm_alias_ldouble.
261 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
262 <libm-alias-ldouble.h>.
263 (sinl): Define using libm_alias_ldouble.
264 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
265 <libm-alias-ldouble.h>.
266 (tanhl): Define using libm_alias_ldouble.
267 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
268 <libm-alias-ldouble.h>.
269 (tanl): Define using libm_alias_ldouble.
270 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
271 <libm-alias-ldouble.h>.
272 (totalorderl): Define using libm_alias_ldouble.
273 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
274 <libm-alias-ldouble.h>.
275 (totalordermagl): Define using libm_alias_ldouble.
276 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
277 <libm-alias-ldouble.h>.
278 (truncl): Define using libm_alias_ldouble.
279 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
281 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
283 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
284 <libm-alias-ldouble.h>.
285 (weak_alias): Do not undefine and redefine.
286 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
287 (copysignl): Define with long_double_symbol only if [IS_IN
289 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
290 <libm-alias-ldouble.h>.
291 (weak_alias): Do not undefine and redefine.
292 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
293 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
294 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
295 <libm-alias-ldouble.h>.
296 (weak_alias): Do not undefine and redefine.
297 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
298 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
299 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
300 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
301 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
302 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
303 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
304 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
305 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
306 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
307 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
308 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
309 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
310 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
311 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
312 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
313 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
314 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
315 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
316 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
317 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
318 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
319 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
320 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
321 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
322 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
324 2017-10-06 Carlos O'Donell <carlos@redhat.com>
327 * malloc/malloc.c (tcache_shutting_down): Use bool type.
328 (tcache_thread_freeres): Set tcache_shutting_down before
330 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
331 * malloc/tst-malloc-tcache-leak.c: New file.
333 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
335 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
336 back to powerpc32 file.
337 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
338 (memrchr): Add __memrchr_power8 to ifunc list.
339 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
340 extra bytes for unaligned inputs.
342 2017-10-06 Joseph Myers <joseph@codesourcery.com>
344 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
345 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
346 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
347 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
348 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
350 2017-10-05 Joseph Myers <joseph@codesourcery.com>
352 * sysdeps/arm/libm-test-ulps: Update.
354 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
355 <libm-alias-ldouble.h>.
356 (asinhl): Define using libm_alias_ldouble.
357 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
358 <libm-alias-ldouble.h>.
359 (cbrtl): Define using libm_alias_ldouble.
360 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
361 <libm-alias-ldouble.h>.
362 (copysignl): Define using libm_alias_ldouble.
363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
364 <libm-alias-ldouble.h>.
365 (cosl): Define using libm_alias_ldouble.
366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
367 <libm-alias-ldouble.h>.
368 (erfl): Define using libm_alias_ldouble.
370 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
371 <libm-alias-ldouble.h>.
372 (fmal): Define using libm_alias_ldouble.
373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
374 <libm-alias-ldouble.h>.
375 (frexpl): Define using libm_alias_ldouble.
376 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
378 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
379 <libm-alias-ldouble.h>.
380 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
382 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
383 <libm-alias-ldouble.h>.
384 (getpayloadl): Define using libm_alias_ldouble.
385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
386 <libm-alias-ldouble.h>.
387 (llrintl): Define using libm_alias_ldouble.
388 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
389 <libm-alias-ldouble.h>.
390 (llroundl): Define using libm_alias_ldouble.
391 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
392 <libm-alias-ldouble.h>.
393 (lrintl): Define using libm_alias_ldouble.
394 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
395 <libm-alias-ldouble.h>.
396 (lroundl): Define using libm_alias_ldouble.
397 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
398 <libm-alias-ldouble.h>.
399 (modfl): Define using libm_alias_ldouble.
400 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
401 <libm-alias-ldouble.h>.
402 (nextupl): Define using libm_alias_ldouble.
403 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
404 <libm-alias-ldouble.h>.
405 (remquol): Define using libm_alias_ldouble.
406 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
407 <libm-alias-ldouble.h>.
408 (roundevenl): Define using libm_alias_ldouble.
409 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
410 <libm-alias-ldouble.h>.
411 (roundl): Define using libm_alias_ldouble.
412 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
413 using libm_alias_ldouble.
414 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
415 <libm-alias-ldouble.h>.
416 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
417 <libm-alias-ldouble.h>.
418 (setpayloadsigl): Define using libm_alias_ldouble.
419 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
420 <libm-alias-ldouble.h>.
421 (sincosl): Define using libm_alias_ldouble.
422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
423 <libm-alias-ldouble.h>.
424 (sinl): Define using libm_alias_ldouble.
425 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
426 <libm-alias-ldouble.h>.
427 (tanhl): Define using libm_alias_ldouble.
428 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
429 <libm-alias-ldouble.h>.
430 (tanl): Define using libm_alias_ldouble.
431 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
432 <libm-alias-ldouble.h>.
433 (totalorderl): Define using libm_alias_ldouble.
434 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
435 <libm-alias-ldouble.h>.
436 (totalordermagl): Define using libm_alias_ldouble.
437 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
439 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
442 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
444 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
446 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
447 (__libc_ifunc_impl_list): Likewise.
448 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
449 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
451 * benchtests/bench-memmove-walk.c: New file.
452 * benchtests/Makefile (string-benchset): Add it.
454 * benchtests/bench-memset-walk.c: New file.
455 * benchtests/Makefile (string-benchset): Add it.
457 * benchtests/bench-memcpy-walk.c: New file.
458 * benchtests/Makefile (string-benchset): Add it.
460 2017-10-05 Florian Weimer <fweimer@redhat.com>
462 nscd: Eliminate compilation time dependency in the build output.
463 * nscd/nscd_stat.c (STATDATA_VERSION)
464 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
465 (STATDATA_VERSION_FULL): New macro definitions.
466 (compilation): Remove.
467 (struct statdata): Adjust version member.
468 (send_stats): Set version from STATDATA_VERSION_FULL.
469 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
471 2017-10-05 Joseph Myers <joseph@codesourcery.com>
473 * configure.ac (--enable-add-ons): Remove option.
474 (machine): Do not mention add-ons in comment.
475 (LIBC_PRECONFIGURE): Likewise.
476 (add_ons): Remove variable and sanity checks and logic to locate
478 (add_ons_automatic): Remove variable.
479 (configured_add_ons): Likewise.
480 (add_ons_sfx): Likewise.
481 (add_ons_pfx): Likewise.
482 (add_on_subdirs): Likewise.
483 (sysnames_add_ons): Likewise. Remove loop over add-ons and
484 consideration of add-ons in Implies handling.
485 (sysdeps_add_ons): Likewise.
486 * configure: Regenerated.
487 * libidn/configure.ac: Remove.
488 * libidn/configure: Likewise.
489 * sysdeps/unix/inet/configure.ac: New file.
490 * sysdeps/unix/inet/configure: New generated file.
491 * sysdeps/unix/inet/Subdirs: Add libidn.
492 * Makeconfig (sysdeps-srcdirs): Remove variable.
493 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
494 ($(common-objpfx)config.status): Do not depend on add-on files.
495 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
497 (all-subdirs): Do not include $(add-on-subdirs).
498 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
499 * config.make.in (add-ons): Remove variable.
500 (add-on-subdirs): Likewise.
501 (sysdeps-add-ons): Likewise.
502 * manual/Makefile (add-chapters): Remove.
503 ($(objpfx)texis): Do not depend on $(add-chapters).
504 (nonexamples): Do not handle $(add-chapters).
505 (examples): Do not handle $(add-ons).
506 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
508 * manual/install.texi (Installation): Do not mention add-ons.
509 (--enable-add-ons): Do not document configure option.
510 * INSTALL: Regenerated.
511 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
512 * manual/maint.texi (Hierarchy Conventions): Do not mention
514 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
516 * scripts/gen-sorted.awk: Do not handle Subdirs files from
518 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
519 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
521 2017-10-05 Andreas Schwab <schwab@suse.de>
524 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
525 (_IO_flush_all_lockp): Always lock list_all_lock.
526 (_IO_flush_all_linebuffered): Likewise.
527 (_IO_unbuffer_all): Likewise.
529 2017-10-05 Florian Weimer <fweimer@redhat.com>
532 Do not flush stdio streams on abort.
533 * stdlib/abort.c (fflush): Remove macro definition.
534 (abort): Remove stages related to stdio flushing.
536 2017-10-05 Florian Weimer <fweimer@redhat.com>
538 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
540 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
542 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
544 2017-10-05 Florian Weimer <fweimer@redhat.com>
546 * support/support_format_hostent.c (support_format_hostent): Add
547 more error information for NETDB_INTERNAL.
549 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
551 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
552 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
553 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
554 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
555 AC_DEFINE if multi-arch is enabled.
556 * sysdeps/i386/configure: Regenerated.
558 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
560 * Makeconfig (+link-static-before-libc): Use
561 $(DEFAULT-LDFLAGS-$(@F)).
562 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
563 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
564 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
566 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
568 * elf/Makefile (tests): Add tst-main1.
569 (modules-names): Add tst-main1mod.
570 ($(objpfx)tst-main1): New.
571 (CRT-tst-main1): Likewise.
572 (LDFLAGS-tst-main1): Likewise.
573 (LDLIBS-tst-main1): Likewise.
574 (tst-main1mod.so-no-z-defs): Likewise.
575 * elf/tst-main1.c: New file.
576 * elf/tst-main1mod.c: Likewise.
578 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
580 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
582 2017-10-04 Joseph Myers <joseph@codesourcery.com>
584 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
585 (fma): Define using libm_alias_double.
586 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
587 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
589 (fmal): Do not define as compat symbol here.
590 * sysdeps/alpha/fpu/s_fma.c: New file.
592 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
594 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
596 2017-10-04 Joseph Myers <joseph@codesourcery.com>
599 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
601 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
603 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
604 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
605 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
606 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
608 Include <math_ldbl_opt.h>
609 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
611 (compat_symbol): Undefine and redefine.
612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
614 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
615 (compat_symbol): Undefine and redefine.
616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
617 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
618 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
620 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
621 GLIBC_2.0 copysignl symbol.
622 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
623 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
625 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
627 2017-10-04 Florian Weimer <fweimer@redhat.com>
629 * scripts/check-local-headers.sh: Ignore nspr4 header file
630 directory in addition to nspr.
632 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
635 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
636 * configure: Regenerate.
637 * crypt/Makefile (nss-cpp-flags): New variable.
638 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
639 (CPPFLAGS-md5-crypt.c): Use it.
640 * scripts/check-local-headers.sh: Ignore nspr header file
643 2017-10-04 Andreas Schwab <schwab@suse.de>
645 * nis/Makefile (services): Remove compat.
646 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
647 ($(objpfx)libnss_compat.so): Remove rule.
648 * nis/Versions (libnss_compat): Remove.
649 * nss/Makefile (services): Add compat.
650 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
651 * nss/Versions (libnss_compat): Define.
652 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
653 Don't include <rpc/types.h>. Replace bool_t by bool.
654 * nss/nss_compat/compat-initgroups.c: Likewise.
655 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
656 instead of <rpcsrv/ypclnt.h>.
657 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
658 yp_get_default_domain.
659 * nss/nss_compat/compat-pwd.c: Likewise.
660 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
661 yp_get_default_domain.
662 * nss/nss_compat/nisdomain.c: New file.
663 * nss/nss_compat/nisdomain.h: Likewise.
665 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
668 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
669 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
671 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
677 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
679 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
680 "movl main@GOTOFF(%ebx), %eax".
682 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
684 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
685 allow undefined _DYNAMIC in PIE libc.a.
686 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
689 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
691 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
694 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
696 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
699 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
701 * math/test-math-iscanonical.cc (error): Replace bool with int.
703 2017-10-03 Joseph Myers <joseph@codesourcery.com>
705 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
706 (modf): Define using libm_alias_double, only if [!__modf].
707 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
708 <libm-alias-double.h>.
709 (modf): Define using libm_alias_double, only if [!__modf].
710 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
713 (weak_alias): Do not undefine and redefine.
714 (strong_alias): Likewise.
715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
716 (weak_alias): Likewise.
717 (strong_alias): Likewise.
719 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
720 (logb): Define using libm_alias_double, only if [!__logb].
721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
722 <libm-alias-double.h>.
723 (logb): Define using libm_alias_double, only if [!__logb].
724 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
726 (weak_alias): Do not undefine and redefine.
727 (strong_alias): Likewise.
728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
729 (weak_alias): Likewise.
730 (strong_alias): Likewise.
732 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
734 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
735 Check SHARED instead PIC.
737 2017-10-03 Joseph Myers <joseph@codesourcery.com>
739 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
740 [!__fmaf] (fmaf): Define using libm_alias_float.
742 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
743 (frexp): Define using libm_alias_double.
744 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
745 <libm-alias-double.h>.
746 (frexp): Define using libm_alias_double.
747 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
750 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
753 * math/math.h: Trivial fix for unbalanced parentheses in comment.
754 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
755 (CFLAGS-test-math-iscanonical.cc): New variable.
756 * math/test-math-iscanonical.cc: New file.
757 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
758 Provide a C++ implementation based on function overloading,
759 rather than using __MATH_TG, which uses C-only builtins.
760 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
762 * sysdeps/powerpc/powerpc64le/Makefile
763 (CFLAGS-test-math-iscanonical.cc): New variable.
765 2017-10-03 Joseph Myers <joseph@codesourcery.com>
767 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
768 (ceil): Define using libm_alias_double.
769 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
770 (floor): Define using libm_alias_double.
771 * sysdeps/ieee754/dbl-64/s_llround.c: Include
772 <libm-alias-double.h>.
773 (llround): Define using libm_alias_double.
774 * sysdeps/ieee754/dbl-64/s_lround.c: Include
775 <libm-alias-double.h>.
776 (lround): Define using libm_alias_double.
777 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
778 <libm-alias-double.h>.
779 (nearbyint): Define using libm_alias_double.
780 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
781 <libm-alias-double.h>.
782 (remquo): Define using libm_alias_double.
783 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
784 (rint): Define using libm_alias_double.
785 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
786 (round): Define using libm_alias_double.
787 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
788 (trunc): Define using libm_alias_double.
789 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
790 <libm-alias-double.h>.
791 (ceil): Define using libm_alias_double.
792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
793 <libm-alias-double.h>.
794 (floor): Define using libm_alias_double.
795 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
796 <libm-alias-double.h>.
797 (llround): Define using libm_alias_double.
798 [_LP64] (lround): Likewise.
799 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
800 <libm-alias-double.h>.
801 [!_LP64] (lround): Define using libm_alias_double.
802 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
803 <libm-alias-double.h>.
804 (nearbyint): Define using libm_alias_double.
805 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
806 <libm-alias-double.h>.
807 (remquo): Define using libm_alias_double.
808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
809 <libm-alias-double.h>.
810 (rint): Define using libm_alias_double.
811 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
812 <libm-alias-double.h>.
813 (round): Define using libm_alias_double.
814 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
815 <libm-alias-double.h>.
816 (trunc): Define using libm_alias_double.
817 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
818 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
819 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
820 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
821 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
822 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
823 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
824 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
825 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
827 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
829 * math/w_remainder.c: New file.
830 * math/w_remainderf.c: New file.
831 * math/w_remainderl.c: New file.
833 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
835 * elf/rtld.c (BOOTSTRAP_MAP): New.
836 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
837 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
839 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
841 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
844 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
846 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
847 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
848 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
849 rtld_hidden_data_ver): Define to empty.
850 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
851 __assert_perror_fail): Likewise.
852 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
853 (__rewinddir): Likewise.
854 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
855 (__profile_frequency): Likewise.
856 * include/setjmp.h (__sigsetjmp): Likewise.
857 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
858 __libc_sigaction): Likewise.
859 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
860 not set hidden attribute.
861 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
862 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
863 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
864 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
865 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
866 __fxstatat64): Likewise.
867 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
869 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
870 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
871 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
872 (NO_RTLD_HIDDEN): Set.
873 * sysdeps/mach/hurd/configure: Refresh.
874 * config.h.in: Refresh.
876 2017-10-02 Joseph Myers <joseph@codesourcery.com>
878 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
879 (atan): Define using libm_alias_double.
880 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
881 (tan): Define using libm_alias_double.
882 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
883 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
885 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
886 define as weak alias of __atan. Do not define any aliases if
888 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
889 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
890 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
891 as weak alias of __tan. Do not define any aliases if [__tan].
892 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
893 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
896 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
897 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
898 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
899 and define as weak alias of __atan.
900 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
902 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
904 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
905 define as weak alias of __tan.
907 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
909 * math/w_lgamma.c: New file.
910 * math/w_lgammaf.c: New file.
911 * math/w_lgammal.c: New file.
913 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
915 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
916 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
917 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
918 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
919 * sysdeps/ieee754/flt-32/w_logf.c: New file.
920 * sysdeps/ieee754/flt-32/w_powf.c: New file.
921 * sysdeps/i386/fpu/w_log2f.c: New file.
922 * sysdeps/i386/fpu/w_logf.c: New file.
923 * sysdeps/i386/fpu/w_powf.c: New file.
924 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
925 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
926 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
928 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
929 H.J. Lu <hongjiu.lu@intel.com>
931 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
932 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
933 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
934 * sysdeps/ieee754/flt-32/w_expf.c: New file.
935 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
937 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
938 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
939 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
940 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
941 * sysdeps/i386/fpu/w_exp2f.c: New file.
942 * sysdeps/i386/fpu/w_expf.c: New file.
943 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
944 * sysdeps/x86_64/fpu/w_expf.c: New file.
946 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
948 * math/Versions (logf): New libm symbol at GLIBC_2.27.
951 * math/w_log2f.c: New file.
952 * math/w_logf.c: New file.
953 * math/w_powf.c: New file.
954 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
955 * math/w_logf_compat.c (__logf_compat): Likewise.
956 * math/w_powf_compat.c (__powf_compat): Likewise.
957 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
958 * sysdeps/ia64/fpu/e_logf.S: Likewise.
959 * sysdeps/ia64/fpu/e_powf.S: Likewise.
960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
962 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
963 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
964 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
965 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
966 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
967 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
969 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
970 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
971 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
980 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
981 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
982 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
983 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
984 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
989 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
990 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
991 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
993 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
995 * sysdeps/powerpc/powerpc64/multiarch/Makefile
996 (sysdep_routines): Add memrchr_power8.
997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
998 (memrchr): Add __memrchr_power8 to list of memrchr functions.
999 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1001 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1002 (memrchr): Add __memrchr_power8 to ifunc list.
1003 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1008 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1009 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1011 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1012 (__posix_fallocate64_l64): Likewise.
1014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1017 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1018 (__sched_setaffinity_new): Add libc_hidden_proto and
1021 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1024 * include/glob.h (__glob64): Add libc_hidden_proto.
1025 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1031 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1037 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1042 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1048 * csu/version.c (__libc_print_version): Add attribute_hidden.
1050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1053 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1055 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1058 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1063 * nscd/nscd_helper.c (__nis_hash): New prototype.
1065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1068 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
1069 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
1071 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1072 * termios/tcgetattr.c (__tcgetattr): Likewise.
1074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1077 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
1078 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
1079 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
1080 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
1081 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
1083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1086 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
1088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1091 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
1092 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
1094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1097 * intl/hash-string.h (__hash_string): Add attribute_hidden.
1099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1102 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
1103 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
1105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1108 * include/ifreq.h: New file.
1109 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
1110 (__ifreq): Likewise.
1111 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
1112 (__ifreq): Likewise.
1114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1117 * include/idna.h: New file.
1118 * inet/getnameinfo.c: Include <idna.h> instead of
1120 (__idna_to_unicode_lzlz): Removed.
1121 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
1123 (__idna_to_ascii_lz): Removed.
1124 (__idna_to_unicode_lzlz): Likewise.
1126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1129 * include/plural-exp.h: New file.
1130 * intl/plural-exp.c: Include <plural-exp.h> instead of
1133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1136 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
1137 "getsourcefilter.h".
1138 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
1139 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
1140 "getsourcefilter.h".
1141 (__get_sol): Removed.
1143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1146 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
1148 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
1150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1153 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
1156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1159 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
1161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1164 * include/search.h (__tdestroy): Add libc_hidden_proto.
1165 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
1167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1170 * include/assert.h (__assert_fail_base): Add attribute_hidden.
1172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1175 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
1178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1181 * include/signal.h (__kill): Add libc_hidden_proto.
1182 (__sigblock): Likewise.
1183 (__sigprocmask): Likewise.
1184 (__sigaltstack): Likewise.
1185 * signal/kill.c (__kill): Add libc_hidden_def.
1186 * signal/sigblock.c (__sigblock): Likewise.
1187 * signal/sigprocmask.c (__sigprocmask): Likewise.
1188 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1189 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1190 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1191 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1192 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
1194 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1196 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1197 (__sigprocmask): Likewise.
1198 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
1200 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1201 (__sigprocmask): Likewise.
1202 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1208 * include/string.h (__strsep): Add libc_hidden_proto.
1209 * string/strsep.c (__strsep): Add libc_hidden_def.
1211 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1214 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
1216 (__spawni): Likewise.
1218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1221 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
1222 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
1225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1228 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
1230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1233 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
1234 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
1235 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1236 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
1237 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
1239 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1240 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
1242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1245 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
1246 (__dcigettext): Likewise.
1248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1251 * include/sys/sysinfo.h (__get_nprocs_conf): Add
1253 (__get_nprocs): Likewise.
1254 (__get_phys_pages): Likewise.
1255 (__get_avphys_pages): Likewise.
1256 (__get_child_max): Add attribute_hidden.
1257 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
1258 (__get_nprocs): Likewise.
1259 (__get_phys_pages): Likewise.
1260 (__get_avphys_pages): Likewise.
1261 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
1263 (__get_nprocs): Likewise.
1264 (__get_phys_pages): Likewise.
1265 (__get_avphys_pages): Likewise.
1266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
1268 (__get_nprocs_conf): Likewise.
1269 (__get_phys_pages): Likewise.
1270 (__get_avphys_pages): Likewise.
1272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1275 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
1277 (__netlink_close): Likewise.
1278 (__netlink_free_handle): Likewise.
1279 (__netlink_request): Likewise.
1281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1284 * include/rpc/rpc.h (__rpc_thread_variables): Add
1286 (__rpc_thread_svc_cleanup): Likewise.
1287 (__rpc_thread_clnt_cleanup): Likewise.
1288 (__rpc_thread_key_cleanup): Likewise.
1290 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1293 * include/sys/uio.h (__readv): Add libc_hidden_proto.
1294 (__writev): Likewise.
1295 * misc/readv.c (__readv): Add libc_hidden_def.
1296 * misc/writev.c (__writev): Likewise.
1297 * sysdeps/posix/readv.c (__readv): Likewise.
1298 * sysdeps/posix/writev.c (__writev): Likewise.
1299 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
1300 (__readv): Likewise.
1301 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
1302 (__writev): Likewise.
1304 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1307 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
1308 (__regcomp): Add libc_hidden_proto.
1309 (__regexec): Likewise.
1310 (__regfree): Likewise.
1311 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
1312 (__regfree): Likewise.
1313 * posix/regexec.c (__regexec): Likewise.
1315 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1318 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
1319 (__getutent): Likewise.
1320 (__getutid): Likewise.
1321 (__getutline): Likewise.
1322 (__pututline): Likewise.
1323 (__getutent_r): Likewise.
1324 (__getutid_r): Likewise.
1325 (__getutline_r): Likewise.
1326 (__utmpname): Add attribute_hidden.
1327 (__setutent): Likewise.
1328 (__endutent): Likewise.
1329 * login/getutent.c (__getutent): Add libc_hidden_def.
1330 * login/getutent_r.c (__getutent_r): Likewise.
1331 (__pututline): Likewise.
1332 * login/getutid.c (__getutid): Likewise.
1333 * login/getutid_r.c (__getutid_r): Likewise.
1334 * login/getutline.c (__getutline): Likewise.
1335 * login/getutline_r.c (__getutline_r): Likewise.
1336 * login/updwtmp.c (__updwtmp): Likewise.
1338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1341 * include/dirent.h (__opendir): Always add attribute_hidden.
1342 (__fdopendir): Likewise.
1343 (__closedir): Likewise.
1344 (__readdir): Likewise.
1345 (__readdir64): Add libc_hidden_proto.
1346 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
1347 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
1348 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
1349 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
1352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1355 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
1356 * include/netdb.h (__gethostbyaddr_r): Likewise.
1357 (__gethostbyname_r): Likewise.
1358 (__gethostbyname2_r): Likewise.
1359 (__getnetbyaddr_r): Likewise.
1360 (__getnetbyname_r): Likewise.
1361 (__getservbyname_r): Likewise.
1362 (__getservbyport_r): Likewise.
1363 (__getprotobyname_r): Likewise.
1364 (__getprotobynumber_r): Likewise.
1365 (__getnetgrent_r): Likewise.
1366 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
1367 (__getrpcbynumber_r): Likewise.
1368 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
1370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1373 * include/stdio.h (__fcloseall): Add attribute_hidden.
1374 (__getline): Likewise.
1375 (__path_search): Likewise.
1376 (__gen_tempname): Likewise.
1377 (__libc_message): Likewise.
1378 (__flockfile): Likewise.
1379 (__funlockfile): Likewise.
1380 (__fxprintf): Likewise.
1381 (__fxprintf_nocancel): Likewise.
1383 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1386 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
1387 (__sgetsgent_r): Likewise.
1389 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1392 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
1393 (__statfs64): Likewise.
1394 (__fstatfs64): Likewise.
1395 * include/sys/statvfs.h (__statvfs64): Likewise.
1396 (__fstatvfs64): Likewise.
1397 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
1398 (__statfs_filesize_max): Likewise.
1399 (__statfs_symlinks): Likewise.
1400 (__statfs_chown_restricted): Likewise.
1402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1405 * include/time.h (__tzstring): Add attribute_hidden.
1406 (__tzfile_read): Likewise.
1407 (__tzfile_compute): Likewise.
1408 (__tzfile_default): Likewise.
1409 (__tzset_parse_tz): Likewise.
1410 (__offtime): Likewise.
1411 (__asctime_r): Likewise.
1412 (__tzset): Likewise.
1413 (__tz_convert): Likewise.
1414 (__getdate_r): Likewise.
1415 (__getclktck): Likewise.
1417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1420 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
1421 (__nscd_unmap): Likewise.
1422 (__nscd_cache_search): Likewise.
1423 (__nscd_get_nl_timestamp): Likewise.
1424 (__nscd_getpwnam_r): Likewise.
1425 (__nscd_getpwuid_r): Likewise.
1426 (__nscd_getgrnam_r): Likewise.
1427 (__nscd_getgrgid_r): Likewise.
1428 (__nscd_gethostbyname_r): Likewise.
1429 (__nscd_gethostbyname2_r): Likewise.
1430 (__nscd_gethostbyaddr_r): Likewise.
1431 (__nscd_getai): Likewise.
1432 (__nscd_getgrouplist): Likewise.
1433 (__nscd_getservbyname_r): Likewise.
1434 (__nscd_getservbyport_r): Likewise.
1435 (__nscd_innetgr): Likewise.
1436 (__nscd_setnetgrent): Likewise.
1438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1441 * include/gmp.h: Declare internal functions only if _ISOMAC is
1443 (__mpn_extract_double): Add attribute_hidden.
1444 (__mpn_extract_long_double): Likewise.
1445 (__mpn_extract_float128): Likewise.
1446 (__mpn_construct_float): Likewise.
1447 (__mpn_construct_double): Likewise.
1448 (__mpn_construct_long_double): Likewise.
1449 (__mpn_construct_float128): Likewise.
1450 (mpn_add_1): Likewise.
1451 (mpn_addmul_1): Likewise.
1452 (mpn_add_n): Likewise.
1453 (mpn_cmp): Likewise.
1454 (mpn_divrem): Likewise.
1455 (mpn_lshift): Likewise.
1456 (mpn_mul): Likewise.
1457 (mpn_mul_1): Likewise.
1458 (mpn_rshift): Likewise.
1459 (mpn_sub_1): Likewise.
1460 (mpn_submul_1): Likewise.
1461 (mpn_sub_n): Likewise.
1463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1466 * include/wchar.h (__wcsnlen): Add attribute_hidden.
1467 (__wcscat): Likewise.
1468 (__btowc): Likewise.
1469 (__wcrtomb): Likewise.
1470 (__mbsrtowcs): Likewise.
1471 (__wcsrtombs): Likewise.
1472 (__mbsnrtowcs): Likewise.
1473 (__wcsnrtombs): Likewise.
1474 (__wcsncpy): Likewise.
1475 (__wcpncpy): Likewise.
1476 (__wmemcpy): Likewise.
1477 (__wmempcpy): Likewise.
1478 (__wmemmove): Likewise.
1479 (__wcschrnul): Likewise.
1480 (__vfwscanf): Likewise.
1481 (__vswprintf): Likewise.
1482 (__fwprintf): Likewise.
1483 (__vfwprintf): Likewise.
1485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1488 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
1489 (__getgrgid_r): Likewise.
1490 (__getgrnam_r): Likewise.
1491 * include/pwd.h (__getpwuid_r): Likewise.
1492 (__getpwnam_r): Likewise.
1493 (__fgetpwent_r): Likewise.
1494 * include/shadow.h (__getspnam_r): Likewise.
1495 (__sgetspent_r): Likewise.
1496 (__fgetspent_r): Likewise.
1498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1501 * include/unistd.h (__access): Add attribute_hidden.
1502 (__lseek64): Likewise.
1503 (__libc_pread64): Likewise.
1504 (__pipe2): Likewise.
1505 (__sleep): Likewise.
1506 (__chdir): Likewise.
1507 (__fchdir): Likewise.
1508 (__getcwd): Likewise.
1509 (__rmdir): Likewise.
1510 (__execvpe): Likewise.
1511 (__execve): Likewise.
1512 (__setsid): Likewise.
1513 (__getuid): Likewise.
1514 (__geteuid): Likewise.
1515 (__getgid): Likewise.
1516 (__getegid): Likewise.
1517 (__getgroups): Likewise.
1518 (__group_member): Likewise.
1519 (__ttyname_r): Likewise.
1520 (__isatty): Likewise.
1521 (__readlink): Likewise.
1522 (__unlink): Likewise.
1523 (__gethostname): Likewise.
1524 (__profil): Likewise.
1525 (__getdtablesize): Likewise.
1527 (__ftruncate): Likewise.
1528 (__ftruncate64): Likewise.
1530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1533 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
1534 * argp/argp-fs-xinl.c: Likewise.
1535 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
1536 * argp/argp-parse.c: Include <argp.h>.
1537 * argp/argp-xinl.c: Likewise.
1538 * include/argp-fmtstream.h: New file.
1539 * include/argp.h (__argp_error): Add attribute_hidden.
1540 (__argp_failure): Likewise.
1541 (__argp_input): Likewise.
1542 (__argp_state_help): Likewise.
1544 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1547 * include/wchar.h (____wcstof_l_internal): New prototype.
1548 (____wcstod_l_internal): Likewise.
1549 (____wcstold_l_internal): Likewise.
1550 (____wcstol_l_internal): Likewise.
1551 (____wcstoul_l_internal): Likewise.
1552 (____wcstoll_l_internal): Likewise.
1553 (____wcstoull_l_internal): Likewise.
1554 (____wcstof128_l_internal): Likewise.
1555 * sysdeps/ieee754/float128/wcstof128.c
1556 (____wcstof128_l_internal): Removed.
1557 * sysdeps/ieee754/float128/wcstof128_l.c
1558 (____wcstof128_l_internal): Likewise.
1559 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
1560 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
1561 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
1562 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
1563 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
1564 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
1565 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
1566 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
1567 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
1568 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
1570 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1573 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
1574 instead of <sys/statvfs.h>.
1575 (__internal_statvfs): Removed.
1576 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
1577 instead of <sys/statvfs.h>.
1578 (__internal_statvfs64): Removed.
1579 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
1580 "internal_statvfs.h" instead of <sys/statvfs.h>.
1581 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
1582 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
1583 instead of <sys/statvfs.h>.
1584 (__internal_statvfs): Removed.
1585 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
1586 instead of <sys/statvfs.h>.
1587 (__internal_statvfs64): Removed.
1589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1592 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
1593 (__gconv_close): Likewise.
1594 (__gconv): Likewise.
1595 (__gconv_find_transform): Likewise.
1596 (__gconv_lookup_cache): Likewise.
1597 (__gconv_compare_alias_cache): Likewise.
1598 (__gconv_load_cache): Likewise.
1599 (__gconv_get_path): Likewise.
1600 (__gconv_close_transform): Likewise.
1601 (__gconv_release_cache): Likewise.
1602 (__gconv_find_shlib): Likewise.
1603 (__gconv_release_shlib): Likewise.
1604 (__gconv_get_builtin_trans): Likewise.
1605 (__gconv_compare_alias): Likewise.
1606 * include/dlfcn.h (_dlerror_run): Likewise.
1607 * include/stdio.h (__fortify_fail_abort): Likewise.
1608 * include/time.h (__tz_compute): Likewise.
1609 (__strptime_internal): Likewise.
1610 * intl/gettextP.h (_nl_find_domain): Likewise.
1611 (_nl_load_domain): Likewise.
1612 (_nl_find_msg): Likewise.
1613 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
1614 (EXTRACT_PLURAL_EXPRESSION): Likewise.
1615 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
1616 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
1617 (__gai_find_request): Likewise.
1618 (__gai_remove_request): Likewise.
1619 (__gai_notify): Likewise.
1620 (__gai_notify_only): Likewise.
1621 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1622 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1623 (_dl_non_dynamic_init): Likewise.
1624 (_dl_aux_init): Likewise.
1625 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
1626 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1628 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
1629 (__wcsmbs_clone_conv): Likewise.
1630 (__wcsmbs_named_conv): Likewise.
1632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1635 * include/stdlib.h (__random): Add attribute_hidden.
1636 (__random_r): Likewise.
1637 (__srandom_r): Likewise.
1638 (__initstate_r): Likewise.
1639 (__setstate_r): Likewise.
1640 (__erand48_r): Likewise.
1641 (__nrand48_r): Likewise.
1642 (__jrand48_r): Likewise.
1643 (__srand48_r): Likewise.
1644 (__seed48_r): Likewise.
1645 (__lcong48_r): Likewise.
1646 (__drand48_iterate): Likewise.
1647 (__setenv): Likewise.
1648 (__unsetenv): Likewise.
1649 (__clearenv): Likewise.
1650 (__ptsname_r): Likewise.
1651 (__posix_openpt): Likewise.
1652 (__add_to_environ): Likewise.
1653 (__realpath): Add libc_hidden_proto.
1654 (__ecvt_r): Likewise.
1655 (__fcvt_r): Likewise.
1656 (__qecvt_r): Likewise.
1657 (__qfcvt_r): Likewise.
1658 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
1659 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
1661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1664 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
1665 * include/time.h (__mktime_internal): Likewise.
1666 * libio/iolibio.h (__fopen_internal): Likewise.
1668 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
1670 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
1672 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
1673 Correct offset used to restore PIC register.
1675 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
1678 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
1679 code to load address of __getcontext_ret when generating PIC code.
1681 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
1683 * elf/Makefile (tests-static-internal): Add
1684 tst-tls1-static-non-pie.
1685 (LDFLAGS-tst-tls1-static-non-pie): New.
1686 * elf/tst-tls1-static-non-pie.c: New file.
1688 2017-09-29 Joseph Myers <joseph@codesourcery.com>
1690 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
1691 (asinh): Define using libm_alias_double.
1692 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
1693 (cbrt): Define using libm_alias_double.
1694 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
1695 <libm-alias-double.h>.
1696 (copysign): Define using libm_alias_double.
1697 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
1698 (erf): Define using libm_alias_double.
1700 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
1701 (expm1): Define using libm_alias_double.
1702 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
1703 (fabs): Define using libm_alias_double.
1704 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
1706 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
1707 <libm-alias-double.h>.
1708 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
1710 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
1711 <libm-alias-double.h>.
1712 (getpayload): Define using libm_alias_double.
1713 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
1714 <libm-alias-double.h>.
1715 (llrint): Define using libm_alias_double.
1716 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
1717 (lrint): Define using libm_alias_double.
1718 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
1719 <libm-alias-double.h>.
1720 (nextup): Define using libm_alias_double.
1721 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
1722 <libm-alias-double.h>.
1723 (roundeven): Define using libm_alias_double.
1724 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
1726 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
1727 <libm-alias-double.h>.
1728 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
1729 using libm_alias_double.
1730 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
1731 (cos): Define using libm_alias_double.
1733 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
1734 <libm-alias-double.h>.
1735 (sincos): Define using libm_alias_double.
1736 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
1737 (tanh): Define using libm_alias_double.
1738 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1739 <libm-alias-double.h>.
1740 (totalorder): Define using libm_alias_double.
1741 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1742 <libm-alias-double.h>.
1743 (totalordermag): Define using libm_alias_double.
1744 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
1746 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
1748 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
1749 <libm-alias-double.h>.
1750 (getpayload): Define using libm_alias_double.
1751 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
1752 <libm-alias-double.h>.
1753 (roundeven): Define using libm_alias_double.
1754 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
1755 <libm-alias-double.h>.
1756 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1757 <libm-alias-double.h>.
1758 (totalorder): Define using libm_alias_double.
1759 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1760 <libm-alias-double.h>.
1761 (totalordermag): Define using libm_alias_double.
1762 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
1763 libc compat symbol here.
1764 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
1765 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
1766 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
1767 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
1768 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
1769 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
1770 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
1771 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
1772 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
1773 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
1775 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1777 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
1778 _dl_relocate_static_pie instead of _dl_start to compute load
1779 address in static PIE. Return 0 if _DYNAMIC is undefined for
1782 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1784 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
1785 _DYNAMIC is undefined for static executable.
1787 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
1789 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
1791 2017-09-29 Joseph Myers <joseph@codesourcery.com>
1793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1795 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
1797 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1798 (__ieee754_lgamma_r): Use fabs rather than __fabs.
1799 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1800 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1801 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1802 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
1803 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1804 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1805 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
1806 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
1807 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1808 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1809 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
1810 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
1811 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1812 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1813 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
1815 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
1817 * math/bits/cmathcalls.h (cimag): Remove inline.
1818 (creal): Remove inline.
1819 (conj): Remove inline.
1821 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1823 * math/Makefile (type-float-routines): Add e_powf_log2_data.
1824 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
1825 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
1826 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
1827 (issignalingf_inline): Likewise.
1828 (POWF_LOG2_TABLE_BITS): Likewise.
1829 (POWF_LOG2_POLY_ORDER): Likewise.
1830 (POWF_SCALE_BITS): Likewise.
1831 (POWF_SCALE): Likewise.
1832 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
1833 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
1834 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
1836 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1838 * math/Makefile (type-float-routines): Add e_log2f_data.
1839 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
1840 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
1841 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
1842 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
1843 * sysdeps/i386/fpu/e_log2f_data.c: New file.
1844 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
1845 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
1847 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1849 * math/Makefile (type-float-routines): Add e_logf_data.
1850 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
1851 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
1852 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
1853 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
1854 * sysdeps/i386/fpu/e_logf_data.c: New file.
1855 * sysdeps/ia64/fpu/e_logf_data.c: New file.
1856 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
1858 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
1860 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
1861 undefined _DYNAMIC in PIE libc.a.
1862 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1865 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
1867 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
1868 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
1869 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
1870 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
1871 (__signbit): Remove.
1872 (__signbitl): Remove.
1873 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
1874 (__signbit): Remove.
1875 (__signbitl): Remove.
1876 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
1877 (__signbit): Remove.
1878 (__signbitl): Remove.
1879 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
1880 (__signbit): Remove.
1881 (__signbitl): Remove.
1882 * sysdeps/tile/bits/mathinline.h: Delete file.
1883 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
1884 (__signbit): Remove.
1885 (__signbitl): Remove.
1887 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
1889 * math/math.h: Improve handling of C99 isgreater macros.
1890 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
1891 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
1892 * sysdeps/powerpc/bits/mathinline.h: Likewise.
1893 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1894 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1896 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
1898 * sysdeps/aarch64/libm-test-ulps: Update.
1900 2017-09-28 Joseph Myers <joseph@codesourcery.com>
1903 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1904 math_opt_barrier on argument when doing arithmetic on it.
1905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1906 Likewise. Use math_force_eval not math_opt_barrier after
1908 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
1909 math_opt_barrier on argument when doing arithmetic on it.
1910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1913 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
1915 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
1917 (__freeifaddrs): Likewise.
1919 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1921 * include/dirent.h (__dirfd): New declaration.
1922 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
1924 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
1925 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
1926 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
1927 * include/unistd.h (__revoke): New declaration.
1928 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
1930 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
1931 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
1933 * include/dirent.h (__seekdir): New declaration.
1934 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
1935 redefine as weak alias.
1936 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
1938 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
1939 and use libc_hidden_def on them.
1940 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
1942 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
1943 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
1944 instead of getifaddrs and freeifaddrs.
1946 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
1949 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
1950 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
1951 (__dso_handle): Remove declaration.
1952 * dlfcn/tstatexit.c (__dso_handle): Removed.
1953 (main): Don't check __dso_handle.
1954 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
1955 (main): Don't check __dso_handle.
1956 * include/dso_handle.h: New file.
1957 * malloc/mtrace.c: Include <dso_handle.h>.
1958 (mtrace): Pass __dso_handle directly.
1959 * nptl/pthread_atfork.c: Include <dso_handle.h>.
1960 (__dso_handle): Remove declaration.
1961 (__pthread_atfork): Pass __dso_handle directly.
1962 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
1963 (__dso_handle): Removed.
1964 * posix/wordexp-test.c: Include <dso_handle.h>.
1965 (__dso_handle): Remove declaration.
1966 (__app_register_atfork): Pass __dso_handle directly.
1967 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
1968 (__dso_handle): Remove declaration.
1969 (at_quick_exit): Pass __dso_handle directly.
1970 * stdlib/atexit.c: Include <dso_handle.h>.
1971 (__dso_handle): Remove declaration.
1972 (atexit): Pass __dso_handle directly.
1973 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
1974 (__dso_handle): Removed.
1976 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
1981 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
1983 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
1984 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
1985 values to correct default value for given type.
1987 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
1990 * elf/Makefile (tests): Add tst-debug1.
1991 ($(objpfx)tst-debug1): New.
1992 ($(objpfx)tst-debug1.out): Likewise.
1993 ($(objpfx)tst-debug1mod1.so): Likewise.
1994 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
1996 * elf/tst-debug1.c: New file.
1998 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2000 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2001 Define using __ifunc.
2003 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2005 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2008 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2011 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2013 2017-09-26 Florian Weimer <fweimer@redhat.com>
2015 * resolv/Makefile (tests-internal): Fix typo in comment.
2017 2017-09-26 Florian Weimer <fweimer@redhat.com>
2019 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2021 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2023 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2024 Use an union instead of a max_align_t array for __space,
2025 so that __space is the same size on all platforms.
2026 * malloc/scratch_buffer_grow_preserve.c
2027 (__libc_scratch_buffer_grow_preserve): Likewise.
2030 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2032 * posix/Makefile (routines): Add glob-lstat-compat and
2033 glob64-lstat-compat.
2034 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2035 * posix/glob-lstat-compat.c: New file.
2036 * posix/glob64-lstat-compat.c: Likewise.
2037 * posix/tst-glob_lstat_compat.c: Likewise.
2038 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2039 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2040 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2041 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2043 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2044 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2045 * posix/glob.c (glob_lstat): New function.
2046 (glob): Rename to __glob and add versioned symbol to 2.27.
2047 (glob_in_dir): Use glob_lstat.
2048 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2049 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2050 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2052 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2053 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2054 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2055 gl_lstat on glob call.
2056 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2058 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2059 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2060 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2061 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2062 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2063 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2064 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2065 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2066 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2067 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2068 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2069 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2072 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2074 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2075 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2076 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2078 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2081 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2082 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2083 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2085 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
2087 * configure.ac (AS): Require binutils 2.25 or later.
2088 * configure: Regenerated.
2090 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2093 * stdlib/test-atexit-race-common.c (do_test): Minimize required
2096 2017-09-25 DJ Delorie <dj@redhat.com>
2099 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
2102 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2104 * sysdeps/ieee754/dbl-64/sincos32.h
2105 [SINCCOS32_H]: Remove define.
2106 [SINCOS32_H]: Define.
2108 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2110 * math/Versions (expf): New libm symbol at GLIBC_2.27.
2112 * math/w_exp2f.c: New file.
2113 * math/w_expf.c: New file.
2114 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
2115 * math/w_expf_compat.c (__expf_compat): Likewise.
2116 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
2117 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2118 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2119 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2120 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2121 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2122 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2123 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2124 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2125 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2126 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2127 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2128 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2129 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2138 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2139 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2140 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2141 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2147 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2148 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2149 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2151 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2153 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
2154 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
2155 (roundtoint, converttoint): Likewise.
2156 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
2157 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
2158 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
2159 * sysdeps/ieee754/flt-32/math_config.h: New file.
2160 * sysdeps/ieee754/flt-32/math_errf.c: New file.
2161 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
2162 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
2163 * sysdeps/i386/fpu/math_errf.c: New file.
2164 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
2165 * sysdeps/ia64/fpu/math_errf.c: New file.
2166 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
2167 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
2169 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2171 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
2172 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
2173 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
2174 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
2175 to make sure that these symbols are defined.
2176 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
2178 (__need_NULL): Do not define.
2179 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
2181 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
2182 CMGROUP_MAX, cmsgcred): Do not define.
2183 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
2185 * bits/socket.h: Likewise.
2186 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
2187 __gettimeofday instead of gettimeofday.
2188 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
2189 instead of settimeofday.
2191 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2193 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
2194 (asinhf): Define using libm_alias_float.
2195 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
2196 (atanf): Define using libm_alias_float.
2197 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
2198 (cbrtf): Define using libm_alias_float.
2199 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
2200 (ceilf): Define using libm_alias_float.
2201 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
2202 <libm-alias-float.h>.
2203 (copysignf): Define using libm_alias_float.
2204 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
2205 (cosf): Define using libm_alias_float.
2206 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
2207 (erff): Define using libm_alias_float.
2209 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
2210 (expm1f): Define using libm_alias_float.
2211 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
2212 (fabsf): Define using libm_alias_float.
2213 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
2214 (floorf): Define using libm_alias_float.
2215 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
2216 (frexpf): Define using libm_alias_float.
2217 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
2219 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
2220 <libm-alias-float.h>.
2221 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
2223 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
2224 <libm-alias-float.h>.
2225 (getpayloadf): Define using libm_alias_float.
2226 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
2227 <libm-alias-float.h>.
2228 (llrintf): Define using libm_alias_float.
2229 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
2230 <libm-alias-float.h>.
2231 (llroundf): Define using libm_alias_float.
2232 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
2233 (logbf): Define using libm_alias_float.
2234 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
2235 (lrintf): Define using libm_alias_float.
2236 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
2237 (lroundf): Define using libm_alias_float.
2238 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
2239 (modff): Define using libm_alias_float.
2240 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
2241 <libm-alias-float.h>.
2242 (nearbyintf): Define using libm_alias_float.
2243 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
2244 <libm-alias-float.h>.
2245 (nextafterf): Define using libm_alias_float.
2246 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
2247 <libm-alias-float.h>.
2248 (nextupf): Define using libm_alias_float.
2249 * sysdeps/ieee754/flt-32/s_remquof.c: Include
2250 <libm-alias-float.h>.
2251 (remquof): Define using libm_alias_float.
2252 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
2253 (rintf): Define using libm_alias_float.
2254 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
2255 <libm-alias-float.h>.
2256 (roundevenf): Define using libm_alias_float.
2257 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
2258 (roundf): Define using libm_alias_float.
2259 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
2260 using libm_alias_float.
2261 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
2262 <libm-alias-float.h>.
2263 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
2264 Define using libm_alias_float.
2265 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
2266 <libm-alias-float.h>.
2267 (sincosf): Define using libm_alias_float.
2268 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
2269 (sinf): Define using libm_alias_float.
2270 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
2271 (tanf): Define using libm_alias_float.
2272 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
2273 (tanhf): Define using libm_alias_float.
2274 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2275 <libm-alias-float.h>.
2276 (totalorderf): Define using libm_alias_float.
2277 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2278 <libm-alias-float.h>.
2279 (totalordermagf): Define using libm_alias_float.
2280 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
2281 (truncf): Define using libm_alias_float.
2282 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
2284 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
2287 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2290 math/math.h: Let fpclassify use the builtin in C++ mode, even
2291 when optimazing for size.
2293 2017-09-22 Joseph Myers <joseph@codesourcery.com>
2295 * csu/Makefile (generated): Do not add version-info.h.
2296 (before-compile): Likewise.
2297 (all-Banner-files): Remove variable.
2298 ($(objpfx)version-info.h): Remove rule.
2299 * csu/version.c (banner): Do not include "version-info.h".
2300 * libidn/Banner: Remove.
2301 * manual/contrib.texi (Simon Josefsson): New entry.
2303 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2305 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2306 Remove conditionals on LDBL_MANT_DIG.
2307 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2308 (__ieee754_lgammal_r): Likewise.
2310 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
2314 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
2315 _Float128 and L(). Replace _Float128 with long double and L(x)
2316 with xL, throughout the file.
2317 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2322 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
2325 sysdeps/ieee754/ldbl-128ibm.
2326 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
2327 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
2328 of including it. Keep _Float128 and L() intact. These will be
2329 reviewed by a separate patch.
2330 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
2335 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
2338 (__finitef128): Define to __redirect___finitef128.
2339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
2340 (__isinff128): Define to __redirect___isinff128.
2341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
2342 (__isnanf128): Define to __redirect___isnanf128.
2344 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2346 * sysdeps/powerpc/powerpc64le/Makefile
2347 (CFLAGS-tst-strtod-nan-locale.c): New variable.
2348 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
2350 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2351 Carlos O'Donell <carlos@redhat.com>
2354 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
2355 * stdlib/test-dlclose-exit-race.c: New file.
2356 * stdlib/test-dlclose-exit-race-helper.c: New file.
2357 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
2359 2017-09-21 Joseph Myers <joseph@codesourcery.com>
2361 * crypt/Banner: Remove file.
2362 * nptl/Banner: Likewise.
2363 * resolv/Banner: Likewise.
2364 * soft-fp/Banner: Likewise.
2365 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
2366 ($(objpfx)version.d): Remove dependency on banner.h.
2367 ($(objpfx)version.os): Likewise.
2368 * nptl/version.c (banner): Do not include banner.h.
2369 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
2370 Jelinek and BIND code.
2372 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2373 Carlos O'Donell <carlos@redhat.com>
2375 * support/xdlfcn.h: New file.
2376 * support/xdlfcn.c: New file.
2377 * support/Makefile (libsupport-routines): Add xdlfcn.
2378 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
2380 2017-09-20 Joseph Myers <joseph@codesourcery.com>
2383 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2384 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
2385 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
2386 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
2387 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2388 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
2389 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
2390 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2392 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
2393 Ricky Zhou <rickyz@google.com>
2394 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
2397 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
2399 (__new_exitfn): Fail registration when we finished at_exit processing.
2400 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2401 * stdlib/on_exit.c (__on_exit): Likewise.
2402 * stdlib/exit.c (__exit_funcs_done): New variable.
2403 (__run_exit_handlers): Use __exit_funcs_lock.
2404 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
2406 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
2407 (test-cxa_atexit-race, test-on_exit-race): New tests.
2408 * stdlib/test-atexit-race-common.c: New file.
2409 * stdlib/test-atexit-race.c: New file.
2410 * stdlib/test-at_quick_exit-race.c: New file.
2411 * stdlib/test-cxa_atexit-race.c: New file.
2412 * stdlib/test-on_exit-race.c: New file.
2414 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2416 * benchtests/Makefile: Add exp2f and log2f benchmarks.
2417 * benchtests/exp2f-inputs: Copy of expf-inputs.
2418 * benchtests/log2f-inputs: Copy of logf-inputs.
2420 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2422 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
2423 Explicitly take address of first element of array arguments in
2424 call to INLINE_SYSCALL.
2426 2017-09-19 Andreas Schwab <schwab@suse.de>
2429 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
2431 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
2433 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
2434 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
2435 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2436 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
2437 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2438 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2439 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2440 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
2441 * posix/Makefile (tests): Add tst-fexecve.
2442 * posix/tst-fexecve.c: New file.
2444 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2446 * benchtests/Makefile: Add logf benchmark.
2447 * benchtests/logf-inputs: Add reduced trace from wrf_r.
2449 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2451 * benchtests/Makefile: Add expf benchmark.
2452 * benchtests/expf-inputs: Add reduced trace from wrf_r.
2454 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2456 * csu/Makefile: Add -funwind-tables to libc-start.c.
2457 * debug/Makefile: Add -funwind-tables to backtrace.c.
2458 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
2459 * sysdeps/arm/Makefile: Likewise.
2460 * sysdeps/i386/Makefile: Likewise.
2461 * sysdeps/m68k/Makefile: Likewise.
2462 * sysdeps/mips/Makefile: Likewise.
2463 * sysdeps/nios2/Makefile: Likewise.
2464 * sysdeps/sh/Makefile: Likewise.
2465 * sysdeps/sparc/Makefile: Likewise.
2467 2017-09-19 Joseph Myers <joseph@codesourcery.com>
2469 * benchtests/Makefile (bench-math): Add trunc and truncf.
2470 (CFLAGS-bench-trunc.c): New variable.
2471 (CFLAGS-bench-truncf.c): Likewise.
2472 * benchtests/trunc-inputs: New file.
2473 * benchtests/truncf-inputs: Likewise.
2475 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2477 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
2479 2017-09-18 Joseph Myers <joseph@codesourcery.com>
2481 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
2482 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
2484 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2485 (exp10l): Define as weak alias.
2486 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
2487 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
2489 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
2490 (remainderl): Define as weak alias.
2492 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
2493 (fmal): Define using libm_alias_ldouble.
2494 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
2495 (acoshl): Define using libm_alias_ldouble.
2496 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
2497 (acosl): Define using libm_alias_ldouble.
2498 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
2499 (asinl): Define using libm_alias_ldouble.
2500 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
2501 (atan2l): Define using libm_alias_ldouble.
2502 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
2503 (atanhl): Define using libm_alias_ldouble.
2504 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
2505 (coshl): Define using libm_alias_ldouble.
2506 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
2507 (exp10l): Define using libm_alias_ldouble.
2508 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
2509 (exp2l): Define using libm_alias_ldouble.
2510 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
2511 (expl): Define using libm_alias_ldouble.
2512 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
2513 (fmodl): Define using libm_alias_ldouble.
2514 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
2515 (hypotl): Define using libm_alias_ldouble.
2516 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
2517 (j0l): Define using libm_alias_ldouble.
2519 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
2520 (j1l): Define using libm_alias_ldouble.
2522 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
2523 (jnl): Define using libm_alias_ldouble.
2525 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
2526 (log10l): Define using libm_alias_ldouble.
2527 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
2528 (log2l): Define using libm_alias_ldouble.
2529 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
2530 (logl): Define using libm_alias_ldouble.
2531 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
2532 (powl): Define using libm_alias_ldouble.
2533 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
2534 (remainderl): Define using libm_alias_ldouble.
2535 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
2536 (sinhl): Define using libm_alias_ldouble.
2537 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
2538 (sqrtl): Define using libm_alias_ldouble.
2539 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
2540 (tgammal): Define using libm_alias_ldouble.
2541 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
2542 (exp10l): Do not use long_double_symbol here.
2543 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2544 [LIBM_SVID_COMPAT] (remainderl): Likewise.
2545 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
2546 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2547 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2548 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2549 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2550 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2551 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2552 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
2553 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2554 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2555 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2556 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2557 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2558 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2559 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2560 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2561 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2562 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2563 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2564 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2566 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
2568 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
2569 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
2571 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
2573 * io/read.c (read): Add libc_hidden_weak.
2574 * sysdeps/mach/hurd/read.c (read): Likewise.
2575 * io/write.c (write): Likewise.
2576 * sysdeps/mach/hurd/write.c (write): Likewise.
2577 * io/pread64.c (__pread64): Likewise.
2578 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
2579 * posix/pread64.c (__pread64): Add libc_hidden_def.
2581 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2583 * benchtests/scripts/compare_strings.py: New option -g.
2584 (draw_graph): Print a message that a graph is being generated.
2585 (process_results): Generate graph only if -g is passed.
2586 (main): Process option -g.
2588 * benchtests/scripts/compare_strings.py (process_results):
2589 Better spacing for output.
2591 * benchtests/scripts/compare_strings.py: Use argparse.
2592 * benchtests/README: Document existence of compare_strings.py.
2594 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2596 * math/s_fma.c: Include <libm-alias-double.h>.
2597 (fma): Define using libm_alias_double.
2598 * math/s_nextafter.c: Include <libm-alias-double.h>.
2599 (nextafter): Define using libm_alias_double.
2600 * math/w_acos_compat.c: Include <libm-alias-double.h>.
2601 (acos): Define using libm_alias_double.
2602 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
2603 (aocsh): Define using libm_alias_double.
2604 * math/w_asin_compat.c: Include <libm-alias-double.h>.
2605 (asin): Define using libm_alias_double.
2606 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
2607 (atan2): Define using libm_alias_double.
2608 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
2609 (atanh): Define using libm_alias_double.
2610 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
2611 (cosh): Define using libm_alias_double.
2612 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
2613 (exp10): Define using libm_alias_double.
2614 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
2615 (exp2): Define using libm_alias_double.
2616 * math/w_exp_compat.c: Include <libm-alias-double.h>.
2617 (exp): Define using libm_alias_double.
2618 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
2619 (fmod): Define using libm_alias_double.
2620 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
2621 (hypot): Define using libm_alias_double.
2622 * math/w_j0_compat.c: Include <libm-alias-double.h>.
2623 (j0): Define using libm_alias_double.
2625 * math/w_j1_compat.c: Include <libm-alias-double.h>.
2626 (j1): Define using libm_alias_double.
2628 * math/w_jn_compat.c: Include <libm-alias-double.h>.
2629 (jn): Define using libm_alias_double.
2631 * math/w_log10_compat.c: Include <libm-alias-double.h>.
2632 (log10): Define using libm_alias_double.
2633 * math/w_log2_compat.c: Include <libm-alias-double.h>.
2634 (log2): Define using libm_alias_double.
2635 * math/w_log_compat.c: Include <libm-alias-double.h>.
2636 (log): Define using libm_alias_double.
2637 * math/w_pow_compat.c: Include <libm-alias-double.h>.
2638 (pow): Define using libm_alias_double.
2639 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
2640 (remainder): Define using libm_alias_double.
2641 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
2642 (sinh): Define using libm_alias_double.
2643 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
2644 (sqrt): Define using libm_alias_double.
2645 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
2646 (tgamma): Define using libm_alias_double.
2647 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
2648 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
2649 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
2650 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
2651 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
2652 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
2653 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
2654 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2655 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2656 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2657 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2658 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2659 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2660 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2661 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2662 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2663 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2664 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2665 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2666 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2667 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2668 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2669 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2670 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2671 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2673 * math/e_acoshl.c: Remove.
2674 * math/e_acosl.c: Likewise.
2675 * math/e_asinl.c: Likewise.
2676 * math/e_atan2l.c: Likewise.
2677 * math/e_atanhl.c: Likewise.
2678 * math/e_coshl.c: Likewise.
2679 * math/e_expl.c: Likewise.
2680 * math/e_fmodl.c: Likewise.
2681 * math/e_gammal_r.c: Likewise.
2682 * math/e_hypotl.c: Likewise.
2683 * math/e_j0l.c: Likewise.
2684 * math/e_j1l.c: Likewise.
2685 * math/e_jnl.c: Likewise.
2686 * math/e_lgammal_r.c: Likewise.
2687 * math/e_log10l.c: Likewise.
2688 * math/e_log2l.c: Likewise.
2689 * math/e_logl.c: Likewise.
2690 * math/e_powl.c: Likewise.
2691 * math/e_rem_pio2l.c: Likewise.
2692 * math/e_sinhl.c: Likewise.
2693 * math/e_sqrtf128.c: Likewise.
2694 * math/e_sqrtl.c: Likewise.
2695 * math/k_cosl.c: Likewise.
2696 * math/k_sinl.c: Likewise.
2697 * math/k_tanl.c: Likewise.
2698 * math/s_asinhl.c: Likewise.
2699 * math/s_atanl.c: Likewise.
2700 * math/s_cbrtl.c: Likewise.
2701 * math/s_erfl.c: Likewise.
2702 * math/s_expm1l.c: Likewise.
2703 * math/s_log1pl.c: Likewise.
2704 * math/s_tanhl.c: Likewise.
2706 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
2710 [$(subdir) = math] (sysdep_calls): New variable. Has the
2711 previous contents of sysdep_routines, but re-sorted..
2712 [$(subdir) = math] (sysdep_routines): Re-use the contents from
2714 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
2715 defined in sysdep_calls and replace by the respective m_* names.
2716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
2717 (compat_symbol): Undefine to avoid duplicated compat symbols in
2720 2017-09-15 Joseph Myers <joseph@codesourcery.com>
2722 * math/s_fmaf.c: Include <libm-alias-float.h>.
2723 (fmaf): Define using libm_alias_float.
2724 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
2725 (acosf): Define using libm_alias_float.
2726 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
2727 (acoshf): Define using libm_alias_float.
2728 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
2729 (asinf): Define using libm_alias_float.
2730 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
2731 (atan2f): Define using libm_alias_float.
2732 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
2733 (atanhf): Define using libm_alias_float.
2734 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
2735 (coshf): Define using libm_alias_float.
2736 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
2737 (exp10f): Define using libm_alias_float.
2738 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
2739 (fmodf): Define using libm_alias_float.
2740 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
2741 (hypotf): Define using libm_alias_float.
2742 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
2743 (j0f): Define using libm_alias_float.
2745 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
2746 (j1f): Define using libm_alias_float.
2748 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
2749 (jnf): Define using libm_alias_float.
2751 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
2752 (log10f): Define using libm_alias_float.
2753 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
2754 (log2f): Define using libm_alias_float.
2755 * math/w_logf_compat.c: Include <libm-alias-float.h>.
2756 (logf): Define using libm_alias_float.
2757 * math/w_powf_compat.c: Include <libm-alias-float.h>.
2758 (powf): Define using libm_alias_float.
2759 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
2760 (remainderf): Define using libm_alias_float.
2761 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
2762 (sinhf): Define using libm_alias_float.
2763 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
2764 (sqrtf): Define using libm_alias_float.
2765 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
2766 (tgammaf): Define using libm_alias_float.
2768 2017-09-14 Joseph Myers <joseph@codesourcery.com>
2770 * include/math.h (roundeven): Change hidden_proto call to
2772 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
2774 [NO_LONG_DOUBLE] (__j0l): New strong alias.
2775 (y0): Rename to __y0 and define as weak alias.
2776 [NO_LONG_DOUBLE] (__y0l): New strong alias.
2777 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
2779 (y0f): Rename to __y0f and define as weak alias.
2780 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
2782 [NO_LONG_DOUBLE] (__j1l): New strong alias.
2783 (y1): Rename to __y1 and define as weak alias.
2784 [NO_LONG_DOUBLE] (__y1l): New strong alias.
2785 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
2787 (y1f): Rename to __y1f and define as weak alias.
2788 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
2790 [NO_LONG_DOUBLE] (__jnl): New strong alias.
2791 (yn): Rename to __yn and define as weak alias.
2792 [NO_LONG_DOUBLE] (__ynl): New strong alias.
2793 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
2795 (ynf): Rename to __ynf and define as weak alias.
2796 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
2797 (fromfp): Define as weak alias.
2798 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
2799 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
2800 (fromfpx): Define as weak alias.
2801 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
2802 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
2803 __getpayload and define as weak alias.
2804 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
2805 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
2806 __roundeven and define as weak alias.
2807 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
2808 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
2810 (setpayload): Define as weak alias.
2811 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
2812 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
2814 (setpayloadsig): Define as weak alias.
2815 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
2816 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
2817 __totalorder and define as weak alias.
2818 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
2819 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
2820 to __totalordermag and define as weak alias.
2821 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
2822 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
2823 (ufromfp): Define as weak alias.
2824 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
2825 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
2827 (ufromfpx): Define as weak alias.
2828 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
2829 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
2830 Rename to __getpayload and define as weak alias.
2831 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
2832 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
2833 Rename to __roundeven and define as weak alias.
2834 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
2835 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
2836 Rename to __totalorder and define as weak alias.
2837 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
2838 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
2839 (totalordermag): Rename to __totalordermag and define as weak
2841 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
2842 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
2844 (__roundevenl): Likewise.
2845 (__totalorderl): Likewise.
2846 (__totalordermagl): Likewise
2847 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
2849 (fromfpf128): Define as weak alias.
2850 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
2852 (fromfpxf128): Define as weak alias.
2853 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
2855 (setpayloadf128): Define as weak alias.
2856 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
2857 __setpayloadsigf128.
2858 (setpayloadsigf128): Define as weak alias.
2859 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
2861 (ufromfpf128): Define as weak alias.
2862 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
2864 (ufromfpxf128): Define as weak alias.
2865 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
2866 (fromfpf): Define as weak alias.
2867 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
2869 (fromfpxf): Define as weak alias.
2870 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
2871 __getpayloadf and define as weak alias.
2872 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
2873 __roundevenf and define as weak alias.
2874 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
2876 (setpayloadf): Define as weak alias.
2877 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
2879 (setpayloadsigf): Define as weak alias.
2880 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
2881 __totalorderf and define as weak alias.
2882 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
2883 Rename to __totalordermagf and define as weak alias.
2884 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
2886 (ufromfpf): Define as weak alias.
2887 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
2889 (ufromfpxf): Define as weak alias.
2890 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
2892 (fromfpl): Define as weak alias.
2893 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
2895 (fromfpxl): Define as weak alias.
2896 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
2897 to __getpayloadl and define as weak alias.
2898 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
2899 __roundevenl and define as weak alias.
2900 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
2902 (setpayloadl): Define as weak alias.
2903 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
2905 (setpayloadsigl): Define as weak alias.
2906 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
2907 to __totalorderl and define as weak alias.
2908 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
2909 Rename to __totalordermagl and define as weak alias.
2910 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
2912 (ufromfpl): Define as weak alias.
2913 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
2915 (ufromfpxl): Define as weak alias.
2916 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
2918 (fromfpl): Define as weak alias.
2919 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
2921 (fromfpxl): Define as weak alias.
2922 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
2923 Rename to __getpayloadl and define as weak alias.
2924 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
2925 to __roundevenl and define as weak alias. Call __roundeven
2926 instead of roundeven.
2927 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
2929 (setpayloadl): Define as weak alias.
2930 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
2932 (setpayloadsigl): Define as weak alias.
2933 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
2934 Rename to __totalorderl and define as weak alias.
2935 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
2936 Rename to __totalordermagl and define as weak alias.
2937 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
2939 (ufromfpl): Define as weak alias.
2940 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
2942 (ufromfpxl): Define as weak alias.
2943 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
2945 (fromfpl): Define as weak alias.
2946 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
2948 (fromfpxl): Define as weak alias.
2949 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
2950 __getpayloadl and define as weak alias.
2951 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
2952 __roundevenl and define as weak alias.
2953 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
2955 (setpayloadl): Define as weak alias.
2956 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
2958 (setpayloadsigl): Define as weak alias.
2959 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
2960 __totalorderl and define as weak alias.
2961 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
2962 Rename to __totalordermagl and define as weak alias.
2963 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
2965 (ufromfpl): Define as weak alias.
2966 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
2968 (ufromfpxl): Define as weak alias.
2970 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2972 * benchtests/bench-string.h (realloc_bufs): New function.
2973 (test_init): Call it.
2974 * benchtests/bench-memset-large.c (do_test): Likewise.
2975 * benchtests/bench-memset.c (do_test): Likewise.
2977 * benchtests/bench-memset-large.c: Print output in JSON
2979 * benchtests/bench-memset.c: Likewise.
2981 2017-09-14 Mike FABIAN <mfabian@redhat.com>
2984 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
2985 * iconvdata/Makefile: Add IBM858.
2986 * iconvdata/gconv-modules: Likewise.
2987 * iconvdata/tst-tables.sh: Likewise.
2988 * iconvdata/ibm858.c: New file.
2989 * localedata/charmaps/IBM858: Likewise.
2991 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
2994 * locales/niu_NZ (LC_TIME): copy "niu_NU".
2995 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
2997 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3000 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3001 and add tel_int_fmt.
3003 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3005 * sysdeps/generic/libm-alias-float128.h: New file.
3006 * sysdeps/generic/math-type-macros-float128.h: Include
3007 <libm-alias-float128.h>.
3008 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3010 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3012 * sysdeps/generic/libm-alias-ldouble.h: New file.
3013 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3014 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3015 * sysdeps/generic/math-type-macros-ldouble.h: Include
3016 <libm-alias-ldouble.h>.
3017 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3020 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3022 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3023 * math/w_exp_compat.c: ... here.
3024 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3025 * math/w_expf_compat.c: ... here.
3026 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3027 * math/w_expl_compat.c: ... here.
3028 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3029 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3030 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3031 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3033 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3035 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3037 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3039 (ldexpl): Only define as compat symbol for libc, not libm.
3040 (scalbnl): Define as compat symbol for libc here.
3041 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3042 define for [IS_IN (libc)].
3043 (__ldexpl_2): Remove alias.
3044 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3045 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3046 name in long_double_symbol call.
3047 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3048 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3049 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3050 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3051 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3053 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3054 Define as compat symbol.
3056 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3058 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3059 * sysdeps/unix/sysv/linux/alpha/Makefile
3060 [$(subdir) = csu] (sysdep_routines): Remove rule.
3062 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3064 * sysdeps/generic/libm-alias-double.h: New file.
3065 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
3066 * sysdeps/generic/math-type-macros-double.h: Include
3067 <libm-alias-double.h>.
3068 [declare_mgen_alias] (declare_mgen_alias): Define to use
3070 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
3071 (M_LIBM_NEED_COMPAT): Remove macro.
3072 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
3073 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
3074 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
3076 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3077 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3078 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3079 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3080 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3081 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3082 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3083 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3084 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3085 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3086 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3087 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3088 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3089 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3090 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3091 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3092 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3093 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3094 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3095 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3096 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3097 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3098 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3099 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3100 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3101 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3102 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3103 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3104 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
3106 (declare_mgen_alias): New macro.
3107 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
3108 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
3109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
3110 (M_LIBM_NEED_COMPAT): Remove macro.
3111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
3112 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
3114 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
3115 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
3117 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3119 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
3120 (declare_mgen_alias_2): Remove.
3121 * sysdeps/generic/math-type-macros-double.h
3122 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
3124 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
3126 (ldexp): Define with declare_mgen_alias.
3129 2017-09-12 Steve Ellcey <sellcey@cavium.com>
3131 * grp/initgroups.c: Include config.h.
3132 (DEFAULT_CONFIG): New macro.
3133 (internal_getgrouplist): Use DEFAULT_CONFIG.
3134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3135 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
3136 (DEFAULT_DEFCONFIG): New macro.
3137 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
3138 * nss/grp-lookup.c: Include config.h
3139 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
3140 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
3141 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
3142 * manual/nss.texi: Update default values section.
3144 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
3147 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
3149 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
3150 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3151 Handle MathVec_Prefer_No_AVX512.
3152 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
3153 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
3156 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
3158 * posix/sched_primax.c (__sched_get_priority_max): Add
3160 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
3161 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3162 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3163 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
3164 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
3165 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
3166 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
3167 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
3170 2017-09-11 Joseph Myers <joseph@codesourcery.com>
3172 * sysdeps/generic/libm-alias-float.h: New file.
3173 * sysdeps/generic/math-type-macros-float.h: Include
3174 <libm-alias-float.h>.
3175 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3177 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
3180 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
3181 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
3182 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
3183 (HWCAP_IMPORTANT): Likewise.
3184 (HWCAP_X86_64): New enum.
3185 (HWCAP_X86_AVX512_1): Updated.
3186 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
3187 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
3188 (modules-names): Add x86_64/tst-x86_64mod-1.
3189 (LDFLAGS-tst-x86_64mod-1.so): New.
3190 ($(objpfx)tst-x86_64-1): Likewise.
3191 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
3192 (tst-x86_64-1-clean): Likewise.
3193 * sysdeps/x86_64/tst-x86_64-1.c: New file.
3194 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
3196 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3198 * po/sv.po: Update translations.
3199 * po/fr.po: Likewise.
3201 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3203 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
3205 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
3207 * elf/rtld-Rules: Fix $(error) use.
3209 2017-09-09 Mike FABIAN <mfabian@redhat.com>
3212 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
3213 * locale/iso-639.def: Change “Bengali” to “Bangla”.
3214 * localedata/locales/bn_BD: “Bengali” was still used in some
3215 comments. Change it to “Bangla”.
3217 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
3219 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
3221 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3223 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
3224 thunderx2t99p1 to list of cpu names.
3225 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3226 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
3228 2017-09-08 Steve Ellcey <sellcey@cavium.com>
3230 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
3231 Use strcmp instead of tunable_is_name.
3233 2017-09-08 Joseph Myers <joseph@codesourcery.com>
3235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3236 (F_GET_RW_HINT): New macro.
3237 [__USE_GNU] (F_SET_RW_HINT): Likewise.
3238 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
3239 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
3240 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
3241 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
3242 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
3243 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
3244 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
3245 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
3247 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3248 (F_ADD_SEALS): New macro.
3249 [__USE_GNU] (F_GET_SEALS): Likewise.
3250 [__USE_GNU] (F_SEAL_SEAL): Likewise.
3251 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
3252 [__USE_GNU] (F_SEAL_GROW): Likewise.
3253 [__USE_GNU] (F_SEAL_WRITE): Likewise.
3255 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3257 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
3258 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
3259 * posix/glob_internal.h (__glob_pattern_type):
3260 * posix/glob.c (glob):
3261 * posix/glob_pattern_p.c (__glob_pattern_p):
3264 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
3265 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3266 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
3267 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
3268 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
3270 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
3271 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
3272 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3273 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3274 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3275 * sysdeps/wordsize-64/glob.c: Likewise.
3276 * sysdeps/wordsize-64/glob64.c: Likewise.
3277 * sysdeps/wordsize-64/globfree.c: Likewise.
3278 * sysdeps/wordsize-64/globfree64.c: Likewise.
3279 * sysdeps/unix/sysv/linux/glob.c: New file.
3280 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
3281 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
3282 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
3283 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3284 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
3285 adds !GLOB_NO_OLD_VERSION as an extra condition.
3286 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
3287 using relative path instead of absolute one.
3288 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3289 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3290 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3291 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3292 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
3293 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
3296 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
3297 (glob): Use the same scratch buffer for both getlogin_r and
3298 getpwnam_r. Don’t require preallocation of the login name. This
3299 simplifies storage allocation, and corrects the handling of
3303 * posix/glob.c (glob): Port recent patches to platforms
3305 (glob): Fix longstanding misuse of errno after getpwnam_r, which
3306 returns an error number rather than setting errno.
3308 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
3309 instead of GCC extension.
3310 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
3311 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
3312 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
3316 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
3317 * posix/bug-glob1.c: Remove file.
3318 * posix/tst-glob_symlinks.c: New file.
3319 * posix/glob.c (__lstat64): New macro.
3320 (is_dir): New function.
3321 (glob, glob_in_dir): Match symlinks even if they are dangling.
3322 (link_stat, link_exists_p): Remove. All uses removed.
3326 * posix/glob.c (struct readdir_result): Remove skip_entry member.
3327 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
3331 * posix/Makefile (routines): Add globfree, globfree64, and
3333 * posix/flexmember.h: New file.
3334 * posix/glob_internal.h: Likewise.
3335 * posix/glob_pattern_p.c: Likewise.
3336 * posix/globfree.c: Likewise.
3337 * posix/globfree64.c: Likewise.
3338 * sysdeps/gnu/globfree64.c: Likewise.
3339 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
3340 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
3341 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
3342 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
3343 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
3344 * sysdeps/wordsize-64/globfree.c: Likewise.
3345 * sysdeps/wordsize-64/globfree64.c: Likewise.
3346 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
3347 [NDEBUG): Remove comments.
3348 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
3349 (dirent_type): New type. Use uint_fast8_t not
3350 uint8_t, as C99 does not require uint8_t.
3351 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
3352 (struct readdir_result): Use dirent_type. Do not define skip_entry
3353 unless it is needed; this saves a byte on platforms lacking d_ino.
3354 (readdir_result_type, readdir_result_skip_entry):
3355 New functions, replacing ...
3356 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
3357 these functions, which were removed. This makes the callers
3358 easier to read. All callers changed.
3359 (D_INO_TO_RESULT): Now empty if there is no d_ino.
3360 (size_add_wrapv, glob_use_alloca): New static functions.
3361 (glob, glob_in_dir): Check for size_t overflow in several places,
3362 and fix some size_t checks that were not quite right.
3363 Remove old code using SHELL since Bash no longer
3365 (glob, prefix_array): Separate MS code better.
3366 (glob_in_dir): Remove old Amiga and VMS code.
3367 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
3369 (glob_in_dir): Do not rely on undefined behavior in accessing
3370 struct members beyond their bounds. Use a flexible array member
3372 (link_stat): Rename from link_exists2_p and return -1/0 instead of
3373 0/1. Caller changed.
3374 (glob): Fix memory leaks.
3375 * posix/glob64 (globfree64): Move to separate file.
3376 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
3377 (globfree64): Remove hidden alias.
3378 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
3380 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
3382 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
3384 Move compat code to separate file.
3385 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
3388 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
3390 * resolv/tst-resolv-qtypes.c (domain): Changed to
3391 "const char domain[] =".
3393 2017-09-07 Joseph Myers <joseph@codesourcery.com>
3395 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3398 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
3399 (TCP_MD5SIG_EXT): Likewise.
3400 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
3401 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
3402 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
3404 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
3406 2017-09-07 Mike FABIAN <mfabian@redhat.com>
3408 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
3410 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
3413 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
3415 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3417 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
3418 before assuming that the file is empty. Avoid testing buffer content
3421 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3424 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3426 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
3428 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
3430 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
3432 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
3434 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
3436 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
3439 2017-09-06 Florian Weimer <fweimer@redhat.com>
3441 * malloc/dynarray_emplace_enlarge.c
3442 (__libc_dynarray_emplace_enlarge): Add missing else.
3444 2017-09-06 Florian Weimer <fweimer@redhat.com>
3447 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
3448 case of failure to obtain the global conf object.
3450 2017-09-06 Florian Weimer <fweimer@redhat.com>
3453 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
3454 dynarray allocation failure.
3456 2017-09-06 Florian Weimer <fweimer@redhat.com>
3458 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
3459 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
3460 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
3462 (response): Call them. Add 'p', '6' flag processing.
3463 (test_reverse): New function.
3464 (test_get2_any): Call it.
3465 (test_no_inet6): Add 'p' test.
3466 (test_inet6): Likewise.
3468 2017-09-06 Florian Weimer <fweimer@redhat.com>
3470 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
3471 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
3473 (test_gai): Adjust query names. Add additional tests.
3474 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
3475 test_get2. Adjust query names. Add additional tests.
3476 (test_no_inet6): New function, extracted from threadfunc.
3477 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
3478 Add additional tests.
3480 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3483 * localedata/unicode-gen/utf8_gen.py: Set the width for
3484 characters with Prepended_Concatenation_Mark property to 1
3485 * localedata/charmaps/UTF-8: Updated using the improved script.
3487 2017-09-06 Mike FABIAN <mfabian@redhat.com>
3490 * localedata/unicode-gen/utf8_gen.py: Improve the script to
3491 use the range notation for all ranges of neighbouring characters
3492 with the same width.
3494 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3496 * sysdeps/generic/math-type-macros-double.h: Include
3497 <math-svid-compat.h>.
3498 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3499 * sysdeps/generic/math-type-macros-float.h: Include
3500 <math-svid-compat.h>.
3501 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3502 * sysdeps/generic/math-type-macros-ldouble.h: Include
3503 <math-svid-compat.h>.
3504 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
3505 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
3507 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
3508 * math/w_acosf_compat.c: Likewise.
3509 * math/w_acosh_compat.c: Likewise.
3510 * math/w_acoshf_compat.c: Likewise.
3511 * math/w_acoshl_compat.c: Likewise.
3512 * math/w_acosl_compat.c: Likewise.
3513 * math/w_asin_compat.c: Likewise.
3514 * math/w_asinf_compat.c: Likewise.
3515 * math/w_asinl_compat.c: Likewise.
3516 * math/w_atan2_compat.c: Likewise.
3517 * math/w_atan2f_compat.c: Likewise.
3518 * math/w_atan2l_compat.c: Likewise.
3519 * math/w_atanh_compat.c: Likewise.
3520 * math/w_atanhf_compat.c: Likewise.
3521 * math/w_atanhl_compat.c: Likewise.
3522 * math/w_cosh_compat.c: Likewise.
3523 * math/w_coshf_compat.c: Likewise.
3524 * math/w_coshl_compat.c: Likewise.
3525 * math/w_exp10_compat.c: Likewise.
3526 * math/w_exp10f_compat.c: Likewise.
3527 * math/w_exp10l_compat.c: Likewise.
3528 * math/w_exp2_compat.c: Likewise.
3529 * math/w_exp2f_compat.c: Likewise.
3530 * math/w_exp2l_compat.c: Likewise.
3531 * math/w_fmod_compat.c: Likewise.
3532 * math/w_fmodf_compat.c: Likewise.
3533 * math/w_fmodl_compat.c: Likewise.
3534 * math/w_hypot_compat.c: Likewise.
3535 * math/w_hypotf_compat.c: Likewise.
3536 * math/w_hypotl_compat.c: Likewise.
3537 * math/w_j0_compat.c: Likewise.
3538 * math/w_j0f_compat.c: Likewise.
3539 * math/w_j0l_compat.c: Likewise.
3540 * math/w_j1_compat.c: Likewise.
3541 * math/w_j1f_compat.c: Likewise.
3542 * math/w_j1l_compat.c: Likewise.
3543 * math/w_jn_compat.c: Likewise.
3544 * math/w_jnf_compat.c: Likewise.
3545 * math/w_jnl_compat.c: Likewise.
3546 * math/w_lgamma_r_compat.c: Likewise.
3547 * math/w_lgammaf_r_compat.c: Likewise.
3548 * math/w_lgammal_r_compat.c: Likewise.
3549 * math/w_log10_compat.c: Likewise.
3550 * math/w_log10f_compat.c: Likewise.
3551 * math/w_log10l_compat.c: Likewise.
3552 * math/w_log2_compat.c: Likewise.
3553 * math/w_log2f_compat.c: Likewise.
3554 * math/w_log2l_compat.c: Likewise.
3555 * math/w_log_compat.c: Likewise.
3556 * math/w_logf_compat.c: Likewise.
3557 * math/w_logl_compat.c: Likewise.
3558 * math/w_pow_compat.c: Likewise.
3559 * math/w_powf_compat.c: Likewise.
3560 * math/w_powl_compat.c: Likewise.
3561 * math/w_remainder_compat.c: Likewise.
3562 * math/w_remainderf_compat.c: Likewise.
3563 * math/w_remainderl_compat.c: Likewise.
3564 * math/w_sinh_compat.c: Likewise.
3565 * math/w_sinhf_compat.c: Likewise.
3566 * math/w_sinhl_compat.c: Likewise.
3567 * math/w_sqrt_compat.c: Likewise.
3568 * math/w_sqrtf_compat.c: Likewise.
3569 * math/w_sqrtl_compat.c: Likewise.
3570 * math/w_tgamma_compat.c: Likewise.
3571 * math/w_tgammaf_compat.c: Likewise.
3572 * math/w_tgammal_compat.c: Likewise.
3573 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
3575 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
3576 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
3578 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
3579 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
3581 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
3582 * sysdeps/i386/fpu/w_sqrt.c: New file.
3583 * sysdeps/ia64/fpu/w_acos.c: Likewise.
3584 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3585 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3586 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3587 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3588 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3589 * sysdeps/ia64/fpu/w_asin.c: Likewise.
3590 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3591 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3592 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3593 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3594 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3595 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3596 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3597 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3598 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3599 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3600 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3601 * sysdeps/ia64/fpu/w_exp.c: Likewise.
3602 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3603 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3604 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3605 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3606 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3607 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3608 * sysdeps/ia64/fpu/w_expf.c: Likewise.
3609 * sysdeps/ia64/fpu/w_expl.c: Likewise.
3610 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3611 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3612 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3613 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3614 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3615 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3616 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3617 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3618 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3619 * sysdeps/ia64/fpu/w_log.c: Likewise.
3620 * sysdeps/ia64/fpu/w_log10.c: Likewise.
3621 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3622 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3623 * sysdeps/ia64/fpu/w_log2.c: Likewise.
3624 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3625 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3626 * sysdeps/ia64/fpu/w_logf.c: Likewise.
3627 * sysdeps/ia64/fpu/w_logl.c: Likewise.
3628 * sysdeps/ia64/fpu/w_pow.c: Likewise.
3629 * sysdeps/ia64/fpu/w_powf.c: Likewise.
3630 * sysdeps/ia64/fpu/w_powl.c: Likewise.
3631 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3632 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3633 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3634 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3635 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3636 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3637 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3638 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3639 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3640 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
3641 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
3642 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
3645 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3646 * sysdeps/ieee754/k_standard.c: Likewise.
3647 * sysdeps/ieee754/k_standardf.c: Likewise.
3648 * sysdeps/ieee754/k_standardl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3651 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3652 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
3653 long_double_symbol call on [LIBM_SVID_COMPAT].
3654 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3655 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3656 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3657 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3658 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3659 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3660 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3661 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3662 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3663 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3664 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3665 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3666 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3667 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3668 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3669 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3670 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3671 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3672 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3673 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3674 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
3675 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
3677 2017-09-05 Steve Ellcey <sellcey@cavium.com>
3679 * include/shlib-compat.h (TEST_COMPAT): New Macro.
3680 * malloc/tst-mallocstate.c: Convert from test-skeleton
3681 to test-driver. Ifdef code using TEST_COMPAT macro.
3682 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
3683 * math/test-matherr.c: Likewise.
3685 2017-09-05 Joseph Myers <joseph@codesourcery.com>
3688 * debug/pcprofiledump.c (main): Use byte-swapped mask when
3689 comparing word with byte-swapped constant.
3691 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3694 * locale/iso-639.def: add Miskito.
3695 * localedata/SUPPORTED: Add miq_NI/UTF-8.
3696 * localedata/locales/miq_NI: New file.
3698 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
3701 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
3702 (__mkdir): Likewise.
3703 * io/chmod.c (__chmod): Add libc_hidden_def.
3704 * io/mkdir.c (__mkdir): Likewise.
3705 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3706 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3707 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
3708 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
3710 2017-09-04 Joseph Myers <joseph@codesourcery.com>
3712 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3716 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
3717 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3719 2017-09-04 Florian Weimer <fweimer@redhat.com>
3721 * math/math.h: Issue warning if log is defined.
3723 2017-09-04 Joseph Myers <joseph@codesourcery.com>
3725 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3726 kernel version to 4.13.
3728 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3730 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
3731 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
3733 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
3734 just <bits/types.h>.
3735 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
3736 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
3737 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
3738 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
3739 * misc/preadv2.c: Include <errno.h>.
3740 * misc/preadv64v2.c: Include <errno.h>.
3741 * misc/pwritev2.c: Include <errno.h>.
3742 * misc/pwritev64v2.c: Include <errno.h>.
3743 * sysdeps/posix/preadv2.c: Include <errno.h>.
3744 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
3745 Fix <unistd.h> inclusion.
3746 * sysdeps/posix/pwritev2.c: Include <errno.h>.
3747 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
3748 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
3749 __strtoul_internal): New functions.
3750 * sysdeps/posix/pause.c: Include <sigsetops.h>.
3751 * sysdeps/posix/system.c: Include <sigsetops.h>.
3752 * sysdeps/mach/hurd/i386/Makefile
3753 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3754 [$(subdir) = csu] (sysdep-only-routines): Likewise.
3755 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3756 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
3757 __feraiseexcept_renamed to feraiseexcept instead of
3759 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
3760 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
3761 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
3762 RWF_NOWAIT): Define to 0 if undefined already.
3763 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
3765 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
3766 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
3768 2017-09-01 Joseph Myers <joseph@codesourcery.com>
3770 * manual/math.texi (pow10): Do not document.
3773 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
3774 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
3775 * math/libm-test-exp10.inc (pow10_test): Remove.
3776 (do_test): Do not call pow10.
3777 * math/w_exp10_compat.c (pow10): Make into compat symbol.
3778 [NO_LONG_DOUBLE] (pow10l): Likewise.
3779 * math/w_exp10f_compat.c (pow10f): Likewise.
3780 * math/w_exp10l_compat.c (pow10l): Likewise.
3781 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
3782 (pow10): Make into compat symbol.
3783 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
3784 (pow10f): Make into compat symbol.
3785 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
3786 (pow10l): Make into compat symbol.
3787 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
3789 (CFLAGS-nldbl-pow10.c): Remove variable..
3790 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
3791 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
3792 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
3793 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
3794 Undefine and redefine.
3795 (pow10l): Make into compat symbol.
3796 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
3797 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3798 * sysdeps/arm/libm-test-ulps: Likewise.
3799 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
3800 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3801 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3802 * sysdeps/microblaze/libm-test-ulps: Likewise.
3803 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3804 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3805 * sysdeps/nios2/libm-test-ulps: Likewise.
3806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3807 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3809 * sysdeps/sh/libm-test-ulps: Likewise.
3810 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3811 * sysdeps/tile/libm-test-ulps: Likewise.
3812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3814 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3816 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
3818 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3820 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
3821 "../ChangeLog.old/ChangeLog.8".
3822 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
3823 "../ChangeLog.old/ChangeLog.14".
3825 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3827 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
3830 2017-09-01 Joseph Myers <joseph@codesourcery.com>
3832 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
3834 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
3836 * csu/version.c (banner): Remove "by Roland McGrath et al.".
3837 * nptl/Banner: Remove "by Ulrich Drepper et al.".
3839 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3841 * stdlib/tst-atexit-common.c (do_test): Test support for at least
3844 2017-09-01 Zack Weinberg <zackw@panix.com>
3846 * math/math.h (HUGE_VAL): Improve commentary.
3848 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3849 Andreas Schwab <schwab@suse.de>
3852 * include/stdio.h (__gen_tempfd): New function.
3853 * stdio-common/Makefile (routines): Add gentempfd.
3854 * stdio-common/gentempfd.c: New file.
3855 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
3856 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
3859 2017-09-01 Florian Weimer <fweimer@redhat.com>
3863 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
3864 result to determine success or failure, not the errno value.
3865 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
3866 (tst-nss-files-hosts-erange): Link with -ldl.
3867 * nss/tst-nss-files-hosts-erange.c: New file.
3868 * nss/tst-resolv-basic.c (response): Handle nodata.example.
3869 (do_test): Add NO_DATA tests.
3870 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
3873 2017-09-01 Florian Weimer <fweimer@redhat.com>
3876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
3877 coming from gethostbyname2_r.
3879 2017-09-01 Florian Weimer <fweimer@redhat.com>
3881 * support/namespace.h (struct support_chroot_configuration): Add
3883 (struct support_chroot): Add path_hosts, path_host_conf.
3884 * support/support_chroot.c (write_file): New function.
3885 (support_chroot_create): Call it to process /etc/resolv.conf,
3886 /etc/hosts, /etc/host.conf.
3887 (support_chroot_free): Update.
3889 2017-09-01 Florian Weimer <fweimer@redhat.com>
3891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
3892 status indicates it is set.
3894 2017-09-01 Florian Weimer <fweimer@redhat.com>
3896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
3897 function lookup failures more reliable.
3899 2017-09-01 Florian Weimer <fweimer@redhat.com>
3901 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
3902 (getcanonname): Likewise.
3903 (gaih_inet): Likewise.
3905 2017-09-01 Florian Weimer <fweimer@redhat.com>
3907 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
3908 (getcanonname): Likewise.
3909 (gaih_inet): Likewise.
3911 2017-08-31 Steve Ellcey <sellcey@cavium.com>
3912 Richard Henderson <rth@twiddle.net>
3914 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
3915 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
3916 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
3917 (IREG_SIZE, OREG_SIZE): New macros.
3918 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
3919 (IREG_SIZE, OREG_SIZE): New macros.
3920 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
3921 (IREG_SIZE): New macro.
3922 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
3923 (IREG_SIZE): New macro.
3924 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
3926 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
3927 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
3928 (__CONCATX): Handle exceptions correctly on large values that may
3930 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
3931 Initialize if not already set.
3932 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
3934 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3936 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
3937 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
3939 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
3941 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
3943 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
3945 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
3947 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
3949 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
3951 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
3952 (NO_CANCELLATION): Likewise.
3953 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
3955 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
3957 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
3959 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
3960 (NO_CANCELLATION): Likewise.
3961 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
3962 (NO_CANCELLATION): Likewise.
3963 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
3965 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
3967 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
3969 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
3971 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
3973 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
3974 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
3976 2017-08-31 Steve Ellcey <sellcey@cavium.com>
3978 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
3981 2017-08-31 Florian Weimer <fweimer@redhat.com>
3983 * include/libc-symbols.h (internal_function): Remove.
3985 2017-08-31 Florian Weimer <fweimer@redhat.com>
3987 * stdlib/fmtmsg.c (internal_addseverity): Remove
3990 2017-08-31 Florian Weimer <fweimer@redhat.com>
3992 * stdio-common/printf_fp.c (group_number): Remove
3994 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3996 2017-08-31 Florian Weimer <fweimer@redhat.com>
3998 * posix/fnmatch.c (internal_function): Remove definition.
3999 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4000 * posix/regcomp.c (peek_token, init_word_char)
4001 (duplicate_node_closure, fetch_token, peek_token)
4002 (peek_token_bracket, build_range_exp, build_collating_symbol):
4004 * posix/regex_internal.c (re_string_construct_common)
4005 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4006 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4007 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4008 (re_string_translate_buffer, re_string_reconstruct)
4009 (re_string_peek_byte_case, re_string_fetch_byte_case)
4010 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4011 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4012 (re_node_set_add_intersect, re_node_set_init_union)
4013 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4014 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4015 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4016 (re_acquire_state_context): Likewise.
4017 * posix/regex_internal.h (internal_function): Remove definition.
4018 (re_string_realloc_buffers, build_wcs_buffer)
4019 (build_wcs_upper_buffer, build_upper_buffer)
4020 (re_string_translate_buffer, re_string_context_at)
4021 (re_string_char_size_at, re_string_wchar_at)
4022 (re_string_elem_size_at): Likewise.
4023 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4024 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4025 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4026 (re_search_internal, re_search_2_stub, re_search_stub)
4027 (re_copy_regs, prune_impossible_nodes, check_matching)
4028 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4029 (free_fail_stack_return, sift_states_iter_mb)
4030 (sift_states_backward, build_sifted_states)
4031 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4032 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4033 (check_subexp_limits, sift_states_bkref, merge_state_array)
4034 (find_recover_state, transit_state, merge_state_with_log)
4035 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4036 (transit_state_mb, transit_state_bkref, get_subexp)
4037 (get_subexp_sub, find_subexp_node, check_arrival)
4038 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4039 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4040 (check_node_accept_bytes, find_collation_sequence_value)
4041 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4042 (acquire_init_state_context, check_halt_node_context)
4043 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4044 (sub_epsilon_src_nodes): Likewise.
4045 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4046 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4047 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4048 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4049 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4050 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4051 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4052 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4053 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4054 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4056 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4058 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4059 (PWRITEV): Likewise.
4060 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4061 (PWRITEV): Likewise.
4062 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4063 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4065 2017-08-31 Florian Weimer <fweimer@redhat.com>
4067 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
4068 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
4069 Remove internal_function.
4070 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4071 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
4072 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
4073 (__deallocate_stack, __libc_pthread_init)
4074 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
4075 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
4076 (__libc_disable_asynccancel, __librt_disable_asynccancel):
4078 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
4079 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
4080 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
4082 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
4083 (__pthread_mutex_unlock_usercnt): Likewise.
4085 2017-08-31 Florian Weimer <fweimer@redhat.com>
4087 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
4088 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
4089 (fts_safe_changedir): Remove internal_function.
4090 * io/ftw.c (internal_function): Remove definition.
4091 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
4093 2017-08-31 Florian Weimer <fweimer@redhat.com>
4095 * inet/deadline.c (__deadline_current_time)
4096 (__deadline_from_timeval, __deadline_to_ms): Remove
4098 * inet/getnameinfo.c (nrl_domainname): Likewise.
4099 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4100 * inet/inet6_option.c (add_pad): Likewise.
4101 * inet/net-internal.h (__deadline_current_time)
4102 (__deadline_from_timeval, __deadline_to_ms): Likewise.
4103 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
4104 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
4105 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
4107 2017-08-31 Joseph Myers <joseph@codesourcery.com>
4109 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
4110 include <bits/nan.h>.
4111 * math/Makefile (headers): Remove bits/nan.h.
4112 * bits/nan.h: Remove.
4113 * sysdeps/ieee754/bits/nan.h: Likewise.
4114 * sysdeps/mips/bits/nan.h: Likewise.
4116 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
4117 not include <bits/inf.h>.
4118 * math/Makefile (headers): Remove bits/inf.h.
4119 * bits/inf.h: Remove.
4120 * sysdeps/ieee754/bits/inf.h: Likewise.
4122 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
4123 bits/huge_vall.h or bits/huge_val_flt128.h.
4124 (HUGE_VAL): Define directly here.
4125 [__USE_ISOC99] (HUGE_VALF): Likewise.
4126 [__USE_ISOC99] (HUGE_VALL): Likewise.
4127 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4128 (HUGE_VAL_F128): Likewise.
4129 * math/Makefile (headers): Remove bits/huge_val.h,
4130 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
4131 * bits/huge_val.h: Remove.
4132 * bits/huge_val_flt128.h: Likewise.
4133 * bits/huge_valf.h: Likewise.
4134 * bits/huge_vall.h: Likewise.
4135 * sysdeps/ia64/bits/huge_vall.h: Likewise.
4136 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4137 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
4138 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
4139 * sysdeps/sh/bits/huge_val.h: Likewise.
4140 * sysdeps/sparc/bits/huge_vall.h: Likewise.
4141 * sysdeps/x86/bits/huge_vall.h: Likewise.
4143 2017-08-31 Florian Weimer <fweimer@redhat.com>
4145 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
4147 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
4149 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
4150 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4151 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
4152 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
4153 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4154 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4155 * elf/dl-libc.c (dlerror_run): Likewise.
4156 * elf/dl-load.c (add_name_to_object, decompose_rpath)
4157 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
4158 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
4159 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
4161 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
4162 (_dl_higher_prime_number, _dl_strtoul): Likewise.
4163 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
4164 * elf/dl-profile.c (_dl_start_profile): Likewise.
4165 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
4166 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
4168 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
4169 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
4170 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
4171 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
4172 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
4173 (_dl_allocate_tls_storage): Likewise.
4174 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
4175 (_dl_check_all_versions): Likewise.
4176 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4177 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
4178 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
4179 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4180 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
4181 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
4182 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
4183 internal_function from __dl_start.
4184 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
4185 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4186 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
4187 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
4188 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
4189 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
4190 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
4191 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
4192 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
4193 (_dl_next_ld_env_entry, _dl_important_hwcaps)
4194 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
4195 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
4196 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
4197 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
4198 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
4200 (struct rtld_global_ro): Remove internal_function from the
4201 _dl_lookup_symbol_x member.
4202 (_dl_symbol_value): Remove. No longer defined anywhere.
4203 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
4205 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4206 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4207 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
4208 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
4209 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
4210 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
4211 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
4212 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
4213 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
4214 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4215 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
4216 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4218 2017-08-31 Florian Weimer <fweimer@redhat.com>
4220 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
4221 Remove internal_function.
4222 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4224 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
4227 2017-08-31 Florian Weimer <fweimer@redhat.com>
4229 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
4230 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
4231 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
4233 2017-08-31 Florian Weimer <fweimer@redhat.com>
4235 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
4236 (__gai_enqueue_request): Remove internal_function.
4237 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
4238 (__gai_remove_request, __gai_notify, __gai_notify_only)
4239 (__gai_sigqueue): Likewise.
4240 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
4241 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4242 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
4243 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4246 2017-08-31 Florian Weimer <fweimer@redhat.com>
4248 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4249 * include/dirent.h (__opendirat, __getdents, __getdents64)
4250 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
4251 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
4252 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4253 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4255 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
4257 2017-08-31 Florian Weimer <fweimer@redhat.com>
4259 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
4261 (GETCWD_RETURN_TYPE): Likewise.
4263 2017-08-31 Florian Weimer <fweimer@redhat.com>
4265 * include/time.h (__tz_compute, __strptime_internal): Remove
4267 * time/strptime_l.c (__strptime_internal): Likewise.
4268 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
4270 2017-08-31 Florian Weimer <fweimer@redhat.com>
4272 * iconv/gconv.c (__gconv): Remove internal_function.
4273 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
4274 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
4275 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
4276 (__gconv_release_cache): Likewise.
4277 * iconv/gconv_close.c (__gconv_close): Likewise.
4278 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
4279 (read_conf_file, __gconv_get_path): Likewise.
4280 * iconv/gconv_db.c (derivation_lookup, add_derivation)
4281 (__gconv_release_step, gen_steps, increment_counter)
4282 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
4283 (__gconv_close_transform, free_modules_db): Likewise.
4284 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
4286 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
4287 (__gconv_find_transform, __gconv_lookup_cache)
4288 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
4289 (__gconv_close_transform, __gconv_release_cache)
4290 (__gconv_loaded_object, __gconv_release_shlib)
4291 (__gconv_compare_alias): Likewise.
4292 * iconv/gconv_open.c (__gconv_open): Likewise.
4293 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
4294 * iconv/iconvconfig.c (add_module): Likewise.
4295 * intl/dcigettext.c (plural_lookup, guess_category_value)
4296 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
4297 * intl/eval-plural.h (plural_eval): Likewise.
4298 * intl/finddomain.c (_nl_find_domain): Likewise.
4299 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
4300 (_nl_load_domain, _nl_find_msg): Likewise.
4301 (internal_function): Remove definition.
4302 * intl/loadinfo.h (internal_function): Likewise.
4303 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
4305 * intl/localealias.c (internal_function): Remove definition.
4306 (read_alias_file): Remove internal_function.
4307 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
4308 * intl/plural-exp.h (internal_function): Remove definition.
4309 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
4311 * intl/plural.c: Regenerate.
4312 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
4313 * locale/coll-lookup.c (__collidx_table_lookup)
4314 (__collseq_table_lookup): Likewise.
4315 * locale/coll-lookup.h (__collidx_table_lookup)
4316 (__collseq_table_lookup): Likewise.
4317 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
4318 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4319 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
4320 (_nl_unload_locale): Likewise.
4321 * locale/localeinfo.h (struct __locale_data): Remove
4322 internal_function from cleanup member.
4323 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
4324 (_nl_remove_locale, _nl_load_locale_from_archive)
4325 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
4326 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
4327 (_nl_cleanup_time): Remove internal_function.
4328 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
4329 (_nl_parse_alt_digit): Likewise.
4330 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
4331 (_nl_select_era_entry): Likewise.
4332 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
4333 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4334 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4335 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
4336 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
4338 2017-08-31 Florian Weimer <fweimer@redhat.com>
4340 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
4341 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4342 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
4343 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
4345 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
4346 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
4347 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
4348 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4350 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
4352 2017-08-31 Florian Weimer <fweimer@redhat.com>
4354 * misc/getttyent.c (skip, value): Remove internal_function.
4355 * misc/syslog.c (openlog_internal): Likewise.
4356 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
4358 2017-08-31 Florian Weimer <fweimer@redhat.com>
4360 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
4361 (__nss_rewrite_field): Remove internal_function.
4362 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4363 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
4364 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4365 * nss/nsswitch.c (nss_parse_file, nss_getline)
4366 (nss_parse_service_list, nss_new_service): Likewise.
4367 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
4368 * nss/valid_field.c (__nss_valid_field): Likewise.
4369 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4371 2017-08-31 Florian Weimer <fweimer@redhat.com>
4373 * malloc/arena.c (__malloc_fork_lock_parent)
4374 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
4375 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
4376 internal_function from defintions.
4377 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
4378 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
4379 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
4380 internal_function from declarations.
4381 * malloc/malloc.c (internal_function): Do not define.
4382 (mem2mem_check): Remove internal_function from declaration.
4383 (munmap_chunk, mremap_chunk): Remove internal_function.
4384 * malloc/mtrace.c (tr_where): Likewise.
4386 2017-08-31 Florian Weimer <fweimer@redhat.com>
4388 * include/rpc/pmap_clnt.h (__get_socket): Remove
4390 * sunrpc/auth_des.c (synchronize): Likewise.
4391 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
4392 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
4393 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
4394 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
4395 (key_call): Likewise.
4396 * sunrpc/pm_getport.c (__get_socket): Likewise.
4397 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
4398 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
4399 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
4400 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
4401 (invalidate): Likewise.
4402 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
4403 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
4404 (set_input_fragment, get_input_bytes): Likewise.
4406 2017-08-31 Florian Weimer <fweimer@redhat.com>
4408 * malloc/malloc.c (_int_free): Remove locked variable and related
4411 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
4414 * Makerules (build-module-helper-objlist): Filter out
4415 $(elf-objpfx)sofini.os.
4416 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
4419 2017-08-31 Florian Weimer <fweimer@redhat.com>
4421 * libio/fcloseall.c: Assume weak_alias is defined.
4422 * libio/feof.c: Likewise.
4423 * libio/fileno.c: Likewise.
4424 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
4425 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4427 (_IO_file_open): Call __open directly.
4428 (_IO_new_file_sync): Assume ESPIPE is defined.
4429 (_IO_file_seekoff_maybe_mmap): Call __read directly.
4430 (_IO_new_file_write): Call __write directly.
4431 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
4432 * libio/ftello64.c (__ftello64): Assume EIO is defined.
4433 * libio/genops.c: Assume _LIBC is defined.
4434 (save_for_backup): Remove internal_function.
4435 * libio/getc.c: Assume weak_alias is defined.
4436 * libio/getwc.c: Likewise.
4437 * libio/iofclose.c: Assume _LIBC is defined.
4438 * libio/iofdopen.c: Likewise.
4439 (_IO_fcntl): Remove macro definition.
4440 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
4441 Call __fcntl directly.
4442 * libio/iofflush.c: Assume weak_alias is defined.
4443 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
4445 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
4446 * libio/iofgets.c: Likewise.
4447 * libio/iofopen.c: Assume _LIBC is defined.
4448 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
4449 * libio/iofputs.c: Assume weak_alias is defined.
4450 * libio/iofread.c: Likewise.
4451 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
4452 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4453 * libio/ioftell.c: Assume weak_alias is defined.
4454 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
4455 * libio/iofwide.c: Assume _LIBC is defined.
4456 (_IO_fwide): Drop SHARED conditional because it is implied by
4458 * libio/iofwrite.c: Assume weak_alias is defined.
4459 * libio/iogetdelim.c: Likewise.
4460 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
4461 * libio/iogetwline.c (wmemcpy): Remove macro definition.
4462 (_IO_getwline): Call __wmemcpy directly.
4463 * libio/iopopen.c: Assume _LIBC is defined.
4464 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4465 (_IO_close): Remove macro definitions.
4466 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
4468 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
4470 * libio/ioputs.c: Assume weak_alias is defined.
4471 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
4472 * libio/iosetbuffer.c: Assume weak_alias is defined.
4473 * libio/iosetvbuf.c: Likewise.
4474 * libio/ioungetc.c: Likewise.
4475 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
4476 libc_hidden_def, libc_hidden_weak, NULL are defined.
4477 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
4478 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
4480 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
4482 (_IO_old_file_init_internal): Drop SHARED conditional because it
4483 is implied by SHLIB_COMPAT.
4484 (_IO_old_file_fopen): Call __open directly.
4485 (_IO_old_file_sync): Assume ESPIPE is defined.
4486 (_IO_old_file_write): Call __write directly.
4487 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
4488 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
4489 Call __fcntl directly.
4490 * libio/oldiofgetpos.c: Assume weak_alias is defined.
4491 (_IO_old_fgetpos): Assume EIO is defined.
4492 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
4493 (_IO_old_fgetpos64): Assume EIO is defined.
4494 * libio/oldiofsetpos.c: Assume weak_alias is defined.
4495 (_IO_old_fsetpos): Assume EIO is defined.
4496 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
4497 (_IO_old_fsetpos64): Assume EIO is defined.
4498 * libio/oldiopopen.c: Assume _LIBC is defined.
4499 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
4500 (_IO_close): Remove macro definitions.
4501 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
4503 (_IO_old_proc_close): Call __close, __waitpid directly.
4504 * libio/put.c: Assume weak_alias is defined.
4505 * libio/stdfiles.c: Assume _LIBC is defined.
4506 * libio/stdio.c: Likewise.
4507 * libio/wfileops.c: Likewise.
4508 (_IO_wfile_sync): Assume ESPIPE is defined.
4509 * libio/wgenops.c: Assume _LIBC is defined.
4510 (save_for_wbackup): Remove internal_function.
4512 2017-08-31 Florian Weimer <fweimer@redhat.com>
4514 * malloc/malloc.c (top_check): Change return type to void. Remove
4516 * malloc/hooks.c (top_check): Likewise.
4517 (malloc_check, realloc_check, memalign_check): Adjust.
4519 2017-08-30 Joseph Myers <joseph@codesourcery.com>
4522 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4523 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
4524 sigcontext and namespace requirements.
4525 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
4526 * sysdeps/m68k/sys/ucontext.h: Likewise.
4527 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
4528 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4529 <bits/sigcontext.h>.
4530 (__ctx): Define earlier.
4531 (mcontext_t): Define structure contents rather than using struct
4533 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
4534 __glibc_reserved1 instead of __reserved.
4535 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4536 <bits/sigcontext.h>.
4537 (__ctx): Define earlier.
4538 (mcontext_t): Define structure contents rather than using struct
4540 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
4541 mcontext_t instead of struct sigcontext.
4542 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4543 <bits/sigcontext.h>.
4544 (__ctx): Define earlier.
4545 (mcontext_t): Define structure contents rather than using struct
4547 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4548 <bits/sigcontext.h>.
4549 (__ctx): Define earlier.
4550 (mcontext_t): Define structure contents rather than using struct
4552 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
4553 mcontext_t instead of struct sigcontext.
4554 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
4555 mcontext_t instead of struct sigcontext.
4556 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4557 <bits/sigcontext.h>.
4559 (struct __ia64_fpreg_mcontext): New type.
4560 (mcontext_t): Define structure contents rather than using struct
4562 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
4563 (uc_sigmask): Define using __ctx.
4564 (uc_stack): Likewise.
4565 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
4566 <bits/sigcontext.h>.
4567 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4568 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4569 <bits/sigcontext.h>.
4570 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
4571 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4572 <bits/sigcontext.h>.
4573 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4574 <bits/sigcontext.h>.
4575 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4576 <bits/sigcontext.h>.
4577 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4578 <bits/sigcontext.h>.
4579 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4580 <bits/sigcontext.h>.
4581 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4582 <bits/sigcontext.h>.
4583 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4584 <bits/sigcontext.h>.
4585 (__ctx): Define earlier.
4586 (mcontext_t): Define structure contents rather than using struct
4588 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4589 <bits/sigcontext.h>. Include <bits/types.h>.
4590 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
4591 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
4592 (test-xfail-XPG42/ucontext.h/conform): Likewise.
4593 (test-xfail-UNIX98/signal.h/conform): Likewise.
4594 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4595 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4596 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4597 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4598 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4599 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4600 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4601 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4602 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4604 2017-08-30 Florian Weimer <fweimer@redhat.com>
4606 * malloc/dynarray_emplace_enlarge.c
4607 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
4608 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4609 * malloc/tst-dynarray.c (test_long_overflow): New function.
4612 2017-08-30 Florian Weimer <fweimer@redhat.com>
4614 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
4615 (set_arena_corrupt): Remove definitions.
4616 (mtrim): Do not check for corrupt arena.
4617 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
4620 2017-08-30 Florian Weimer <fweimer@redhat.com>
4623 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
4625 (ptmalloc_init): Do not set or use check_action.
4626 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
4627 call to malloc_printerr. Remove return statement.
4628 (free_check): Likewise. Remove arena unlock.
4629 (top_check): Update comment. Adjust call to malloc_printerr.
4630 Remove heap repair code.
4631 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
4632 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
4633 (sysmalloc): Adjust call to malloc_printerr.
4634 (munmap_chunk, __libc_realloc): Likewise. Remove return
4636 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
4637 Remove errout label and corresponding gotos.
4638 (_int_free): Likewise. Remove arena unlock.
4639 (do_set_mallopt_check): Do not set check_action.
4640 (malloc_printerr): Adjust parameter list. Do not mark arena as
4642 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
4644 * manual/probes.texi (Memory Allocation Probes): Remove
4645 memory_mallopt_check_action.
4647 2017-08-30 Steve Ellcey <sellcey@cavium.com>
4649 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
4650 Use pointer to uint64_t instead of long int for sp.
4652 2017-08-30 Florian Weimer <fweimer@redhat.com>
4655 * malloc/malloc.c (malloc_printerr): Always terminate the process,
4656 without printing a backtrace. Do not leak any information in the
4658 * manual/memory.texi (Heap Consistency Checking): Update.
4659 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
4661 2017-08-30 Florian Weimer <fweimer@redhat.com>
4663 Do not scale NPTL tests with available number of CPUs.
4664 * nptl/tst-cond16.c (count): Set to constant value of 8.
4665 * nptl/tst-cond18.c (count): Likewise.
4667 2017-08-29 Joseph Myers <joseph@codesourcery.com>
4670 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
4671 Define to take a second argument that is a macro that
4672 concatentates a suffix, not the suffix itself.
4673 (__CONCAT_d): New macro.
4674 (__CONCAT_f): Likewise.
4675 (__CONCAT_l): Likewise.
4677 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
4679 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
4682 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4683 Aurelien Jarno <aurelien@aurel32.net>
4684 Maciej W. Rozycki <macro@imgtec.com>
4687 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
4688 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
4689 `mips16-syscall6' and `mips16-syscall7'.
4690 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
4691 (CFLAGS-mips16-syscall7.c): Remove.
4692 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
4693 Remove `__mips16_syscall5', `__mips16_syscall6' and
4694 `__mips16_syscall7'.
4695 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
4696 (__mips16_syscall0): Rename `__mips16_syscall_return' to
4697 `__mips_syscall_return'.
4698 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
4699 (__mips16_syscall1): Likewise.
4700 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
4701 (__mips16_syscall2): Likewise.
4702 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
4703 (__mips16_syscall3): Likewise.
4704 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
4705 (__mips16_syscall4): Likewise.
4706 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
4708 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
4710 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
4712 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
4713 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
4714 `__mips16_syscall5'. Remove prototype.
4715 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
4716 `__mips16_syscall6'. Remove prototype.
4717 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
4718 `__mips16_syscall7'. Remove prototype.
4719 (__nomips16, __mips16_syscall_return): Move to...
4720 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
4721 (__nomips16, __mips_syscall_return): ... here.
4722 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
4723 `__mips16_syscall_return' to `__mips_syscall_return'.
4724 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
4725 `internal_syscall##nr'.
4726 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
4727 `internal_syscall##nr'.
4728 (FORCE_FRAME_POINTER): Remove.
4729 (__mips_syscall5): New prototype.
4730 (internal_syscall5): Rewrite to call `__mips_syscall5'.
4731 (__mips_syscall6): New prototype.
4732 (internal_syscall6): Rewrite to call `__mips_syscall6'.
4733 (__mips_syscall7): New prototype.
4734 (internal_syscall7): Rewrite to call `__mips_syscall7'.
4735 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
4736 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
4737 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
4738 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
4739 (sysdep_routines): Add libc-do-syscall.
4740 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
4741 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
4743 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4746 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
4747 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
4748 (advise_stack_range): New function.
4749 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
4750 stack non required to advise_stack_range at allocatestack.c
4752 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4754 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
4756 2017-08-29 Florian Weimer <fweimer@redhat.com>
4759 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
4760 __end_fct. Mangle __end_fct after setting it to NULL.
4761 * iconv/Makefile (tests): Add tst-gconv-init-failure.
4762 (modules-names, modules-names-tests): Add
4763 tst-gconv-init-failure-mod.
4764 (gconv-modules): New target.
4765 (tst-gconv-init-failure-mod.so): Link against libsupport.
4766 (tst-gconv-init-failure): Depend on gconv-modules,
4767 tst-gconv-init-failure-mod.so.
4768 * iconv/tst-gconv-init-failure-mod.c: New file.
4769 * iconv/tst-gconv-init-failure.c: Likewise.
4770 * iconv/test-gconv-modules: Likewise.
4772 2017-08-29 Florian Weimer <fweimer@redhat.com>
4775 * iconv/gconv_db.c (free_derivation): Remove redundant
4777 (gen_steps): Unconditionally mangle __btowc_fct after
4779 (increment_counter): Likewise. Do not call init_fct for internal
4782 2017-08-29 Joseph Myers <joseph@codesourcery.com>
4785 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
4786 (_MSUF_): Remove macro.
4787 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
4789 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
4790 (__REDIRFROM_X): New macro.
4791 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
4793 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
4794 (__REDIRTO_X): Likewise.
4795 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
4797 (__MATH_REDIRCALL_2): Likewise.
4798 (__MATH_REDIRCALL_INTERNAL): Likewise.
4799 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
4800 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
4801 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
4802 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
4803 * math/test-finite-macros.c: New file.
4804 * math/Makefile (tests): Add test-finite-macros.
4805 (CFLAGS-test-finite-macros.c): New variable.
4807 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
4808 Jeff Law <law@redhat.com>
4811 Mangle NULL pointers in iconv/gconv.
4812 * iconv/gconv_cache.c (find_module): Demangle init_fct before
4813 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
4814 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
4815 is non-NULL before demangling the end_fct. Check for NULL
4816 end_fct after demangling.
4817 (__gconv_release_step): Demangle the end_fct before checking
4818 it for NULL. Remove assert on __shlibc_handle != NULL.
4819 (gen_steps): Don't check btowc_fct for NULL before mangling.
4820 Demangle init_fct before checking for NULL.
4821 (increment_counter): Likewise.
4822 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
4823 end_fct for NULL before mangling.
4824 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
4827 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
4830 * locale/iso-639.def: add Morisyen.
4832 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4835 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
4836 (iszero): New C++ implementation that does not use
4837 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
4838 signaling nans are enabled, since __builtin_types_compatible_p
4839 is a C-only feature.
4840 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
4841 defined, include ieee754_float128.h for access to the union and
4842 member ieee854_float128.ieee.
4843 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
4844 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
4845 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
4846 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
4847 options of test-math-zero on powerpc64le.
4849 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
4851 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
4852 Change double to float.
4854 2017-08-28 Joseph Myers <joseph@codesourcery.com>
4856 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
4858 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
4859 conditional code; define contents only for [LIBM_SVID_COMPAT].
4861 2017-08-28 Florian Weimer <fweimer@redhat.com>
4863 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
4864 (abi-lp64_be-options): Remove.
4865 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
4866 (abi-hard-options): Likewise.
4867 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
4868 (abi-o32_hard-options, abi-o32_soft_2008-options)
4869 (abi-o32_hard_2008-options, abi-n32_soft-options)
4870 (abi-n32_hard-options, abi-n32_soft_2008-options)
4871 (abi-n32_hard_2008-options, abi-n64_soft-options)
4872 (abi-n64_hard-options, abi-n64_soft_2008-options)
4873 (abi-n64_hard_2008-options): Likewise.
4874 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
4875 (abi-64-v1-options, abi-64-v2-options): Likewise.
4876 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
4877 (abi-64-options): Likewise.
4878 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
4879 (abi-64-options): Likewise.
4880 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
4881 (abi-64-options): Likewise.
4882 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
4883 (abi-64-options, abi-x32-options): Likewise.
4885 2017-08-28 Florian Weimer <fweimer@redhat.com>
4887 Store supported list of SYS_* system calls in the source tree.
4888 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4889 (bits/syscall.h): Generate from list file.
4890 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
4891 [$(subdir) = misc] (tests): Add tst-syscall-list.
4892 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
4893 [$(subdir) = misc] (tst-syscall-list-macros.list)
4894 [$(subdir) = misc] (tst-syscall-list-nr.list)
4895 (tst-syscall-list-sys.list): Helper targets for new
4896 tst-syscall-list test.
4897 [$(subdir) = misc] (tst-syscall-list.out): Run test script
4898 tst-syscall-list.sh.
4899 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
4900 target. Do not include bits/syscall.d.
4901 [$(subdir) = misc] (generated): Do not update.
4902 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
4903 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
4904 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
4905 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
4907 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4909 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
4910 (tst-cxa_atexit, tst-on_exit): Likewise.
4911 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
4912 tst-cxa_atexit, and tst-on_exit.
4913 * stdlib/tst-atexit-common.c: New file.
4914 * stdlib/tst-atexit.c: New file.
4915 * stdlib/tst-at_quick_exit.c: New file.
4916 * stdlib/tst-cxa_atexit.c: New file.
4917 * stdlib/tst-on_exit.c: New file.
4919 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4921 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
4922 * mach/stack_chk_fail_local.c: New file.
4923 * hurd/stack_chk_fail_local.c: New file.
4924 * mach/Machrules ($(interface-library)-routines): Add
4925 stack_chk_fail_local.
4926 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
4927 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
4928 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
4929 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
4930 * hurd/Makefile (CFLAGS-hurdstartup.o,
4931 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
4933 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
4935 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
4936 (index_cpu_*, index_arch_*): Removed.
4938 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4940 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
4941 Use uint64_t instead of unsigned long.
4943 2017-08-25 Joseph Myers <joseph@codesourcery.com>
4945 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
4946 [__HAVE_DISTINCT_FLOAT128].
4948 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
4949 of <bits/math-finite.h>.
4950 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
4951 inclusion of <bits/math-finite.h>.
4952 * math/bits/math-finite.h (__REDIRTO_X): Do not define
4953 conditionally on [__MATH_DECLARING_LDOUBLE && defined
4954 __NO_LONG_DOUBLE_MATH].
4955 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
4956 (__MATH_REDIRCALL_2): Likewise.
4957 (__MATH_REDIRCALL_INTERNAL): Likewise.
4958 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
4959 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
4960 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
4962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4974 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4975 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4976 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4979 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
4980 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
4981 w_sqrtf_compat-ppc32.
4983 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4985 * math/math.h [defined __cplusplus] (issignaling): In the long
4986 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
4987 is not defined. Call __issignaling, otherwise.
4989 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4991 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
4992 syscall definitions and replace __builtin_expect with __glibc_likely.
4993 * sysdeps/unix/syscall-template.S: Update comment about cancellable
4995 (SYSCALL_CANCELLABLE): Removedefinition
4996 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
4998 (PSEUDO_END): Likewise.
4999 [IS_IN (libpthread)] (CENABLE): Likewise.
5000 [IS_IN (libpthread)] (CDISABLE): Likewise.
5001 [IS_IN (libc)] (CENABLE): Likewise.
5002 [IS_IN (libc)] (CENABLE): Likewise.
5003 [IS_IN (librt)] (CDISABLE): Likewise.
5004 [IS_IN (librt)] (CDISABLE): Likewise.
5005 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5006 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5008 (PSEUDO_END): Likewise.
5009 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5010 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5011 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5012 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5013 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5014 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5015 (CENABLE): Likewise.
5016 (CDISABLE): Likewise.
5017 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5018 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5020 (PSEUDO_END): Likewise.
5021 [IS_IN (libpthread)] (CENABLE): Likewise.
5022 [IS_IN (libpthread)] (CDISABLE): Likewise.
5023 [IS_IN (libc)] (CENABLE): Likewise.
5024 [IS_IN (libc)] (CENABLE): Likewise.
5025 [IS_IN (librt)] (CDISABLE): Likewise.
5026 [IS_IN (librt)] (CDISABLE): Likewise.
5027 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5028 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5030 (PSEUDO_END): Likewise.
5031 [IS_IN (libpthread)] (CENABLE): Likewise.
5032 [IS_IN (libpthread)] (CDISABLE): Likewise.
5033 [IS_IN (libc)] (CENABLE): Likewise.
5034 [IS_IN (libc)] (CENABLE): Likewise.
5035 [IS_IN (librt)] (CDISABLE): Likewise.
5036 [IS_IN (librt)] (CDISABLE): Likewise.
5037 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5038 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5040 (PSEUDO_END): Likewise.
5041 [IS_IN (libpthread)] (CENABLE): Likewise.
5042 [IS_IN (libpthread)] (CDISABLE): Likewise.
5043 [IS_IN (libc)] (CENABLE): Likewise.
5044 [IS_IN (libc)] (CENABLE): Likewise.
5045 [IS_IN (librt)] (CDISABLE): Likewise.
5046 [IS_IN (librt)] (CDISABLE): Likewise.
5047 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5048 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5050 (PSEUDO_END): Likewise.
5051 [IS_IN (libpthread)] (CENABLE): Likewise.
5052 [IS_IN (libpthread)] (CDISABLE): Likewise.
5053 [IS_IN (libc)] (CENABLE): Likewise.
5054 [IS_IN (libc)] (CENABLE): Likewise.
5055 [IS_IN (librt)] (CDISABLE): Likewise.
5056 [IS_IN (librt)] (CDISABLE): Likewise.
5057 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5058 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
5060 (PSEUDO_END): Likewise.
5061 [IS_IN (libpthread)] (CENABLE): Likewise.
5062 [IS_IN (libpthread)] (CDISABLE): Likewise.
5063 [IS_IN (libc)] (CENABLE): Likewise.
5064 [IS_IN (libc)] (CENABLE): Likewise.
5065 [IS_IN (librt)] (CDISABLE): Likewise.
5066 [IS_IN (librt)] (CDISABLE): Likewise.
5067 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5068 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
5070 (PSEUDO_END): Likewise.
5071 [IS_IN (libpthread)] (CENABLE): Likewise.
5072 [IS_IN (libpthread)] (CDISABLE): Likewise.
5073 [IS_IN (libc)] (CENABLE): Likewise.
5074 [IS_IN (libc)] (CENABLE): Likewise.
5075 [IS_IN (librt)] (CDISABLE): Likewise.
5076 [IS_IN (librt)] (CDISABLE): Likewise.
5077 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5078 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
5080 (PSEUDO_END): Likewise.
5081 [IS_IN (libpthread)] (CENABLE): Likewise.
5082 [IS_IN (libpthread)] (CDISABLE): Likewise.
5083 [IS_IN (libc)] (CENABLE): Likewise.
5084 [IS_IN (libc)] (CENABLE): Likewise.
5085 [IS_IN (librt)] (CDISABLE): Likewise.
5086 [IS_IN (librt)] (CDISABLE): Likewise.
5087 (SINGLE_THREAD_P): Likewise.
5088 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
5090 (PSEUDO_END): Likewise.
5091 [IS_IN (libpthread)] (CENABLE): Likewise.
5092 [IS_IN (libpthread)] (CDISABLE): Likewise.
5093 [IS_IN (libc)] (CENABLE): Likewise.
5094 [IS_IN (libc)] (CENABLE): Likewise.
5095 [IS_IN (librt)] (CDISABLE): Likewise.
5096 [IS_IN (librt)] (CDISABLE): Likewise.
5097 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5098 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
5100 (PSEUDO_END): Likewise.
5101 [IS_IN (libpthread)] (CENABLE): Likewise.
5102 [IS_IN (libpthread)] (CDISABLE): Likewise.
5103 [IS_IN (libc)] (CENABLE): Likewise.
5104 [IS_IN (libc)] (CENABLE): Likewise.
5105 [IS_IN (librt)] (CDISABLE): Likewise.
5106 [IS_IN (librt)] (CDISABLE): Likewise.
5107 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5108 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
5109 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5110 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
5111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
5113 (PSEUDO_END): Likewise.
5114 [IS_IN (libpthread)] (CENABLE): Likewise.
5115 [IS_IN (libpthread)] (CDISABLE): Likewise.
5116 [IS_IN (libc)] (CENABLE): Likewise.
5117 [IS_IN (libc)] (CENABLE): Likewise.
5118 [IS_IN (librt)] (CDISABLE): Likewise.
5119 [IS_IN (librt)] (CDISABLE): Likewise.
5120 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5121 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
5123 (PSEUDO_END): Likewise.
5124 [IS_IN (libpthread)] (CENABLE): Likewise.
5125 [IS_IN (libpthread)] (CDISABLE): Likewise.
5126 [IS_IN (libc)] (CENABLE): Likewise.
5127 [IS_IN (libc)] (CENABLE): Likewise.
5128 [IS_IN (librt)] (CDISABLE): Likewise.
5129 [IS_IN (librt)] (CDISABLE): Likewise.
5130 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5131 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
5133 (PSEUDO_END): Likewise.
5134 [IS_IN (libpthread)] (CENABLE): Likewise.
5135 [IS_IN (libpthread)] (CDISABLE): Likewise.
5136 [IS_IN (libc)] (CENABLE): Likewise.
5137 [IS_IN (libc)] (CENABLE): Likewise.
5138 [IS_IN (librt)] (CDISABLE): Likewise.
5139 [IS_IN (librt)] (CDISABLE): Likewise.
5140 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5141 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
5142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5143 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
5144 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
5146 (PSEUDO_END): Likewise.
5147 [IS_IN (libpthread)] (CENABLE): Likewise.
5148 [IS_IN (libpthread)] (CDISABLE): Likewise.
5149 [IS_IN (libc)] (CENABLE): Likewise.
5150 [IS_IN (libc)] (CENABLE): Likewise.
5151 [IS_IN (librt)] (CDISABLE): Likewise.
5152 [IS_IN (librt)] (CDISABLE): Likewise.
5153 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5154 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
5156 (PSEUDO_END): Likewise.
5157 [IS_IN (libpthread)] (CENABLE): Likewise.
5158 [IS_IN (libpthread)] (CDISABLE): Likewise.
5159 [IS_IN (libc)] (CENABLE): Likewise.
5160 [IS_IN (libc)] (CENABLE): Likewise.
5161 [IS_IN (librt)] (CDISABLE): Likewise.
5162 [IS_IN (librt)] (CDISABLE): Likewise.
5163 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5165 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5167 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
5169 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5171 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5173 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5176 * string/stratcliff.c (do_test): Declare size, nchars, inner,
5177 middle and outer with size_t instead of int. Repleace %d and
5178 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
5179 "MAX (outer, nchars - 64)" to support unsigned outer and
5180 nchars. Also exit loop when outer == 0.
5182 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5184 * include/fcntl.h (__fcntl_nocancel): Remove definition.
5185 * include/signal.h (__sigsuspend_nocancel): Likewise.
5186 * include/time.h (__nanosleep_nocancel): Likewise.
5187 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
5188 * login/utmp_file.c: Include non cancellable syscall header.
5189 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
5192 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
5194 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
5195 .byte sequences with AVX512F instructions.
5196 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
5197 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5198 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
5199 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
5201 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5204 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
5205 Steve Ellcey <sellcey@cavium.com>
5207 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
5208 Use PTR_REG macro in cmp instruction.
5210 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5212 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
5213 Change the return type of the ifunc resolver to match the return
5214 type of the target function.
5216 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
5219 (preadv64): Likewise.
5220 (pwrite64(: Likewise.
5221 (pwritev64): Likewise.
5223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5224 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
5225 (LOAD_ARGS_0): Likewise.
5226 (LOAD_ARGS_1): Likewise.
5227 (LOAD_ARGS_2): Likewise.
5228 (LOAD_ARGS_3): Likewise.
5229 (LOAD_ARGS_4): Likewise.
5230 (LOAD_ARGS_5): Likewise.
5231 (LOAD_ARGS_6): Likewise.
5232 (LOAD_REGS_0): Likewise.
5233 (LOAD_REGS_1): Likewise.
5234 (LOAD_REGS_2): Likewise.
5235 (LOAD_REGS_3): Likewise.
5236 (LOAD_REGS_4): Likewise.
5237 (LOAD_REGS_5): Likewise.
5238 (LOAD_REGS_6): Likewise.
5239 (ASM_ARGS_0): Likewise.
5240 (ASM_ARGS_1): Likewise.
5241 (ASM_ARGS_2): Likewise.
5242 (ASM_ARGS_3): Likewise.
5243 (ASM_ARGS_4): Likewise.
5244 (ASM_ARGS_5): Likewise.
5245 (ASM_ARGS_6): Likewise.
5246 (LOAD_ARGS_TYPES_1): Likewise.
5247 (LOAD_ARGS_TYPES_2): Likewise.
5248 (LOAD_ARGS_TYPES_3): Likewise.
5249 (LOAD_ARGS_TYPES_4): Likewise.
5250 (LOAD_ARGS_TYPES_5): Likewise.
5251 (LOAD_ARGS_TYPES_6): Likewise.
5252 (LOAD_REGS_TYPES_1): Likewise.
5253 (LOAD_REGS_TYPES_2): Likewise.
5254 (LOAD_REGS_TYPES_3): Likewise.
5255 (LOAD_REGS_TYPES_4): Likewise.
5256 (LOAD_REGS_TYPES_5): Likewise.
5257 (LOAD_REGS_TYPES_6): Likewise.
5258 (TYPEFY): New define.
5260 (internal_syscall0): Likewise.
5261 (internal_syscall1): Likewise.
5262 (internal_syscall2): Likewise.
5263 (internal_syscall3): Likewise.
5264 (internal_syscall4): Likewise.
5265 (internal_syscall5): Likewise.
5266 (internal_syscall6): Likewise.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
5268 (INTERNAL_SYSCALL_NCS): Remove define.
5269 (internal_syscall1): Add define.
5271 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5273 * math/w_remainder_compat.c: Remove duplicate inclusion of
5275 * math/w_remainderf_compat.c: Likewise.
5276 * math/w_remainderl_compat.c: Likewise.
5278 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5282 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5285 * math/tgmath.h (__floating_type): Simplify definitions.
5286 (__real_integer_type): New macro.
5287 (__complex_integer_type): Likewise.
5288 (__expr_is_real): Likewise.
5289 (__tgmath_real_type_sub): Update comment to describe handling of
5291 (__tgmath_complex_type_sub): New macro.
5292 (__tgmath_complex_type): Likewise.
5293 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5294 (__TGMATH_CF128): Use __expr_is_real.
5295 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
5297 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5298 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
5299 * math/gen-tgmath-tests.py (Type.create_type): Create complex
5302 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5304 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
5306 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
5308 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
5311 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
5312 nanosleep_not_cancel with __nanosleep_nocancel.
5313 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
5314 (__nanosleep_nocancel): New macro.
5315 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
5317 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
5319 (__nanosleep_nocancel): New prototype.
5321 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
5322 pause_not_cancel with __pause_nocancel.
5323 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
5324 (__pause_nocancel): New macro.
5325 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
5327 (__pause_nocancel): New prototype.
5328 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
5330 2017-08-22 Martin Sebor <msebor@redhat.com>
5332 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
5333 to return a pointer to the same type as the target function.
5335 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5339 * include/printf.h (__printf_fphex): Add attribute_hidden.
5340 (__guess_grouping): New prototype.
5341 * stdio-common/printf_fp.c (__guess_grouping): Removed.
5342 * stdio-common/reg-printf.c (__register_printf_specifier): Add
5343 libc_hidden_proto and libc_hidden_def.
5344 * stdlib/strfmon_l.c (__guess_grouping): Removed.
5345 (__vstrfmon_l): Remove the third argument passed to
5348 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5350 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
5351 definition for issignaling that does not rely on __MATH_TG,
5352 since __MATH_TG uses __builtin_types_compatible_p, which is only
5353 available in C mode.
5354 (CFLAGS-test-math-issignaling.cc): New variable.
5355 * math/Makefile [CXX] (tests): Add test-math-issignaling.
5356 * math/test-math-issignaling.cc: New test for C++ implementation
5357 of type-generic issignaling.
5358 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5359 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
5360 options of test-math-issignaling on powerpc64le.
5362 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
5364 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5366 (hidden_proto): Likewise.
5367 (hidden_tls_proto): Likewise.
5368 (__hidden_proto): Likewise.
5370 2017-08-22 Florian Weimer <fweimer@redhat.com>
5372 math: Statically link tests of internal functionality.
5373 * math/Makefile (tests): Remove atest-exp, atest-sincos,
5375 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
5376 (gmp-objs): Remove assignment.
5377 (atest-exp, atest-sincos, atest-exp2): Remove targets.
5379 2017-08-22 Joseph Myers <joseph@codesourcery.com>
5382 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
5384 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
5386 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
5389 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
5390 variable definitions above inclusion of ../Rules.
5392 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5394 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
5395 case calling __builtin_unreachable.
5397 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5399 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
5401 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
5402 (__waitpid_nocancel): New macro.
5403 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
5405 (__waitpid_nocancel): Replace macro with a function.
5406 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
5409 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
5411 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
5412 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
5414 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
5415 __writev_nocancel_nostatus.
5416 (write_call_graph): Likewise.
5417 (write_bb_counts): Likewise.
5418 * resolv/herror.c (herror): Likewise.
5419 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
5421 (__writev_nocancel_nostatus): New macro.
5422 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
5424 (__writev_nocancel_nostatus): New function.
5426 2017-08-21 Joseph Myers <joseph@codesourcery.com>
5429 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5431 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5433 (hidden_proto): Likewise.
5434 (hidden_tls_proto): Likewise.
5435 (__hidden_proto): Likewise.
5438 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
5439 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
5449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5450 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5451 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5452 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5453 GLIBC_2.0 sqrtl symbol.
5455 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
5456 [__USE_MISC] (_LIB_VERSION): Likewise.
5457 [__USE_MISC] (struct exception): Likewise.
5458 [__USE_MISC] (matherr): Likewise.
5459 [__USE_MISC] (DOMAIN): Likewise.
5460 [__USE_MISC] (SING): Likewise.
5461 [__USE_MISC] (OVERFLOW): Likewise.
5462 [__USE_MISC] (UNDERFLOW): Likewise.
5463 [__USE_MISC] (TLOSS): Likewise.
5464 [__USE_MISC] (PLOSS): Likewise.
5465 [__USE_MISC] (HUGE): Likewise.
5466 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
5467 * math/math-svid-compat.h: New file.
5468 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
5470 * include/math.h [!_ISOMAC] (__matherr): Remove.
5471 * manual/arith.texi (FP Exceptions): Do not document matherr.
5472 * math/Makefile (tests): Change test-matherr to test-matherr-3.
5473 (tests-internal): New variable.
5474 (install-lib): Do not add libieee.a.
5475 (non-lib.a): Likewise.
5476 (extra-objs): Do not add libieee.a and ieee-math.o.
5477 (CPPFLAGS-s_lib_version.c): Remove variable.
5478 ($(objpfx)libieee.a): Remove rule.
5479 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
5480 * math/ieee-math.c: Remove.
5481 * math/libm-test-support.c (matherr): Remove.
5482 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
5483 and license notices. Include <math-svid-compat.h> and
5485 (matherr): Undefine as macro. Use compat_symbol_reference.
5486 (_LIB_VERSION): Likewise.
5487 * math/test-matherr-2.c: New file.
5488 * math/test-matherr-3.c: Likewise.
5489 * sysdeps/generic/math_private.h (__kernel_standard): Remove
5491 (__kernel_standard_f): Likewise.
5492 (__kernel_standard_l): Likewise.
5493 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
5494 <math_private.h>. Include <math-svid-compat.h>.
5495 (_LIB_VERSION): Undefine as macro.
5496 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
5497 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
5498 [LIBM_SVID_COMPAT], use compat_symbol.
5499 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
5500 <math_private.h>. Include <math-svid-compat.h>.
5501 (matherr): Undefine as macro.
5502 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
5504 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
5505 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
5506 compat_symbol_reference.
5507 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
5508 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
5509 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
5510 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
5511 (MATHERR_D): Remove declaration.
5512 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
5513 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
5514 [LIBM_BUILD] (pmatherrf): Likewise.
5515 [LIBM_BUILD] (pmatherr): Likewise.
5516 [LIBM_BUILD] (pmatherrl): Likewise.
5519 (OVERFLOW): Likewise.
5520 (UNDERFLOW): Likewise.
5523 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
5524 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
5526 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
5527 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
5529 * math/lgamma-compat.h: Include <math-svid-compat.h>.
5530 * math/w_acos_compat.c: Likewise.
5531 * math/w_acosf_compat.c: Likewise.
5532 * math/w_acosh_compat.c: Likewise.
5533 * math/w_acoshf_compat.c: Likewise.
5534 * math/w_acoshl_compat.c: Likewise.
5535 * math/w_acosl_compat.c: Likewise.
5536 * math/w_asin_compat.c: Likewise.
5537 * math/w_asinf_compat.c: Likewise.
5538 * math/w_asinl_compat.c: Likewise.
5539 * math/w_atan2_compat.c: Likewise.
5540 * math/w_atan2f_compat.c: Likewise.
5541 * math/w_atan2l_compat.c: Likewise.
5542 * math/w_atanh_compat.c: Likewise.
5543 * math/w_atanhf_compat.c: Likewise.
5544 * math/w_atanhl_compat.c: Likewise.
5545 * math/w_cosh_compat.c: Likewise.
5546 * math/w_coshf_compat.c: Likewise.
5547 * math/w_coshl_compat.c: Likewise.
5548 * math/w_exp10_compat.c: Likewise.
5549 * math/w_exp10f_compat.c: Likewise.
5550 * math/w_exp10l_compat.c: Likewise.
5551 * math/w_exp2_compat.c: Likewise.
5552 * math/w_exp2f_compat.c: Likewise.
5553 * math/w_exp2l_compat.c: Likewise.
5554 * math/w_fmod_compat.c: Likewise.
5555 * math/w_fmodf_compat.c: Likewise.
5556 * math/w_fmodl_compat.c: Likewise.
5557 * math/w_hypot_compat.c: Likewise.
5558 * math/w_hypotf_compat.c: Likewise.
5559 * math/w_hypotl_compat.c: Likewise.
5560 * math/w_j0_compat.c: Likewise.
5561 * math/w_j0f_compat.c: Likewise.
5562 * math/w_j0l_compat.c: Likewise.
5563 * math/w_j1_compat.c: Likewise.
5564 * math/w_j1f_compat.c: Likewise.
5565 * math/w_j1l_compat.c: Likewise.
5566 * math/w_jn_compat.c: Likewise.
5567 * math/w_jnf_compat.c: Likewise.
5568 * math/w_jnl_compat.c: Likewise.
5569 * math/w_lgamma_main.c: Likewise.
5570 * math/w_lgamma_r_compat.c: Likewise.
5571 * math/w_lgammaf_main.c: Likewise.
5572 * math/w_lgammaf_r_compat.c: Likewise.
5573 * math/w_lgammal_main.c: Likewise.
5574 * math/w_lgammal_r_compat.c: Likewise.
5575 * math/w_log10_compat.c: Likewise.
5576 * math/w_log10f_compat.c: Likewise.
5577 * math/w_log10l_compat.c: Likewise.
5578 * math/w_log2_compat.c: Likewise.
5579 * math/w_log2f_compat.c: Likewise.
5580 * math/w_log2l_compat.c: Likewise.
5581 * math/w_log_compat.c: Likewise.
5582 * math/w_logf_compat.c: Likewise.
5583 * math/w_logl_compat.c: Likewise.
5584 * math/w_pow_compat.c: Likewise.
5585 * math/w_powf_compat.c: Likewise.
5586 * math/w_powl_compat.c: Likewise.
5587 * math/w_remainder_compat.c: Likewise.
5588 * math/w_remainderf_compat.c: Likewise.
5589 * math/w_remainderl_compat.c: Likewise.
5590 * math/w_scalb_compat.c: Likewise.
5591 * math/w_scalbf_compat.c: Likewise.
5592 * math/w_scalbl_compat.c: Likewise.
5593 * math/w_sinh_compat.c: Likewise.
5594 * math/w_sinhf_compat.c: Likewise.
5595 * math/w_sinhl_compat.c: Likewise.
5596 * math/w_sqrt_compat.c: Likewise.
5597 * math/w_sqrtf_compat.c: Likewise.
5598 * math/w_sqrtl_compat.c: Likewise.
5599 * math/w_tgamma_compat.c: Likewise.
5600 * math/w_tgammaf_compat.c: Likewise.
5601 * math/w_tgammal_compat.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5603 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5604 * sysdeps/ieee754/k_standard.c: Likewise.
5605 * sysdeps/ieee754/k_standardf.c: Likewise.
5606 * sysdeps/ieee754/k_standardl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5609 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5610 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5611 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5612 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5613 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5614 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5615 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5620 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5622 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5623 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5625 2017-08-21 Florian Weimer <fweimer@redhat.com>
5628 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
5629 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
5630 Move before inclusion of ../Rules.
5632 2017-08-21 Florian Weimer <fweimer@redhat.com>
5635 * assert/assert.h (assert): Use static_cast (bool) for C++.
5636 Use the ternary operator in the warning branch for GNU C.
5637 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
5638 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
5639 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
5640 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
5641 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
5643 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5646 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5647 (__syscall_clock_gettime): Add attribute_hidden.
5648 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
5649 (__start_context): Likewise.
5651 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5653 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
5655 (hidden_proto): Likewise.
5656 (hidden_tls_proto): Likewise.
5657 (__hidden_proto): Likewise.
5659 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5661 * include/libc-symbols.h (attribute_hidden): Enable hidden
5662 visibility in libc.a compiled with PIE.
5664 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5667 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
5668 Add attribute_hidden.
5670 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5673 * Makerules (all-nonlib): Add $(others-extras).
5674 * catgets/Makefile (others-extras): New.
5675 * elf/Makefile (others-extras): Likewise.
5676 * nss/Makefile (others-extras): Likewise.
5678 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5681 * csu/libc-start.c (__libc_multiple_libcs): Removed.
5682 * elf/dl-open.c: Include <libc-internal.h>.
5683 (__libc_multiple_libcs): Removed.
5684 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
5686 * include/libc-internal.h (__libc_multiple_libcs): New.
5687 * misc/sbrk.c: Include <libc-internal.h>.
5688 (__libc_multiple_libcs): Removed.
5690 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
5693 * grp/initgroups.c (__nss_group_database): Removed.
5694 (__nss_initgroups_database): Likewise.
5695 * nscd/gai.c (__nss_hosts_database): Likewise.
5696 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
5697 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
5698 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
5699 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
5700 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
5701 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
5703 * nss/nsswitch.c (__nss_database_custom): Define only if
5704 USE_NSCD is defined.
5705 (__nss_configure_lookup): Use __nss_database_custom only if
5706 USE_NSCD is defined.
5707 * nss/nsswitch.h (__nss_database_custom): Declare only if
5708 USE_NSCD is defined. Add attribute_hidden.
5709 (__nss_setent): Add attribute_hidden.
5710 (__nss_endent): Likewise.
5711 (__nss_getent_r): Likewise.
5712 (__nss_getent): Likewise.
5713 (DEFINE_DATABASE): Declare __nss_##arg##_database.
5715 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5718 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
5719 libc_hidden_proto and libc_hidden_def.
5721 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5724 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
5725 Add libc_hidden_proto.
5726 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
5727 Add libc_hidden_def.
5729 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5732 * gmon/Makefile (routines): Remove bb_init_func and
5734 (elide-routines.os): Removed.
5735 * gmon/bb_exit_func.c: Likewise.
5736 * gmon/bb_init_func.c: Likewise.
5737 * include/sys/gmon.h (__bb): Likewise.
5738 (__bb_init_func): Likewise.
5739 (__bb_exit_func): Likewise.
5740 * sysdeps/alpha/bb_init_func.S: Likewise.
5742 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
5744 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
5745 * include/setjmp.h (____longjmp_chk): Here. Add
5748 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
5751 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
5753 (__strspn_sse2): Likewise.
5755 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5757 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
5758 (close_not_cancel_no_status): Likewise.
5759 (__close_nocancel): New macro.
5760 (__close_nocancel_nostatus): Likewise.
5761 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
5763 (close_not_cancel): Likewise.
5764 (close_not_cancel_no_status): Likewise.
5765 (__close_nocancel): New prototype.
5766 (__close_nocancel_nostatus): New function.
5767 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
5768 * catgets/open_catalog.c (__open_catalog): Replace
5769 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
5770 * gmon/gmon.c (write_gmon): Likewise.
5771 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5772 * intl/loadmsgcat.c (close): Likewise.
5773 * io/ftw.c (open_dir_stream): Likewise.
5774 (ftw_startup): Likewise.
5775 * libio/fileops.c (_IO_file_open): Likewise.
5776 (_IO_file_close_mmap): Likewise.
5777 (_IO_file_close): Likewise.
5778 * libio/iopopen.c (_IO_dup2): Likewise.
5779 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5780 * locale/loadlocale.c (_nl_load_locale): Likewise.
5781 * login/utmp_file.c (pututline_file): Likewise.
5782 (endutent_file): Likewise.
5783 * misc/daemon.c (daemon): Likewise.
5784 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5785 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5786 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5787 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5789 * nscd/nscd_helper.c (open_socket): Likewise.
5790 (__nscd_open_socket): Likewise.
5791 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5792 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
5793 (__nscd_innetgr): Likewise.
5794 * nss/nss_db/db-open.c (internal_setent): Likewise.
5795 * resolv/res-close.c (__res_iclose): Likewise.
5796 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
5797 * sysdeps/posix/closedir.c (__closedir): Likewise.
5798 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5799 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5800 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
5801 (opendir_tail): Likewise.
5802 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5803 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
5804 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5805 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5806 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
5807 (gethostid): Likewise.
5808 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
5809 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5812 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
5813 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
5814 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
5816 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
5817 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
5818 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
5820 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
5821 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5823 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5825 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
5827 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
5830 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
5831 (openat_not_cancel_3): Likewise.
5832 (openat64_not_cancel_3): Likewise).
5833 (openat_not_cancel_3): Likewise).
5834 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
5836 (openat_not_cancel_3): Likewise.
5837 (openat64_not_cancel): Likewise.
5838 (openat64_not_cancel_3): Likewise.
5839 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
5840 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
5841 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
5842 __open{64}_nocancel.
5843 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5844 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5845 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5847 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
5850 * include/argz.h (__argz_create_sep): New function prototype.
5851 (__argz_append): Likewise.
5852 (__argz_add): Likewise.
5853 (__argz_add_sep): Likewise.
5854 (__argz_delete): Likewise.
5855 (__argz_insert): Likewise.
5856 (__argz_replace): Likewise.
5857 * string/argz.h (__argz_create_sep): Removed.
5858 (__argz_append): Likewise.
5859 (__argz_add): Likewise.
5860 (__argz_add_sep): Likewise.
5861 (__argz_delete): Likewise.
5862 (__argz_insert): Likewise.
5863 (__argz_replace): Likewise.
5865 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
5867 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
5868 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
5869 (GNU_PROPERTY_STACK_SIZE): Likewie.
5870 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
5871 (GNU_PROPERTY_LOPROC): Likewise.
5872 (GNU_PROPERTY_HIPROC): Likewise.
5873 (GNU_PROPERTY_LOUSER): Likewise.
5874 (GNU_PROPERTY_HIUSER): Likewise.
5875 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
5876 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
5877 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
5878 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
5879 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
5880 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
5881 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
5882 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
5883 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
5884 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
5885 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
5886 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
5887 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
5888 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
5889 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
5890 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
5891 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
5892 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
5893 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
5894 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
5895 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
5896 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
5897 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
5899 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5901 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
5904 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5907 * math/math.h (isinf): Check if in C or C++ mode before using
5908 __builtin_types_compatible_p, since this is a C mode feature.
5910 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5912 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
5913 (__write_nocancel): New macro.
5914 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
5915 Rewrite as a function prototype.
5916 (write_not_cancel): Remove macro.
5917 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
5918 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
5919 (write_gmon): Likewise.
5920 * libio/fileops.c (_IO_new_file_write): Likewise.
5921 * login/utmp_file.c (pututline_file): Likewise.
5922 (updwtmp_file): Likewise.
5923 * stdio-common/psiginfo.c (psiginfo): Likewise.
5924 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5925 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
5926 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
5928 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5931 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
5932 (__read_nocancel): New macro.
5933 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
5935 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
5937 (__read_nocancel): New prototype.
5938 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
5939 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
5940 with __read_nocancel.
5941 * intl/loadmsgcat.c (read): Likewise.
5942 * libio/fileops.c (_IO_file_read): Likewise.
5943 * locale/loadlocale.c (_nl_load_locale): Likewise.
5944 * login/utmp_file.c (getutent_r_file): Likewise.
5945 (internal_getut_r): Likewise.
5946 (getutline_r_file): Likewise.
5947 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
5948 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5949 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
5950 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5952 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
5953 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
5954 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
5956 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
5958 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
5960 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5962 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
5964 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
5967 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
5968 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
5971 2017-08-17 DJ Delorie <dj@redhat.com>
5973 * bug17079.c: Update to new test harness.
5974 * test-digits-dots.c: Likewise.
5975 * test-netdb.c: Likewise.
5976 * tst-field.c: Likewise.
5977 * tst-nss-getpwent.c: Likewise.
5978 * tst-nss-static.c: Likewise.
5979 * tst-nss-test1.c: Likewise.
5980 * tst-nss-test2.c: Likewise.
5981 * tst-nss-test3.c: Likewise.
5982 * tst-nss-test4.c: Likewise.
5983 * tst-nss-test5.c: Likewise.
5985 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5987 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
5988 (open_not_cancel_2): Likewise.
5989 (open_nocancel): New macro.
5990 (open64_nocancel): Likewise.
5991 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
5992 (open_not_cancel_2): Likewise.
5993 (__open_nocancel): New prototype.
5994 (__open64_nocancel): Likewise.
5995 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
5997 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
5998 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
5999 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6000 with __open_nocancel.
6001 * csu/check_fds.c (check_one_fd): Likewise.
6002 * gmon/gmon.c (write_gmon): Likewise.
6003 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6004 * intl/loadmsgcat.c (open): Likewise.
6005 * libio/fileops.c (_IO_file_open): Likewise.
6006 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6007 * locale/loadlocale.c (_nl_load_locale): Likewise.
6008 * login/utmp_file.c (setutent_file): Likewise.
6009 * misc/daemon.c (daemon): Likewise.
6010 * nss/nss_db/db-open.c (internal_setent): Likewise.
6011 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6012 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6013 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6014 (__opendir): Likewise.
6015 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6016 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6017 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6018 (gethostid): Likewise.
6019 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6020 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6022 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6023 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6024 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6025 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6027 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6029 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6031 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6033 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6035 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6037 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6038 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6040 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6042 * benchtests/bench-skeleton.c (main): Add support for
6043 latency benchmarking.
6044 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6046 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6048 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6051 2017-08-17 Florian Weimer <fweimer@redhat.com>
6053 * include/sys/socket.h (__opensock): Remove internal_function.
6054 * socket/opensock.c (__opensock): Likewise.
6055 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6057 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6060 * signal/bits/types/__sigval_t.h: New file.
6061 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6062 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6063 and define sigval_t using __sigval_t.
6064 * include/bits/types/__sigval_t.h: New file.
6065 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
6066 instead of <bits/types/__sigval_t.h>.
6067 (struct sigevent): Use __sigval_t instead of sigval_t.
6068 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
6069 instead of <bits/types/__sigval_t.h>.
6070 (siginfo_t): Use __sigval_t instead of sigval_t.
6071 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
6072 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6073 (struct sigevent): Use __sigval_t instead of sigval_t.
6074 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
6075 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6076 (siginfo_t): Use __sigval_t instead of sigval_t.
6077 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
6079 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6081 * NEWS: Remove "[Add new features here]" for 2.27.
6083 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6085 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
6088 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6090 * NEWS: Mention x86-64 FMA optimization.
6092 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6095 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6097 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
6098 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
6099 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
6101 2017-08-16 Andreas Schwab <schwab@suse.de>
6105 * elf/ldd.bash.in: Never run file directly.
6107 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
6110 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
6111 (L(SP_INF_0)): Likewise.
6113 2017-08-15 Florian Weimer <fweimer@redhat.com>
6115 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
6118 2017-08-15 Florian Weimer <fweimer@redhat.com>
6120 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
6121 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
6122 BROKEN_THREAD_SIGNALS code.
6123 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
6124 request_list): Remove caller_pid member used for
6125 BROKEN_THREAD_SIGNALS.
6126 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
6127 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6128 Remove BROKEN_THREAD_SIGNALS support.
6129 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6130 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
6132 2017-08-15 Florian Weimer <fweimer@redhat.com>
6134 * gmon/Makefile (tests): Add tst-gmon.
6135 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
6137 (tests-special): Add tst-gmon-prof.out.
6138 (tst-gmon.out): Depend on clean-tst-gmon-data.
6139 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
6140 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
6141 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
6143 * aclocal.m4 (GPROF): Set and substitute.
6144 * config.amke.in (GPROF): Set.
6145 * configure: Regenerate.
6147 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
6149 * elf/elf.h A (NT_PPC_TAR): New macro.
6150 (NT_PPC_PPR): Likewise.
6151 (NT_PPC_DSCR): Likewise.
6152 (NT_PPC_EBB): Likewise.
6153 (NT_PPC_PMU): Likewise.
6154 (NT_PPC_TM_CGPR): Likewise.
6155 (NT_PPC_TM_CFPR): Likewise.
6156 (NT_PPC_TM_CVMX): Likewise.
6157 (NT_PPC_TM_CVSX): Likewise.
6158 (NT_PPC_TM_SPR): Likewise.
6159 (NT_PPC_TM_CTAR): Likewise.
6160 (NT_PPC_TM_CPPR): Likewise.
6161 (NT_PPC_TM_CDSCR): Likewise.
6163 2017-08-15 Florian Weimer <fweimer@redhat.com>
6165 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
6166 regparm (2) instead of internal_function.
6167 (_MCOUNT_DECL): Adjust.
6169 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6171 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
6172 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6174 2017-08-14 Joseph Myers <joseph@codesourcery.com>
6176 * conform/data/sys/wait.h-data (si_value): Do not expect for
6179 2017-08-14 Florian Weimer <fweimer@redhat.com>
6182 NSS: Create stubs for accidentally exported lookup functions.
6183 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
6185 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
6186 (ether_hostton): Call __nss_ethers_lookup2 instead.
6187 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
6188 (ether_ntohost): Call __nss_ethers_lookup2 instead.
6189 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
6190 (setup): Call __nss_netgroup_lookup2 instead.
6191 * nss/Makefile (routines): Add compat-lookup.
6192 * nss/Versions (GLIBC_2.27): Add symbol version.
6193 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
6194 (DB_COMPAT_FCT): Remove.
6195 * nss/compat-lookup.c: New file.
6196 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
6198 * nss/service-lookup.c (NO_COMPAT): Remove definition.
6199 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
6200 (netname2user): Call __nss_publickey_lookup2 instead.
6201 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
6202 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
6205 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6206 Sergei Trofimovich <slyfox@inbox.ru>
6209 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
6210 Rename to MMAP2_PAGE_UNIT.
6211 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
6212 __OFF_T_MATCHES_OFF64_T is not defined.
6213 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
6215 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
6216 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
6218 2017-08-14 Florian Weimer <fweimer@redhat.com>
6220 i386: Do not set internal_function.
6221 * config.h.in (USE_REGPARMS, internal_function): Remove.
6222 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
6223 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
6225 2017-08-14 Florian Weimer <fweimer@redhat.com>
6227 * elf/dl-init.c (_dl_init): Remove internal_function.
6228 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
6229 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
6231 2017-08-14 Florian Weimer <fweimer@redhat.com>
6233 * elf/rtld.c (_dl_start): Remove internal_function.
6234 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
6237 2017-08-14 Florian Weimer <fweimer@redhat.com>
6239 * elf/dl-fini.c (_dl_fini): Remove internal_function
6240 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
6242 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
6244 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
6245 (bit_cpu_SHSTK): Likewise.
6246 (index_cpu_IBT): Likewise.
6247 (index_cpu_SHSTK): Likewise.
6248 (reg_IBT): Likewise.
6249 (reg_SHSTK): Likewise.
6250 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6251 Handle index_cpu_IBT and index_cpu_SHSTK.
6253 2017-08-14 Mike FABIAN <mfabian@redhat.com>
6256 * po/fr.po: Fix spelling mistake.
6258 2017-08-13 Florian Weimer <fweimer@redhat.com>
6260 * elf/dl-addr.c (_dl_addr): Remove internal_function.
6261 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
6262 (_dl_catch_error, _dl_receive_error): Likewise.
6263 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
6264 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
6265 (_dl_deallocate_tls): Likewise.
6266 * include/dlfcn.h (_dl_addr): Likewise.
6267 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
6268 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
6269 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
6272 2017-08-13 Florian Weimer <fweimer@redhat.com>
6274 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
6275 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
6277 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
6279 2017-08-13 Florian Weimer <fweimer@redhat.com>
6281 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
6283 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
6284 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
6285 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
6286 internal_function from _dl_make_stack_executable_hook member.
6287 (_dl_make_stack_executable): Remove internal_function.
6288 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
6290 * sysdeps/unix/sysv/linux/dl-execstack.c
6291 (_dl_make_stack_executable): Likewise.
6293 2017-08-13 Florian Weimer <fweimer@redhat.com>
6295 * sysdeps/unix/sysv/linux/netlinkaccess.h
6296 (__netlink_assert_response): Remove internal_function.
6297 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6298 (__netlink_assert_response): Likewise.
6300 2017-08-13 Florian Weimer <fweimer@redhat.com>
6302 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
6304 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
6306 2017-08-13 Florian Weimer <fweimer@redhat.com>
6308 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
6310 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
6311 * inet/netgroup.h (__internal_setnetgrent)
6312 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6313 * inet/getnetgrent_r.c (__internal_setnetgrent)
6314 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
6315 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
6316 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
6317 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
6318 * nss/nsswitch.h (db_lookup_function): Likewise.
6320 2017-08-13 Florian Weimer <fweimer@redhat.com>
6322 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
6323 Remove internal_function.
6324 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
6325 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
6326 message argument on the stack.
6327 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
6330 2017-08-12 Mike FABIAN <mfabian@redhat.com>
6332 Adapt test case data to the changes in the thousands
6336 * localedata/tst-langinfo.sh: Adapt test case data.
6337 * stdlib/tst-strfmon_l.c: Likewise.
6338 * stdlib/tst-strtod4.c: Likewise.
6339 * stdlib/tst-strtod5i.c: Likewise.
6341 2017-08-11 Florian Weimer <fweimer@redhat.com>
6344 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
6345 Suppress pedantic warning resulting from statement expression.
6346 (__ASSERT_FUNCTION): Add missing __extension__.
6348 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6350 * benchtests/bench-memmove-large.c: Print output in JSON
6352 * benchtests/bench-memmove.c: Likewise.
6354 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
6355 * benchtests/bench-memchr.c (do_one_test): Likewise.
6356 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
6357 * benchtests/bench-memcpy.c (do_one_test): Likewise.
6358 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
6359 * benchtests/bench-memmove.c (do_one_test): Likewise.
6360 * benchtests/bench-memset-large.c (do_one_test): Likewise.
6361 * benchtests/bench-memset.c (do_one_test): Likewise.
6362 * benchtests/bench-string.h (test_init): Remove memsets.
6364 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6367 (Computing the Width of an Integer Data Type): Rename section to
6368 "Width of an Integer Type". Remove inaccurate statement regarding
6369 lack of C language facilities for determining width of integer
6370 types, and reorder content to improve flow and context of
6373 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
6375 * lang.texi (va_copy): Change standard from ISO to C99.
6376 (__va_copy): Add standard and header annotation.
6377 Update description for clarity of origins and current use.
6379 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6382 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
6383 xssqrtqp requires operands to be in Vector Registers
6384 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
6385 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
6386 (__ieee754_sqrtf128): Likewise.
6388 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6390 * sysdeps/aarch64/memcmp.S (memcmp):
6391 Rewrite of optimized memcmp.
6393 2017-08-10 Florian Weimer <fweimer@redhat.com>
6395 Introduce ld.so exceptions.
6396 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
6397 (_dl_exception_create, _dl_exception_create_format)
6398 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
6399 (_dl_catch_exception): Declare.
6400 (_dl_catch_error): Update comment.
6401 * elf/dl-error-skeleton.c (struct catch): Replace objname,
6402 errstring, malloced members with exception member.
6403 (_dl_out_of_memory): Remove.
6404 (fatal_error): New function, extracted from _dl_signal_error.
6405 (_dl_signal_exception, _dl_signal_cexception): New functions.
6406 (_dl_signal_error): Call _dl_exception_create to allocate an
6408 (_dl_catch_exception): New function, based on _dl_catch_error.
6409 (_dl_catch_error): Implement using _dl_catch_exception.
6410 * elf/dl-exception.c: New file.
6411 * elf/Makefile (dl-routines): Add dl-exception.
6412 (elide-routines.os): Likewise.
6413 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
6414 _dl_exception_create_format, _dl_exception_free.
6415 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
6416 _dl_signal_exception.
6417 * elf/dl-lookup.c (make_string): Remove.
6418 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
6419 _dl_signal_cexception, _dl_exception_free.
6420 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
6421 _dl_signal_exception.
6422 * elf/dl-sym.c (do_sym): Likewise.
6423 * elf/dl-version.c (make_string): Remove.
6424 (match_symbol): Use _dl_exception_create_format,
6425 _dl_signal_cexception, _dl_exception_free.
6426 (_dl_check_map_versions): Likewise.
6427 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
6428 _dl_catch_exception.
6429 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6430 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6431 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6432 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6433 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6434 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6435 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6436 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6438 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6445 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6446 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6447 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6449 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6451 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6453 2017-08-10 Florian Weimer <fweimer@redhat.com>
6455 * inet/net-internal.h (__inet6_scopeid_pton): Remove
6456 attribute_hidden, internal_function.
6457 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
6460 2017-08-10 Florian Weimer <fweimer@redhat.com>
6462 * malloc/malloc.c (get_max_fast): Reimplement as an inline
6463 function which calls __builtin_unreachable.
6465 2017-08-10 Mike FABIAN <mfabian@redhat.com>
6467 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
6468 Indian monetary formatting
6469 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
6472 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
6474 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
6475 Fix typo in comment.
6478 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
6479 PTRACE_SEIZE_DEVEL): Remove.
6480 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
6481 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6482 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6486 2017-08-09 Joseph Myers <joseph@codesourcery.com>
6488 * posix/bits/types.h (__qaddr_t): Remove.
6491 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
6492 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6494 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
6495 (ucontext_t): Use __ctx with uc_flags.
6496 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
6498 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6500 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
6501 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6503 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
6504 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6506 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
6508 (ucontext_t): Use __ctx with uc_flags.
6509 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
6510 (ucontext_t): Use __ctx with uc_flags.
6511 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
6512 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
6513 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
6514 (ucontext_t): Use __ctx with uc_flags.
6515 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
6516 undefine further down.
6517 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
6519 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
6520 undefine further down.
6521 (ucontext_t): Use __ctx with uc_flags.
6522 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
6523 undefine further down.
6524 (ucontext_t): Use __ctx with uc_flags.
6525 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
6526 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
6527 Rename uc_pad to __glibc_reserved1.
6528 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
6529 undefine further down.
6530 (ucontext_t): Use __ctx with uc_flags.
6531 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
6533 (ucontext_t): Use __ctx with uc_flags.
6534 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
6535 __ctx with uc_flags.
6536 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
6537 (ucontext_t): Use __ctx with uc_flags.
6538 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
6539 __ctx with uc_flags.
6541 2017-08-09 Florian Weimer <fweimer@redhat.com>
6544 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
6545 before early return.
6547 2017-08-09 Andreas Schwab <schwab@suse.de>
6550 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
6554 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
6555 tst-compat-forwarder.
6556 (modules-names): Add tst-compat-forwarder-mod.
6557 ($(objpfx)tst-compat-forwarder): Depend on
6558 $(objpfx)tst-compat-forwarder-mod.so.
6559 * nptl/tst-compat-forwarder.c: New file.
6560 * nptl/tst-compat-forwarder-mod.c: New file.
6562 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
6564 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
6567 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
6568 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6570 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
6572 (__libc_ifunc_impl_list): Add __memcpy_falkor.
6573 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
6574 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
6575 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6577 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
6580 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6583 * manual/setjmp.texi (getcontex): Document uc_stack value
6584 compatibility differences.
6586 2017-08-08 Joseph Myers <joseph@codesourcery.com>
6588 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
6589 (old_malloc_hook): Likewise.
6590 (old_memalign_hook): Likewise.
6591 (old_realloc_hook): Likewise.
6592 (struct hdr): Likewise.
6594 (freehook): Likewise.
6595 (mallochook): Likewise.
6596 (memalignhook): Likewise.
6597 (reallochook): Likewise.
6599 * malloc/mtrace.c (mallwatch): Likewise.
6600 (tr_old_free_hook): Likewise.
6601 (tr_old_malloc_hook): Likewise.
6602 (tr_old_realloc_hook): Likewise.
6603 (tr_old_memalign_hook): Likewise.
6604 (tr_where): Likewise.
6605 (lock_and_info): Likewise.
6606 (tr_freehook): Likewise.
6607 (tr_mallochook): Likewise.
6608 (tr_reallochook): Likewise.
6609 (tr_memalignhook): Likewise.
6610 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
6611 * misc/mmap.c (__mmap): Likewise.
6612 * misc/mmap64.c (__mmap64): Likewise.
6613 * misc/mprotect.c (__mprotect): Likewise.
6614 * misc/msync.c (msync): Likewise.
6615 * misc/munmap.c (__munmap): Likewise.
6616 * posix/posix_madvise.c (posix_madvise): Likewise.
6617 * socket/send.c (__send): Likewise.
6618 * socket/sendto.c (__sendto): Likewise.
6619 * socket/setsockopt.c (__setsockopt): Likewise.
6620 * string/memcmp.c (__ptr_t): Remove macro.
6621 (MEMCMP): Use void * instead of ptr_t.
6622 * string/memrchr.c (__ptr_t): Remove macro.
6623 (__memrchr): Use void * instead of ptr_t.
6624 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
6625 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6626 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6627 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
6628 * sysdeps/mach/msync.c (msync): Likewise.
6629 * sysdeps/mach/munmap.c (__munmap): Likewise.
6630 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
6632 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6633 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
6634 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
6635 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
6636 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6637 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6638 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
6639 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
6641 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6642 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
6643 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
6644 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
6645 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
6646 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
6647 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
6648 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
6649 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
6651 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
6652 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
6653 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
6654 (MEMCMP): Use void * instead of ptr_t.
6655 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
6656 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
6658 2017-08-08 Florian Weimer <fweimer@redhat.com>
6660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
6663 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
6666 * csu/libc-tls.c: Include <startup.h> first.
6667 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
6668 * elf/dl-tunables.c: Include <startup.h> first.
6669 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
6670 * sysdeps/generic/startup.h: New file.
6671 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
6672 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
6673 (I386_USE_SYSENTER): New. Defined to 0.
6675 2017-08-08 Andreas Schwab <schwab@suse.de>
6678 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
6679 * nptl/pt-system.c (system): Likewise.
6681 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6684 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
6686 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
6687 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
6688 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
6689 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
6690 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6691 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6692 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6694 2017-08-07 Joseph Myers <joseph@codesourcery.com>
6697 * bits/sigaction.h (struct sigaction): Define sa_handler and
6698 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
6699 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6700 [__USE_XOPEN_EXTENDED].
6701 (SA_RESTART): Likewise.
6702 (SA_NODEFER): Likewise.
6703 (SA_RESETHAND): Likewise.
6704 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
6705 (struct sigaction): Define sa_handler and sa_sigaction using union
6706 also for [__USE_XOPEN_EXTENDED].
6707 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6708 [__USE_XOPEN_EXTENDED].
6709 (SA_RESTART): Likewise.
6710 (SA_NODEFER): Likewise.
6711 (SA_RESETHAND): Likewise.
6712 * sysdeps/unix/sysv/linux/bits/sigaction.h
6713 (struct sigaction): Define sa_handler and sa_sigaction using union
6714 also for [__USE_XOPEN_EXTENDED].
6715 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6716 [__USE_XOPEN_EXTENDED].
6717 (SA_RESTART): Likewise.
6718 (SA_NODEFER): Likewise.
6719 (SA_RESETHAND): Likewise.
6720 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
6721 (struct sigaction): Define sa_handler and sa_sigaction using union
6722 also for [__USE_XOPEN_EXTENDED].
6723 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6724 [__USE_XOPEN_EXTENDED].
6725 (SA_RESTART): Likewise.
6726 (SA_NODEFER): Likewise.
6727 (SA_RESETHAND): Likewise.
6728 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
6729 (struct sigaction): Define sa_handler and sa_sigaction using union
6730 also for [__USE_XOPEN_EXTENDED].
6731 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6732 [__USE_XOPEN_EXTENDED].
6733 (SA_RESTART): Likewise.
6734 (SA_NODEFER): Likewise.
6735 (SA_RESETHAND): Likewise.
6736 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6737 (struct sigaction): Define sa_handler and sa_sigaction using union
6738 also for [__USE_XOPEN_EXTENDED].
6739 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6740 [__USE_XOPEN_EXTENDED].
6741 (SA_RESTART): Likewise.
6742 (SA_NODEFER): Likewise.
6743 (SA_RESETHAND): Likewise.
6744 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6745 (struct sigaction): Define sa_handler and sa_sigaction using union
6746 also for [__USE_XOPEN_EXTENDED].
6747 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6748 [__USE_XOPEN_EXTENDED].
6749 (SA_RESTART): Likewise.
6750 (SA_NODEFER): Likewise.
6751 (SA_RESETHAND): Likewise.
6752 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6753 (struct sigaction): Define sa_handler and sa_sigaction using union
6754 also for [__USE_XOPEN_EXTENDED].
6755 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6756 [__USE_XOPEN_EXTENDED].
6757 (SA_RESTART): Likewise.
6758 (SA_NODEFER): Likewise. Define directly rather than as alias.
6759 (SA_RESETHAND): Likewise.
6760 (SA_INTERRUPT): Define only for [__USE_MISC].
6761 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
6762 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
6764 (SA_STACK): Define only for [__USE_MISC].
6765 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
6766 (struct sigaction): Define sa_handler and sa_sigaction using union
6767 also for [__USE_XOPEN_EXTENDED].
6768 (SA_ONSTACK): Change [__USE_UNIX98] condition to
6769 [__USE_XOPEN_EXTENDED].
6770 (SA_RESTART): Likewise.
6771 (SA_NODEFER): Likewise.
6772 (SA_RESETHAND): Likewise.
6773 (SA_NOPTRACE): Define only for [__USE_MISC].
6775 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
6776 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
6777 (struct catalog_info): Likewise.
6778 * inet/htontest.c (lo): Likewise.
6780 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6781 * inet/inet_net.c (inet_network): Likewise.
6782 * inet/inet_netof.c (inet_netof): Likewise.
6783 * inet/rcmd.c (__ivaliduser): Likewise.
6784 (iruserok): Likewise.
6785 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
6786 * locale/programs/locale-spec.c (locale_special): Likewise.
6787 * nis/nis_findserv.c (struct findserv_req): Likewise.
6788 (__nis_findfastest_with_timeout): Likewise.
6789 * nss/test-netdb.c (test_network): Likewise.
6790 * resolv/inet_neta.c (inet_neta): Likewise.
6791 * resolv/ns_date.c (ns_datetosecs): Likewise.
6792 (SECS_PER_DAY): Likewise.
6793 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
6795 * resolv/res_comp.c (__putlong): Likewise.
6796 (__putshort): Likewise.
6797 (_getlong): Likewise.
6798 (_getshort): Likewise.
6799 * resolv/res_debug.c (p_time): Likewise.
6800 (precsize_ntoa): Likewise.
6801 (precsize_aton): Likewise.
6802 (latlon2ul): Likewise.
6803 (loc_aton): Likewise.
6804 (loc_ntoa): Likewise.
6805 * resolv/res_hconf.c (struct netaddr): Likewise.
6806 (_res_hconf_reorder_addrs): Likewise.
6807 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6808 (clnttcp_control): Likewise.
6809 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6810 (clntudp_control): Likewise.
6811 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6812 (clntunix_control): Likewise.
6813 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6814 * sunrpc/rpc/auth.h (union des_block): Likewise.
6815 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
6816 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
6817 (xdrrec_create): Likewise.
6818 (xdrrec_endofrecord): Likewise.
6819 (flush_out): Likewise.
6820 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
6821 (xdrstdio_putlong): Likewise.
6822 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
6825 * misc/sys/cdefs.h (__long_double_t): Remove.
6826 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
6827 instead of __long_double_t,
6828 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
6830 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6832 * benchtests/scripts/compare_strings.py: Avoid display error when
6833 running on a text terminal.
6835 * benchtests/scripts/compare_strings.py (main): Add an
6836 optional -base option.
6837 (process_results): New argument base_func.
6839 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
6841 * benchtests/bench-memcpy-large.c (test_name): Likewise.
6842 * benchtests/bench-memcpy-random.c (test_name): Likewise.
6844 2017-08-07 Andreas Schwab <schwab@suse.de>
6846 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
6847 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6848 * intl/Makefile ($(objpfx)tst-gettext.out)
6849 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
6850 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
6851 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6852 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6853 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
6854 * posix/Makefile ($(objpfx)globtest.out)
6855 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
6856 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
6857 ($(objpfx)tst-printf.out): Likewise.
6858 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
6859 ($(objpfx)tst-setcontext3.out): Likewise.
6861 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
6863 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6864 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
6865 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
6866 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
6867 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
6869 (CFLAGS-doasin-fma.c): New.
6870 (CFLAGS-dosincos-fma.c): Likewise.
6871 (CFLAGS-e_asin-fma.c): Likewise.
6872 (CFLAGS-e_atan2-fma.c): Likewise.
6873 (CFLAGS-e_exp-fma.c): Likewise.
6874 (CFLAGS-e_log-fma.c): Likewise.
6875 (CFLAGS-e_pow-fma.c): Likewise.
6876 (CFLAGS-halfulp-fma.c): Likewise.
6877 (CFLAGS-mpa-fma.c): Likewise.
6878 (CFLAGS-mpatan-fma.c): Likewise.
6879 (CFLAGS-mpatan2-fma.c): Likewise.
6880 (CFLAGS-mpexp-fma.c): Likewise.
6881 (CFLAGS-mplog-fma.c): Likewise.
6882 (CFLAGS-mpsqrt-fma.c): Likewise.
6883 (CFLAGS-mptan-fma.c): Likewise.
6884 (CFLAGS-s_atan-fma.c): Likewise.
6885 (CFLAGS-sincos32-fma.c): Likewise.
6886 (CFLAGS-slowexp-fma.c): Likewise.
6887 (CFLAGS-slowpow-fma.c): Likewise.
6888 (CFLAGS-s_sin-fma.c): Likewise.
6889 (CFLAGS-s_tan-fma.c): Likewise.
6890 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
6891 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
6892 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
6893 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
6894 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
6895 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
6896 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
6897 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
6898 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
6899 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
6900 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
6901 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
6902 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
6903 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
6904 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
6905 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
6906 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
6907 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
6908 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
6909 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
6910 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
6911 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
6912 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
6913 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
6914 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6915 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6916 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6917 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
6918 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6919 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6920 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6922 2017-08-04 Joseph Myers <joseph@codesourcery.com>
6924 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
6925 (min_of_type_f): New macro.
6926 (min_of_type_): Likewise.
6927 (min_of_type_l): Likewise.
6928 (min_of_type_f128): Likewise.
6929 (min_of_type): Define using __MATH_TG and taking an expression
6931 (math_check_force_underflow): Pass expression instead of type to
6933 (math_check_force_underflow_nonneg): Likewise.
6935 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6937 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
6938 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
6939 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
6941 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
6943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6944 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
6945 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
6946 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
6947 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
6948 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
6949 memcpy_chk-nonshared, mempcpy_chk-nonshared,
6950 memmove_chk-nonshared and memset_chk-nonshared
6951 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
6952 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
6953 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
6954 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
6955 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
6956 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
6957 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
6958 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
6959 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
6960 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
6961 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
6962 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
6963 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
6964 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
6965 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
6966 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
6967 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
6968 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
6969 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
6970 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
6971 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
6972 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
6973 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
6974 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
6975 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
6976 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
6977 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
6978 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
6979 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
6980 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
6981 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
6982 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
6983 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
6984 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
6985 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
6986 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
6987 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
6988 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
6989 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
6990 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
6991 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
6992 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
6993 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
6994 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
6995 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
6996 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
6997 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
6998 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
6999 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7000 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7001 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7002 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7003 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7004 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7005 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7006 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7007 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7008 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7009 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7010 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7011 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7012 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7013 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7014 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7015 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7016 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7017 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7018 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7019 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7020 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7021 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7022 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7023 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7025 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7026 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7027 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7028 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7029 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7030 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7031 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7032 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7033 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7034 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7035 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7036 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7039 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7040 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7041 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7042 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7043 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7045 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7047 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7048 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7049 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7050 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7051 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7052 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7053 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7054 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7055 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7056 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7057 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7058 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7060 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7062 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7063 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7064 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
7065 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
7066 svml_d_log2_core-sse2, svml_d_log4_core-sse,
7067 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
7068 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
7069 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
7070 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
7071 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
7072 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
7073 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
7074 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
7075 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
7076 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
7077 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
7078 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
7079 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
7080 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
7081 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
7082 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
7083 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
7084 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
7085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
7086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
7087 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
7088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
7089 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
7090 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
7091 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
7092 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
7093 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
7094 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
7095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
7096 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
7097 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
7098 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
7099 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
7100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
7101 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
7102 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
7103 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
7104 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
7105 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
7106 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
7107 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
7108 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
7109 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
7110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
7111 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
7112 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
7113 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
7114 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
7115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
7116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
7117 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
7118 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
7119 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
7120 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
7122 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
7123 Don't include <sysdep.h> nor <init-arch.h>.
7124 (_ZGVbN2v_cos): Removed.
7125 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
7127 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
7128 Don't include <sysdep.h> nor <init-arch.h>.
7129 (_ZGVdN4v_cos): Removed.
7130 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
7132 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
7133 Don't include <sysdep.h> nor <init-arch.h>.
7134 (_ZGVeN8v_cos): Removed.
7135 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
7137 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
7138 Don't include <sysdep.h> nor <init-arch.h>.
7139 (_ZGVbN2v_exp): Removed.
7140 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
7142 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
7143 Don't include <sysdep.h> nor <init-arch.h>.
7144 (_ZGVdN4v_exp): Removed.
7145 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
7147 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
7148 Don't include <sysdep.h> nor <init-arch.h>.
7149 (_ZGVeN8v_exp): Removed.
7150 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
7152 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
7153 Don't include <sysdep.h> nor <init-arch.h>.
7154 (_ZGVbN2v_log): Removed.
7155 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
7157 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
7158 Don't include <sysdep.h> nor <init-arch.h>.
7159 (_ZGVdN4v_log): Removed.
7160 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
7162 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
7163 Don't include <sysdep.h> nor <init-arch.h>.
7164 (_ZGVeN8v_log): Removed.
7165 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
7167 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
7168 Don't include <sysdep.h> nor <init-arch.h>.
7169 (_ZGVbN2vv_pow): Removed.
7170 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
7172 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
7173 Don't include <sysdep.h> nor <init-arch.h>.
7174 (_ZGVdN4vv_pow): Removed.
7175 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
7177 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
7178 Don't include <sysdep.h> nor <init-arch.h>.
7179 (_ZGVeN8vv_pow): Removed.
7180 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
7182 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
7183 Don't include <sysdep.h> nor <init-arch.h>.
7184 (_ZGVbN2v_sin): Removed.
7185 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
7187 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
7188 Don't include <sysdep.h> nor <init-arch.h>.
7189 (_ZGVbN4v_sin): Removed.
7190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
7192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
7193 Don't include <sysdep.h> nor <init-arch.h>.
7194 (_ZGVbN8v_sin): Removed.
7195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
7197 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
7198 Don't include <sysdep.h> nor <init-arch.h>.
7199 (_ZGVbN2vvv_sincos): Removed.
7200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
7202 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
7203 Don't include <sysdep.h> nor <init-arch.h>.
7204 (_ZGVdN4vvv_sincos): Removed.
7205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
7207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
7208 Don't include <sysdep.h> nor <init-arch.h>.
7209 (_ZGVeN8vvv_sincos): Removed.
7210 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
7212 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
7213 Don't include <sysdep.h> nor <init-arch.h>.
7214 (_ZGVeN16v_cosf): Removed.
7215 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
7217 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
7218 Don't include <sysdep.h> nor <init-arch.h>.
7219 (_ZGVbN4v_cosf): Removed.
7220 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
7222 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
7223 Don't include <sysdep.h> nor <init-arch.h>.
7224 (_ZGVdN8v_cosf): Removed.
7225 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
7227 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
7228 Don't include <sysdep.h> nor <init-arch.h>.
7229 (_ZGVeN16v_expf): Removed.
7230 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
7232 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
7233 Don't include <sysdep.h> nor <init-arch.h>.
7234 (_ZGVbN4v_expf): Removed.
7235 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
7237 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
7238 Don't include <sysdep.h> nor <init-arch.h>.
7239 (_ZGVdN8v_expf): Removed.
7240 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
7242 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
7243 Don't include <sysdep.h> nor <init-arch.h>.
7244 (_ZGVeN16v_logf): Removed.
7245 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
7247 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
7248 Don't include <sysdep.h> nor <init-arch.h>.
7249 (_ZGVbN4v_logf): Removed.
7250 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
7252 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
7253 Don't include <sysdep.h> nor <init-arch.h>.
7254 (_ZGVdN8v_logf): Removed.
7255 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
7257 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
7258 Don't include <sysdep.h> nor <init-arch.h>.
7259 (_ZGVeN16vv_powf): Removed.
7260 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
7262 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
7263 Don't include <sysdep.h> nor <init-arch.h>.
7264 (_ZGVbN4vv_powf): Removed.
7265 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
7267 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
7268 Don't include <sysdep.h> nor <init-arch.h>.
7269 (_ZGVdN8vv_powf): Removed.
7270 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
7272 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
7273 Don't include <sysdep.h> nor <init-arch.h>.
7274 (_ZGVeN16vvv_sincosf): Removed.
7275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
7277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
7278 Don't include <sysdep.h> nor <init-arch.h>.
7279 (_ZGVbN4vvv_sincosf): Removed.
7280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
7282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
7283 Don't include <sysdep.h> nor <init-arch.h>.
7284 (_ZGVdN8vvv_sincosf): Removed.
7285 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
7287 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
7288 Don't include <sysdep.h> nor <init-arch.h>.
7289 (_ZGVeN16v_sinf): Removed.
7290 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
7292 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
7293 Don't include <sysdep.h> nor <init-arch.h>.
7294 (_ZGVbN4v_sinf): Removed.
7295 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
7297 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
7298 Don't include <sysdep.h> nor <init-arch.h>.
7299 (_ZGVdN8v_sinf): Removed.
7301 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7303 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7304 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
7305 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
7306 s_rint-sse4_1 and s_rintf-sse4_1.
7307 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
7308 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7309 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7310 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7311 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
7313 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
7314 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7315 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7316 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
7317 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
7318 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7320 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
7321 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
7322 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7324 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
7325 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
7326 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7328 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
7329 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
7330 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7331 (__floorf): Removed.
7332 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
7333 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
7334 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7335 (__nearbyint): Removed.
7336 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
7337 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
7338 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7339 (__nearbyintf): Removed.
7340 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
7341 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
7342 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7344 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
7345 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
7346 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
7349 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7351 * sysdeps/i386/start.S (_start): Check Check PIC instead of
7352 SHARED. Avoid dynamic relocation against main in static PIE.
7354 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7357 * elf/Makefile (CFLAGS-tst-prelink.c): New.
7358 (LDFLAGS-tst-prelink): Likewise.
7360 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7362 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7363 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
7364 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
7365 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7366 (INTERNAL_SYSCALL_NCS): Likewise.
7367 (LOADARGS_1): Likewise.
7368 (LOADARGS_5): Likewise.
7369 (RESTOREARGS_1): Likewise.
7370 (RESTOREARGS_5): Likewise.
7372 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7374 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
7375 (MEMPCPY_SYMBOL): Likewise.
7376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7377 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
7378 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
7380 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7381 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7383 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
7384 (__hidden_ver1): Don't use in libc.a.
7385 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7386 (__mempcpy): Don't create a weak alias in libc.a.
7387 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
7389 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
7390 (__hidden_ver1): Don't use in libc.a.
7392 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7394 * config.make.in (have-insert): New.
7395 * configure.ac (libc_cv_insert): New. Set to yes if linker
7396 supports INSERT in linker script.
7397 (AC_SUBST(libc_cv_insert): New.
7398 * configure: Regenerated.
7399 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
7400 if $(have-insert) == yes.
7402 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7404 * elf/Makefile (tests): Add vismain only if
7405 $(have-protected-data) == yes.
7406 (tests-pie): Likewise.
7408 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7411 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7412 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
7414 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7417 * sysdeps/i386/i586/memset.S
7418 (__memset_zero_constant_len_parameter): Removed.
7419 * sysdeps/i386/i686/memset.S
7420 (__memset_zero_constant_len_parameter): Likewise.
7421 * sysdeps/i386/i686/multiarch/memset_chk.S
7422 (__memset_zero_constant_len_parameter): Likewise.
7423 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
7426 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7428 * stdlib/getentropy.c (getentropy): Change return type to int.
7430 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
7432 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7434 2017-08-03 Joseph Myers <joseph@codesourcery.com>
7436 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
7438 * math/s_nexttowardf.c (__nexttowardf): Likewise.
7439 * sysdeps/generic/math_private.h (ieee_double_shape_type):
7441 (ieee_float_shape_type): Likewise.
7442 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
7443 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
7444 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7445 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7446 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7447 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
7448 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
7449 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7450 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7452 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7453 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7454 (__ieee754_yn): Likewise.
7455 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7456 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7457 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
7459 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7460 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
7461 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
7462 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
7464 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7465 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
7466 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
7467 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
7468 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
7469 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
7471 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7472 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
7473 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7474 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
7475 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7476 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
7477 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
7478 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
7479 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
7480 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7481 (__issignaling): Likewise.
7482 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
7483 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
7484 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7486 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7487 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7488 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
7489 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
7491 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
7493 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
7494 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
7495 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
7496 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7497 (__erfcf): Likewise.
7498 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7499 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7500 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
7501 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
7503 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
7504 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
7506 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7507 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
7508 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7509 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
7510 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
7511 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7512 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
7513 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
7515 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
7517 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7519 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
7520 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7522 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7524 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7525 (__ieee754_ynl): Likewise.
7526 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7527 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
7529 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
7531 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7532 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
7533 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7535 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7536 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
7537 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
7538 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
7539 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
7540 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7541 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
7542 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
7544 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7545 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
7546 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
7548 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
7549 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
7550 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7551 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7552 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
7553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7555 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7557 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7559 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7561 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
7562 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7563 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7564 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
7565 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7566 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
7569 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7571 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7574 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7575 (__ieee754_remainderl): Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7581 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7582 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7584 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7585 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
7586 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7587 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7588 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7589 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7591 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7592 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
7593 (__ieee754_y0l): Likewise.
7596 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7597 (__ieee754_y1l): Likewise.
7600 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7601 (__ieee754_ynl): Likewise.
7602 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7603 (__ieee754_lgammal_r): Likewise.
7604 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
7606 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7609 (__erfcl): Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
7613 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
7617 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
7618 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7619 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7621 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
7622 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7623 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
7624 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
7625 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7627 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
7628 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
7630 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
7631 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
7632 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
7633 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7634 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7636 2017-08-03 Florian Weimer <fweimer@redhat.com>
7639 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
7640 on memory allocation failure.
7642 2017-08-03 Alan Modra <amodra@gmail.com>
7644 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
7645 tst-tlsopt-powerpc.c with function name change and no test harness.
7646 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
7647 Call tls_get_addr_opt_test.
7648 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
7649 (modules-names): Add mod-tlsopt-powerpc.
7650 (mod-tlsopt-powerpc.so-no-z-defs): Define.
7651 (tst-tlsopt-powerpc): Depend on .so.
7652 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
7653 define. Expand use in TLS_GD and TLS_LD.
7655 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7657 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
7659 * sysdeps/posix/shm_open.c: Include <pthread.h>.
7661 2017-08-02 Joseph Myers <joseph@codesourcery.com>
7664 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
7665 comparing size with that of double.
7666 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7667 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7668 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
7669 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7670 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7671 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
7672 unsigned __int128 types.
7674 2017-08-02 Steve Ellcey <sellcey@cavium.com>
7676 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
7677 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
7678 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
7679 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
7680 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
7682 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7684 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
7686 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7688 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
7690 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7691 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7692 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7693 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7694 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7695 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7698 2017-08-02 Joseph Myers <joseph@codesourcery.com>
7701 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
7702 bit-field expressions passed to sizeof or typeof.
7703 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7704 (__TGMATH_F128): Likewise.
7705 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7706 (__TGMATH_CF128): Likewise.
7707 (__TGMATH_UNARY_REAL_ONLY): Likewise.
7708 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
7709 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
7710 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
7711 (__TGMATH_BINARY_REAL_ONLY): Likewise.
7712 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7713 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7714 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
7715 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7716 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
7717 (__TGMATH_UNARY_REAL_IMAG): Likewise.
7718 (__TGMATH_UNARY_IMAG): Likewise.
7719 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
7720 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7721 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
7723 (define_vars_for_type): Handle bit_field type specially.
7724 (Tests.__init__): Declare structure with bit-field element.
7726 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
7729 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
7730 (MEMCPY_CHK): Define only if SHARED is defined.
7731 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
7733 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
7736 See ChangeLog.18 for earlier changes.