1 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3 * benchtests/Makefile: Add logf benchmark.
4 * benchtests/logf-inputs: Add reduced trace from wrf_r.
6 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8 * benchtests/Makefile: Add expf benchmark.
9 * benchtests/expf-inputs: Add reduced trace from wrf_r.
11 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13 * csu/Makefile: Add -funwind-tables to libc-start.c.
14 * debug/Makefile: Add -funwind-tables to backtrace.c.
15 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
16 * sysdeps/arm/Makefile: Likewise.
17 * sysdeps/i386/Makefile: Likewise.
18 * sysdeps/m68k/Makefile: Likewise.
19 * sysdeps/mips/Makefile: Likewise.
20 * sysdeps/nios2/Makefile: Likewise.
21 * sysdeps/sh/Makefile: Likewise.
22 * sysdeps/sparc/Makefile: Likewise.
24 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26 * benchtests/Makefile (bench-math): Add trunc and truncf.
27 (CFLAGS-bench-trunc.c): New variable.
28 (CFLAGS-bench-truncf.c): Likewise.
29 * benchtests/trunc-inputs: New file.
30 * benchtests/truncf-inputs: Likewise.
32 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
36 2017-09-18 Joseph Myers <joseph@codesourcery.com>
38 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
39 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
41 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
42 (exp10l): Define as weak alias.
43 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
44 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
46 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
47 (remainderl): Define as weak alias.
49 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
50 (fmal): Define using libm_alias_ldouble.
51 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
52 (acoshl): Define using libm_alias_ldouble.
53 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
54 (acosl): Define using libm_alias_ldouble.
55 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
56 (asinl): Define using libm_alias_ldouble.
57 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
58 (atan2l): Define using libm_alias_ldouble.
59 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
60 (atanhl): Define using libm_alias_ldouble.
61 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
62 (coshl): Define using libm_alias_ldouble.
63 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
64 (exp10l): Define using libm_alias_ldouble.
65 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
66 (exp2l): Define using libm_alias_ldouble.
67 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
68 (expl): Define using libm_alias_ldouble.
69 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
70 (fmodl): Define using libm_alias_ldouble.
71 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
72 (hypotl): Define using libm_alias_ldouble.
73 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
74 (j0l): Define using libm_alias_ldouble.
76 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
77 (j1l): Define using libm_alias_ldouble.
79 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
80 (jnl): Define using libm_alias_ldouble.
82 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
83 (log10l): Define using libm_alias_ldouble.
84 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
85 (log2l): Define using libm_alias_ldouble.
86 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
87 (logl): Define using libm_alias_ldouble.
88 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
89 (powl): Define using libm_alias_ldouble.
90 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
91 (remainderl): Define using libm_alias_ldouble.
92 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
93 (sinhl): Define using libm_alias_ldouble.
94 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
95 (sqrtl): Define using libm_alias_ldouble.
96 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
97 (tgammal): Define using libm_alias_ldouble.
98 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
99 (exp10l): Do not use long_double_symbol here.
100 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
101 [LIBM_SVID_COMPAT] (remainderl): Likewise.
102 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
103 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
104 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
105 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
106 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
107 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
108 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
109 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
110 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
111 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
112 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
113 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
114 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
115 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
116 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
117 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
118 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
119 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
120 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
121 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
123 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
125 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
126 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
128 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
130 * io/read.c (read): Add libc_hidden_weak.
131 * sysdeps/mach/hurd/read.c (read): Likewise.
132 * io/write.c (write): Likewise.
133 * sysdeps/mach/hurd/write.c (write): Likewise.
134 * io/pread64.c (__pread64): Likewise.
135 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
136 * posix/pread64.c (__pread64): Add libc_hidden_def.
138 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
140 * benchtests/scripts/compare_strings.py: New option -g.
141 (draw_graph): Print a message that a graph is being generated.
142 (process_results): Generate graph only if -g is passed.
143 (main): Process option -g.
145 * benchtests/scripts/compare_strings.py (process_results):
146 Better spacing for output.
148 * benchtests/scripts/compare_strings.py: Use argparse.
149 * benchtests/README: Document existence of compare_strings.py.
151 2017-09-15 Joseph Myers <joseph@codesourcery.com>
153 * math/s_fma.c: Include <libm-alias-double.h>.
154 (fma): Define using libm_alias_double.
155 * math/s_nextafter.c: Include <libm-alias-double.h>.
156 (nextafter): Define using libm_alias_double.
157 * math/w_acos_compat.c: Include <libm-alias-double.h>.
158 (acos): Define using libm_alias_double.
159 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
160 (aocsh): Define using libm_alias_double.
161 * math/w_asin_compat.c: Include <libm-alias-double.h>.
162 (asin): Define using libm_alias_double.
163 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
164 (atan2): Define using libm_alias_double.
165 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
166 (atanh): Define using libm_alias_double.
167 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
168 (cosh): Define using libm_alias_double.
169 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
170 (exp10): Define using libm_alias_double.
171 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
172 (exp2): Define using libm_alias_double.
173 * math/w_exp_compat.c: Include <libm-alias-double.h>.
174 (exp): Define using libm_alias_double.
175 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
176 (fmod): Define using libm_alias_double.
177 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
178 (hypot): Define using libm_alias_double.
179 * math/w_j0_compat.c: Include <libm-alias-double.h>.
180 (j0): Define using libm_alias_double.
182 * math/w_j1_compat.c: Include <libm-alias-double.h>.
183 (j1): Define using libm_alias_double.
185 * math/w_jn_compat.c: Include <libm-alias-double.h>.
186 (jn): Define using libm_alias_double.
188 * math/w_log10_compat.c: Include <libm-alias-double.h>.
189 (log10): Define using libm_alias_double.
190 * math/w_log2_compat.c: Include <libm-alias-double.h>.
191 (log2): Define using libm_alias_double.
192 * math/w_log_compat.c: Include <libm-alias-double.h>.
193 (log): Define using libm_alias_double.
194 * math/w_pow_compat.c: Include <libm-alias-double.h>.
195 (pow): Define using libm_alias_double.
196 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
197 (remainder): Define using libm_alias_double.
198 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
199 (sinh): Define using libm_alias_double.
200 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
201 (sqrt): Define using libm_alias_double.
202 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
203 (tgamma): Define using libm_alias_double.
204 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
205 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
206 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
207 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
208 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
209 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
210 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
211 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
212 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
213 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
214 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
215 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
216 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
217 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
218 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
219 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
220 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
221 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
222 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
223 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
224 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
225 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
226 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
227 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
228 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
230 * math/e_acoshl.c: Remove.
231 * math/e_acosl.c: Likewise.
232 * math/e_asinl.c: Likewise.
233 * math/e_atan2l.c: Likewise.
234 * math/e_atanhl.c: Likewise.
235 * math/e_coshl.c: Likewise.
236 * math/e_expl.c: Likewise.
237 * math/e_fmodl.c: Likewise.
238 * math/e_gammal_r.c: Likewise.
239 * math/e_hypotl.c: Likewise.
240 * math/e_j0l.c: Likewise.
241 * math/e_j1l.c: Likewise.
242 * math/e_jnl.c: Likewise.
243 * math/e_lgammal_r.c: Likewise.
244 * math/e_log10l.c: Likewise.
245 * math/e_log2l.c: Likewise.
246 * math/e_logl.c: Likewise.
247 * math/e_powl.c: Likewise.
248 * math/e_rem_pio2l.c: Likewise.
249 * math/e_sinhl.c: Likewise.
250 * math/e_sqrtf128.c: Likewise.
251 * math/e_sqrtl.c: Likewise.
252 * math/k_cosl.c: Likewise.
253 * math/k_sinl.c: Likewise.
254 * math/k_tanl.c: Likewise.
255 * math/s_asinhl.c: Likewise.
256 * math/s_atanl.c: Likewise.
257 * math/s_cbrtl.c: Likewise.
258 * math/s_erfl.c: Likewise.
259 * math/s_expm1l.c: Likewise.
260 * math/s_log1pl.c: Likewise.
261 * math/s_tanhl.c: Likewise.
263 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
267 [$(subdir) = math] (sysdep_calls): New variable. Has the
268 previous contents of sysdep_routines, but re-sorted..
269 [$(subdir) = math] (sysdep_routines): Re-use the contents from
271 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
272 defined in sysdep_calls and replace by the respective m_* names.
273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
274 (compat_symbol): Undefine to avoid duplicated compat symbols in
277 2017-09-15 Joseph Myers <joseph@codesourcery.com>
279 * math/s_fmaf.c: Include <libm-alias-float.h>.
280 (fmaf): Define using libm_alias_float.
281 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
282 (acosf): Define using libm_alias_float.
283 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
284 (acoshf): Define using libm_alias_float.
285 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
286 (asinf): Define using libm_alias_float.
287 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
288 (atan2f): Define using libm_alias_float.
289 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
290 (atanhf): Define using libm_alias_float.
291 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
292 (coshf): Define using libm_alias_float.
293 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
294 (exp10f): Define using libm_alias_float.
295 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
296 (fmodf): Define using libm_alias_float.
297 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
298 (hypotf): Define using libm_alias_float.
299 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
300 (j0f): Define using libm_alias_float.
302 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
303 (j1f): Define using libm_alias_float.
305 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
306 (jnf): Define using libm_alias_float.
308 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
309 (log10f): Define using libm_alias_float.
310 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
311 (log2f): Define using libm_alias_float.
312 * math/w_logf_compat.c: Include <libm-alias-float.h>.
313 (logf): Define using libm_alias_float.
314 * math/w_powf_compat.c: Include <libm-alias-float.h>.
315 (powf): Define using libm_alias_float.
316 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
317 (remainderf): Define using libm_alias_float.
318 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
319 (sinhf): Define using libm_alias_float.
320 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
321 (sqrtf): Define using libm_alias_float.
322 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
323 (tgammaf): Define using libm_alias_float.
325 2017-09-14 Joseph Myers <joseph@codesourcery.com>
327 * include/math.h (roundeven): Change hidden_proto call to
329 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
331 [NO_LONG_DOUBLE] (__j0l): New strong alias.
332 (y0): Rename to __y0 and define as weak alias.
333 [NO_LONG_DOUBLE] (__y0l): New strong alias.
334 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
336 (y0f): Rename to __y0f and define as weak alias.
337 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
339 [NO_LONG_DOUBLE] (__j1l): New strong alias.
340 (y1): Rename to __y1 and define as weak alias.
341 [NO_LONG_DOUBLE] (__y1l): New strong alias.
342 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
344 (y1f): Rename to __y1f and define as weak alias.
345 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
347 [NO_LONG_DOUBLE] (__jnl): New strong alias.
348 (yn): Rename to __yn and define as weak alias.
349 [NO_LONG_DOUBLE] (__ynl): New strong alias.
350 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
352 (ynf): Rename to __ynf and define as weak alias.
353 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
354 (fromfp): Define as weak alias.
355 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
356 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
357 (fromfpx): Define as weak alias.
358 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
359 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
360 __getpayload and define as weak alias.
361 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
362 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
363 __roundeven and define as weak alias.
364 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
365 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
367 (setpayload): Define as weak alias.
368 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
369 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
371 (setpayloadsig): Define as weak alias.
372 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
373 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
374 __totalorder and define as weak alias.
375 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
376 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
377 to __totalordermag and define as weak alias.
378 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
379 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
380 (ufromfp): Define as weak alias.
381 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
382 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
384 (ufromfpx): Define as weak alias.
385 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
386 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
387 Rename to __getpayload and define as weak alias.
388 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
389 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
390 Rename to __roundeven and define as weak alias.
391 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
392 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
393 Rename to __totalorder and define as weak alias.
394 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
395 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
396 (totalordermag): Rename to __totalordermag and define as weak
398 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
399 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
401 (__roundevenl): Likewise.
402 (__totalorderl): Likewise.
403 (__totalordermagl): Likewise
404 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
406 (fromfpf128): Define as weak alias.
407 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
409 (fromfpxf128): Define as weak alias.
410 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
412 (setpayloadf128): Define as weak alias.
413 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
415 (setpayloadsigf128): Define as weak alias.
416 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
418 (ufromfpf128): Define as weak alias.
419 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
421 (ufromfpxf128): Define as weak alias.
422 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
423 (fromfpf): Define as weak alias.
424 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
426 (fromfpxf): Define as weak alias.
427 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
428 __getpayloadf and define as weak alias.
429 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
430 __roundevenf and define as weak alias.
431 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
433 (setpayloadf): Define as weak alias.
434 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
436 (setpayloadsigf): Define as weak alias.
437 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
438 __totalorderf and define as weak alias.
439 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
440 Rename to __totalordermagf and define as weak alias.
441 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
443 (ufromfpf): Define as weak alias.
444 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
446 (ufromfpxf): Define as weak alias.
447 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
449 (fromfpl): Define as weak alias.
450 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
452 (fromfpxl): Define as weak alias.
453 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
454 to __getpayloadl and define as weak alias.
455 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
456 __roundevenl and define as weak alias.
457 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
459 (setpayloadl): Define as weak alias.
460 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
462 (setpayloadsigl): Define as weak alias.
463 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
464 to __totalorderl and define as weak alias.
465 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
466 Rename to __totalordermagl and define as weak alias.
467 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
469 (ufromfpl): Define as weak alias.
470 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
472 (ufromfpxl): Define as weak alias.
473 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
475 (fromfpl): Define as weak alias.
476 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
478 (fromfpxl): Define as weak alias.
479 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
480 Rename to __getpayloadl and define as weak alias.
481 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
482 to __roundevenl and define as weak alias. Call __roundeven
483 instead of roundeven.
484 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
486 (setpayloadl): Define as weak alias.
487 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
489 (setpayloadsigl): Define as weak alias.
490 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
491 Rename to __totalorderl and define as weak alias.
492 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
493 Rename to __totalordermagl and define as weak alias.
494 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
496 (ufromfpl): Define as weak alias.
497 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
499 (ufromfpxl): Define as weak alias.
500 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
502 (fromfpl): Define as weak alias.
503 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
505 (fromfpxl): Define as weak alias.
506 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
507 __getpayloadl and define as weak alias.
508 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
509 __roundevenl and define as weak alias.
510 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
512 (setpayloadl): Define as weak alias.
513 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
515 (setpayloadsigl): Define as weak alias.
516 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
517 __totalorderl and define as weak alias.
518 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
519 Rename to __totalordermagl and define as weak alias.
520 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
522 (ufromfpl): Define as weak alias.
523 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
525 (ufromfpxl): Define as weak alias.
527 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
529 * benchtests/bench-string.h (realloc_bufs): New function.
530 (test_init): Call it.
531 * benchtests/bench-memset-large.c (do_test): Likewise.
532 * benchtests/bench-memset.c (do_test): Likewise.
534 * benchtests/bench-memset-large.c: Print output in JSON
536 * benchtests/bench-memset.c: Likewise.
538 2017-09-14 Mike FABIAN <mfabian@redhat.com>
541 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
542 * iconvdata/Makefile: Add IBM858.
543 * iconvdata/gconv-modules: Likewise.
544 * iconvdata/tst-tables.sh: Likewise.
545 * iconvdata/ibm858.c: New file.
546 * localedata/charmaps/IBM858: Likewise.
548 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
551 * locales/niu_NZ (LC_TIME): copy "niu_NU".
552 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
554 2017-09-14 Mike FABIAN <mfabian@redhat.com>
557 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
560 2017-09-14 Joseph Myers <joseph@codesourcery.com>
562 * sysdeps/generic/libm-alias-float128.h: New file.
563 * sysdeps/generic/math-type-macros-float128.h: Include
564 <libm-alias-float128.h>.
565 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
567 2017-09-13 Joseph Myers <joseph@codesourcery.com>
569 * sysdeps/generic/libm-alias-ldouble.h: New file.
570 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
571 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
572 * sysdeps/generic/math-type-macros-ldouble.h: Include
573 <libm-alias-ldouble.h>.
574 [!declare_mgen_alias] (declare_mgen_alias): Define to use
577 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
579 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
580 * math/w_exp_compat.c: ... here.
581 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
582 * math/w_expf_compat.c: ... here.
583 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
584 * math/w_expl_compat.c: ... here.
585 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
586 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
587 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
588 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
590 2017-09-13 Joseph Myers <joseph@codesourcery.com>
592 * math/w_scalbln_template.c (strong_alias): Do not undefine and
594 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
596 (ldexpl): Only define as compat symbol for libc, not libm.
597 (scalbnl): Define as compat symbol for libc here.
598 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
599 define for [IS_IN (libc)].
600 (__ldexpl_2): Remove alias.
601 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
602 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
603 name in long_double_symbol call.
604 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
605 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
606 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
607 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
608 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
610 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
611 Define as compat symbol.
613 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
615 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
616 * sysdeps/unix/sysv/linux/alpha/Makefile
617 [$(subdir) = csu] (sysdep_routines): Remove rule.
619 2017-09-13 Joseph Myers <joseph@codesourcery.com>
621 * sysdeps/generic/libm-alias-double.h: New file.
622 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
623 * sysdeps/generic/math-type-macros-double.h: Include
624 <libm-alias-double.h>.
625 [declare_mgen_alias] (declare_mgen_alias): Define to use
627 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
628 (M_LIBM_NEED_COMPAT): Remove macro.
629 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
630 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
631 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
633 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
634 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
635 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
636 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
637 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
638 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
639 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
640 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
641 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
642 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
643 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
644 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
645 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
646 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
647 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
648 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
649 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
650 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
651 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
652 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
653 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
654 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
655 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
656 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
657 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
658 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
659 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
660 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
661 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
663 (declare_mgen_alias): New macro.
664 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
665 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
667 (M_LIBM_NEED_COMPAT): Remove macro.
668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
669 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
671 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
672 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
674 2017-09-12 Joseph Myers <joseph@codesourcery.com>
676 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
677 (declare_mgen_alias_2): Remove.
678 * sysdeps/generic/math-type-macros-double.h
679 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
681 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
683 (ldexp): Define with declare_mgen_alias.
686 2017-09-12 Steve Ellcey <sellcey@cavium.com>
688 * grp/initgroups.c: Include config.h.
689 (DEFAULT_CONFIG): New macro.
690 (internal_getgrouplist): Use DEFAULT_CONFIG.
691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
692 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
693 (DEFAULT_DEFCONFIG): New macro.
694 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
695 * nss/grp-lookup.c: Include config.h
696 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
697 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
698 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
699 * manual/nss.texi: Update default values section.
701 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
704 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
706 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
707 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
708 Handle MathVec_Prefer_No_AVX512.
709 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
710 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
713 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
715 * posix/sched_primax.c (__sched_get_priority_max): Add
717 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
718 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
719 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
720 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
721 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
722 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
723 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
724 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
727 2017-09-11 Joseph Myers <joseph@codesourcery.com>
729 * sysdeps/generic/libm-alias-float.h: New file.
730 * sysdeps/generic/math-type-macros-float.h: Include
731 <libm-alias-float.h>.
732 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
734 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
737 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
738 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
739 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
740 (HWCAP_IMPORTANT): Likewise.
741 (HWCAP_X86_64): New enum.
742 (HWCAP_X86_AVX512_1): Updated.
743 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
744 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
745 (modules-names): Add x86_64/tst-x86_64mod-1.
746 (LDFLAGS-tst-x86_64mod-1.so): New.
747 ($(objpfx)tst-x86_64-1): Likewise.
748 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
749 (tst-x86_64-1-clean): Likewise.
750 * sysdeps/x86_64/tst-x86_64-1.c: New file.
751 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
753 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
755 * po/sv.po: Update translations.
756 * po/fr.po: Likewise.
758 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
760 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
762 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
764 * elf/rtld-Rules: Fix $(error) use.
766 2017-09-09 Mike FABIAN <mfabian@redhat.com>
769 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
770 * locale/iso-639.def: Change “Bengali” to “Bangla”.
771 * localedata/locales/bn_BD: “Bengali” was still used in some
772 comments. Change it to “Bangla”.
774 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
776 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
778 2017-09-08 Steve Ellcey <sellcey@cavium.com>
780 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
781 thunderx2t99p1 to list of cpu names.
782 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
783 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
785 2017-09-08 Steve Ellcey <sellcey@cavium.com>
787 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
788 Use strcmp instead of tunable_is_name.
790 2017-09-08 Joseph Myers <joseph@codesourcery.com>
792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
793 (F_GET_RW_HINT): New macro.
794 [__USE_GNU] (F_SET_RW_HINT): Likewise.
795 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
796 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
797 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
798 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
799 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
800 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
801 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
802 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
804 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
805 (F_ADD_SEALS): New macro.
806 [__USE_GNU] (F_GET_SEALS): Likewise.
807 [__USE_GNU] (F_SEAL_SEAL): Likewise.
808 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
809 [__USE_GNU] (F_SEAL_GROW): Likewise.
810 [__USE_GNU] (F_SEAL_WRITE): Likewise.
812 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
814 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
815 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
816 * posix/glob_internal.h (__glob_pattern_type):
817 * posix/glob.c (glob):
818 * posix/glob_pattern_p.c (__glob_pattern_p):
821 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
822 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
823 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
824 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
825 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
827 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
828 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
829 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
830 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
831 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
832 * sysdeps/wordsize-64/glob.c: Likewise.
833 * sysdeps/wordsize-64/glob64.c: Likewise.
834 * sysdeps/wordsize-64/globfree.c: Likewise.
835 * sysdeps/wordsize-64/globfree64.c: Likewise.
836 * sysdeps/unix/sysv/linux/glob.c: New file.
837 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
838 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
839 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
840 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
841 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
842 adds !GLOB_NO_OLD_VERSION as an extra condition.
843 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
844 using relative path instead of absolute one.
845 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
846 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
847 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
848 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
849 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
850 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
853 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
854 (glob): Use the same scratch buffer for both getlogin_r and
855 getpwnam_r. Don’t require preallocation of the login name. This
856 simplifies storage allocation, and corrects the handling of
860 * posix/glob.c (glob): Port recent patches to platforms
862 (glob): Fix longstanding misuse of errno after getpwnam_r, which
863 returns an error number rather than setting errno.
865 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
866 instead of GCC extension.
867 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
868 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
869 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
873 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
874 * posix/bug-glob1.c: Remove file.
875 * posix/tst-glob_symlinks.c: New file.
876 * posix/glob.c (__lstat64): New macro.
877 (is_dir): New function.
878 (glob, glob_in_dir): Match symlinks even if they are dangling.
879 (link_stat, link_exists_p): Remove. All uses removed.
883 * posix/glob.c (struct readdir_result): Remove skip_entry member.
884 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
888 * posix/Makefile (routines): Add globfree, globfree64, and
890 * posix/flexmember.h: New file.
891 * posix/glob_internal.h: Likewise.
892 * posix/glob_pattern_p.c: Likewise.
893 * posix/globfree.c: Likewise.
894 * posix/globfree64.c: Likewise.
895 * sysdeps/gnu/globfree64.c: Likewise.
896 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
897 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
898 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
899 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
900 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
901 * sysdeps/wordsize-64/globfree.c: Likewise.
902 * sysdeps/wordsize-64/globfree64.c: Likewise.
903 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
904 [NDEBUG): Remove comments.
905 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
906 (dirent_type): New type. Use uint_fast8_t not
907 uint8_t, as C99 does not require uint8_t.
908 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
909 (struct readdir_result): Use dirent_type. Do not define skip_entry
910 unless it is needed; this saves a byte on platforms lacking d_ino.
911 (readdir_result_type, readdir_result_skip_entry):
912 New functions, replacing ...
913 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
914 these functions, which were removed. This makes the callers
915 easier to read. All callers changed.
916 (D_INO_TO_RESULT): Now empty if there is no d_ino.
917 (size_add_wrapv, glob_use_alloca): New static functions.
918 (glob, glob_in_dir): Check for size_t overflow in several places,
919 and fix some size_t checks that were not quite right.
920 Remove old code using SHELL since Bash no longer
922 (glob, prefix_array): Separate MS code better.
923 (glob_in_dir): Remove old Amiga and VMS code.
924 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
926 (glob_in_dir): Do not rely on undefined behavior in accessing
927 struct members beyond their bounds. Use a flexible array member
929 (link_stat): Rename from link_exists2_p and return -1/0 instead of
931 (glob): Fix memory leaks.
932 * posix/glob64 (globfree64): Move to separate file.
933 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
934 (globfree64): Remove hidden alias.
935 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
937 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
939 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
941 Move compat code to separate file.
942 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
945 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
947 * resolv/tst-resolv-qtypes.c (domain): Changed to
948 "const char domain[] =".
950 2017-09-07 Joseph Myers <joseph@codesourcery.com>
952 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
955 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
956 (TCP_MD5SIG_EXT): Likewise.
957 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
958 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
959 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
961 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
963 2017-09-07 Mike FABIAN <mfabian@redhat.com>
965 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
967 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
970 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
972 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
974 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
975 before assuming that the file is empty. Avoid testing buffer content
978 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
981 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
983 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
985 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
987 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
989 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
991 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
993 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
996 2017-09-06 Florian Weimer <fweimer@redhat.com>
998 * malloc/dynarray_emplace_enlarge.c
999 (__libc_dynarray_emplace_enlarge): Add missing else.
1001 2017-09-06 Florian Weimer <fweimer@redhat.com>
1004 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
1005 case of failure to obtain the global conf object.
1007 2017-09-06 Florian Weimer <fweimer@redhat.com>
1010 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
1011 dynarray allocation failure.
1013 2017-09-06 Florian Weimer <fweimer@redhat.com>
1015 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
1016 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
1017 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
1019 (response): Call them. Add 'p', '6' flag processing.
1020 (test_reverse): New function.
1021 (test_get2_any): Call it.
1022 (test_no_inet6): Add 'p' test.
1023 (test_inet6): Likewise.
1025 2017-09-06 Florian Weimer <fweimer@redhat.com>
1027 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
1028 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
1030 (test_gai): Adjust query names. Add additional tests.
1031 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
1032 test_get2. Adjust query names. Add additional tests.
1033 (test_no_inet6): New function, extracted from threadfunc.
1034 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
1035 Add additional tests.
1037 2017-09-06 Mike FABIAN <mfabian@redhat.com>
1040 * localedata/unicode-gen/utf8_gen.py: Set the width for
1041 characters with Prepended_Concatenation_Mark property to 1
1042 * localedata/charmaps/UTF-8: Updated using the improved script.
1044 2017-09-06 Mike FABIAN <mfabian@redhat.com>
1047 * localedata/unicode-gen/utf8_gen.py: Improve the script to
1048 use the range notation for all ranges of neighbouring characters
1049 with the same width.
1051 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1053 * sysdeps/generic/math-type-macros-double.h: Include
1054 <math-svid-compat.h>.
1055 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1056 * sysdeps/generic/math-type-macros-float.h: Include
1057 <math-svid-compat.h>.
1058 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1059 * sysdeps/generic/math-type-macros-ldouble.h: Include
1060 <math-svid-compat.h>.
1061 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1062 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
1064 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
1065 * math/w_acosf_compat.c: Likewise.
1066 * math/w_acosh_compat.c: Likewise.
1067 * math/w_acoshf_compat.c: Likewise.
1068 * math/w_acoshl_compat.c: Likewise.
1069 * math/w_acosl_compat.c: Likewise.
1070 * math/w_asin_compat.c: Likewise.
1071 * math/w_asinf_compat.c: Likewise.
1072 * math/w_asinl_compat.c: Likewise.
1073 * math/w_atan2_compat.c: Likewise.
1074 * math/w_atan2f_compat.c: Likewise.
1075 * math/w_atan2l_compat.c: Likewise.
1076 * math/w_atanh_compat.c: Likewise.
1077 * math/w_atanhf_compat.c: Likewise.
1078 * math/w_atanhl_compat.c: Likewise.
1079 * math/w_cosh_compat.c: Likewise.
1080 * math/w_coshf_compat.c: Likewise.
1081 * math/w_coshl_compat.c: Likewise.
1082 * math/w_exp10_compat.c: Likewise.
1083 * math/w_exp10f_compat.c: Likewise.
1084 * math/w_exp10l_compat.c: Likewise.
1085 * math/w_exp2_compat.c: Likewise.
1086 * math/w_exp2f_compat.c: Likewise.
1087 * math/w_exp2l_compat.c: Likewise.
1088 * math/w_fmod_compat.c: Likewise.
1089 * math/w_fmodf_compat.c: Likewise.
1090 * math/w_fmodl_compat.c: Likewise.
1091 * math/w_hypot_compat.c: Likewise.
1092 * math/w_hypotf_compat.c: Likewise.
1093 * math/w_hypotl_compat.c: Likewise.
1094 * math/w_j0_compat.c: Likewise.
1095 * math/w_j0f_compat.c: Likewise.
1096 * math/w_j0l_compat.c: Likewise.
1097 * math/w_j1_compat.c: Likewise.
1098 * math/w_j1f_compat.c: Likewise.
1099 * math/w_j1l_compat.c: Likewise.
1100 * math/w_jn_compat.c: Likewise.
1101 * math/w_jnf_compat.c: Likewise.
1102 * math/w_jnl_compat.c: Likewise.
1103 * math/w_lgamma_r_compat.c: Likewise.
1104 * math/w_lgammaf_r_compat.c: Likewise.
1105 * math/w_lgammal_r_compat.c: Likewise.
1106 * math/w_log10_compat.c: Likewise.
1107 * math/w_log10f_compat.c: Likewise.
1108 * math/w_log10l_compat.c: Likewise.
1109 * math/w_log2_compat.c: Likewise.
1110 * math/w_log2f_compat.c: Likewise.
1111 * math/w_log2l_compat.c: Likewise.
1112 * math/w_log_compat.c: Likewise.
1113 * math/w_logf_compat.c: Likewise.
1114 * math/w_logl_compat.c: Likewise.
1115 * math/w_pow_compat.c: Likewise.
1116 * math/w_powf_compat.c: Likewise.
1117 * math/w_powl_compat.c: Likewise.
1118 * math/w_remainder_compat.c: Likewise.
1119 * math/w_remainderf_compat.c: Likewise.
1120 * math/w_remainderl_compat.c: Likewise.
1121 * math/w_sinh_compat.c: Likewise.
1122 * math/w_sinhf_compat.c: Likewise.
1123 * math/w_sinhl_compat.c: Likewise.
1124 * math/w_sqrt_compat.c: Likewise.
1125 * math/w_sqrtf_compat.c: Likewise.
1126 * math/w_sqrtl_compat.c: Likewise.
1127 * math/w_tgamma_compat.c: Likewise.
1128 * math/w_tgammaf_compat.c: Likewise.
1129 * math/w_tgammal_compat.c: Likewise.
1130 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
1132 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
1133 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
1135 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
1136 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
1138 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
1139 * sysdeps/i386/fpu/w_sqrt.c: New file.
1140 * sysdeps/ia64/fpu/w_acos.c: Likewise.
1141 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1142 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1143 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1144 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1145 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1146 * sysdeps/ia64/fpu/w_asin.c: Likewise.
1147 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1148 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1149 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1150 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1151 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1152 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1153 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1154 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1155 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1156 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1157 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1158 * sysdeps/ia64/fpu/w_exp.c: Likewise.
1159 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1160 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1161 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1162 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1163 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1164 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1165 * sysdeps/ia64/fpu/w_expf.c: Likewise.
1166 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1167 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1168 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1169 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1170 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1171 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1172 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1173 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1174 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1175 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1176 * sysdeps/ia64/fpu/w_log.c: Likewise.
1177 * sysdeps/ia64/fpu/w_log10.c: Likewise.
1178 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1179 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1180 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1181 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1182 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1183 * sysdeps/ia64/fpu/w_logf.c: Likewise.
1184 * sysdeps/ia64/fpu/w_logl.c: Likewise.
1185 * sysdeps/ia64/fpu/w_pow.c: Likewise.
1186 * sysdeps/ia64/fpu/w_powf.c: Likewise.
1187 * sysdeps/ia64/fpu/w_powl.c: Likewise.
1188 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1189 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1190 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1191 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1192 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1193 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1194 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1195 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1196 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1197 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
1198 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
1199 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
1200 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
1202 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1203 * sysdeps/ieee754/k_standard.c: Likewise.
1204 * sysdeps/ieee754/k_standardf.c: Likewise.
1205 * sysdeps/ieee754/k_standardl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1207 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1208 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1209 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
1210 long_double_symbol call on [LIBM_SVID_COMPAT].
1211 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1212 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1213 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1214 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1215 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1216 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1217 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1218 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1219 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1220 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1221 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1222 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1223 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1224 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1225 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1226 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1227 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1228 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1229 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1230 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1231 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
1232 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
1234 2017-09-05 Steve Ellcey <sellcey@cavium.com>
1236 * include/shlib-compat.h (TEST_COMPAT): New Macro.
1237 * malloc/tst-mallocstate.c: Convert from test-skeleton
1238 to test-driver. Ifdef code using TEST_COMPAT macro.
1239 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
1240 * math/test-matherr.c: Likewise.
1242 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1245 * debug/pcprofiledump.c (main): Use byte-swapped mask when
1246 comparing word with byte-swapped constant.
1248 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
1251 * locale/iso-639.def: add Miskito.
1252 * localedata/SUPPORTED: Add miq_NI/UTF-8.
1253 * localedata/locales/miq_NI: New file.
1255 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
1258 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
1259 (__mkdir): Likewise.
1260 * io/chmod.c (__chmod): Add libc_hidden_def.
1261 * io/mkdir.c (__mkdir): Likewise.
1262 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1263 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1264 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
1265 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
1267 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1269 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1273 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
1274 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1276 2017-09-04 Florian Weimer <fweimer@redhat.com>
1278 * math/math.h: Issue warning if log is defined.
1280 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1282 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1283 kernel version to 4.13.
1285 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1287 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
1288 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
1290 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
1291 just <bits/types.h>.
1292 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
1293 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
1294 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
1295 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
1296 * misc/preadv2.c: Include <errno.h>.
1297 * misc/preadv64v2.c: Include <errno.h>.
1298 * misc/pwritev2.c: Include <errno.h>.
1299 * misc/pwritev64v2.c: Include <errno.h>.
1300 * sysdeps/posix/preadv2.c: Include <errno.h>.
1301 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
1302 Fix <unistd.h> inclusion.
1303 * sysdeps/posix/pwritev2.c: Include <errno.h>.
1304 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
1305 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
1306 __strtoul_internal): New functions.
1307 * sysdeps/posix/pause.c: Include <sigsetops.h>.
1308 * sysdeps/posix/system.c: Include <sigsetops.h>.
1309 * sysdeps/mach/hurd/i386/Makefile
1310 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1311 [$(subdir) = csu] (sysdep-only-routines): Likewise.
1312 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1313 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
1314 __feraiseexcept_renamed to feraiseexcept instead of
1316 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
1317 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
1318 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
1319 RWF_NOWAIT): Define to 0 if undefined already.
1320 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
1322 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
1323 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
1325 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1327 * manual/math.texi (pow10): Do not document.
1330 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
1331 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
1332 * math/libm-test-exp10.inc (pow10_test): Remove.
1333 (do_test): Do not call pow10.
1334 * math/w_exp10_compat.c (pow10): Make into compat symbol.
1335 [NO_LONG_DOUBLE] (pow10l): Likewise.
1336 * math/w_exp10f_compat.c (pow10f): Likewise.
1337 * math/w_exp10l_compat.c (pow10l): Likewise.
1338 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
1339 (pow10): Make into compat symbol.
1340 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
1341 (pow10f): Make into compat symbol.
1342 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
1343 (pow10l): Make into compat symbol.
1344 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
1346 (CFLAGS-nldbl-pow10.c): Remove variable..
1347 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
1348 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
1349 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
1350 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
1351 Undefine and redefine.
1352 (pow10l): Make into compat symbol.
1353 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
1354 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1355 * sysdeps/arm/libm-test-ulps: Likewise.
1356 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
1357 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1358 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1359 * sysdeps/microblaze/libm-test-ulps: Likewise.
1360 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1361 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1362 * sysdeps/nios2/libm-test-ulps: Likewise.
1363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1364 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1365 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1366 * sysdeps/sh/libm-test-ulps: Likewise.
1367 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1368 * sysdeps/tile/libm-test-ulps: Likewise.
1369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1371 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1373 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
1375 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1377 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
1378 "../ChangeLog.old/ChangeLog.8".
1379 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
1380 "../ChangeLog.old/ChangeLog.14".
1382 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1384 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
1387 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1389 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
1391 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1393 * csu/version.c (banner): Remove "by Roland McGrath et al.".
1394 * nptl/Banner: Remove "by Ulrich Drepper et al.".
1396 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1398 * stdlib/tst-atexit-common.c (do_test): Test support for at least
1401 2017-09-01 Zack Weinberg <zackw@panix.com>
1403 * math/math.h (HUGE_VAL): Improve commentary.
1405 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1406 Andreas Schwab <schwab@suse.de>
1409 * include/stdio.h (__gen_tempfd): New function.
1410 * stdio-common/Makefile (routines): Add gentempfd.
1411 * stdio-common/gentempfd.c: New file.
1412 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
1413 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
1416 2017-09-01 Florian Weimer <fweimer@redhat.com>
1420 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
1421 result to determine success or failure, not the errno value.
1422 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
1423 (tst-nss-files-hosts-erange): Link with -ldl.
1424 * nss/tst-nss-files-hosts-erange.c: New file.
1425 * nss/tst-resolv-basic.c (response): Handle nodata.example.
1426 (do_test): Add NO_DATA tests.
1427 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
1430 2017-09-01 Florian Weimer <fweimer@redhat.com>
1433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
1434 coming from gethostbyname2_r.
1436 2017-09-01 Florian Weimer <fweimer@redhat.com>
1438 * support/namespace.h (struct support_chroot_configuration): Add
1440 (struct support_chroot): Add path_hosts, path_host_conf.
1441 * support/support_chroot.c (write_file): New function.
1442 (support_chroot_create): Call it to process /etc/resolv.conf,
1443 /etc/hosts, /etc/host.conf.
1444 (support_chroot_free): Update.
1446 2017-09-01 Florian Weimer <fweimer@redhat.com>
1448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
1449 status indicates it is set.
1451 2017-09-01 Florian Weimer <fweimer@redhat.com>
1453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
1454 function lookup failures more reliable.
1456 2017-09-01 Florian Weimer <fweimer@redhat.com>
1458 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
1459 (getcanonname): Likewise.
1460 (gaih_inet): Likewise.
1462 2017-09-01 Florian Weimer <fweimer@redhat.com>
1464 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
1465 (getcanonname): Likewise.
1466 (gaih_inet): Likewise.
1468 2017-08-31 Steve Ellcey <sellcey@cavium.com>
1469 Richard Henderson <rth@twiddle.net>
1471 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
1472 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
1473 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
1474 (IREG_SIZE, OREG_SIZE): New macros.
1475 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
1476 (IREG_SIZE, OREG_SIZE): New macros.
1477 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
1478 (IREG_SIZE): New macro.
1479 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
1480 (IREG_SIZE): New macro.
1481 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
1483 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
1484 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1485 (__CONCATX): Handle exceptions correctly on large values that may
1487 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
1488 Initialize if not already set.
1489 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1491 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1493 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
1494 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
1496 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
1498 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
1500 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
1502 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
1504 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
1506 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
1508 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
1509 (NO_CANCELLATION): Likewise.
1510 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
1512 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
1514 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
1516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
1517 (NO_CANCELLATION): Likewise.
1518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
1519 (NO_CANCELLATION): Likewise.
1520 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
1522 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
1524 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
1526 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
1528 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
1530 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
1531 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
1533 2017-08-31 Steve Ellcey <sellcey@cavium.com>
1535 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
1538 2017-08-31 Florian Weimer <fweimer@redhat.com>
1540 * include/libc-symbols.h (internal_function): Remove.
1542 2017-08-31 Florian Weimer <fweimer@redhat.com>
1544 * stdlib/fmtmsg.c (internal_addseverity): Remove
1547 2017-08-31 Florian Weimer <fweimer@redhat.com>
1549 * stdio-common/printf_fp.c (group_number): Remove
1551 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1553 2017-08-31 Florian Weimer <fweimer@redhat.com>
1555 * posix/fnmatch.c (internal_function): Remove definition.
1556 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
1557 * posix/regcomp.c (peek_token, init_word_char)
1558 (duplicate_node_closure, fetch_token, peek_token)
1559 (peek_token_bracket, build_range_exp, build_collating_symbol):
1561 * posix/regex_internal.c (re_string_construct_common)
1562 (create_ci_newstate, create_cd_newstate, re_string_allocate)
1563 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
1564 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
1565 (re_string_translate_buffer, re_string_reconstruct)
1566 (re_string_peek_byte_case, re_string_fetch_byte_case)
1567 (re_string_destruct, re_string_context_at, re_node_set_alloc)
1568 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
1569 (re_node_set_add_intersect, re_node_set_init_union)
1570 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
1571 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
1572 (re_dfa_add_node, calc_state_hash, re_acquire_state)
1573 (re_acquire_state_context): Likewise.
1574 * posix/regex_internal.h (internal_function): Remove definition.
1575 (re_string_realloc_buffers, build_wcs_buffer)
1576 (build_wcs_upper_buffer, build_upper_buffer)
1577 (re_string_translate_buffer, re_string_context_at)
1578 (re_string_char_size_at, re_string_wchar_at)
1579 (re_string_elem_size_at): Likewise.
1580 * posix/regexec.c (match_ctx_init, match_ctx_clean)
1581 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
1582 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
1583 (re_search_internal, re_search_2_stub, re_search_stub)
1584 (re_copy_regs, prune_impossible_nodes, check_matching)
1585 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
1586 (free_fail_stack_return, sift_states_iter_mb)
1587 (sift_states_backward, build_sifted_states)
1588 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
1589 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
1590 (check_subexp_limits, sift_states_bkref, merge_state_array)
1591 (find_recover_state, transit_state, merge_state_with_log)
1592 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
1593 (transit_state_mb, transit_state_bkref, get_subexp)
1594 (get_subexp_sub, find_subexp_node, check_arrival)
1595 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
1596 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
1597 (check_node_accept_bytes, find_collation_sequence_value)
1598 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
1599 (acquire_init_state_context, check_halt_node_context)
1600 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
1601 (sub_epsilon_src_nodes): Likewise.
1602 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
1603 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
1604 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
1605 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
1606 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
1607 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
1608 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
1609 * sysdeps/posix/ttyname.c (getttyname): Likewise.
1610 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1611 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
1613 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
1615 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
1616 (PWRITEV): Likewise.
1617 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
1618 (PWRITEV): Likewise.
1619 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
1620 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
1622 2017-08-31 Florian Weimer <fweimer@redhat.com>
1624 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
1625 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
1626 Remove internal_function.
1627 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1628 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
1629 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
1630 (__deallocate_stack, __libc_pthread_init)
1631 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
1632 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
1633 (__libc_disable_asynccancel, __librt_disable_asynccancel):
1635 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
1636 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
1637 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
1639 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
1640 (__pthread_mutex_unlock_usercnt): Likewise.
1642 2017-08-31 Florian Weimer <fweimer@redhat.com>
1644 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
1645 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
1646 (fts_safe_changedir): Remove internal_function.
1647 * io/ftw.c (internal_function): Remove definition.
1648 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
1650 2017-08-31 Florian Weimer <fweimer@redhat.com>
1652 * inet/deadline.c (__deadline_current_time)
1653 (__deadline_from_timeval, __deadline_to_ms): Remove
1655 * inet/getnameinfo.c (nrl_domainname): Likewise.
1656 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
1657 * inet/inet6_option.c (add_pad): Likewise.
1658 * inet/net-internal.h (__deadline_current_time)
1659 (__deadline_from_timeval, __deadline_to_ms): Likewise.
1660 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
1661 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
1662 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
1664 2017-08-31 Joseph Myers <joseph@codesourcery.com>
1666 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
1667 include <bits/nan.h>.
1668 * math/Makefile (headers): Remove bits/nan.h.
1669 * bits/nan.h: Remove.
1670 * sysdeps/ieee754/bits/nan.h: Likewise.
1671 * sysdeps/mips/bits/nan.h: Likewise.
1673 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
1674 not include <bits/inf.h>.
1675 * math/Makefile (headers): Remove bits/inf.h.
1676 * bits/inf.h: Remove.
1677 * sysdeps/ieee754/bits/inf.h: Likewise.
1679 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
1680 bits/huge_vall.h or bits/huge_val_flt128.h.
1681 (HUGE_VAL): Define directly here.
1682 [__USE_ISOC99] (HUGE_VALF): Likewise.
1683 [__USE_ISOC99] (HUGE_VALL): Likewise.
1684 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1685 (HUGE_VAL_F128): Likewise.
1686 * math/Makefile (headers): Remove bits/huge_val.h,
1687 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
1688 * bits/huge_val.h: Remove.
1689 * bits/huge_val_flt128.h: Likewise.
1690 * bits/huge_valf.h: Likewise.
1691 * bits/huge_vall.h: Likewise.
1692 * sysdeps/ia64/bits/huge_vall.h: Likewise.
1693 * sysdeps/ieee754/bits/huge_val.h: Likewise.
1694 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
1695 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
1696 * sysdeps/sh/bits/huge_val.h: Likewise.
1697 * sysdeps/sparc/bits/huge_vall.h: Likewise.
1698 * sysdeps/x86/bits/huge_vall.h: Likewise.
1700 2017-08-31 Florian Weimer <fweimer@redhat.com>
1702 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
1704 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
1706 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
1707 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1708 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
1709 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
1710 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1711 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1712 * elf/dl-libc.c (dlerror_run): Likewise.
1713 * elf/dl-load.c (add_name_to_object, decompose_rpath)
1714 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
1715 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
1716 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
1718 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
1719 (_dl_higher_prime_number, _dl_strtoul): Likewise.
1720 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
1721 * elf/dl-profile.c (_dl_start_profile): Likewise.
1722 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
1723 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
1725 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
1726 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
1727 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
1728 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
1729 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
1730 (_dl_allocate_tls_storage): Likewise.
1731 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
1732 (_dl_check_all_versions): Likewise.
1733 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1734 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
1735 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
1736 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1737 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
1738 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
1739 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
1740 internal_function from __dl_start.
1741 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
1742 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1743 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
1744 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
1745 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
1746 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
1747 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
1748 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
1749 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
1750 (_dl_next_ld_env_entry, _dl_important_hwcaps)
1751 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
1752 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
1753 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
1754 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
1755 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
1757 (struct rtld_global_ro): Remove internal_function from the
1758 _dl_lookup_symbol_x member.
1759 (_dl_symbol_value): Remove. No longer defined anywhere.
1760 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
1762 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1763 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1764 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
1765 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
1766 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
1767 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
1768 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
1769 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
1770 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
1771 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1772 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1773 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1775 2017-08-31 Florian Weimer <fweimer@redhat.com>
1777 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
1778 Remove internal_function.
1779 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1781 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1784 2017-08-31 Florian Weimer <fweimer@redhat.com>
1786 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
1787 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
1788 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
1790 2017-08-31 Florian Weimer <fweimer@redhat.com>
1792 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
1793 (__gai_enqueue_request): Remove internal_function.
1794 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
1795 (__gai_remove_request, __gai_notify, __gai_notify_only)
1796 (__gai_sigqueue): Likewise.
1797 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
1798 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1799 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1800 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1803 2017-08-31 Florian Weimer <fweimer@redhat.com>
1805 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
1806 * include/dirent.h (__opendirat, __getdents, __getdents64)
1807 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
1808 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
1809 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1810 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
1814 2017-08-31 Florian Weimer <fweimer@redhat.com>
1816 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
1818 (GETCWD_RETURN_TYPE): Likewise.
1820 2017-08-31 Florian Weimer <fweimer@redhat.com>
1822 * include/time.h (__tz_compute, __strptime_internal): Remove
1824 * time/strptime_l.c (__strptime_internal): Likewise.
1825 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
1827 2017-08-31 Florian Weimer <fweimer@redhat.com>
1829 * iconv/gconv.c (__gconv): Remove internal_function.
1830 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
1831 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
1832 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
1833 (__gconv_release_cache): Likewise.
1834 * iconv/gconv_close.c (__gconv_close): Likewise.
1835 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
1836 (read_conf_file, __gconv_get_path): Likewise.
1837 * iconv/gconv_db.c (derivation_lookup, add_derivation)
1838 (__gconv_release_step, gen_steps, increment_counter)
1839 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
1840 (__gconv_close_transform, free_modules_db): Likewise.
1841 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
1843 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
1844 (__gconv_find_transform, __gconv_lookup_cache)
1845 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
1846 (__gconv_close_transform, __gconv_release_cache)
1847 (__gconv_loaded_object, __gconv_release_shlib)
1848 (__gconv_compare_alias): Likewise.
1849 * iconv/gconv_open.c (__gconv_open): Likewise.
1850 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
1851 * iconv/iconvconfig.c (add_module): Likewise.
1852 * intl/dcigettext.c (plural_lookup, guess_category_value)
1853 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
1854 * intl/eval-plural.h (plural_eval): Likewise.
1855 * intl/finddomain.c (_nl_find_domain): Likewise.
1856 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
1857 (_nl_load_domain, _nl_find_msg): Likewise.
1858 (internal_function): Remove definition.
1859 * intl/loadinfo.h (internal_function): Likewise.
1860 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
1862 * intl/localealias.c (internal_function): Remove definition.
1863 (read_alias_file): Remove internal_function.
1864 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
1865 * intl/plural-exp.h (internal_function): Remove definition.
1866 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
1868 * intl/plural.c: Regenerate.
1869 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
1870 * locale/coll-lookup.c (__collidx_table_lookup)
1871 (__collseq_table_lookup): Likewise.
1872 * locale/coll-lookup.h (__collidx_table_lookup)
1873 (__collseq_table_lookup): Likewise.
1874 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
1875 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1876 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
1877 (_nl_unload_locale): Likewise.
1878 * locale/localeinfo.h (struct __locale_data): Remove
1879 internal_function from cleanup member.
1880 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
1881 (_nl_remove_locale, _nl_load_locale_from_archive)
1882 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
1883 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
1884 (_nl_cleanup_time): Remove internal_function.
1885 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
1886 (_nl_parse_alt_digit): Likewise.
1887 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
1888 (_nl_select_era_entry): Likewise.
1889 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
1890 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1891 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1892 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1893 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1895 2017-08-31 Florian Weimer <fweimer@redhat.com>
1897 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
1898 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1899 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
1900 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
1902 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
1903 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
1904 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
1905 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1907 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
1909 2017-08-31 Florian Weimer <fweimer@redhat.com>
1911 * misc/getttyent.c (skip, value): Remove internal_function.
1912 * misc/syslog.c (openlog_internal): Likewise.
1913 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
1915 2017-08-31 Florian Weimer <fweimer@redhat.com>
1917 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
1918 (__nss_rewrite_field): Remove internal_function.
1919 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1920 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1921 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1922 * nss/nsswitch.c (nss_parse_file, nss_getline)
1923 (nss_parse_service_list, nss_new_service): Likewise.
1924 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
1925 * nss/valid_field.c (__nss_valid_field): Likewise.
1926 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
1928 2017-08-31 Florian Weimer <fweimer@redhat.com>
1930 * malloc/arena.c (__malloc_fork_lock_parent)
1931 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
1932 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
1933 internal_function from defintions.
1934 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
1935 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
1936 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
1937 internal_function from declarations.
1938 * malloc/malloc.c (internal_function): Do not define.
1939 (mem2mem_check): Remove internal_function from declaration.
1940 (munmap_chunk, mremap_chunk): Remove internal_function.
1941 * malloc/mtrace.c (tr_where): Likewise.
1943 2017-08-31 Florian Weimer <fweimer@redhat.com>
1945 * include/rpc/pmap_clnt.h (__get_socket): Remove
1947 * sunrpc/auth_des.c (synchronize): Likewise.
1948 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1949 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1950 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
1951 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
1952 (key_call): Likewise.
1953 * sunrpc/pm_getport.c (__get_socket): Likewise.
1954 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
1955 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
1956 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1957 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
1958 (invalidate): Likewise.
1959 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
1960 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
1961 (set_input_fragment, get_input_bytes): Likewise.
1963 2017-08-31 Florian Weimer <fweimer@redhat.com>
1965 * malloc/malloc.c (_int_free): Remove locked variable and related
1968 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
1971 * Makerules (build-module-helper-objlist): Filter out
1972 $(elf-objpfx)sofini.os.
1973 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
1976 2017-08-31 Florian Weimer <fweimer@redhat.com>
1978 * libio/fcloseall.c: Assume weak_alias is defined.
1979 * libio/feof.c: Likewise.
1980 * libio/fileno.c: Likewise.
1981 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
1982 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1984 (_IO_file_open): Call __open directly.
1985 (_IO_new_file_sync): Assume ESPIPE is defined.
1986 (_IO_file_seekoff_maybe_mmap): Call __read directly.
1987 (_IO_new_file_write): Call __write directly.
1988 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
1989 * libio/ftello64.c (__ftello64): Assume EIO is defined.
1990 * libio/genops.c: Assume _LIBC is defined.
1991 (save_for_backup): Remove internal_function.
1992 * libio/getc.c: Assume weak_alias is defined.
1993 * libio/getwc.c: Likewise.
1994 * libio/iofclose.c: Assume _LIBC is defined.
1995 * libio/iofdopen.c: Likewise.
1996 (_IO_fcntl): Remove macro definition.
1997 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
1998 Call __fcntl directly.
1999 * libio/iofflush.c: Assume weak_alias is defined.
2000 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
2002 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
2003 * libio/iofgets.c: Likewise.
2004 * libio/iofopen.c: Assume _LIBC is defined.
2005 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
2006 * libio/iofputs.c: Assume weak_alias is defined.
2007 * libio/iofread.c: Likewise.
2008 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
2009 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2010 * libio/ioftell.c: Assume weak_alias is defined.
2011 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
2012 * libio/iofwide.c: Assume _LIBC is defined.
2013 (_IO_fwide): Drop SHARED conditional because it is implied by
2015 * libio/iofwrite.c: Assume weak_alias is defined.
2016 * libio/iogetdelim.c: Likewise.
2017 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
2018 * libio/iogetwline.c (wmemcpy): Remove macro definition.
2019 (_IO_getwline): Call __wmemcpy directly.
2020 * libio/iopopen.c: Assume _LIBC is defined.
2021 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2022 (_IO_close): Remove macro definitions.
2023 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
2025 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
2027 * libio/ioputs.c: Assume weak_alias is defined.
2028 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
2029 * libio/iosetbuffer.c: Assume weak_alias is defined.
2030 * libio/iosetvbuf.c: Likewise.
2031 * libio/ioungetc.c: Likewise.
2032 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
2033 libc_hidden_def, libc_hidden_weak, NULL are defined.
2034 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
2035 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
2037 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2039 (_IO_old_file_init_internal): Drop SHARED conditional because it
2040 is implied by SHLIB_COMPAT.
2041 (_IO_old_file_fopen): Call __open directly.
2042 (_IO_old_file_sync): Assume ESPIPE is defined.
2043 (_IO_old_file_write): Call __write directly.
2044 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
2045 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
2046 Call __fcntl directly.
2047 * libio/oldiofgetpos.c: Assume weak_alias is defined.
2048 (_IO_old_fgetpos): Assume EIO is defined.
2049 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
2050 (_IO_old_fgetpos64): Assume EIO is defined.
2051 * libio/oldiofsetpos.c: Assume weak_alias is defined.
2052 (_IO_old_fsetpos): Assume EIO is defined.
2053 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
2054 (_IO_old_fsetpos64): Assume EIO is defined.
2055 * libio/oldiopopen.c: Assume _LIBC is defined.
2056 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2057 (_IO_close): Remove macro definitions.
2058 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
2060 (_IO_old_proc_close): Call __close, __waitpid directly.
2061 * libio/put.c: Assume weak_alias is defined.
2062 * libio/stdfiles.c: Assume _LIBC is defined.
2063 * libio/stdio.c: Likewise.
2064 * libio/wfileops.c: Likewise.
2065 (_IO_wfile_sync): Assume ESPIPE is defined.
2066 * libio/wgenops.c: Assume _LIBC is defined.
2067 (save_for_wbackup): Remove internal_function.
2069 2017-08-31 Florian Weimer <fweimer@redhat.com>
2071 * malloc/malloc.c (top_check): Change return type to void. Remove
2073 * malloc/hooks.c (top_check): Likewise.
2074 (malloc_check, realloc_check, memalign_check): Adjust.
2076 2017-08-30 Joseph Myers <joseph@codesourcery.com>
2079 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2080 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
2081 sigcontext and namespace requirements.
2082 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2083 * sysdeps/m68k/sys/ucontext.h: Likewise.
2084 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
2085 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2086 <bits/sigcontext.h>.
2087 (__ctx): Define earlier.
2088 (mcontext_t): Define structure contents rather than using struct
2090 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
2091 __glibc_reserved1 instead of __reserved.
2092 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2093 <bits/sigcontext.h>.
2094 (__ctx): Define earlier.
2095 (mcontext_t): Define structure contents rather than using struct
2097 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
2098 mcontext_t instead of struct sigcontext.
2099 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2100 <bits/sigcontext.h>.
2101 (__ctx): Define earlier.
2102 (mcontext_t): Define structure contents rather than using struct
2104 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2105 <bits/sigcontext.h>.
2106 (__ctx): Define earlier.
2107 (mcontext_t): Define structure contents rather than using struct
2109 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
2110 mcontext_t instead of struct sigcontext.
2111 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
2112 mcontext_t instead of struct sigcontext.
2113 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2114 <bits/sigcontext.h>.
2116 (struct __ia64_fpreg_mcontext): New type.
2117 (mcontext_t): Define structure contents rather than using struct
2119 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
2120 (uc_sigmask): Define using __ctx.
2121 (uc_stack): Likewise.
2122 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
2123 <bits/sigcontext.h>.
2124 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2125 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2126 <bits/sigcontext.h>.
2127 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
2128 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2129 <bits/sigcontext.h>.
2130 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2131 <bits/sigcontext.h>.
2132 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2133 <bits/sigcontext.h>.
2134 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2135 <bits/sigcontext.h>.
2136 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2137 <bits/sigcontext.h>.
2138 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2139 <bits/sigcontext.h>.
2140 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2141 <bits/sigcontext.h>.
2142 (__ctx): Define earlier.
2143 (mcontext_t): Define structure contents rather than using struct
2145 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2146 <bits/sigcontext.h>. Include <bits/types.h>.
2147 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
2148 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
2149 (test-xfail-XPG42/ucontext.h/conform): Likewise.
2150 (test-xfail-UNIX98/signal.h/conform): Likewise.
2151 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2152 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2153 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2154 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2155 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2156 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2157 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2158 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2159 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2161 2017-08-30 Florian Weimer <fweimer@redhat.com>
2163 * malloc/dynarray_emplace_enlarge.c
2164 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
2165 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2166 * malloc/tst-dynarray.c (test_long_overflow): New function.
2169 2017-08-30 Florian Weimer <fweimer@redhat.com>
2171 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
2172 (set_arena_corrupt): Remove definitions.
2173 (mtrim): Do not check for corrupt arena.
2174 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
2177 2017-08-30 Florian Weimer <fweimer@redhat.com>
2180 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
2182 (ptmalloc_init): Do not set or use check_action.
2183 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
2184 call to malloc_printerr. Remove return statement.
2185 (free_check): Likewise. Remove arena unlock.
2186 (top_check): Update comment. Adjust call to malloc_printerr.
2187 Remove heap repair code.
2188 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
2189 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
2190 (sysmalloc): Adjust call to malloc_printerr.
2191 (munmap_chunk, __libc_realloc): Likewise. Remove return
2193 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
2194 Remove errout label and corresponding gotos.
2195 (_int_free): Likewise. Remove arena unlock.
2196 (do_set_mallopt_check): Do not set check_action.
2197 (malloc_printerr): Adjust parameter list. Do not mark arena as
2199 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
2201 * manual/probes.texi (Memory Allocation Probes): Remove
2202 memory_mallopt_check_action.
2204 2017-08-30 Steve Ellcey <sellcey@cavium.com>
2206 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
2207 Use pointer to uint64_t instead of long int for sp.
2209 2017-08-30 Florian Weimer <fweimer@redhat.com>
2212 * malloc/malloc.c (malloc_printerr): Always terminate the process,
2213 without printing a backtrace. Do not leak any information in the
2215 * manual/memory.texi (Heap Consistency Checking): Update.
2216 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
2218 2017-08-30 Florian Weimer <fweimer@redhat.com>
2220 Do not scale NPTL tests with available number of CPUs.
2221 * nptl/tst-cond16.c (count): Set to constant value of 8.
2222 * nptl/tst-cond18.c (count): Likewise.
2224 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2227 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
2228 Define to take a second argument that is a macro that
2229 concatentates a suffix, not the suffix itself.
2230 (__CONCAT_d): New macro.
2231 (__CONCAT_f): Likewise.
2232 (__CONCAT_l): Likewise.
2234 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
2236 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
2239 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2240 Aurelien Jarno <aurelien@aurel32.net>
2241 Maciej W. Rozycki <macro@imgtec.com>
2244 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
2245 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
2246 `mips16-syscall6' and `mips16-syscall7'.
2247 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
2248 (CFLAGS-mips16-syscall7.c): Remove.
2249 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
2250 Remove `__mips16_syscall5', `__mips16_syscall6' and
2251 `__mips16_syscall7'.
2252 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
2253 (__mips16_syscall0): Rename `__mips16_syscall_return' to
2254 `__mips_syscall_return'.
2255 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
2256 (__mips16_syscall1): Likewise.
2257 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
2258 (__mips16_syscall2): Likewise.
2259 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
2260 (__mips16_syscall3): Likewise.
2261 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
2262 (__mips16_syscall4): Likewise.
2263 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
2265 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
2267 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
2269 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
2270 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
2271 `__mips16_syscall5'. Remove prototype.
2272 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
2273 `__mips16_syscall6'. Remove prototype.
2274 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
2275 `__mips16_syscall7'. Remove prototype.
2276 (__nomips16, __mips16_syscall_return): Move to...
2277 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2278 (__nomips16, __mips_syscall_return): ... here.
2279 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
2280 `__mips16_syscall_return' to `__mips_syscall_return'.
2281 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
2282 `internal_syscall##nr'.
2283 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
2284 `internal_syscall##nr'.
2285 (FORCE_FRAME_POINTER): Remove.
2286 (__mips_syscall5): New prototype.
2287 (internal_syscall5): Rewrite to call `__mips_syscall5'.
2288 (__mips_syscall6): New prototype.
2289 (internal_syscall6): Rewrite to call `__mips_syscall6'.
2290 (__mips_syscall7): New prototype.
2291 (internal_syscall7): Rewrite to call `__mips_syscall7'.
2292 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
2293 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
2294 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
2295 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
2296 (sysdep_routines): Add libc-do-syscall.
2297 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
2298 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
2300 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2303 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
2304 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
2305 (advise_stack_range): New function.
2306 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
2307 stack non required to advise_stack_range at allocatestack.c
2309 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2311 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
2313 2017-08-29 Florian Weimer <fweimer@redhat.com>
2316 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
2317 __end_fct. Mangle __end_fct after setting it to NULL.
2318 * iconv/Makefile (tests): Add tst-gconv-init-failure.
2319 (modules-names, modules-names-tests): Add
2320 tst-gconv-init-failure-mod.
2321 (gconv-modules): New target.
2322 (tst-gconv-init-failure-mod.so): Link against libsupport.
2323 (tst-gconv-init-failure): Depend on gconv-modules,
2324 tst-gconv-init-failure-mod.so.
2325 * iconv/tst-gconv-init-failure-mod.c: New file.
2326 * iconv/tst-gconv-init-failure.c: Likewise.
2327 * iconv/test-gconv-modules: Likewise.
2329 2017-08-29 Florian Weimer <fweimer@redhat.com>
2332 * iconv/gconv_db.c (free_derivation): Remove redundant
2334 (gen_steps): Unconditionally mangle __btowc_fct after
2336 (increment_counter): Likewise. Do not call init_fct for internal
2339 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2342 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2343 (_MSUF_): Remove macro.
2344 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
2346 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2347 (__REDIRFROM_X): New macro.
2348 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
2350 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
2351 (__REDIRTO_X): Likewise.
2352 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
2354 (__MATH_REDIRCALL_2): Likewise.
2355 (__MATH_REDIRCALL_INTERNAL): Likewise.
2356 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2357 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
2358 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
2359 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2360 * math/test-finite-macros.c: New file.
2361 * math/Makefile (tests): Add test-finite-macros.
2362 (CFLAGS-test-finite-macros.c): New variable.
2364 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
2365 Jeff Law <law@redhat.com>
2368 Mangle NULL pointers in iconv/gconv.
2369 * iconv/gconv_cache.c (find_module): Demangle init_fct before
2370 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
2371 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
2372 is non-NULL before demangling the end_fct. Check for NULL
2373 end_fct after demangling.
2374 (__gconv_release_step): Demangle the end_fct before checking
2375 it for NULL. Remove assert on __shlibc_handle != NULL.
2376 (gen_steps): Don't check btowc_fct for NULL before mangling.
2377 Demangle init_fct before checking for NULL.
2378 (increment_counter): Likewise.
2379 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
2380 end_fct for NULL before mangling.
2381 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
2384 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
2387 * locale/iso-639.def: add Morisyen.
2389 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2392 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
2393 (iszero): New C++ implementation that does not use
2394 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
2395 signaling nans are enabled, since __builtin_types_compatible_p
2396 is a C-only feature.
2397 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
2398 defined, include ieee754_float128.h for access to the union and
2399 member ieee854_float128.ieee.
2400 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
2401 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
2402 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2403 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
2404 options of test-math-zero on powerpc64le.
2406 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
2408 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2409 Change double to float.
2411 2017-08-28 Joseph Myers <joseph@codesourcery.com>
2413 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
2415 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
2416 conditional code; define contents only for [LIBM_SVID_COMPAT].
2418 2017-08-28 Florian Weimer <fweimer@redhat.com>
2420 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
2421 (abi-lp64_be-options): Remove.
2422 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
2423 (abi-hard-options): Likewise.
2424 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
2425 (abi-o32_hard-options, abi-o32_soft_2008-options)
2426 (abi-o32_hard_2008-options, abi-n32_soft-options)
2427 (abi-n32_hard-options, abi-n32_soft_2008-options)
2428 (abi-n32_hard_2008-options, abi-n64_soft-options)
2429 (abi-n64_hard-options, abi-n64_soft_2008-options)
2430 (abi-n64_hard_2008-options): Likewise.
2431 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
2432 (abi-64-v1-options, abi-64-v2-options): Likewise.
2433 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
2434 (abi-64-options): Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
2436 (abi-64-options): Likewise.
2437 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
2438 (abi-64-options): Likewise.
2439 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
2440 (abi-64-options, abi-x32-options): Likewise.
2442 2017-08-28 Florian Weimer <fweimer@redhat.com>
2444 Store supported list of SYS_* system calls in the source tree.
2445 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2446 (bits/syscall.h): Generate from list file.
2447 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
2448 [$(subdir) = misc] (tests): Add tst-syscall-list.
2449 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
2450 [$(subdir) = misc] (tst-syscall-list-macros.list)
2451 [$(subdir) = misc] (tst-syscall-list-nr.list)
2452 (tst-syscall-list-sys.list): Helper targets for new
2453 tst-syscall-list test.
2454 [$(subdir) = misc] (tst-syscall-list.out): Run test script
2455 tst-syscall-list.sh.
2456 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
2457 target. Do not include bits/syscall.d.
2458 [$(subdir) = misc] (generated): Do not update.
2459 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
2460 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
2461 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
2462 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
2464 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2466 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
2467 (tst-cxa_atexit, tst-on_exit): Likewise.
2468 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
2469 tst-cxa_atexit, and tst-on_exit.
2470 * stdlib/tst-atexit-common.c: New file.
2471 * stdlib/tst-atexit.c: New file.
2472 * stdlib/tst-at_quick_exit.c: New file.
2473 * stdlib/tst-cxa_atexit.c: New file.
2474 * stdlib/tst-on_exit.c: New file.
2476 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2478 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
2479 * mach/stack_chk_fail_local.c: New file.
2480 * hurd/stack_chk_fail_local.c: New file.
2481 * mach/Machrules ($(interface-library)-routines): Add
2482 stack_chk_fail_local.
2483 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
2484 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
2485 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
2486 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
2487 * hurd/Makefile (CFLAGS-hurdstartup.o,
2488 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2490 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
2492 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2493 (index_cpu_*, index_arch_*): Removed.
2495 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2497 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
2498 Use uint64_t instead of unsigned long.
2500 2017-08-25 Joseph Myers <joseph@codesourcery.com>
2502 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
2503 [__HAVE_DISTINCT_FLOAT128].
2505 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
2506 of <bits/math-finite.h>.
2507 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
2508 inclusion of <bits/math-finite.h>.
2509 * math/bits/math-finite.h (__REDIRTO_X): Do not define
2510 conditionally on [__MATH_DECLARING_LDOUBLE && defined
2511 __NO_LONG_DOUBLE_MATH].
2512 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
2513 (__MATH_REDIRCALL_2): Likewise.
2514 (__MATH_REDIRCALL_INTERNAL): Likewise.
2515 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2516 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
2517 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2531 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2532 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2533 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2534 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2536 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
2537 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
2538 w_sqrtf_compat-ppc32.
2540 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2542 * math/math.h [defined __cplusplus] (issignaling): In the long
2543 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
2544 is not defined. Call __issignaling, otherwise.
2546 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2548 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
2549 syscall definitions and replace __builtin_expect with __glibc_likely.
2550 * sysdeps/unix/syscall-template.S: Update comment about cancellable
2552 (SYSCALL_CANCELLABLE): Removedefinition
2553 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
2555 (PSEUDO_END): Likewise.
2556 [IS_IN (libpthread)] (CENABLE): Likewise.
2557 [IS_IN (libpthread)] (CDISABLE): Likewise.
2558 [IS_IN (libc)] (CENABLE): Likewise.
2559 [IS_IN (libc)] (CENABLE): Likewise.
2560 [IS_IN (librt)] (CDISABLE): Likewise.
2561 [IS_IN (librt)] (CDISABLE): Likewise.
2562 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2563 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
2565 (PSEUDO_END): Likewise.
2566 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
2567 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
2568 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2569 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2570 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2571 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2572 (CENABLE): Likewise.
2573 (CDISABLE): Likewise.
2574 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2575 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
2577 (PSEUDO_END): Likewise.
2578 [IS_IN (libpthread)] (CENABLE): Likewise.
2579 [IS_IN (libpthread)] (CDISABLE): Likewise.
2580 [IS_IN (libc)] (CENABLE): Likewise.
2581 [IS_IN (libc)] (CENABLE): Likewise.
2582 [IS_IN (librt)] (CDISABLE): Likewise.
2583 [IS_IN (librt)] (CDISABLE): Likewise.
2584 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2585 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
2587 (PSEUDO_END): Likewise.
2588 [IS_IN (libpthread)] (CENABLE): Likewise.
2589 [IS_IN (libpthread)] (CDISABLE): Likewise.
2590 [IS_IN (libc)] (CENABLE): Likewise.
2591 [IS_IN (libc)] (CENABLE): Likewise.
2592 [IS_IN (librt)] (CDISABLE): Likewise.
2593 [IS_IN (librt)] (CDISABLE): Likewise.
2594 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2595 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
2597 (PSEUDO_END): Likewise.
2598 [IS_IN (libpthread)] (CENABLE): Likewise.
2599 [IS_IN (libpthread)] (CDISABLE): Likewise.
2600 [IS_IN (libc)] (CENABLE): Likewise.
2601 [IS_IN (libc)] (CENABLE): Likewise.
2602 [IS_IN (librt)] (CDISABLE): Likewise.
2603 [IS_IN (librt)] (CDISABLE): Likewise.
2604 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2605 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
2607 (PSEUDO_END): Likewise.
2608 [IS_IN (libpthread)] (CENABLE): Likewise.
2609 [IS_IN (libpthread)] (CDISABLE): Likewise.
2610 [IS_IN (libc)] (CENABLE): Likewise.
2611 [IS_IN (libc)] (CENABLE): Likewise.
2612 [IS_IN (librt)] (CDISABLE): Likewise.
2613 [IS_IN (librt)] (CDISABLE): Likewise.
2614 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2615 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
2617 (PSEUDO_END): Likewise.
2618 [IS_IN (libpthread)] (CENABLE): Likewise.
2619 [IS_IN (libpthread)] (CDISABLE): Likewise.
2620 [IS_IN (libc)] (CENABLE): Likewise.
2621 [IS_IN (libc)] (CENABLE): Likewise.
2622 [IS_IN (librt)] (CDISABLE): Likewise.
2623 [IS_IN (librt)] (CDISABLE): Likewise.
2624 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2625 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
2627 (PSEUDO_END): Likewise.
2628 [IS_IN (libpthread)] (CENABLE): Likewise.
2629 [IS_IN (libpthread)] (CDISABLE): Likewise.
2630 [IS_IN (libc)] (CENABLE): Likewise.
2631 [IS_IN (libc)] (CENABLE): Likewise.
2632 [IS_IN (librt)] (CDISABLE): Likewise.
2633 [IS_IN (librt)] (CDISABLE): Likewise.
2634 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2635 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
2637 (PSEUDO_END): Likewise.
2638 [IS_IN (libpthread)] (CENABLE): Likewise.
2639 [IS_IN (libpthread)] (CDISABLE): Likewise.
2640 [IS_IN (libc)] (CENABLE): Likewise.
2641 [IS_IN (libc)] (CENABLE): Likewise.
2642 [IS_IN (librt)] (CDISABLE): Likewise.
2643 [IS_IN (librt)] (CDISABLE): Likewise.
2644 (SINGLE_THREAD_P): Likewise.
2645 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
2647 (PSEUDO_END): Likewise.
2648 [IS_IN (libpthread)] (CENABLE): Likewise.
2649 [IS_IN (libpthread)] (CDISABLE): Likewise.
2650 [IS_IN (libc)] (CENABLE): Likewise.
2651 [IS_IN (libc)] (CENABLE): Likewise.
2652 [IS_IN (librt)] (CDISABLE): Likewise.
2653 [IS_IN (librt)] (CDISABLE): Likewise.
2654 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2655 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
2657 (PSEUDO_END): Likewise.
2658 [IS_IN (libpthread)] (CENABLE): Likewise.
2659 [IS_IN (libpthread)] (CDISABLE): Likewise.
2660 [IS_IN (libc)] (CENABLE): Likewise.
2661 [IS_IN (libc)] (CENABLE): Likewise.
2662 [IS_IN (librt)] (CDISABLE): Likewise.
2663 [IS_IN (librt)] (CDISABLE): Likewise.
2664 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2665 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
2666 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2667 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
2668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
2670 (PSEUDO_END): Likewise.
2671 [IS_IN (libpthread)] (CENABLE): Likewise.
2672 [IS_IN (libpthread)] (CDISABLE): Likewise.
2673 [IS_IN (libc)] (CENABLE): Likewise.
2674 [IS_IN (libc)] (CENABLE): Likewise.
2675 [IS_IN (librt)] (CDISABLE): Likewise.
2676 [IS_IN (librt)] (CDISABLE): Likewise.
2677 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2678 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
2680 (PSEUDO_END): Likewise.
2681 [IS_IN (libpthread)] (CENABLE): Likewise.
2682 [IS_IN (libpthread)] (CDISABLE): Likewise.
2683 [IS_IN (libc)] (CENABLE): Likewise.
2684 [IS_IN (libc)] (CENABLE): Likewise.
2685 [IS_IN (librt)] (CDISABLE): Likewise.
2686 [IS_IN (librt)] (CDISABLE): Likewise.
2687 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2688 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
2690 (PSEUDO_END): Likewise.
2691 [IS_IN (libpthread)] (CENABLE): Likewise.
2692 [IS_IN (libpthread)] (CDISABLE): Likewise.
2693 [IS_IN (libc)] (CENABLE): Likewise.
2694 [IS_IN (libc)] (CENABLE): Likewise.
2695 [IS_IN (librt)] (CDISABLE): Likewise.
2696 [IS_IN (librt)] (CDISABLE): Likewise.
2697 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2700 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
2701 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
2703 (PSEUDO_END): Likewise.
2704 [IS_IN (libpthread)] (CENABLE): Likewise.
2705 [IS_IN (libpthread)] (CDISABLE): Likewise.
2706 [IS_IN (libc)] (CENABLE): Likewise.
2707 [IS_IN (libc)] (CENABLE): Likewise.
2708 [IS_IN (librt)] (CDISABLE): Likewise.
2709 [IS_IN (librt)] (CDISABLE): Likewise.
2710 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2711 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
2713 (PSEUDO_END): Likewise.
2714 [IS_IN (libpthread)] (CENABLE): Likewise.
2715 [IS_IN (libpthread)] (CDISABLE): Likewise.
2716 [IS_IN (libc)] (CENABLE): Likewise.
2717 [IS_IN (libc)] (CENABLE): Likewise.
2718 [IS_IN (librt)] (CDISABLE): Likewise.
2719 [IS_IN (librt)] (CDISABLE): Likewise.
2720 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2722 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2724 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
2726 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2728 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2730 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2733 * string/stratcliff.c (do_test): Declare size, nchars, inner,
2734 middle and outer with size_t instead of int. Repleace %d and
2735 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
2736 "MAX (outer, nchars - 64)" to support unsigned outer and
2737 nchars. Also exit loop when outer == 0.
2739 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2741 * include/fcntl.h (__fcntl_nocancel): Remove definition.
2742 * include/signal.h (__sigsuspend_nocancel): Likewise.
2743 * include/time.h (__nanosleep_nocancel): Likewise.
2744 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
2745 * login/utmp_file.c: Include non cancellable syscall header.
2746 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
2749 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2751 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
2752 .byte sequences with AVX512F instructions.
2753 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
2754 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2755 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2756 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
2758 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2761 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2762 Steve Ellcey <sellcey@cavium.com>
2764 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
2765 Use PTR_REG macro in cmp instruction.
2767 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2769 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
2770 Change the return type of the ifunc resolver to match the return
2771 type of the target function.
2773 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2775 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
2776 (preadv64): Likewise.
2777 (pwrite64(: Likewise.
2778 (pwritev64): Likewise.
2780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2781 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
2782 (LOAD_ARGS_0): Likewise.
2783 (LOAD_ARGS_1): Likewise.
2784 (LOAD_ARGS_2): Likewise.
2785 (LOAD_ARGS_3): Likewise.
2786 (LOAD_ARGS_4): Likewise.
2787 (LOAD_ARGS_5): Likewise.
2788 (LOAD_ARGS_6): Likewise.
2789 (LOAD_REGS_0): Likewise.
2790 (LOAD_REGS_1): Likewise.
2791 (LOAD_REGS_2): Likewise.
2792 (LOAD_REGS_3): Likewise.
2793 (LOAD_REGS_4): Likewise.
2794 (LOAD_REGS_5): Likewise.
2795 (LOAD_REGS_6): Likewise.
2796 (ASM_ARGS_0): Likewise.
2797 (ASM_ARGS_1): Likewise.
2798 (ASM_ARGS_2): Likewise.
2799 (ASM_ARGS_3): Likewise.
2800 (ASM_ARGS_4): Likewise.
2801 (ASM_ARGS_5): Likewise.
2802 (ASM_ARGS_6): Likewise.
2803 (LOAD_ARGS_TYPES_1): Likewise.
2804 (LOAD_ARGS_TYPES_2): Likewise.
2805 (LOAD_ARGS_TYPES_3): Likewise.
2806 (LOAD_ARGS_TYPES_4): Likewise.
2807 (LOAD_ARGS_TYPES_5): Likewise.
2808 (LOAD_ARGS_TYPES_6): Likewise.
2809 (LOAD_REGS_TYPES_1): Likewise.
2810 (LOAD_REGS_TYPES_2): Likewise.
2811 (LOAD_REGS_TYPES_3): Likewise.
2812 (LOAD_REGS_TYPES_4): Likewise.
2813 (LOAD_REGS_TYPES_5): Likewise.
2814 (LOAD_REGS_TYPES_6): Likewise.
2815 (TYPEFY): New define.
2817 (internal_syscall0): Likewise.
2818 (internal_syscall1): Likewise.
2819 (internal_syscall2): Likewise.
2820 (internal_syscall3): Likewise.
2821 (internal_syscall4): Likewise.
2822 (internal_syscall5): Likewise.
2823 (internal_syscall6): Likewise.
2824 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
2825 (INTERNAL_SYSCALL_NCS): Remove define.
2826 (internal_syscall1): Add define.
2828 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2830 * math/w_remainder_compat.c: Remove duplicate inclusion of
2832 * math/w_remainderf_compat.c: Likewise.
2833 * math/w_remainderl_compat.c: Likewise.
2835 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2839 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2842 * math/tgmath.h (__floating_type): Simplify definitions.
2843 (__real_integer_type): New macro.
2844 (__complex_integer_type): Likewise.
2845 (__expr_is_real): Likewise.
2846 (__tgmath_real_type_sub): Update comment to describe handling of
2848 (__tgmath_complex_type_sub): New macro.
2849 (__tgmath_complex_type): Likewise.
2850 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2851 (__TGMATH_CF128): Use __expr_is_real.
2852 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
2854 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2855 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
2856 * math/gen-tgmath-tests.py (Type.create_type): Create complex
2859 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2861 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
2863 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
2865 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
2868 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
2869 nanosleep_not_cancel with __nanosleep_nocancel.
2870 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
2871 (__nanosleep_nocancel): New macro.
2872 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
2874 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
2876 (__nanosleep_nocancel): New prototype.
2878 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
2879 pause_not_cancel with __pause_nocancel.
2880 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
2881 (__pause_nocancel): New macro.
2882 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
2884 (__pause_nocancel): New prototype.
2885 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
2887 2017-08-22 Martin Sebor <msebor@redhat.com>
2889 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
2890 to return a pointer to the same type as the target function.
2892 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2896 * include/printf.h (__printf_fphex): Add attribute_hidden.
2897 (__guess_grouping): New prototype.
2898 * stdio-common/printf_fp.c (__guess_grouping): Removed.
2899 * stdio-common/reg-printf.c (__register_printf_specifier): Add
2900 libc_hidden_proto and libc_hidden_def.
2901 * stdlib/strfmon_l.c (__guess_grouping): Removed.
2902 (__vstrfmon_l): Remove the third argument passed to
2905 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2907 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
2908 definition for issignaling that does not rely on __MATH_TG,
2909 since __MATH_TG uses __builtin_types_compatible_p, which is only
2910 available in C mode.
2911 (CFLAGS-test-math-issignaling.cc): New variable.
2912 * math/Makefile [CXX] (tests): Add test-math-issignaling.
2913 * math/test-math-issignaling.cc: New test for C++ implementation
2914 of type-generic issignaling.
2915 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2916 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
2917 options of test-math-issignaling on powerpc64le.
2919 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2921 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2923 (hidden_proto): Likewise.
2924 (hidden_tls_proto): Likewise.
2925 (__hidden_proto): Likewise.
2927 2017-08-22 Florian Weimer <fweimer@redhat.com>
2929 math: Statically link tests of internal functionality.
2930 * math/Makefile (tests): Remove atest-exp, atest-sincos,
2932 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
2933 (gmp-objs): Remove assignment.
2934 (atest-exp, atest-sincos, atest-exp2): Remove targets.
2936 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2939 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
2941 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
2943 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
2946 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
2947 variable definitions above inclusion of ../Rules.
2949 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
2952 case calling __builtin_unreachable.
2954 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2956 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
2958 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
2959 (__waitpid_nocancel): New macro.
2960 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
2962 (__waitpid_nocancel): Replace macro with a function.
2963 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
2966 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
2968 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
2969 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
2971 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
2972 __writev_nocancel_nostatus.
2973 (write_call_graph): Likewise.
2974 (write_bb_counts): Likewise.
2975 * resolv/herror.c (herror): Likewise.
2976 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
2978 (__writev_nocancel_nostatus): New macro.
2979 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
2981 (__writev_nocancel_nostatus): New function.
2983 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2986 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2988 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2990 (hidden_proto): Likewise.
2991 (hidden_tls_proto): Likewise.
2992 (__hidden_proto): Likewise.
2995 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
2996 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
3006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3007 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3008 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3009 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3010 GLIBC_2.0 sqrtl symbol.
3012 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
3013 [__USE_MISC] (_LIB_VERSION): Likewise.
3014 [__USE_MISC] (struct exception): Likewise.
3015 [__USE_MISC] (matherr): Likewise.
3016 [__USE_MISC] (DOMAIN): Likewise.
3017 [__USE_MISC] (SING): Likewise.
3018 [__USE_MISC] (OVERFLOW): Likewise.
3019 [__USE_MISC] (UNDERFLOW): Likewise.
3020 [__USE_MISC] (TLOSS): Likewise.
3021 [__USE_MISC] (PLOSS): Likewise.
3022 [__USE_MISC] (HUGE): Likewise.
3023 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
3024 * math/math-svid-compat.h: New file.
3025 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
3027 * include/math.h [!_ISOMAC] (__matherr): Remove.
3028 * manual/arith.texi (FP Exceptions): Do not document matherr.
3029 * math/Makefile (tests): Change test-matherr to test-matherr-3.
3030 (tests-internal): New variable.
3031 (install-lib): Do not add libieee.a.
3032 (non-lib.a): Likewise.
3033 (extra-objs): Do not add libieee.a and ieee-math.o.
3034 (CPPFLAGS-s_lib_version.c): Remove variable.
3035 ($(objpfx)libieee.a): Remove rule.
3036 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
3037 * math/ieee-math.c: Remove.
3038 * math/libm-test-support.c (matherr): Remove.
3039 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
3040 and license notices. Include <math-svid-compat.h> and
3042 (matherr): Undefine as macro. Use compat_symbol_reference.
3043 (_LIB_VERSION): Likewise.
3044 * math/test-matherr-2.c: New file.
3045 * math/test-matherr-3.c: Likewise.
3046 * sysdeps/generic/math_private.h (__kernel_standard): Remove
3048 (__kernel_standard_f): Likewise.
3049 (__kernel_standard_l): Likewise.
3050 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
3051 <math_private.h>. Include <math-svid-compat.h>.
3052 (_LIB_VERSION): Undefine as macro.
3053 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
3054 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
3055 [LIBM_SVID_COMPAT], use compat_symbol.
3056 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
3057 <math_private.h>. Include <math-svid-compat.h>.
3058 (matherr): Undefine as macro.
3059 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
3061 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
3062 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
3063 compat_symbol_reference.
3064 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
3065 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
3066 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
3067 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
3068 (MATHERR_D): Remove declaration.
3069 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
3070 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
3071 [LIBM_BUILD] (pmatherrf): Likewise.
3072 [LIBM_BUILD] (pmatherr): Likewise.
3073 [LIBM_BUILD] (pmatherrl): Likewise.
3076 (OVERFLOW): Likewise.
3077 (UNDERFLOW): Likewise.
3080 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
3081 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
3083 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
3084 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
3086 * math/lgamma-compat.h: Include <math-svid-compat.h>.
3087 * math/w_acos_compat.c: Likewise.
3088 * math/w_acosf_compat.c: Likewise.
3089 * math/w_acosh_compat.c: Likewise.
3090 * math/w_acoshf_compat.c: Likewise.
3091 * math/w_acoshl_compat.c: Likewise.
3092 * math/w_acosl_compat.c: Likewise.
3093 * math/w_asin_compat.c: Likewise.
3094 * math/w_asinf_compat.c: Likewise.
3095 * math/w_asinl_compat.c: Likewise.
3096 * math/w_atan2_compat.c: Likewise.
3097 * math/w_atan2f_compat.c: Likewise.
3098 * math/w_atan2l_compat.c: Likewise.
3099 * math/w_atanh_compat.c: Likewise.
3100 * math/w_atanhf_compat.c: Likewise.
3101 * math/w_atanhl_compat.c: Likewise.
3102 * math/w_cosh_compat.c: Likewise.
3103 * math/w_coshf_compat.c: Likewise.
3104 * math/w_coshl_compat.c: Likewise.
3105 * math/w_exp10_compat.c: Likewise.
3106 * math/w_exp10f_compat.c: Likewise.
3107 * math/w_exp10l_compat.c: Likewise.
3108 * math/w_exp2_compat.c: Likewise.
3109 * math/w_exp2f_compat.c: Likewise.
3110 * math/w_exp2l_compat.c: Likewise.
3111 * math/w_fmod_compat.c: Likewise.
3112 * math/w_fmodf_compat.c: Likewise.
3113 * math/w_fmodl_compat.c: Likewise.
3114 * math/w_hypot_compat.c: Likewise.
3115 * math/w_hypotf_compat.c: Likewise.
3116 * math/w_hypotl_compat.c: Likewise.
3117 * math/w_j0_compat.c: Likewise.
3118 * math/w_j0f_compat.c: Likewise.
3119 * math/w_j0l_compat.c: Likewise.
3120 * math/w_j1_compat.c: Likewise.
3121 * math/w_j1f_compat.c: Likewise.
3122 * math/w_j1l_compat.c: Likewise.
3123 * math/w_jn_compat.c: Likewise.
3124 * math/w_jnf_compat.c: Likewise.
3125 * math/w_jnl_compat.c: Likewise.
3126 * math/w_lgamma_main.c: Likewise.
3127 * math/w_lgamma_r_compat.c: Likewise.
3128 * math/w_lgammaf_main.c: Likewise.
3129 * math/w_lgammaf_r_compat.c: Likewise.
3130 * math/w_lgammal_main.c: Likewise.
3131 * math/w_lgammal_r_compat.c: Likewise.
3132 * math/w_log10_compat.c: Likewise.
3133 * math/w_log10f_compat.c: Likewise.
3134 * math/w_log10l_compat.c: Likewise.
3135 * math/w_log2_compat.c: Likewise.
3136 * math/w_log2f_compat.c: Likewise.
3137 * math/w_log2l_compat.c: Likewise.
3138 * math/w_log_compat.c: Likewise.
3139 * math/w_logf_compat.c: Likewise.
3140 * math/w_logl_compat.c: Likewise.
3141 * math/w_pow_compat.c: Likewise.
3142 * math/w_powf_compat.c: Likewise.
3143 * math/w_powl_compat.c: Likewise.
3144 * math/w_remainder_compat.c: Likewise.
3145 * math/w_remainderf_compat.c: Likewise.
3146 * math/w_remainderl_compat.c: Likewise.
3147 * math/w_scalb_compat.c: Likewise.
3148 * math/w_scalbf_compat.c: Likewise.
3149 * math/w_scalbl_compat.c: Likewise.
3150 * math/w_sinh_compat.c: Likewise.
3151 * math/w_sinhf_compat.c: Likewise.
3152 * math/w_sinhl_compat.c: Likewise.
3153 * math/w_sqrt_compat.c: Likewise.
3154 * math/w_sqrtf_compat.c: Likewise.
3155 * math/w_sqrtl_compat.c: Likewise.
3156 * math/w_tgamma_compat.c: Likewise.
3157 * math/w_tgammaf_compat.c: Likewise.
3158 * math/w_tgammal_compat.c: Likewise.
3159 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3160 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3161 * sysdeps/ieee754/k_standard.c: Likewise.
3162 * sysdeps/ieee754/k_standardf.c: Likewise.
3163 * sysdeps/ieee754/k_standardl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3166 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3167 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3168 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3169 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3170 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3171 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3172 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3177 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3178 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3179 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3180 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3182 2017-08-21 Florian Weimer <fweimer@redhat.com>
3185 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
3186 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
3187 Move before inclusion of ../Rules.
3189 2017-08-21 Florian Weimer <fweimer@redhat.com>
3192 * assert/assert.h (assert): Use static_cast (bool) for C++.
3193 Use the ternary operator in the warning branch for GNU C.
3194 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
3195 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
3196 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
3197 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
3198 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
3200 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3203 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3204 (__syscall_clock_gettime): Add attribute_hidden.
3205 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
3206 (__start_context): Likewise.
3208 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3210 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3212 (hidden_proto): Likewise.
3213 (hidden_tls_proto): Likewise.
3214 (__hidden_proto): Likewise.
3216 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3218 * include/libc-symbols.h (attribute_hidden): Enable hidden
3219 visibility in libc.a compiled with PIE.
3221 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3224 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
3225 Add attribute_hidden.
3227 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3230 * Makerules (all-nonlib): Add $(others-extras).
3231 * catgets/Makefile (others-extras): New.
3232 * elf/Makefile (others-extras): Likewise.
3233 * nss/Makefile (others-extras): Likewise.
3235 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3238 * csu/libc-start.c (__libc_multiple_libcs): Removed.
3239 * elf/dl-open.c: Include <libc-internal.h>.
3240 (__libc_multiple_libcs): Removed.
3241 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
3243 * include/libc-internal.h (__libc_multiple_libcs): New.
3244 * misc/sbrk.c: Include <libc-internal.h>.
3245 (__libc_multiple_libcs): Removed.
3247 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3250 * grp/initgroups.c (__nss_group_database): Removed.
3251 (__nss_initgroups_database): Likewise.
3252 * nscd/gai.c (__nss_hosts_database): Likewise.
3253 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
3254 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
3255 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
3256 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
3257 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
3258 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
3260 * nss/nsswitch.c (__nss_database_custom): Define only if
3261 USE_NSCD is defined.
3262 (__nss_configure_lookup): Use __nss_database_custom only if
3263 USE_NSCD is defined.
3264 * nss/nsswitch.h (__nss_database_custom): Declare only if
3265 USE_NSCD is defined. Add attribute_hidden.
3266 (__nss_setent): Add attribute_hidden.
3267 (__nss_endent): Likewise.
3268 (__nss_getent_r): Likewise.
3269 (__nss_getent): Likewise.
3270 (DEFINE_DATABASE): Declare __nss_##arg##_database.
3272 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3275 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
3276 libc_hidden_proto and libc_hidden_def.
3278 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3281 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
3282 Add libc_hidden_proto.
3283 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
3284 Add libc_hidden_def.
3286 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3289 * gmon/Makefile (routines): Remove bb_init_func and
3291 (elide-routines.os): Removed.
3292 * gmon/bb_exit_func.c: Likewise.
3293 * gmon/bb_init_func.c: Likewise.
3294 * include/sys/gmon.h (__bb): Likewise.
3295 (__bb_init_func): Likewise.
3296 (__bb_exit_func): Likewise.
3297 * sysdeps/alpha/bb_init_func.S: Likewise.
3299 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3301 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
3302 * include/setjmp.h (____longjmp_chk): Here. Add
3305 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
3308 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
3310 (__strspn_sse2): Likewise.
3312 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3314 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
3315 (close_not_cancel_no_status): Likewise.
3316 (__close_nocancel): New macro.
3317 (__close_nocancel_nostatus): Likewise.
3318 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
3320 (close_not_cancel): Likewise.
3321 (close_not_cancel_no_status): Likewise.
3322 (__close_nocancel): New prototype.
3323 (__close_nocancel_nostatus): New function.
3324 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
3325 * catgets/open_catalog.c (__open_catalog): Replace
3326 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
3327 * gmon/gmon.c (write_gmon): Likewise.
3328 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3329 * intl/loadmsgcat.c (close): Likewise.
3330 * io/ftw.c (open_dir_stream): Likewise.
3331 (ftw_startup): Likewise.
3332 * libio/fileops.c (_IO_file_open): Likewise.
3333 (_IO_file_close_mmap): Likewise.
3334 (_IO_file_close): Likewise.
3335 * libio/iopopen.c (_IO_dup2): Likewise.
3336 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3337 * locale/loadlocale.c (_nl_load_locale): Likewise.
3338 * login/utmp_file.c (pututline_file): Likewise.
3339 (endutent_file): Likewise.
3340 * misc/daemon.c (daemon): Likewise.
3341 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3342 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3343 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3344 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3345 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3346 * nscd/nscd_helper.c (open_socket): Likewise.
3347 (__nscd_open_socket): Likewise.
3348 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3349 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
3350 (__nscd_innetgr): Likewise.
3351 * nss/nss_db/db-open.c (internal_setent): Likewise.
3352 * resolv/res-close.c (__res_iclose): Likewise.
3353 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3354 * sysdeps/posix/closedir.c (__closedir): Likewise.
3355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3356 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3357 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3358 (opendir_tail): Likewise.
3359 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3360 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
3361 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3362 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3363 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3364 (gethostid): Likewise.
3365 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3366 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3369 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
3370 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3371 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3373 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
3374 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
3375 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3377 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
3378 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3380 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3382 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3383 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3384 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3387 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
3388 (openat_not_cancel_3): Likewise.
3389 (openat64_not_cancel_3): Likewise).
3390 (openat_not_cancel_3): Likewise).
3391 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
3393 (openat_not_cancel_3): Likewise.
3394 (openat64_not_cancel): Likewise.
3395 (openat64_not_cancel_3): Likewise.
3396 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
3397 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
3398 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
3399 __open{64}_nocancel.
3400 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3401 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3402 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3404 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3407 * include/argz.h (__argz_create_sep): New function prototype.
3408 (__argz_append): Likewise.
3409 (__argz_add): Likewise.
3410 (__argz_add_sep): Likewise.
3411 (__argz_delete): Likewise.
3412 (__argz_insert): Likewise.
3413 (__argz_replace): Likewise.
3414 * string/argz.h (__argz_create_sep): Removed.
3415 (__argz_append): Likewise.
3416 (__argz_add): Likewise.
3417 (__argz_add_sep): Likewise.
3418 (__argz_delete): Likewise.
3419 (__argz_insert): Likewise.
3420 (__argz_replace): Likewise.
3422 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3424 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
3425 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
3426 (GNU_PROPERTY_STACK_SIZE): Likewie.
3427 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
3428 (GNU_PROPERTY_LOPROC): Likewise.
3429 (GNU_PROPERTY_HIPROC): Likewise.
3430 (GNU_PROPERTY_LOUSER): Likewise.
3431 (GNU_PROPERTY_HIUSER): Likewise.
3432 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
3433 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
3434 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
3435 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
3436 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
3437 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
3438 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
3439 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
3440 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
3441 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
3442 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
3443 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
3444 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
3445 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
3446 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
3447 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
3448 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
3449 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
3450 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
3451 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
3452 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
3453 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
3454 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
3456 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3458 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
3461 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3464 * math/math.h (isinf): Check if in C or C++ mode before using
3465 __builtin_types_compatible_p, since this is a C mode feature.
3467 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3469 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
3470 (__write_nocancel): New macro.
3471 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
3472 Rewrite as a function prototype.
3473 (write_not_cancel): Remove macro.
3474 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
3475 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
3476 (write_gmon): Likewise.
3477 * libio/fileops.c (_IO_new_file_write): Likewise.
3478 * login/utmp_file.c (pututline_file): Likewise.
3479 (updwtmp_file): Likewise.
3480 * stdio-common/psiginfo.c (psiginfo): Likewise.
3481 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3482 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3483 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3485 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3488 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
3489 (__read_nocancel): New macro.
3490 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3492 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
3494 (__read_nocancel): New prototype.
3495 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
3496 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
3497 with __read_nocancel.
3498 * intl/loadmsgcat.c (read): Likewise.
3499 * libio/fileops.c (_IO_file_read): Likewise.
3500 * locale/loadlocale.c (_nl_load_locale): Likewise.
3501 * login/utmp_file.c (getutent_r_file): Likewise.
3502 (internal_getut_r): Likewise.
3503 (getutline_r_file): Likewise.
3504 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3505 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3506 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3507 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3509 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
3510 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3511 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3513 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3515 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3517 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3519 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3521 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3524 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
3525 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
3528 2017-08-17 DJ Delorie <dj@redhat.com>
3530 * bug17079.c: Update to new test harness.
3531 * test-digits-dots.c: Likewise.
3532 * test-netdb.c: Likewise.
3533 * tst-field.c: Likewise.
3534 * tst-nss-getpwent.c: Likewise.
3535 * tst-nss-static.c: Likewise.
3536 * tst-nss-test1.c: Likewise.
3537 * tst-nss-test2.c: Likewise.
3538 * tst-nss-test3.c: Likewise.
3539 * tst-nss-test4.c: Likewise.
3540 * tst-nss-test5.c: Likewise.
3542 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3544 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
3545 (open_not_cancel_2): Likewise.
3546 (open_nocancel): New macro.
3547 (open64_nocancel): Likewise.
3548 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
3549 (open_not_cancel_2): Likewise.
3550 (__open_nocancel): New prototype.
3551 (__open64_nocancel): Likewise.
3552 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3554 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
3555 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
3556 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
3557 with __open_nocancel.
3558 * csu/check_fds.c (check_one_fd): Likewise.
3559 * gmon/gmon.c (write_gmon): Likewise.
3560 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
3561 * intl/loadmsgcat.c (open): Likewise.
3562 * libio/fileops.c (_IO_file_open): Likewise.
3563 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3564 * locale/loadlocale.c (_nl_load_locale): Likewise.
3565 * login/utmp_file.c (setutent_file): Likewise.
3566 * misc/daemon.c (daemon): Likewise.
3567 * nss/nss_db/db-open.c (internal_setent): Likewise.
3568 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3569 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
3570 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3571 (__opendir): Likewise.
3572 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3573 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3574 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3575 (gethostid): Likewise.
3576 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3580 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
3581 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3582 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3584 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3586 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3588 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3590 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3592 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3594 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3595 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3597 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
3599 * benchtests/bench-skeleton.c (main): Add support for
3600 latency benchmarking.
3601 * benchtests/scripts/bench.py: Add support for latency benchmarking.
3603 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
3605 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
3608 2017-08-17 Florian Weimer <fweimer@redhat.com>
3610 * include/sys/socket.h (__opensock): Remove internal_function.
3611 * socket/opensock.c (__opensock): Likewise.
3612 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
3614 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3617 * signal/bits/types/__sigval_t.h: New file.
3618 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
3619 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
3620 and define sigval_t using __sigval_t.
3621 * include/bits/types/__sigval_t.h: New file.
3622 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
3623 instead of <bits/types/__sigval_t.h>.
3624 (struct sigevent): Use __sigval_t instead of sigval_t.
3625 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
3626 instead of <bits/types/__sigval_t.h>.
3627 (siginfo_t): Use __sigval_t instead of sigval_t.
3628 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
3629 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3630 (struct sigevent): Use __sigval_t instead of sigval_t.
3631 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
3632 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3633 (siginfo_t): Use __sigval_t instead of sigval_t.
3634 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
3636 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3638 * NEWS: Remove "[Add new features here]" for 2.27.
3640 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3642 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
3645 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3647 * NEWS: Mention x86-64 FMA optimization.
3649 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3652 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3654 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
3655 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
3656 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
3658 2017-08-16 Andreas Schwab <schwab@suse.de>
3662 * elf/ldd.bash.in: Never run file directly.
3664 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
3667 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
3668 (L(SP_INF_0)): Likewise.
3670 2017-08-15 Florian Weimer <fweimer@redhat.com>
3672 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
3675 2017-08-15 Florian Weimer <fweimer@redhat.com>
3677 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
3678 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
3679 BROKEN_THREAD_SIGNALS code.
3680 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
3681 request_list): Remove caller_pid member used for
3682 BROKEN_THREAD_SIGNALS.
3683 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
3684 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
3685 Remove BROKEN_THREAD_SIGNALS support.
3686 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3687 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
3689 2017-08-15 Florian Weimer <fweimer@redhat.com>
3691 * gmon/Makefile (tests): Add tst-gmon.
3692 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
3694 (tests-special): Add tst-gmon-prof.out.
3695 (tst-gmon.out): Depend on clean-tst-gmon-data.
3696 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
3697 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
3698 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
3700 * aclocal.m4 (GPROF): Set and substitute.
3701 * config.amke.in (GPROF): Set.
3702 * configure: Regenerate.
3704 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
3706 * elf/elf.h A (NT_PPC_TAR): New macro.
3707 (NT_PPC_PPR): Likewise.
3708 (NT_PPC_DSCR): Likewise.
3709 (NT_PPC_EBB): Likewise.
3710 (NT_PPC_PMU): Likewise.
3711 (NT_PPC_TM_CGPR): Likewise.
3712 (NT_PPC_TM_CFPR): Likewise.
3713 (NT_PPC_TM_CVMX): Likewise.
3714 (NT_PPC_TM_CVSX): Likewise.
3715 (NT_PPC_TM_SPR): Likewise.
3716 (NT_PPC_TM_CTAR): Likewise.
3717 (NT_PPC_TM_CPPR): Likewise.
3718 (NT_PPC_TM_CDSCR): Likewise.
3720 2017-08-15 Florian Weimer <fweimer@redhat.com>
3722 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
3723 regparm (2) instead of internal_function.
3724 (_MCOUNT_DECL): Adjust.
3726 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3728 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
3729 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3731 2017-08-14 Joseph Myers <joseph@codesourcery.com>
3733 * conform/data/sys/wait.h-data (si_value): Do not expect for
3736 2017-08-14 Florian Weimer <fweimer@redhat.com>
3739 NSS: Create stubs for accidentally exported lookup functions.
3740 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
3742 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
3743 (ether_hostton): Call __nss_ethers_lookup2 instead.
3744 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
3745 (ether_ntohost): Call __nss_ethers_lookup2 instead.
3746 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
3747 (setup): Call __nss_netgroup_lookup2 instead.
3748 * nss/Makefile (routines): Add compat-lookup.
3749 * nss/Versions (GLIBC_2.27): Add symbol version.
3750 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
3751 (DB_COMPAT_FCT): Remove.
3752 * nss/compat-lookup.c: New file.
3753 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
3755 * nss/service-lookup.c (NO_COMPAT): Remove definition.
3756 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
3757 (netname2user): Call __nss_publickey_lookup2 instead.
3758 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
3759 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
3762 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3763 Sergei Trofimovich <slyfox@inbox.ru>
3766 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
3767 Rename to MMAP2_PAGE_UNIT.
3768 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
3769 __OFF_T_MATCHES_OFF64_T is not defined.
3770 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
3772 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
3773 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
3775 2017-08-14 Florian Weimer <fweimer@redhat.com>
3777 i386: Do not set internal_function.
3778 * config.h.in (USE_REGPARMS, internal_function): Remove.
3779 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
3780 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
3782 2017-08-14 Florian Weimer <fweimer@redhat.com>
3784 * elf/dl-init.c (_dl_init): Remove internal_function.
3785 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
3786 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
3788 2017-08-14 Florian Weimer <fweimer@redhat.com>
3790 * elf/rtld.c (_dl_start): Remove internal_function.
3791 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
3794 2017-08-14 Florian Weimer <fweimer@redhat.com>
3796 * elf/dl-fini.c (_dl_fini): Remove internal_function
3797 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
3799 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
3801 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
3802 (bit_cpu_SHSTK): Likewise.
3803 (index_cpu_IBT): Likewise.
3804 (index_cpu_SHSTK): Likewise.
3805 (reg_IBT): Likewise.
3806 (reg_SHSTK): Likewise.
3807 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3808 Handle index_cpu_IBT and index_cpu_SHSTK.
3810 2017-08-14 Mike FABIAN <mfabian@redhat.com>
3813 * po/fr.po: Fix spelling mistake.
3815 2017-08-13 Florian Weimer <fweimer@redhat.com>
3817 * elf/dl-addr.c (_dl_addr): Remove internal_function.
3818 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
3819 (_dl_catch_error, _dl_receive_error): Likewise.
3820 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
3821 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
3822 (_dl_deallocate_tls): Likewise.
3823 * include/dlfcn.h (_dl_addr): Likewise.
3824 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
3825 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
3826 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
3829 2017-08-13 Florian Weimer <fweimer@redhat.com>
3831 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
3832 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
3834 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
3836 2017-08-13 Florian Weimer <fweimer@redhat.com>
3838 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
3840 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
3841 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
3842 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
3843 internal_function from _dl_make_stack_executable_hook member.
3844 (_dl_make_stack_executable): Remove internal_function.
3845 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
3847 * sysdeps/unix/sysv/linux/dl-execstack.c
3848 (_dl_make_stack_executable): Likewise.
3850 2017-08-13 Florian Weimer <fweimer@redhat.com>
3852 * sysdeps/unix/sysv/linux/netlinkaccess.h
3853 (__netlink_assert_response): Remove internal_function.
3854 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3855 (__netlink_assert_response): Likewise.
3857 2017-08-13 Florian Weimer <fweimer@redhat.com>
3859 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
3861 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
3863 2017-08-13 Florian Weimer <fweimer@redhat.com>
3865 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
3867 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
3868 * inet/netgroup.h (__internal_setnetgrent)
3869 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3870 * inet/getnetgrent_r.c (__internal_setnetgrent)
3871 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3872 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
3873 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
3874 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
3875 * nss/nsswitch.h (db_lookup_function): Likewise.
3877 2017-08-13 Florian Weimer <fweimer@redhat.com>
3879 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
3880 Remove internal_function.
3881 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
3882 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
3883 message argument on the stack.
3884 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
3887 2017-08-12 Mike FABIAN <mfabian@redhat.com>
3889 Adapt test case data to the changes in the thousands
3893 * localedata/tst-langinfo.sh: Adapt test case data.
3894 * stdlib/tst-strfmon_l.c: Likewise.
3895 * stdlib/tst-strtod4.c: Likewise.
3896 * stdlib/tst-strtod5i.c: Likewise.
3898 2017-08-11 Florian Weimer <fweimer@redhat.com>
3901 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
3902 Suppress pedantic warning resulting from statement expression.
3903 (__ASSERT_FUNCTION): Add missing __extension__.
3905 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3907 * benchtests/bench-memmove-large.c: Print output in JSON
3909 * benchtests/bench-memmove.c: Likewise.
3911 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
3912 * benchtests/bench-memchr.c (do_one_test): Likewise.
3913 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
3914 * benchtests/bench-memcpy.c (do_one_test): Likewise.
3915 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
3916 * benchtests/bench-memmove.c (do_one_test): Likewise.
3917 * benchtests/bench-memset-large.c (do_one_test): Likewise.
3918 * benchtests/bench-memset.c (do_one_test): Likewise.
3919 * benchtests/bench-string.h (test_init): Remove memsets.
3921 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3924 (Computing the Width of an Integer Data Type): Rename section to
3925 "Width of an Integer Type". Remove inaccurate statement regarding
3926 lack of C language facilities for determining width of integer
3927 types, and reorder content to improve flow and context of
3930 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3932 * lang.texi (va_copy): Change standard from ISO to C99.
3933 (__va_copy): Add standard and header annotation.
3934 Update description for clarity of origins and current use.
3936 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3939 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
3940 xssqrtqp requires operands to be in Vector Registers
3941 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
3942 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
3943 (__ieee754_sqrtf128): Likewise.
3945 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
3947 * sysdeps/aarch64/memcmp.S (memcmp):
3948 Rewrite of optimized memcmp.
3950 2017-08-10 Florian Weimer <fweimer@redhat.com>
3952 Introduce ld.so exceptions.
3953 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
3954 (_dl_exception_create, _dl_exception_create_format)
3955 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
3956 (_dl_catch_exception): Declare.
3957 (_dl_catch_error): Update comment.
3958 * elf/dl-error-skeleton.c (struct catch): Replace objname,
3959 errstring, malloced members with exception member.
3960 (_dl_out_of_memory): Remove.
3961 (fatal_error): New function, extracted from _dl_signal_error.
3962 (_dl_signal_exception, _dl_signal_cexception): New functions.
3963 (_dl_signal_error): Call _dl_exception_create to allocate an
3965 (_dl_catch_exception): New function, based on _dl_catch_error.
3966 (_dl_catch_error): Implement using _dl_catch_exception.
3967 * elf/dl-exception.c: New file.
3968 * elf/Makefile (dl-routines): Add dl-exception.
3969 (elide-routines.os): Likewise.
3970 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
3971 _dl_exception_create_format, _dl_exception_free.
3972 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
3973 _dl_signal_exception.
3974 * elf/dl-lookup.c (make_string): Remove.
3975 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
3976 _dl_signal_cexception, _dl_exception_free.
3977 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
3978 _dl_signal_exception.
3979 * elf/dl-sym.c (do_sym): Likewise.
3980 * elf/dl-version.c (make_string): Remove.
3981 (match_symbol): Use _dl_exception_create_format,
3982 _dl_signal_cexception, _dl_exception_free.
3983 (_dl_check_map_versions): Likewise.
3984 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
3985 _dl_catch_exception.
3986 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3987 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3988 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3989 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3990 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3991 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3992 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3993 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3995 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4002 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4003 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4004 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4006 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4008 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4010 2017-08-10 Florian Weimer <fweimer@redhat.com>
4012 * inet/net-internal.h (__inet6_scopeid_pton): Remove
4013 attribute_hidden, internal_function.
4014 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
4017 2017-08-10 Florian Weimer <fweimer@redhat.com>
4019 * malloc/malloc.c (get_max_fast): Reimplement as an inline
4020 function which calls __builtin_unreachable.
4022 2017-08-10 Mike FABIAN <mfabian@redhat.com>
4024 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
4025 Indian monetary formatting
4026 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
4029 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
4031 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
4032 Fix typo in comment.
4035 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
4036 PTRACE_SEIZE_DEVEL): Remove.
4037 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
4038 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4041 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4043 2017-08-09 Joseph Myers <joseph@codesourcery.com>
4045 * posix/bits/types.h (__qaddr_t): Remove.
4048 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
4049 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4051 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
4052 (ucontext_t): Use __ctx with uc_flags.
4053 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
4055 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4057 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
4058 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4060 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
4061 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4063 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
4065 (ucontext_t): Use __ctx with uc_flags.
4066 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
4067 (ucontext_t): Use __ctx with uc_flags.
4068 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
4069 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
4070 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
4071 (ucontext_t): Use __ctx with uc_flags.
4072 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
4073 undefine further down.
4074 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4076 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
4077 undefine further down.
4078 (ucontext_t): Use __ctx with uc_flags.
4079 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
4080 undefine further down.
4081 (ucontext_t): Use __ctx with uc_flags.
4082 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
4083 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
4084 Rename uc_pad to __glibc_reserved1.
4085 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
4086 undefine further down.
4087 (ucontext_t): Use __ctx with uc_flags.
4088 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
4090 (ucontext_t): Use __ctx with uc_flags.
4091 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
4092 __ctx with uc_flags.
4093 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
4094 (ucontext_t): Use __ctx with uc_flags.
4095 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
4096 __ctx with uc_flags.
4098 2017-08-09 Florian Weimer <fweimer@redhat.com>
4101 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
4102 before early return.
4104 2017-08-09 Andreas Schwab <schwab@suse.de>
4107 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
4111 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
4112 tst-compat-forwarder.
4113 (modules-names): Add tst-compat-forwarder-mod.
4114 ($(objpfx)tst-compat-forwarder): Depend on
4115 $(objpfx)tst-compat-forwarder-mod.so.
4116 * nptl/tst-compat-forwarder.c: New file.
4117 * nptl/tst-compat-forwarder-mod.c: New file.
4119 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
4121 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
4124 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
4125 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4127 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
4129 (__libc_ifunc_impl_list): Add __memcpy_falkor.
4130 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4131 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
4132 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4134 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
4137 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4140 * manual/setjmp.texi (getcontex): Document uc_stack value
4141 compatibility differences.
4143 2017-08-08 Joseph Myers <joseph@codesourcery.com>
4145 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
4146 (old_malloc_hook): Likewise.
4147 (old_memalign_hook): Likewise.
4148 (old_realloc_hook): Likewise.
4149 (struct hdr): Likewise.
4151 (freehook): Likewise.
4152 (mallochook): Likewise.
4153 (memalignhook): Likewise.
4154 (reallochook): Likewise.
4156 * malloc/mtrace.c (mallwatch): Likewise.
4157 (tr_old_free_hook): Likewise.
4158 (tr_old_malloc_hook): Likewise.
4159 (tr_old_realloc_hook): Likewise.
4160 (tr_old_memalign_hook): Likewise.
4161 (tr_where): Likewise.
4162 (lock_and_info): Likewise.
4163 (tr_freehook): Likewise.
4164 (tr_mallochook): Likewise.
4165 (tr_reallochook): Likewise.
4166 (tr_memalignhook): Likewise.
4167 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
4168 * misc/mmap.c (__mmap): Likewise.
4169 * misc/mmap64.c (__mmap64): Likewise.
4170 * misc/mprotect.c (__mprotect): Likewise.
4171 * misc/msync.c (msync): Likewise.
4172 * misc/munmap.c (__munmap): Likewise.
4173 * posix/posix_madvise.c (posix_madvise): Likewise.
4174 * socket/send.c (__send): Likewise.
4175 * socket/sendto.c (__sendto): Likewise.
4176 * socket/setsockopt.c (__setsockopt): Likewise.
4177 * string/memcmp.c (__ptr_t): Remove macro.
4178 (MEMCMP): Use void * instead of ptr_t.
4179 * string/memrchr.c (__ptr_t): Remove macro.
4180 (__memrchr): Use void * instead of ptr_t.
4181 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
4182 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4183 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4184 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
4185 * sysdeps/mach/msync.c (msync): Likewise.
4186 * sysdeps/mach/munmap.c (__munmap): Likewise.
4187 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
4189 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4190 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
4191 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
4192 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
4193 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4194 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4195 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
4196 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
4198 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4199 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
4200 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
4201 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
4202 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
4203 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
4204 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
4205 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
4206 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
4208 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
4209 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
4210 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
4211 (MEMCMP): Use void * instead of ptr_t.
4212 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
4213 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
4215 2017-08-08 Florian Weimer <fweimer@redhat.com>
4217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
4220 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
4223 * csu/libc-tls.c: Include <startup.h> first.
4224 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
4225 * elf/dl-tunables.c: Include <startup.h> first.
4226 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
4227 * sysdeps/generic/startup.h: New file.
4228 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
4229 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
4230 (I386_USE_SYSENTER): New. Defined to 0.
4232 2017-08-08 Andreas Schwab <schwab@suse.de>
4235 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
4236 * nptl/pt-system.c (system): Likewise.
4238 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4241 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
4243 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
4244 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
4245 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
4246 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
4247 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4248 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4249 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4251 2017-08-07 Joseph Myers <joseph@codesourcery.com>
4254 * bits/sigaction.h (struct sigaction): Define sa_handler and
4255 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
4256 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4257 [__USE_XOPEN_EXTENDED].
4258 (SA_RESTART): Likewise.
4259 (SA_NODEFER): Likewise.
4260 (SA_RESETHAND): Likewise.
4261 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
4262 (struct sigaction): Define sa_handler and sa_sigaction using union
4263 also for [__USE_XOPEN_EXTENDED].
4264 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4265 [__USE_XOPEN_EXTENDED].
4266 (SA_RESTART): Likewise.
4267 (SA_NODEFER): Likewise.
4268 (SA_RESETHAND): Likewise.
4269 * sysdeps/unix/sysv/linux/bits/sigaction.h
4270 (struct sigaction): Define sa_handler and sa_sigaction using union
4271 also for [__USE_XOPEN_EXTENDED].
4272 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4273 [__USE_XOPEN_EXTENDED].
4274 (SA_RESTART): Likewise.
4275 (SA_NODEFER): Likewise.
4276 (SA_RESETHAND): Likewise.
4277 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
4278 (struct sigaction): Define sa_handler and sa_sigaction using union
4279 also for [__USE_XOPEN_EXTENDED].
4280 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4281 [__USE_XOPEN_EXTENDED].
4282 (SA_RESTART): Likewise.
4283 (SA_NODEFER): Likewise.
4284 (SA_RESETHAND): Likewise.
4285 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
4286 (struct sigaction): Define sa_handler and sa_sigaction using union
4287 also for [__USE_XOPEN_EXTENDED].
4288 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4289 [__USE_XOPEN_EXTENDED].
4290 (SA_RESTART): Likewise.
4291 (SA_NODEFER): Likewise.
4292 (SA_RESETHAND): Likewise.
4293 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4294 (struct sigaction): Define sa_handler and sa_sigaction using union
4295 also for [__USE_XOPEN_EXTENDED].
4296 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4297 [__USE_XOPEN_EXTENDED].
4298 (SA_RESTART): Likewise.
4299 (SA_NODEFER): Likewise.
4300 (SA_RESETHAND): Likewise.
4301 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4302 (struct sigaction): Define sa_handler and sa_sigaction using union
4303 also for [__USE_XOPEN_EXTENDED].
4304 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4305 [__USE_XOPEN_EXTENDED].
4306 (SA_RESTART): Likewise.
4307 (SA_NODEFER): Likewise.
4308 (SA_RESETHAND): Likewise.
4309 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4310 (struct sigaction): Define sa_handler and sa_sigaction using union
4311 also for [__USE_XOPEN_EXTENDED].
4312 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4313 [__USE_XOPEN_EXTENDED].
4314 (SA_RESTART): Likewise.
4315 (SA_NODEFER): Likewise. Define directly rather than as alias.
4316 (SA_RESETHAND): Likewise.
4317 (SA_INTERRUPT): Define only for [__USE_MISC].
4318 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
4319 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
4321 (SA_STACK): Define only for [__USE_MISC].
4322 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
4323 (struct sigaction): Define sa_handler and sa_sigaction using union
4324 also for [__USE_XOPEN_EXTENDED].
4325 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4326 [__USE_XOPEN_EXTENDED].
4327 (SA_RESTART): Likewise.
4328 (SA_NODEFER): Likewise.
4329 (SA_RESETHAND): Likewise.
4330 (SA_NOPTRACE): Define only for [__USE_MISC].
4332 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
4333 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
4334 (struct catalog_info): Likewise.
4335 * inet/htontest.c (lo): Likewise.
4337 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4338 * inet/inet_net.c (inet_network): Likewise.
4339 * inet/inet_netof.c (inet_netof): Likewise.
4340 * inet/rcmd.c (__ivaliduser): Likewise.
4341 (iruserok): Likewise.
4342 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
4343 * locale/programs/locale-spec.c (locale_special): Likewise.
4344 * nis/nis_findserv.c (struct findserv_req): Likewise.
4345 (__nis_findfastest_with_timeout): Likewise.
4346 * nss/test-netdb.c (test_network): Likewise.
4347 * resolv/inet_neta.c (inet_neta): Likewise.
4348 * resolv/ns_date.c (ns_datetosecs): Likewise.
4349 (SECS_PER_DAY): Likewise.
4350 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
4352 * resolv/res_comp.c (__putlong): Likewise.
4353 (__putshort): Likewise.
4354 (_getlong): Likewise.
4355 (_getshort): Likewise.
4356 * resolv/res_debug.c (p_time): Likewise.
4357 (precsize_ntoa): Likewise.
4358 (precsize_aton): Likewise.
4359 (latlon2ul): Likewise.
4360 (loc_aton): Likewise.
4361 (loc_ntoa): Likewise.
4362 * resolv/res_hconf.c (struct netaddr): Likewise.
4363 (_res_hconf_reorder_addrs): Likewise.
4364 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4365 (clnttcp_control): Likewise.
4366 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4367 (clntudp_control): Likewise.
4368 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4369 (clntunix_control): Likewise.
4370 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4371 * sunrpc/rpc/auth.h (union des_block): Likewise.
4372 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
4373 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
4374 (xdrrec_create): Likewise.
4375 (xdrrec_endofrecord): Likewise.
4376 (flush_out): Likewise.
4377 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
4378 (xdrstdio_putlong): Likewise.
4379 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
4382 * misc/sys/cdefs.h (__long_double_t): Remove.
4383 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
4384 instead of __long_double_t,
4385 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
4387 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4389 * benchtests/scripts/compare_strings.py: Avoid display error when
4390 running on a text terminal.
4392 * benchtests/scripts/compare_strings.py (main): Add an
4393 optional -base option.
4394 (process_results): New argument base_func.
4396 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
4398 * benchtests/bench-memcpy-large.c (test_name): Likewise.
4399 * benchtests/bench-memcpy-random.c (test_name): Likewise.
4401 2017-08-07 Andreas Schwab <schwab@suse.de>
4403 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
4404 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4405 * intl/Makefile ($(objpfx)tst-gettext.out)
4406 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
4407 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
4408 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4409 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4410 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
4411 * posix/Makefile ($(objpfx)globtest.out)
4412 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
4413 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
4414 ($(objpfx)tst-printf.out): Likewise.
4415 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
4416 ($(objpfx)tst-setcontext3.out): Likewise.
4418 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
4420 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4421 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
4422 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
4423 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
4424 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
4426 (CFLAGS-doasin-fma.c): New.
4427 (CFLAGS-dosincos-fma.c): Likewise.
4428 (CFLAGS-e_asin-fma.c): Likewise.
4429 (CFLAGS-e_atan2-fma.c): Likewise.
4430 (CFLAGS-e_exp-fma.c): Likewise.
4431 (CFLAGS-e_log-fma.c): Likewise.
4432 (CFLAGS-e_pow-fma.c): Likewise.
4433 (CFLAGS-halfulp-fma.c): Likewise.
4434 (CFLAGS-mpa-fma.c): Likewise.
4435 (CFLAGS-mpatan-fma.c): Likewise.
4436 (CFLAGS-mpatan2-fma.c): Likewise.
4437 (CFLAGS-mpexp-fma.c): Likewise.
4438 (CFLAGS-mplog-fma.c): Likewise.
4439 (CFLAGS-mpsqrt-fma.c): Likewise.
4440 (CFLAGS-mptan-fma.c): Likewise.
4441 (CFLAGS-s_atan-fma.c): Likewise.
4442 (CFLAGS-sincos32-fma.c): Likewise.
4443 (CFLAGS-slowexp-fma.c): Likewise.
4444 (CFLAGS-slowpow-fma.c): Likewise.
4445 (CFLAGS-s_sin-fma.c): Likewise.
4446 (CFLAGS-s_tan-fma.c): Likewise.
4447 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
4448 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
4449 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
4450 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
4451 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
4452 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
4453 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
4454 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
4455 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
4456 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
4457 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
4458 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
4459 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
4460 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
4461 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
4462 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
4463 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
4464 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
4465 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
4466 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
4467 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
4468 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4469 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
4470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
4471 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4472 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4473 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4474 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
4475 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4476 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4477 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4479 2017-08-04 Joseph Myers <joseph@codesourcery.com>
4481 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
4482 (min_of_type_f): New macro.
4483 (min_of_type_): Likewise.
4484 (min_of_type_l): Likewise.
4485 (min_of_type_f128): Likewise.
4486 (min_of_type): Define using __MATH_TG and taking an expression
4488 (math_check_force_underflow): Pass expression instead of type to
4490 (math_check_force_underflow_nonneg): Likewise.
4492 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4494 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
4495 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
4496 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
4498 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4501 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
4502 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
4503 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
4504 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
4505 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
4506 memcpy_chk-nonshared, mempcpy_chk-nonshared,
4507 memmove_chk-nonshared and memset_chk-nonshared
4508 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
4509 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
4510 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
4511 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
4512 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
4513 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
4514 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
4515 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
4516 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
4517 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
4518 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
4519 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
4520 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
4521 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
4522 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
4523 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
4524 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
4525 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
4526 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
4527 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
4528 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
4529 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
4530 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
4531 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
4532 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
4533 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
4534 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
4535 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
4536 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
4537 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
4538 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
4539 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
4540 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
4541 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4542 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4543 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
4544 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
4545 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
4546 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
4547 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
4548 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
4549 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
4550 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
4551 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
4552 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
4553 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
4554 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
4555 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
4556 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
4557 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
4558 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
4559 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
4560 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
4561 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
4562 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
4563 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
4564 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
4565 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
4566 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
4567 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
4568 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
4569 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
4570 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
4571 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
4572 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
4573 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
4574 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
4575 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
4576 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
4577 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4578 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
4579 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4580 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4581 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4582 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4583 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4584 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4585 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4586 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4587 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4588 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4589 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4590 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4591 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4592 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4593 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4594 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4595 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4596 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4597 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4598 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4599 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4600 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4601 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4602 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4603 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4604 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4605 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4606 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4607 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4608 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4609 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4610 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4611 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4612 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4613 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4614 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4615 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4617 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4619 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
4620 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
4621 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
4622 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
4623 svml_d_log2_core-sse2, svml_d_log4_core-sse,
4624 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
4625 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
4626 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
4627 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
4628 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
4629 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
4630 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
4631 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
4632 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
4633 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
4634 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
4635 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
4636 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
4637 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
4638 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
4639 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
4640 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
4641 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
4642 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
4643 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
4644 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
4645 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
4646 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
4647 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
4648 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
4649 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
4650 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
4651 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
4652 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
4653 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
4654 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
4655 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
4656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
4657 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
4658 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
4659 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
4660 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
4661 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
4662 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
4663 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
4664 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
4665 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
4666 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
4667 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
4668 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
4669 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
4670 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
4671 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
4672 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
4673 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
4674 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
4675 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
4676 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
4677 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
4679 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
4680 Don't include <sysdep.h> nor <init-arch.h>.
4681 (_ZGVbN2v_cos): Removed.
4682 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
4684 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
4685 Don't include <sysdep.h> nor <init-arch.h>.
4686 (_ZGVdN4v_cos): Removed.
4687 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
4689 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
4690 Don't include <sysdep.h> nor <init-arch.h>.
4691 (_ZGVeN8v_cos): Removed.
4692 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
4694 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
4695 Don't include <sysdep.h> nor <init-arch.h>.
4696 (_ZGVbN2v_exp): Removed.
4697 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
4699 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
4700 Don't include <sysdep.h> nor <init-arch.h>.
4701 (_ZGVdN4v_exp): Removed.
4702 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
4704 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
4705 Don't include <sysdep.h> nor <init-arch.h>.
4706 (_ZGVeN8v_exp): Removed.
4707 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
4709 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
4710 Don't include <sysdep.h> nor <init-arch.h>.
4711 (_ZGVbN2v_log): Removed.
4712 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
4714 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
4715 Don't include <sysdep.h> nor <init-arch.h>.
4716 (_ZGVdN4v_log): Removed.
4717 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
4719 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
4720 Don't include <sysdep.h> nor <init-arch.h>.
4721 (_ZGVeN8v_log): Removed.
4722 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
4724 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
4725 Don't include <sysdep.h> nor <init-arch.h>.
4726 (_ZGVbN2vv_pow): Removed.
4727 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
4729 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
4730 Don't include <sysdep.h> nor <init-arch.h>.
4731 (_ZGVdN4vv_pow): Removed.
4732 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
4734 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
4735 Don't include <sysdep.h> nor <init-arch.h>.
4736 (_ZGVeN8vv_pow): Removed.
4737 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
4739 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
4740 Don't include <sysdep.h> nor <init-arch.h>.
4741 (_ZGVbN2v_sin): Removed.
4742 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
4744 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
4745 Don't include <sysdep.h> nor <init-arch.h>.
4746 (_ZGVbN4v_sin): Removed.
4747 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
4749 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
4750 Don't include <sysdep.h> nor <init-arch.h>.
4751 (_ZGVbN8v_sin): Removed.
4752 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
4754 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
4755 Don't include <sysdep.h> nor <init-arch.h>.
4756 (_ZGVbN2vvv_sincos): Removed.
4757 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
4759 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
4760 Don't include <sysdep.h> nor <init-arch.h>.
4761 (_ZGVdN4vvv_sincos): Removed.
4762 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
4764 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
4765 Don't include <sysdep.h> nor <init-arch.h>.
4766 (_ZGVeN8vvv_sincos): Removed.
4767 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
4769 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
4770 Don't include <sysdep.h> nor <init-arch.h>.
4771 (_ZGVeN16v_cosf): Removed.
4772 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
4774 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
4775 Don't include <sysdep.h> nor <init-arch.h>.
4776 (_ZGVbN4v_cosf): Removed.
4777 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
4779 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
4780 Don't include <sysdep.h> nor <init-arch.h>.
4781 (_ZGVdN8v_cosf): Removed.
4782 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
4784 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
4785 Don't include <sysdep.h> nor <init-arch.h>.
4786 (_ZGVeN16v_expf): Removed.
4787 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
4789 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
4790 Don't include <sysdep.h> nor <init-arch.h>.
4791 (_ZGVbN4v_expf): Removed.
4792 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
4794 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
4795 Don't include <sysdep.h> nor <init-arch.h>.
4796 (_ZGVdN8v_expf): Removed.
4797 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
4799 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
4800 Don't include <sysdep.h> nor <init-arch.h>.
4801 (_ZGVeN16v_logf): Removed.
4802 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
4804 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
4805 Don't include <sysdep.h> nor <init-arch.h>.
4806 (_ZGVbN4v_logf): Removed.
4807 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
4809 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
4810 Don't include <sysdep.h> nor <init-arch.h>.
4811 (_ZGVdN8v_logf): Removed.
4812 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
4814 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
4815 Don't include <sysdep.h> nor <init-arch.h>.
4816 (_ZGVeN16vv_powf): Removed.
4817 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
4819 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
4820 Don't include <sysdep.h> nor <init-arch.h>.
4821 (_ZGVbN4vv_powf): Removed.
4822 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
4824 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
4825 Don't include <sysdep.h> nor <init-arch.h>.
4826 (_ZGVdN8vv_powf): Removed.
4827 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
4829 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
4830 Don't include <sysdep.h> nor <init-arch.h>.
4831 (_ZGVeN16vvv_sincosf): Removed.
4832 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
4834 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
4835 Don't include <sysdep.h> nor <init-arch.h>.
4836 (_ZGVbN4vvv_sincosf): Removed.
4837 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
4839 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
4840 Don't include <sysdep.h> nor <init-arch.h>.
4841 (_ZGVdN8vvv_sincosf): Removed.
4842 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
4844 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
4845 Don't include <sysdep.h> nor <init-arch.h>.
4846 (_ZGVeN16v_sinf): Removed.
4847 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
4849 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
4850 Don't include <sysdep.h> nor <init-arch.h>.
4851 (_ZGVbN4v_sinf): Removed.
4852 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
4854 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
4855 Don't include <sysdep.h> nor <init-arch.h>.
4856 (_ZGVdN8v_sinf): Removed.
4858 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4860 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4861 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
4862 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
4863 s_rint-sse4_1 and s_rintf-sse4_1.
4864 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
4865 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4866 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4867 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4868 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4869 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
4870 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
4871 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4872 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4873 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
4874 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
4875 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4877 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
4878 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
4879 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4881 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
4882 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
4883 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4885 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
4886 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
4887 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4888 (__floorf): Removed.
4889 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
4890 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
4891 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4892 (__nearbyint): Removed.
4893 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
4894 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
4895 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4896 (__nearbyintf): Removed.
4897 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
4898 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
4899 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4901 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
4902 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
4903 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4906 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4908 * sysdeps/i386/start.S (_start): Check Check PIC instead of
4909 SHARED. Avoid dynamic relocation against main in static PIE.
4911 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4914 * elf/Makefile (CFLAGS-tst-prelink.c): New.
4915 (LDFLAGS-tst-prelink): Likewise.
4917 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4919 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
4920 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
4921 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
4922 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4923 (INTERNAL_SYSCALL_NCS): Likewise.
4924 (LOADARGS_1): Likewise.
4925 (LOADARGS_5): Likewise.
4926 (RESTOREARGS_1): Likewise.
4927 (RESTOREARGS_5): Likewise.
4929 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4931 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
4932 (MEMPCPY_SYMBOL): Likewise.
4933 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4934 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
4935 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
4937 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4938 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4940 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
4941 (__hidden_ver1): Don't use in libc.a.
4942 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4943 (__mempcpy): Don't create a weak alias in libc.a.
4944 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
4946 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
4947 (__hidden_ver1): Don't use in libc.a.
4949 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4951 * config.make.in (have-insert): New.
4952 * configure.ac (libc_cv_insert): New. Set to yes if linker
4953 supports INSERT in linker script.
4954 (AC_SUBST(libc_cv_insert): New.
4955 * configure: Regenerated.
4956 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
4957 if $(have-insert) == yes.
4959 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4961 * elf/Makefile (tests): Add vismain only if
4962 $(have-protected-data) == yes.
4963 (tests-pie): Likewise.
4965 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4968 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4969 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
4971 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4974 * sysdeps/i386/i586/memset.S
4975 (__memset_zero_constant_len_parameter): Removed.
4976 * sysdeps/i386/i686/memset.S
4977 (__memset_zero_constant_len_parameter): Likewise.
4978 * sysdeps/i386/i686/multiarch/memset_chk.S
4979 (__memset_zero_constant_len_parameter): Likewise.
4980 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
4983 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4985 * stdlib/getentropy.c (getentropy): Change return type to int.
4987 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4989 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4991 2017-08-03 Joseph Myers <joseph@codesourcery.com>
4993 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
4995 * math/s_nexttowardf.c (__nexttowardf): Likewise.
4996 * sysdeps/generic/math_private.h (ieee_double_shape_type):
4998 (ieee_float_shape_type): Likewise.
4999 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
5000 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
5001 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5002 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5003 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5004 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
5005 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
5006 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5007 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5009 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5010 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5011 (__ieee754_yn): Likewise.
5012 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5013 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5014 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
5016 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5017 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
5018 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
5019 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
5021 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5022 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
5023 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
5024 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
5025 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
5026 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
5028 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5029 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
5030 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5031 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
5032 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5033 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
5034 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
5035 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
5036 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
5037 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5038 (__issignaling): Likewise.
5039 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
5040 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
5041 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5043 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5044 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5045 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
5046 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
5048 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
5050 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
5051 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
5052 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
5053 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5054 (__erfcf): Likewise.
5055 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5056 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5057 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
5058 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
5060 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
5061 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
5063 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5064 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
5065 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5066 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
5067 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
5068 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5069 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
5070 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
5072 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
5074 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5076 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
5077 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5079 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5081 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5082 (__ieee754_ynl): Likewise.
5083 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5084 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
5086 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
5088 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5089 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
5090 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5092 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5093 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
5094 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
5095 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
5096 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
5097 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5098 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
5099 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
5101 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5102 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
5103 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
5105 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
5106 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
5107 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5108 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5109 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
5110 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5112 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5114 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5118 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
5119 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5120 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5121 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
5122 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5123 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
5124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
5126 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5131 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5132 (__ieee754_remainderl): Likewise.
5133 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5135 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5136 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5138 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5139 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5141 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5142 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
5143 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5144 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5145 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5146 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5148 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5149 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
5150 (__ieee754_y0l): Likewise.
5153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5154 (__ieee754_y1l): Likewise.
5157 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5158 (__ieee754_ynl): Likewise.
5159 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5160 (__ieee754_lgammal_r): Likewise.
5161 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
5163 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5164 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
5165 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5166 (__erfcl): Likewise.
5167 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5168 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
5170 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
5171 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
5172 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5173 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
5174 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
5175 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5176 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5178 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
5179 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5180 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
5181 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
5182 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5184 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
5185 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
5187 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
5188 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
5189 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
5190 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5191 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5193 2017-08-03 Florian Weimer <fweimer@redhat.com>
5196 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
5197 on memory allocation failure.
5199 2017-08-03 Alan Modra <amodra@gmail.com>
5201 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
5202 tst-tlsopt-powerpc.c with function name change and no test harness.
5203 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
5204 Call tls_get_addr_opt_test.
5205 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
5206 (modules-names): Add mod-tlsopt-powerpc.
5207 (mod-tlsopt-powerpc.so-no-z-defs): Define.
5208 (tst-tlsopt-powerpc): Depend on .so.
5209 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
5210 define. Expand use in TLS_GD and TLS_LD.
5212 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5214 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
5216 * sysdeps/posix/shm_open.c: Include <pthread.h>.
5218 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5221 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
5222 comparing size with that of double.
5223 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5224 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5225 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5226 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5227 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5228 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
5229 unsigned __int128 types.
5231 2017-08-02 Steve Ellcey <sellcey@cavium.com>
5233 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
5234 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
5235 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
5236 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
5237 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
5239 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5241 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
5243 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5245 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
5247 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5248 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5249 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5250 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5251 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5252 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5253 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5255 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5258 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
5259 bit-field expressions passed to sizeof or typeof.
5260 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5261 (__TGMATH_F128): Likewise.
5262 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5263 (__TGMATH_CF128): Likewise.
5264 (__TGMATH_UNARY_REAL_ONLY): Likewise.
5265 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5266 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
5267 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
5268 (__TGMATH_BINARY_REAL_ONLY): Likewise.
5269 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5270 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5271 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5272 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5273 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
5274 (__TGMATH_UNARY_REAL_IMAG): Likewise.
5275 (__TGMATH_UNARY_IMAG): Likewise.
5276 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
5277 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5278 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
5280 (define_vars_for_type): Handle bit_field type specially.
5281 (Tests.__init__): Declare structure with bit-field element.
5283 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5286 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
5287 (MEMCPY_CHK): Define only if SHARED is defined.
5288 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
5290 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
5293 See ChangeLog.18 for earlier changes.