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