1 2017-09-25 DJ Delorie <dj@redhat.com>
4 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
7 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9 * sysdeps/ieee754/dbl-64/sincos32.h
10 [SINCCOS32_H]: Remove define.
13 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
15 * math/Versions (expf): New libm symbol at GLIBC_2.27.
17 * math/w_exp2f.c: New file.
18 * math/w_expf.c: New file.
19 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
20 * math/w_expf_compat.c (__expf_compat): Likewise.
21 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
22 * sysdeps/ia64/fpu/e_expf.S: Likewise.
23 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
34 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
37 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
41 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
43 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
44 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
45 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
46 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
47 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
48 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
50 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
52 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
53 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
54 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
56 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
58 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
59 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
60 (roundtoint, converttoint): Likewise.
61 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
62 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
63 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
64 * sysdeps/ieee754/flt-32/math_config.h: New file.
65 * sysdeps/ieee754/flt-32/math_errf.c: New file.
66 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
67 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
68 * sysdeps/i386/fpu/math_errf.c: New file.
69 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
70 * sysdeps/ia64/fpu/math_errf.c: New file.
71 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
72 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
74 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
76 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
77 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
78 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
79 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
80 to make sure that these symbols are defined.
81 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
83 (__need_NULL): Do not define.
84 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
86 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
87 CMGROUP_MAX, cmsgcred): Do not define.
88 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
90 * bits/socket.h: Likewise.
91 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
92 __gettimeofday instead of gettimeofday.
93 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
94 instead of settimeofday.
96 2017-09-22 Joseph Myers <joseph@codesourcery.com>
98 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
99 (asinhf): Define using libm_alias_float.
100 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
101 (atanf): Define using libm_alias_float.
102 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
103 (cbrtf): Define using libm_alias_float.
104 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
105 (ceilf): Define using libm_alias_float.
106 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
107 <libm-alias-float.h>.
108 (copysignf): Define using libm_alias_float.
109 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
110 (cosf): Define using libm_alias_float.
111 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
112 (erff): Define using libm_alias_float.
114 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
115 (expm1f): Define using libm_alias_float.
116 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
117 (fabsf): Define using libm_alias_float.
118 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
119 (floorf): Define using libm_alias_float.
120 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
121 (frexpf): Define using libm_alias_float.
122 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
124 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
125 <libm-alias-float.h>.
126 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
128 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
129 <libm-alias-float.h>.
130 (getpayloadf): Define using libm_alias_float.
131 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
132 <libm-alias-float.h>.
133 (llrintf): Define using libm_alias_float.
134 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
135 <libm-alias-float.h>.
136 (llroundf): Define using libm_alias_float.
137 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
138 (logbf): Define using libm_alias_float.
139 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
140 (lrintf): Define using libm_alias_float.
141 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
142 (lroundf): Define using libm_alias_float.
143 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
144 (modff): Define using libm_alias_float.
145 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
146 <libm-alias-float.h>.
147 (nearbyintf): Define using libm_alias_float.
148 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
149 <libm-alias-float.h>.
150 (nextafterf): Define using libm_alias_float.
151 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
152 <libm-alias-float.h>.
153 (nextupf): Define using libm_alias_float.
154 * sysdeps/ieee754/flt-32/s_remquof.c: Include
155 <libm-alias-float.h>.
156 (remquof): Define using libm_alias_float.
157 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
158 (rintf): Define using libm_alias_float.
159 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
160 <libm-alias-float.h>.
161 (roundevenf): Define using libm_alias_float.
162 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
163 (roundf): Define using libm_alias_float.
164 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
165 using libm_alias_float.
166 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
167 <libm-alias-float.h>.
168 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
169 Define using libm_alias_float.
170 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
171 <libm-alias-float.h>.
172 (sincosf): Define using libm_alias_float.
173 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
174 (sinf): Define using libm_alias_float.
175 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
176 (tanf): Define using libm_alias_float.
177 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
178 (tanhf): Define using libm_alias_float.
179 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
180 <libm-alias-float.h>.
181 (totalorderf): Define using libm_alias_float.
182 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
183 <libm-alias-float.h>.
184 (totalordermagf): Define using libm_alias_float.
185 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
186 (truncf): Define using libm_alias_float.
187 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
189 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
192 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
195 math/math.h: Let fpclassify use the builtin in C++ mode, even
196 when optimazing for size.
198 2017-09-22 Joseph Myers <joseph@codesourcery.com>
200 * csu/Makefile (generated): Do not add version-info.h.
201 (before-compile): Likewise.
202 (all-Banner-files): Remove variable.
203 ($(objpfx)version-info.h): Remove rule.
204 * csu/version.c (banner): Do not include "version-info.h".
205 * libidn/Banner: Remove.
206 * manual/contrib.texi (Simon Josefsson): New entry.
208 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
211 Remove conditionals on LDBL_MANT_DIG.
212 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
213 (__ieee754_lgammal_r): Likewise.
215 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
217 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
219 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
220 _Float128 and L(). Replace _Float128 with long double and L(x)
221 with xL, throughout the file.
222 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
223 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
224 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
225 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
227 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
230 sysdeps/ieee754/ldbl-128ibm.
231 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
232 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
233 of including it. Keep _Float128 and L() intact. These will be
234 reviewed by a separate patch.
235 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
236 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
237 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
238 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
240 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
243 (__finitef128): Define to __redirect___finitef128.
244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
245 (__isinff128): Define to __redirect___isinff128.
246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
247 (__isnanf128): Define to __redirect___isnanf128.
249 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
251 * sysdeps/powerpc/powerpc64le/Makefile
252 (CFLAGS-tst-strtod-nan-locale.c): New variable.
253 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
255 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
256 Carlos O'Donell <carlos@redhat.com>
259 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
260 * stdlib/test-dlclose-exit-race.c: New file.
261 * stdlib/test-dlclose-exit-race-helper.c: New file.
262 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
264 2017-09-21 Joseph Myers <joseph@codesourcery.com>
266 * crypt/Banner: Remove file.
267 * nptl/Banner: Likewise.
268 * resolv/Banner: Likewise.
269 * soft-fp/Banner: Likewise.
270 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
271 ($(objpfx)version.d): Remove dependency on banner.h.
272 ($(objpfx)version.os): Likewise.
273 * nptl/version.c (banner): Do not include banner.h.
274 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
275 Jelinek and BIND code.
277 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
278 Carlos O'Donell <carlos@redhat.com>
280 * support/xdlfcn.h: New file.
281 * support/xdlfcn.c: New file.
282 * support/Makefile (libsupport-routines): Add xdlfcn.
283 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
285 2017-09-20 Joseph Myers <joseph@codesourcery.com>
288 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
289 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
290 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
291 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
292 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
293 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
294 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
295 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
297 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
298 Ricky Zhou <rickyz@google.com>
299 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
302 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
304 (__new_exitfn): Fail registration when we finished at_exit processing.
305 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
306 * stdlib/on_exit.c (__on_exit): Likewise.
307 * stdlib/exit.c (__exit_funcs_done): New variable.
308 (__run_exit_handlers): Use __exit_funcs_lock.
309 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
311 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
312 (test-cxa_atexit-race, test-on_exit-race): New tests.
313 * stdlib/test-atexit-race-common.c: New file.
314 * stdlib/test-atexit-race.c: New file.
315 * stdlib/test-at_quick_exit-race.c: New file.
316 * stdlib/test-cxa_atexit-race.c: New file.
317 * stdlib/test-on_exit-race.c: New file.
319 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
321 * benchtests/Makefile: Add exp2f and log2f benchmarks.
322 * benchtests/exp2f-inputs: Copy of expf-inputs.
323 * benchtests/log2f-inputs: Copy of logf-inputs.
325 2017-09-19 Joseph Myers <joseph@codesourcery.com>
327 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
328 Explicitly take address of first element of array arguments in
329 call to INLINE_SYSCALL.
331 2017-09-19 Andreas Schwab <schwab@suse.de>
334 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
336 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
338 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
339 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
340 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
341 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
342 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
343 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
344 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
345 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
346 * posix/Makefile (tests): Add tst-fexecve.
347 * posix/tst-fexecve.c: New file.
349 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
351 * benchtests/Makefile: Add logf benchmark.
352 * benchtests/logf-inputs: Add reduced trace from wrf_r.
354 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
356 * benchtests/Makefile: Add expf benchmark.
357 * benchtests/expf-inputs: Add reduced trace from wrf_r.
359 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
361 * csu/Makefile: Add -funwind-tables to libc-start.c.
362 * debug/Makefile: Add -funwind-tables to backtrace.c.
363 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
364 * sysdeps/arm/Makefile: Likewise.
365 * sysdeps/i386/Makefile: Likewise.
366 * sysdeps/m68k/Makefile: Likewise.
367 * sysdeps/mips/Makefile: Likewise.
368 * sysdeps/nios2/Makefile: Likewise.
369 * sysdeps/sh/Makefile: Likewise.
370 * sysdeps/sparc/Makefile: Likewise.
372 2017-09-19 Joseph Myers <joseph@codesourcery.com>
374 * benchtests/Makefile (bench-math): Add trunc and truncf.
375 (CFLAGS-bench-trunc.c): New variable.
376 (CFLAGS-bench-truncf.c): Likewise.
377 * benchtests/trunc-inputs: New file.
378 * benchtests/truncf-inputs: Likewise.
380 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
382 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
384 2017-09-18 Joseph Myers <joseph@codesourcery.com>
386 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
387 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
389 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
390 (exp10l): Define as weak alias.
391 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
392 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
394 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
395 (remainderl): Define as weak alias.
397 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
398 (fmal): Define using libm_alias_ldouble.
399 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
400 (acoshl): Define using libm_alias_ldouble.
401 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
402 (acosl): Define using libm_alias_ldouble.
403 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
404 (asinl): Define using libm_alias_ldouble.
405 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
406 (atan2l): Define using libm_alias_ldouble.
407 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
408 (atanhl): Define using libm_alias_ldouble.
409 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
410 (coshl): Define using libm_alias_ldouble.
411 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
412 (exp10l): Define using libm_alias_ldouble.
413 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
414 (exp2l): Define using libm_alias_ldouble.
415 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
416 (expl): Define using libm_alias_ldouble.
417 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
418 (fmodl): Define using libm_alias_ldouble.
419 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
420 (hypotl): Define using libm_alias_ldouble.
421 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
422 (j0l): Define using libm_alias_ldouble.
424 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
425 (j1l): Define using libm_alias_ldouble.
427 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
428 (jnl): Define using libm_alias_ldouble.
430 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
431 (log10l): Define using libm_alias_ldouble.
432 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
433 (log2l): Define using libm_alias_ldouble.
434 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
435 (logl): Define using libm_alias_ldouble.
436 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
437 (powl): Define using libm_alias_ldouble.
438 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
439 (remainderl): Define using libm_alias_ldouble.
440 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
441 (sinhl): Define using libm_alias_ldouble.
442 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
443 (sqrtl): Define using libm_alias_ldouble.
444 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
445 (tgammal): Define using libm_alias_ldouble.
446 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
447 (exp10l): Do not use long_double_symbol here.
448 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
449 [LIBM_SVID_COMPAT] (remainderl): Likewise.
450 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
451 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
452 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
453 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
454 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
455 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
456 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
457 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
458 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
459 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
460 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
461 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
462 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
463 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
464 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
465 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
466 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
467 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
468 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
469 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
471 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
473 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
474 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
476 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
478 * io/read.c (read): Add libc_hidden_weak.
479 * sysdeps/mach/hurd/read.c (read): Likewise.
480 * io/write.c (write): Likewise.
481 * sysdeps/mach/hurd/write.c (write): Likewise.
482 * io/pread64.c (__pread64): Likewise.
483 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
484 * posix/pread64.c (__pread64): Add libc_hidden_def.
486 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
488 * benchtests/scripts/compare_strings.py: New option -g.
489 (draw_graph): Print a message that a graph is being generated.
490 (process_results): Generate graph only if -g is passed.
491 (main): Process option -g.
493 * benchtests/scripts/compare_strings.py (process_results):
494 Better spacing for output.
496 * benchtests/scripts/compare_strings.py: Use argparse.
497 * benchtests/README: Document existence of compare_strings.py.
499 2017-09-15 Joseph Myers <joseph@codesourcery.com>
501 * math/s_fma.c: Include <libm-alias-double.h>.
502 (fma): Define using libm_alias_double.
503 * math/s_nextafter.c: Include <libm-alias-double.h>.
504 (nextafter): Define using libm_alias_double.
505 * math/w_acos_compat.c: Include <libm-alias-double.h>.
506 (acos): Define using libm_alias_double.
507 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
508 (aocsh): Define using libm_alias_double.
509 * math/w_asin_compat.c: Include <libm-alias-double.h>.
510 (asin): Define using libm_alias_double.
511 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
512 (atan2): Define using libm_alias_double.
513 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
514 (atanh): Define using libm_alias_double.
515 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
516 (cosh): Define using libm_alias_double.
517 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
518 (exp10): Define using libm_alias_double.
519 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
520 (exp2): Define using libm_alias_double.
521 * math/w_exp_compat.c: Include <libm-alias-double.h>.
522 (exp): Define using libm_alias_double.
523 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
524 (fmod): Define using libm_alias_double.
525 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
526 (hypot): Define using libm_alias_double.
527 * math/w_j0_compat.c: Include <libm-alias-double.h>.
528 (j0): Define using libm_alias_double.
530 * math/w_j1_compat.c: Include <libm-alias-double.h>.
531 (j1): Define using libm_alias_double.
533 * math/w_jn_compat.c: Include <libm-alias-double.h>.
534 (jn): Define using libm_alias_double.
536 * math/w_log10_compat.c: Include <libm-alias-double.h>.
537 (log10): Define using libm_alias_double.
538 * math/w_log2_compat.c: Include <libm-alias-double.h>.
539 (log2): Define using libm_alias_double.
540 * math/w_log_compat.c: Include <libm-alias-double.h>.
541 (log): Define using libm_alias_double.
542 * math/w_pow_compat.c: Include <libm-alias-double.h>.
543 (pow): Define using libm_alias_double.
544 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
545 (remainder): Define using libm_alias_double.
546 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
547 (sinh): Define using libm_alias_double.
548 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
549 (sqrt): Define using libm_alias_double.
550 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
551 (tgamma): Define using libm_alias_double.
552 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
553 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
554 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
555 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
556 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
557 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
558 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
559 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
560 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
561 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
562 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
563 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
564 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
565 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
566 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
567 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
568 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
569 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
570 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
571 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
572 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
573 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
574 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
575 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
576 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
578 * math/e_acoshl.c: Remove.
579 * math/e_acosl.c: Likewise.
580 * math/e_asinl.c: Likewise.
581 * math/e_atan2l.c: Likewise.
582 * math/e_atanhl.c: Likewise.
583 * math/e_coshl.c: Likewise.
584 * math/e_expl.c: Likewise.
585 * math/e_fmodl.c: Likewise.
586 * math/e_gammal_r.c: Likewise.
587 * math/e_hypotl.c: Likewise.
588 * math/e_j0l.c: Likewise.
589 * math/e_j1l.c: Likewise.
590 * math/e_jnl.c: Likewise.
591 * math/e_lgammal_r.c: Likewise.
592 * math/e_log10l.c: Likewise.
593 * math/e_log2l.c: Likewise.
594 * math/e_logl.c: Likewise.
595 * math/e_powl.c: Likewise.
596 * math/e_rem_pio2l.c: Likewise.
597 * math/e_sinhl.c: Likewise.
598 * math/e_sqrtf128.c: Likewise.
599 * math/e_sqrtl.c: Likewise.
600 * math/k_cosl.c: Likewise.
601 * math/k_sinl.c: Likewise.
602 * math/k_tanl.c: Likewise.
603 * math/s_asinhl.c: Likewise.
604 * math/s_atanl.c: Likewise.
605 * math/s_cbrtl.c: Likewise.
606 * math/s_erfl.c: Likewise.
607 * math/s_expm1l.c: Likewise.
608 * math/s_log1pl.c: Likewise.
609 * math/s_tanhl.c: Likewise.
611 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
615 [$(subdir) = math] (sysdep_calls): New variable. Has the
616 previous contents of sysdep_routines, but re-sorted..
617 [$(subdir) = math] (sysdep_routines): Re-use the contents from
619 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
620 defined in sysdep_calls and replace by the respective m_* names.
621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
622 (compat_symbol): Undefine to avoid duplicated compat symbols in
625 2017-09-15 Joseph Myers <joseph@codesourcery.com>
627 * math/s_fmaf.c: Include <libm-alias-float.h>.
628 (fmaf): Define using libm_alias_float.
629 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
630 (acosf): Define using libm_alias_float.
631 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
632 (acoshf): Define using libm_alias_float.
633 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
634 (asinf): Define using libm_alias_float.
635 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
636 (atan2f): Define using libm_alias_float.
637 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
638 (atanhf): Define using libm_alias_float.
639 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
640 (coshf): Define using libm_alias_float.
641 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
642 (exp10f): Define using libm_alias_float.
643 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
644 (fmodf): Define using libm_alias_float.
645 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
646 (hypotf): Define using libm_alias_float.
647 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
648 (j0f): Define using libm_alias_float.
650 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
651 (j1f): Define using libm_alias_float.
653 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
654 (jnf): Define using libm_alias_float.
656 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
657 (log10f): Define using libm_alias_float.
658 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
659 (log2f): Define using libm_alias_float.
660 * math/w_logf_compat.c: Include <libm-alias-float.h>.
661 (logf): Define using libm_alias_float.
662 * math/w_powf_compat.c: Include <libm-alias-float.h>.
663 (powf): Define using libm_alias_float.
664 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
665 (remainderf): Define using libm_alias_float.
666 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
667 (sinhf): Define using libm_alias_float.
668 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
669 (sqrtf): Define using libm_alias_float.
670 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
671 (tgammaf): Define using libm_alias_float.
673 2017-09-14 Joseph Myers <joseph@codesourcery.com>
675 * include/math.h (roundeven): Change hidden_proto call to
677 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
679 [NO_LONG_DOUBLE] (__j0l): New strong alias.
680 (y0): Rename to __y0 and define as weak alias.
681 [NO_LONG_DOUBLE] (__y0l): New strong alias.
682 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
684 (y0f): Rename to __y0f and define as weak alias.
685 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
687 [NO_LONG_DOUBLE] (__j1l): New strong alias.
688 (y1): Rename to __y1 and define as weak alias.
689 [NO_LONG_DOUBLE] (__y1l): New strong alias.
690 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
692 (y1f): Rename to __y1f and define as weak alias.
693 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
695 [NO_LONG_DOUBLE] (__jnl): New strong alias.
696 (yn): Rename to __yn and define as weak alias.
697 [NO_LONG_DOUBLE] (__ynl): New strong alias.
698 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
700 (ynf): Rename to __ynf and define as weak alias.
701 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
702 (fromfp): Define as weak alias.
703 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
704 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
705 (fromfpx): Define as weak alias.
706 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
707 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
708 __getpayload and define as weak alias.
709 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
710 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
711 __roundeven and define as weak alias.
712 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
713 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
715 (setpayload): Define as weak alias.
716 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
717 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
719 (setpayloadsig): Define as weak alias.
720 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
721 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
722 __totalorder and define as weak alias.
723 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
724 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
725 to __totalordermag and define as weak alias.
726 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
727 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
728 (ufromfp): Define as weak alias.
729 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
730 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
732 (ufromfpx): Define as weak alias.
733 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
734 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
735 Rename to __getpayload and define as weak alias.
736 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
737 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
738 Rename to __roundeven and define as weak alias.
739 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
740 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
741 Rename to __totalorder and define as weak alias.
742 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
743 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
744 (totalordermag): Rename to __totalordermag and define as weak
746 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
747 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
749 (__roundevenl): Likewise.
750 (__totalorderl): Likewise.
751 (__totalordermagl): Likewise
752 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
754 (fromfpf128): Define as weak alias.
755 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
757 (fromfpxf128): Define as weak alias.
758 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
760 (setpayloadf128): Define as weak alias.
761 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
763 (setpayloadsigf128): Define as weak alias.
764 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
766 (ufromfpf128): Define as weak alias.
767 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
769 (ufromfpxf128): Define as weak alias.
770 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
771 (fromfpf): Define as weak alias.
772 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
774 (fromfpxf): Define as weak alias.
775 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
776 __getpayloadf and define as weak alias.
777 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
778 __roundevenf and define as weak alias.
779 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
781 (setpayloadf): Define as weak alias.
782 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
784 (setpayloadsigf): Define as weak alias.
785 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
786 __totalorderf and define as weak alias.
787 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
788 Rename to __totalordermagf and define as weak alias.
789 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
791 (ufromfpf): Define as weak alias.
792 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
794 (ufromfpxf): Define as weak alias.
795 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
797 (fromfpl): Define as weak alias.
798 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
800 (fromfpxl): Define as weak alias.
801 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
802 to __getpayloadl and define as weak alias.
803 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
804 __roundevenl and define as weak alias.
805 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
807 (setpayloadl): Define as weak alias.
808 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
810 (setpayloadsigl): Define as weak alias.
811 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
812 to __totalorderl and define as weak alias.
813 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
814 Rename to __totalordermagl and define as weak alias.
815 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
817 (ufromfpl): Define as weak alias.
818 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
820 (ufromfpxl): Define as weak alias.
821 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
823 (fromfpl): Define as weak alias.
824 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
826 (fromfpxl): Define as weak alias.
827 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
828 Rename to __getpayloadl and define as weak alias.
829 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
830 to __roundevenl and define as weak alias. Call __roundeven
831 instead of roundeven.
832 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
834 (setpayloadl): Define as weak alias.
835 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
837 (setpayloadsigl): Define as weak alias.
838 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
839 Rename to __totalorderl and define as weak alias.
840 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
841 Rename to __totalordermagl and define as weak alias.
842 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
844 (ufromfpl): Define as weak alias.
845 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
847 (ufromfpxl): Define as weak alias.
848 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
850 (fromfpl): Define as weak alias.
851 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
853 (fromfpxl): Define as weak alias.
854 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
855 __getpayloadl and define as weak alias.
856 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
857 __roundevenl and define as weak alias.
858 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
860 (setpayloadl): Define as weak alias.
861 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
863 (setpayloadsigl): Define as weak alias.
864 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
865 __totalorderl and define as weak alias.
866 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
867 Rename to __totalordermagl and define as weak alias.
868 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
870 (ufromfpl): Define as weak alias.
871 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
873 (ufromfpxl): Define as weak alias.
875 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
877 * benchtests/bench-string.h (realloc_bufs): New function.
878 (test_init): Call it.
879 * benchtests/bench-memset-large.c (do_test): Likewise.
880 * benchtests/bench-memset.c (do_test): Likewise.
882 * benchtests/bench-memset-large.c: Print output in JSON
884 * benchtests/bench-memset.c: Likewise.
886 2017-09-14 Mike FABIAN <mfabian@redhat.com>
889 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
890 * iconvdata/Makefile: Add IBM858.
891 * iconvdata/gconv-modules: Likewise.
892 * iconvdata/tst-tables.sh: Likewise.
893 * iconvdata/ibm858.c: New file.
894 * localedata/charmaps/IBM858: Likewise.
896 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
899 * locales/niu_NZ (LC_TIME): copy "niu_NU".
900 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
902 2017-09-14 Mike FABIAN <mfabian@redhat.com>
905 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
908 2017-09-14 Joseph Myers <joseph@codesourcery.com>
910 * sysdeps/generic/libm-alias-float128.h: New file.
911 * sysdeps/generic/math-type-macros-float128.h: Include
912 <libm-alias-float128.h>.
913 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
915 2017-09-13 Joseph Myers <joseph@codesourcery.com>
917 * sysdeps/generic/libm-alias-ldouble.h: New file.
918 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
919 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
920 * sysdeps/generic/math-type-macros-ldouble.h: Include
921 <libm-alias-ldouble.h>.
922 [!declare_mgen_alias] (declare_mgen_alias): Define to use
925 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
927 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
928 * math/w_exp_compat.c: ... here.
929 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
930 * math/w_expf_compat.c: ... here.
931 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
932 * math/w_expl_compat.c: ... here.
933 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
934 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
935 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
936 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
938 2017-09-13 Joseph Myers <joseph@codesourcery.com>
940 * math/w_scalbln_template.c (strong_alias): Do not undefine and
942 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
944 (ldexpl): Only define as compat symbol for libc, not libm.
945 (scalbnl): Define as compat symbol for libc here.
946 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
947 define for [IS_IN (libc)].
948 (__ldexpl_2): Remove alias.
949 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
950 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
951 name in long_double_symbol call.
952 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
953 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
954 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
955 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
956 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
958 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
959 Define as compat symbol.
961 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
963 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
964 * sysdeps/unix/sysv/linux/alpha/Makefile
965 [$(subdir) = csu] (sysdep_routines): Remove rule.
967 2017-09-13 Joseph Myers <joseph@codesourcery.com>
969 * sysdeps/generic/libm-alias-double.h: New file.
970 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
971 * sysdeps/generic/math-type-macros-double.h: Include
972 <libm-alias-double.h>.
973 [declare_mgen_alias] (declare_mgen_alias): Define to use
975 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
976 (M_LIBM_NEED_COMPAT): Remove macro.
977 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
978 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
979 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
981 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
982 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
983 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
984 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
985 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
986 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
987 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
988 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
989 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
990 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
991 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
992 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
993 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
994 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
995 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
996 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
997 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
998 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
999 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1000 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1001 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1002 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1003 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1004 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1005 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1006 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1007 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1008 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
1009 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
1011 (declare_mgen_alias): New macro.
1012 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
1013 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
1014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
1015 (M_LIBM_NEED_COMPAT): Remove macro.
1016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
1017 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
1019 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
1020 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
1022 2017-09-12 Joseph Myers <joseph@codesourcery.com>
1024 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
1025 (declare_mgen_alias_2): Remove.
1026 * sysdeps/generic/math-type-macros-double.h
1027 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
1029 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
1031 (ldexp): Define with declare_mgen_alias.
1034 2017-09-12 Steve Ellcey <sellcey@cavium.com>
1036 * grp/initgroups.c: Include config.h.
1037 (DEFAULT_CONFIG): New macro.
1038 (internal_getgrouplist): Use DEFAULT_CONFIG.
1039 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1040 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
1041 (DEFAULT_DEFCONFIG): New macro.
1042 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
1043 * nss/grp-lookup.c: Include config.h
1044 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
1045 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
1046 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
1047 * manual/nss.texi: Update default values section.
1049 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
1052 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
1054 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
1055 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
1056 Handle MathVec_Prefer_No_AVX512.
1057 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
1058 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
1061 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
1063 * posix/sched_primax.c (__sched_get_priority_max): Add
1065 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
1066 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1067 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
1068 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
1069 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
1070 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
1071 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
1072 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
1075 2017-09-11 Joseph Myers <joseph@codesourcery.com>
1077 * sysdeps/generic/libm-alias-float.h: New file.
1078 * sysdeps/generic/math-type-macros-float.h: Include
1079 <libm-alias-float.h>.
1080 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
1082 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
1085 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
1086 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
1087 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
1088 (HWCAP_IMPORTANT): Likewise.
1089 (HWCAP_X86_64): New enum.
1090 (HWCAP_X86_AVX512_1): Updated.
1091 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
1092 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
1093 (modules-names): Add x86_64/tst-x86_64mod-1.
1094 (LDFLAGS-tst-x86_64mod-1.so): New.
1095 ($(objpfx)tst-x86_64-1): Likewise.
1096 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
1097 (tst-x86_64-1-clean): Likewise.
1098 * sysdeps/x86_64/tst-x86_64-1.c: New file.
1099 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
1101 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1103 * po/sv.po: Update translations.
1104 * po/fr.po: Likewise.
1106 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1108 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
1110 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
1112 * elf/rtld-Rules: Fix $(error) use.
1114 2017-09-09 Mike FABIAN <mfabian@redhat.com>
1117 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
1118 * locale/iso-639.def: Change “Bengali” to “Bangla”.
1119 * localedata/locales/bn_BD: “Bengali” was still used in some
1120 comments. Change it to “Bangla”.
1122 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
1124 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
1126 2017-09-08 Steve Ellcey <sellcey@cavium.com>
1128 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
1129 thunderx2t99p1 to list of cpu names.
1130 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1131 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
1133 2017-09-08 Steve Ellcey <sellcey@cavium.com>
1135 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
1136 Use strcmp instead of tunable_is_name.
1138 2017-09-08 Joseph Myers <joseph@codesourcery.com>
1140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1141 (F_GET_RW_HINT): New macro.
1142 [__USE_GNU] (F_SET_RW_HINT): Likewise.
1143 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
1144 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
1145 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
1146 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
1147 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
1148 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
1149 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
1150 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
1152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1153 (F_ADD_SEALS): New macro.
1154 [__USE_GNU] (F_GET_SEALS): Likewise.
1155 [__USE_GNU] (F_SEAL_SEAL): Likewise.
1156 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
1157 [__USE_GNU] (F_SEAL_GROW): Likewise.
1158 [__USE_GNU] (F_SEAL_WRITE): Likewise.
1160 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1162 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
1163 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
1164 * posix/glob_internal.h (__glob_pattern_type):
1165 * posix/glob.c (glob):
1166 * posix/glob_pattern_p.c (__glob_pattern_p):
1169 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
1170 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1171 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
1172 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
1173 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
1175 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
1176 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
1177 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
1178 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1179 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
1180 * sysdeps/wordsize-64/glob.c: Likewise.
1181 * sysdeps/wordsize-64/glob64.c: Likewise.
1182 * sysdeps/wordsize-64/globfree.c: Likewise.
1183 * sysdeps/wordsize-64/globfree64.c: Likewise.
1184 * sysdeps/unix/sysv/linux/glob.c: New file.
1185 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
1186 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
1187 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
1188 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
1189 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
1190 adds !GLOB_NO_OLD_VERSION as an extra condition.
1191 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
1192 using relative path instead of absolute one.
1193 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
1194 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1195 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1196 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
1197 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
1198 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
1201 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
1202 (glob): Use the same scratch buffer for both getlogin_r and
1203 getpwnam_r. Don’t require preallocation of the login name. This
1204 simplifies storage allocation, and corrects the handling of
1208 * posix/glob.c (glob): Port recent patches to platforms
1210 (glob): Fix longstanding misuse of errno after getpwnam_r, which
1211 returns an error number rather than setting errno.
1213 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
1214 instead of GCC extension.
1215 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
1216 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
1217 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
1221 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
1222 * posix/bug-glob1.c: Remove file.
1223 * posix/tst-glob_symlinks.c: New file.
1224 * posix/glob.c (__lstat64): New macro.
1225 (is_dir): New function.
1226 (glob, glob_in_dir): Match symlinks even if they are dangling.
1227 (link_stat, link_exists_p): Remove. All uses removed.
1231 * posix/glob.c (struct readdir_result): Remove skip_entry member.
1232 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
1236 * posix/Makefile (routines): Add globfree, globfree64, and
1238 * posix/flexmember.h: New file.
1239 * posix/glob_internal.h: Likewise.
1240 * posix/glob_pattern_p.c: Likewise.
1241 * posix/globfree.c: Likewise.
1242 * posix/globfree64.c: Likewise.
1243 * sysdeps/gnu/globfree64.c: Likewise.
1244 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
1245 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
1246 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
1247 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
1248 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
1249 * sysdeps/wordsize-64/globfree.c: Likewise.
1250 * sysdeps/wordsize-64/globfree64.c: Likewise.
1251 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
1252 [NDEBUG): Remove comments.
1253 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
1254 (dirent_type): New type. Use uint_fast8_t not
1255 uint8_t, as C99 does not require uint8_t.
1256 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
1257 (struct readdir_result): Use dirent_type. Do not define skip_entry
1258 unless it is needed; this saves a byte on platforms lacking d_ino.
1259 (readdir_result_type, readdir_result_skip_entry):
1260 New functions, replacing ...
1261 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
1262 these functions, which were removed. This makes the callers
1263 easier to read. All callers changed.
1264 (D_INO_TO_RESULT): Now empty if there is no d_ino.
1265 (size_add_wrapv, glob_use_alloca): New static functions.
1266 (glob, glob_in_dir): Check for size_t overflow in several places,
1267 and fix some size_t checks that were not quite right.
1268 Remove old code using SHELL since Bash no longer
1270 (glob, prefix_array): Separate MS code better.
1271 (glob_in_dir): Remove old Amiga and VMS code.
1272 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
1274 (glob_in_dir): Do not rely on undefined behavior in accessing
1275 struct members beyond their bounds. Use a flexible array member
1277 (link_stat): Rename from link_exists2_p and return -1/0 instead of
1278 0/1. Caller changed.
1279 (glob): Fix memory leaks.
1280 * posix/glob64 (globfree64): Move to separate file.
1281 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
1282 (globfree64): Remove hidden alias.
1283 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
1285 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
1287 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
1289 Move compat code to separate file.
1290 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
1293 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
1295 * resolv/tst-resolv-qtypes.c (domain): Changed to
1296 "const char domain[] =".
1298 2017-09-07 Joseph Myers <joseph@codesourcery.com>
1300 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1303 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
1304 (TCP_MD5SIG_EXT): Likewise.
1305 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
1306 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
1307 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
1309 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
1311 2017-09-07 Mike FABIAN <mfabian@redhat.com>
1313 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
1315 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
1318 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
1320 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1322 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
1323 before assuming that the file is empty. Avoid testing buffer content
1326 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1329 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
1331 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
1333 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
1335 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
1337 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
1339 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
1341 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
1344 2017-09-06 Florian Weimer <fweimer@redhat.com>
1346 * malloc/dynarray_emplace_enlarge.c
1347 (__libc_dynarray_emplace_enlarge): Add missing else.
1349 2017-09-06 Florian Weimer <fweimer@redhat.com>
1352 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
1353 case of failure to obtain the global conf object.
1355 2017-09-06 Florian Weimer <fweimer@redhat.com>
1358 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
1359 dynarray allocation failure.
1361 2017-09-06 Florian Weimer <fweimer@redhat.com>
1363 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
1364 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
1365 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
1367 (response): Call them. Add 'p', '6' flag processing.
1368 (test_reverse): New function.
1369 (test_get2_any): Call it.
1370 (test_no_inet6): Add 'p' test.
1371 (test_inet6): Likewise.
1373 2017-09-06 Florian Weimer <fweimer@redhat.com>
1375 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
1376 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
1378 (test_gai): Adjust query names. Add additional tests.
1379 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
1380 test_get2. Adjust query names. Add additional tests.
1381 (test_no_inet6): New function, extracted from threadfunc.
1382 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
1383 Add additional tests.
1385 2017-09-06 Mike FABIAN <mfabian@redhat.com>
1388 * localedata/unicode-gen/utf8_gen.py: Set the width for
1389 characters with Prepended_Concatenation_Mark property to 1
1390 * localedata/charmaps/UTF-8: Updated using the improved script.
1392 2017-09-06 Mike FABIAN <mfabian@redhat.com>
1395 * localedata/unicode-gen/utf8_gen.py: Improve the script to
1396 use the range notation for all ranges of neighbouring characters
1397 with the same width.
1399 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1401 * sysdeps/generic/math-type-macros-double.h: Include
1402 <math-svid-compat.h>.
1403 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1404 * sysdeps/generic/math-type-macros-float.h: Include
1405 <math-svid-compat.h>.
1406 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1407 * sysdeps/generic/math-type-macros-ldouble.h: Include
1408 <math-svid-compat.h>.
1409 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1410 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
1412 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
1413 * math/w_acosf_compat.c: Likewise.
1414 * math/w_acosh_compat.c: Likewise.
1415 * math/w_acoshf_compat.c: Likewise.
1416 * math/w_acoshl_compat.c: Likewise.
1417 * math/w_acosl_compat.c: Likewise.
1418 * math/w_asin_compat.c: Likewise.
1419 * math/w_asinf_compat.c: Likewise.
1420 * math/w_asinl_compat.c: Likewise.
1421 * math/w_atan2_compat.c: Likewise.
1422 * math/w_atan2f_compat.c: Likewise.
1423 * math/w_atan2l_compat.c: Likewise.
1424 * math/w_atanh_compat.c: Likewise.
1425 * math/w_atanhf_compat.c: Likewise.
1426 * math/w_atanhl_compat.c: Likewise.
1427 * math/w_cosh_compat.c: Likewise.
1428 * math/w_coshf_compat.c: Likewise.
1429 * math/w_coshl_compat.c: Likewise.
1430 * math/w_exp10_compat.c: Likewise.
1431 * math/w_exp10f_compat.c: Likewise.
1432 * math/w_exp10l_compat.c: Likewise.
1433 * math/w_exp2_compat.c: Likewise.
1434 * math/w_exp2f_compat.c: Likewise.
1435 * math/w_exp2l_compat.c: Likewise.
1436 * math/w_fmod_compat.c: Likewise.
1437 * math/w_fmodf_compat.c: Likewise.
1438 * math/w_fmodl_compat.c: Likewise.
1439 * math/w_hypot_compat.c: Likewise.
1440 * math/w_hypotf_compat.c: Likewise.
1441 * math/w_hypotl_compat.c: Likewise.
1442 * math/w_j0_compat.c: Likewise.
1443 * math/w_j0f_compat.c: Likewise.
1444 * math/w_j0l_compat.c: Likewise.
1445 * math/w_j1_compat.c: Likewise.
1446 * math/w_j1f_compat.c: Likewise.
1447 * math/w_j1l_compat.c: Likewise.
1448 * math/w_jn_compat.c: Likewise.
1449 * math/w_jnf_compat.c: Likewise.
1450 * math/w_jnl_compat.c: Likewise.
1451 * math/w_lgamma_r_compat.c: Likewise.
1452 * math/w_lgammaf_r_compat.c: Likewise.
1453 * math/w_lgammal_r_compat.c: Likewise.
1454 * math/w_log10_compat.c: Likewise.
1455 * math/w_log10f_compat.c: Likewise.
1456 * math/w_log10l_compat.c: Likewise.
1457 * math/w_log2_compat.c: Likewise.
1458 * math/w_log2f_compat.c: Likewise.
1459 * math/w_log2l_compat.c: Likewise.
1460 * math/w_log_compat.c: Likewise.
1461 * math/w_logf_compat.c: Likewise.
1462 * math/w_logl_compat.c: Likewise.
1463 * math/w_pow_compat.c: Likewise.
1464 * math/w_powf_compat.c: Likewise.
1465 * math/w_powl_compat.c: Likewise.
1466 * math/w_remainder_compat.c: Likewise.
1467 * math/w_remainderf_compat.c: Likewise.
1468 * math/w_remainderl_compat.c: Likewise.
1469 * math/w_sinh_compat.c: Likewise.
1470 * math/w_sinhf_compat.c: Likewise.
1471 * math/w_sinhl_compat.c: Likewise.
1472 * math/w_sqrt_compat.c: Likewise.
1473 * math/w_sqrtf_compat.c: Likewise.
1474 * math/w_sqrtl_compat.c: Likewise.
1475 * math/w_tgamma_compat.c: Likewise.
1476 * math/w_tgammaf_compat.c: Likewise.
1477 * math/w_tgammal_compat.c: Likewise.
1478 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
1480 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
1481 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
1483 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
1484 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
1486 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
1487 * sysdeps/i386/fpu/w_sqrt.c: New file.
1488 * sysdeps/ia64/fpu/w_acos.c: Likewise.
1489 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1490 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1491 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1492 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1493 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1494 * sysdeps/ia64/fpu/w_asin.c: Likewise.
1495 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1496 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1497 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1498 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1499 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1500 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1501 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1502 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1503 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1504 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1505 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1506 * sysdeps/ia64/fpu/w_exp.c: Likewise.
1507 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1508 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1509 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1510 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1511 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1512 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1513 * sysdeps/ia64/fpu/w_expf.c: Likewise.
1514 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1515 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1516 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1517 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1518 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1519 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1520 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1521 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1522 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1523 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1524 * sysdeps/ia64/fpu/w_log.c: Likewise.
1525 * sysdeps/ia64/fpu/w_log10.c: Likewise.
1526 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1527 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1528 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1529 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1530 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1531 * sysdeps/ia64/fpu/w_logf.c: Likewise.
1532 * sysdeps/ia64/fpu/w_logl.c: Likewise.
1533 * sysdeps/ia64/fpu/w_pow.c: Likewise.
1534 * sysdeps/ia64/fpu/w_powf.c: Likewise.
1535 * sysdeps/ia64/fpu/w_powl.c: Likewise.
1536 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1537 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1538 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1539 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1540 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1541 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1542 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1543 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1544 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1545 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
1546 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
1547 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
1550 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1551 * sysdeps/ieee754/k_standard.c: Likewise.
1552 * sysdeps/ieee754/k_standardf.c: Likewise.
1553 * sysdeps/ieee754/k_standardl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1556 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1557 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
1558 long_double_symbol call on [LIBM_SVID_COMPAT].
1559 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1560 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1561 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1562 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1563 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1564 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1565 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1566 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1567 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1568 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1569 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1570 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1571 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1572 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1573 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1574 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1575 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1576 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1577 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1578 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1579 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
1580 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
1582 2017-09-05 Steve Ellcey <sellcey@cavium.com>
1584 * include/shlib-compat.h (TEST_COMPAT): New Macro.
1585 * malloc/tst-mallocstate.c: Convert from test-skeleton
1586 to test-driver. Ifdef code using TEST_COMPAT macro.
1587 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
1588 * math/test-matherr.c: Likewise.
1590 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1593 * debug/pcprofiledump.c (main): Use byte-swapped mask when
1594 comparing word with byte-swapped constant.
1596 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
1599 * locale/iso-639.def: add Miskito.
1600 * localedata/SUPPORTED: Add miq_NI/UTF-8.
1601 * localedata/locales/miq_NI: New file.
1603 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
1606 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
1607 (__mkdir): Likewise.
1608 * io/chmod.c (__chmod): Add libc_hidden_def.
1609 * io/mkdir.c (__mkdir): Likewise.
1610 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1611 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1612 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
1613 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
1615 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1617 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1621 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
1622 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1624 2017-09-04 Florian Weimer <fweimer@redhat.com>
1626 * math/math.h: Issue warning if log is defined.
1628 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1630 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1631 kernel version to 4.13.
1633 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1635 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
1636 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
1638 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
1639 just <bits/types.h>.
1640 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
1641 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
1642 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
1643 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
1644 * misc/preadv2.c: Include <errno.h>.
1645 * misc/preadv64v2.c: Include <errno.h>.
1646 * misc/pwritev2.c: Include <errno.h>.
1647 * misc/pwritev64v2.c: Include <errno.h>.
1648 * sysdeps/posix/preadv2.c: Include <errno.h>.
1649 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
1650 Fix <unistd.h> inclusion.
1651 * sysdeps/posix/pwritev2.c: Include <errno.h>.
1652 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
1653 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
1654 __strtoul_internal): New functions.
1655 * sysdeps/posix/pause.c: Include <sigsetops.h>.
1656 * sysdeps/posix/system.c: Include <sigsetops.h>.
1657 * sysdeps/mach/hurd/i386/Makefile
1658 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1659 [$(subdir) = csu] (sysdep-only-routines): Likewise.
1660 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1661 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
1662 __feraiseexcept_renamed to feraiseexcept instead of
1664 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
1665 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
1666 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
1667 RWF_NOWAIT): Define to 0 if undefined already.
1668 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
1670 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
1671 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
1673 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1675 * manual/math.texi (pow10): Do not document.
1678 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
1679 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
1680 * math/libm-test-exp10.inc (pow10_test): Remove.
1681 (do_test): Do not call pow10.
1682 * math/w_exp10_compat.c (pow10): Make into compat symbol.
1683 [NO_LONG_DOUBLE] (pow10l): Likewise.
1684 * math/w_exp10f_compat.c (pow10f): Likewise.
1685 * math/w_exp10l_compat.c (pow10l): Likewise.
1686 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
1687 (pow10): Make into compat symbol.
1688 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
1689 (pow10f): Make into compat symbol.
1690 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
1691 (pow10l): Make into compat symbol.
1692 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
1694 (CFLAGS-nldbl-pow10.c): Remove variable..
1695 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
1696 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
1697 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
1698 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
1699 Undefine and redefine.
1700 (pow10l): Make into compat symbol.
1701 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
1702 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1703 * sysdeps/arm/libm-test-ulps: Likewise.
1704 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
1705 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1706 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1707 * sysdeps/microblaze/libm-test-ulps: Likewise.
1708 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1709 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1710 * sysdeps/nios2/libm-test-ulps: Likewise.
1711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1712 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1714 * sysdeps/sh/libm-test-ulps: Likewise.
1715 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1716 * sysdeps/tile/libm-test-ulps: Likewise.
1717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1719 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1721 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
1723 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1725 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
1726 "../ChangeLog.old/ChangeLog.8".
1727 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
1728 "../ChangeLog.old/ChangeLog.14".
1730 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1732 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
1735 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1737 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
1739 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1741 * csu/version.c (banner): Remove "by Roland McGrath et al.".
1742 * nptl/Banner: Remove "by Ulrich Drepper et al.".
1744 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1746 * stdlib/tst-atexit-common.c (do_test): Test support for at least
1749 2017-09-01 Zack Weinberg <zackw@panix.com>
1751 * math/math.h (HUGE_VAL): Improve commentary.
1753 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1754 Andreas Schwab <schwab@suse.de>
1757 * include/stdio.h (__gen_tempfd): New function.
1758 * stdio-common/Makefile (routines): Add gentempfd.
1759 * stdio-common/gentempfd.c: New file.
1760 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
1761 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
1764 2017-09-01 Florian Weimer <fweimer@redhat.com>
1768 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
1769 result to determine success or failure, not the errno value.
1770 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
1771 (tst-nss-files-hosts-erange): Link with -ldl.
1772 * nss/tst-nss-files-hosts-erange.c: New file.
1773 * nss/tst-resolv-basic.c (response): Handle nodata.example.
1774 (do_test): Add NO_DATA tests.
1775 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
1778 2017-09-01 Florian Weimer <fweimer@redhat.com>
1781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
1782 coming from gethostbyname2_r.
1784 2017-09-01 Florian Weimer <fweimer@redhat.com>
1786 * support/namespace.h (struct support_chroot_configuration): Add
1788 (struct support_chroot): Add path_hosts, path_host_conf.
1789 * support/support_chroot.c (write_file): New function.
1790 (support_chroot_create): Call it to process /etc/resolv.conf,
1791 /etc/hosts, /etc/host.conf.
1792 (support_chroot_free): Update.
1794 2017-09-01 Florian Weimer <fweimer@redhat.com>
1796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
1797 status indicates it is set.
1799 2017-09-01 Florian Weimer <fweimer@redhat.com>
1801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
1802 function lookup failures more reliable.
1804 2017-09-01 Florian Weimer <fweimer@redhat.com>
1806 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
1807 (getcanonname): Likewise.
1808 (gaih_inet): Likewise.
1810 2017-09-01 Florian Weimer <fweimer@redhat.com>
1812 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
1813 (getcanonname): Likewise.
1814 (gaih_inet): Likewise.
1816 2017-08-31 Steve Ellcey <sellcey@cavium.com>
1817 Richard Henderson <rth@twiddle.net>
1819 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
1820 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
1821 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
1822 (IREG_SIZE, OREG_SIZE): New macros.
1823 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
1824 (IREG_SIZE, OREG_SIZE): New macros.
1825 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
1826 (IREG_SIZE): New macro.
1827 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
1828 (IREG_SIZE): New macro.
1829 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
1831 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
1832 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1833 (__CONCATX): Handle exceptions correctly on large values that may
1835 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
1836 Initialize if not already set.
1837 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1839 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1841 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
1842 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
1844 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
1846 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
1848 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
1850 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
1852 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
1854 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
1856 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
1857 (NO_CANCELLATION): Likewise.
1858 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
1860 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
1862 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
1864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
1865 (NO_CANCELLATION): Likewise.
1866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
1867 (NO_CANCELLATION): Likewise.
1868 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
1870 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
1872 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
1874 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
1876 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
1878 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
1879 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
1881 2017-08-31 Steve Ellcey <sellcey@cavium.com>
1883 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
1886 2017-08-31 Florian Weimer <fweimer@redhat.com>
1888 * include/libc-symbols.h (internal_function): Remove.
1890 2017-08-31 Florian Weimer <fweimer@redhat.com>
1892 * stdlib/fmtmsg.c (internal_addseverity): Remove
1895 2017-08-31 Florian Weimer <fweimer@redhat.com>
1897 * stdio-common/printf_fp.c (group_number): Remove
1899 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1901 2017-08-31 Florian Weimer <fweimer@redhat.com>
1903 * posix/fnmatch.c (internal_function): Remove definition.
1904 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
1905 * posix/regcomp.c (peek_token, init_word_char)
1906 (duplicate_node_closure, fetch_token, peek_token)
1907 (peek_token_bracket, build_range_exp, build_collating_symbol):
1909 * posix/regex_internal.c (re_string_construct_common)
1910 (create_ci_newstate, create_cd_newstate, re_string_allocate)
1911 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
1912 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
1913 (re_string_translate_buffer, re_string_reconstruct)
1914 (re_string_peek_byte_case, re_string_fetch_byte_case)
1915 (re_string_destruct, re_string_context_at, re_node_set_alloc)
1916 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
1917 (re_node_set_add_intersect, re_node_set_init_union)
1918 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
1919 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
1920 (re_dfa_add_node, calc_state_hash, re_acquire_state)
1921 (re_acquire_state_context): Likewise.
1922 * posix/regex_internal.h (internal_function): Remove definition.
1923 (re_string_realloc_buffers, build_wcs_buffer)
1924 (build_wcs_upper_buffer, build_upper_buffer)
1925 (re_string_translate_buffer, re_string_context_at)
1926 (re_string_char_size_at, re_string_wchar_at)
1927 (re_string_elem_size_at): Likewise.
1928 * posix/regexec.c (match_ctx_init, match_ctx_clean)
1929 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
1930 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
1931 (re_search_internal, re_search_2_stub, re_search_stub)
1932 (re_copy_regs, prune_impossible_nodes, check_matching)
1933 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
1934 (free_fail_stack_return, sift_states_iter_mb)
1935 (sift_states_backward, build_sifted_states)
1936 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
1937 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
1938 (check_subexp_limits, sift_states_bkref, merge_state_array)
1939 (find_recover_state, transit_state, merge_state_with_log)
1940 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
1941 (transit_state_mb, transit_state_bkref, get_subexp)
1942 (get_subexp_sub, find_subexp_node, check_arrival)
1943 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
1944 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
1945 (check_node_accept_bytes, find_collation_sequence_value)
1946 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
1947 (acquire_init_state_context, check_halt_node_context)
1948 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
1949 (sub_epsilon_src_nodes): Likewise.
1950 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
1951 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
1952 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
1953 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
1954 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
1955 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
1956 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
1957 * sysdeps/posix/ttyname.c (getttyname): Likewise.
1958 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1959 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
1961 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
1963 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
1964 (PWRITEV): Likewise.
1965 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
1966 (PWRITEV): Likewise.
1967 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
1968 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
1970 2017-08-31 Florian Weimer <fweimer@redhat.com>
1972 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
1973 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
1974 Remove internal_function.
1975 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1976 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
1977 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
1978 (__deallocate_stack, __libc_pthread_init)
1979 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
1980 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
1981 (__libc_disable_asynccancel, __librt_disable_asynccancel):
1983 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
1984 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
1985 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
1987 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
1988 (__pthread_mutex_unlock_usercnt): Likewise.
1990 2017-08-31 Florian Weimer <fweimer@redhat.com>
1992 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
1993 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
1994 (fts_safe_changedir): Remove internal_function.
1995 * io/ftw.c (internal_function): Remove definition.
1996 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
1998 2017-08-31 Florian Weimer <fweimer@redhat.com>
2000 * inet/deadline.c (__deadline_current_time)
2001 (__deadline_from_timeval, __deadline_to_ms): Remove
2003 * inet/getnameinfo.c (nrl_domainname): Likewise.
2004 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
2005 * inet/inet6_option.c (add_pad): Likewise.
2006 * inet/net-internal.h (__deadline_current_time)
2007 (__deadline_from_timeval, __deadline_to_ms): Likewise.
2008 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
2009 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
2010 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
2012 2017-08-31 Joseph Myers <joseph@codesourcery.com>
2014 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
2015 include <bits/nan.h>.
2016 * math/Makefile (headers): Remove bits/nan.h.
2017 * bits/nan.h: Remove.
2018 * sysdeps/ieee754/bits/nan.h: Likewise.
2019 * sysdeps/mips/bits/nan.h: Likewise.
2021 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
2022 not include <bits/inf.h>.
2023 * math/Makefile (headers): Remove bits/inf.h.
2024 * bits/inf.h: Remove.
2025 * sysdeps/ieee754/bits/inf.h: Likewise.
2027 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
2028 bits/huge_vall.h or bits/huge_val_flt128.h.
2029 (HUGE_VAL): Define directly here.
2030 [__USE_ISOC99] (HUGE_VALF): Likewise.
2031 [__USE_ISOC99] (HUGE_VALL): Likewise.
2032 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2033 (HUGE_VAL_F128): Likewise.
2034 * math/Makefile (headers): Remove bits/huge_val.h,
2035 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
2036 * bits/huge_val.h: Remove.
2037 * bits/huge_val_flt128.h: Likewise.
2038 * bits/huge_valf.h: Likewise.
2039 * bits/huge_vall.h: Likewise.
2040 * sysdeps/ia64/bits/huge_vall.h: Likewise.
2041 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2042 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
2043 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
2044 * sysdeps/sh/bits/huge_val.h: Likewise.
2045 * sysdeps/sparc/bits/huge_vall.h: Likewise.
2046 * sysdeps/x86/bits/huge_vall.h: Likewise.
2048 2017-08-31 Florian Weimer <fweimer@redhat.com>
2050 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
2052 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
2054 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
2055 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2056 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
2057 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
2058 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2059 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2060 * elf/dl-libc.c (dlerror_run): Likewise.
2061 * elf/dl-load.c (add_name_to_object, decompose_rpath)
2062 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
2063 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
2064 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
2066 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
2067 (_dl_higher_prime_number, _dl_strtoul): Likewise.
2068 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
2069 * elf/dl-profile.c (_dl_start_profile): Likewise.
2070 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
2071 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
2073 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
2074 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
2075 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
2076 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
2077 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
2078 (_dl_allocate_tls_storage): Likewise.
2079 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
2080 (_dl_check_all_versions): Likewise.
2081 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2082 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
2083 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
2084 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2085 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
2086 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
2087 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
2088 internal_function from __dl_start.
2089 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
2090 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2091 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
2092 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
2093 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
2094 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
2095 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
2096 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
2097 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
2098 (_dl_next_ld_env_entry, _dl_important_hwcaps)
2099 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
2100 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
2101 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
2102 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
2103 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
2105 (struct rtld_global_ro): Remove internal_function from the
2106 _dl_lookup_symbol_x member.
2107 (_dl_symbol_value): Remove. No longer defined anywhere.
2108 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
2110 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2111 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2112 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
2113 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
2114 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
2115 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
2116 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
2117 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
2118 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
2119 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2120 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2121 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2123 2017-08-31 Florian Weimer <fweimer@redhat.com>
2125 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
2126 Remove internal_function.
2127 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
2129 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
2132 2017-08-31 Florian Weimer <fweimer@redhat.com>
2134 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
2135 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
2136 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
2138 2017-08-31 Florian Weimer <fweimer@redhat.com>
2140 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
2141 (__gai_enqueue_request): Remove internal_function.
2142 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
2143 (__gai_remove_request, __gai_notify, __gai_notify_only)
2144 (__gai_sigqueue): Likewise.
2145 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
2146 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2147 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
2148 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2151 2017-08-31 Florian Weimer <fweimer@redhat.com>
2153 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
2154 * include/dirent.h (__opendirat, __getdents, __getdents64)
2155 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
2156 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
2157 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2158 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2160 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
2162 2017-08-31 Florian Weimer <fweimer@redhat.com>
2164 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
2166 (GETCWD_RETURN_TYPE): Likewise.
2168 2017-08-31 Florian Weimer <fweimer@redhat.com>
2170 * include/time.h (__tz_compute, __strptime_internal): Remove
2172 * time/strptime_l.c (__strptime_internal): Likewise.
2173 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
2175 2017-08-31 Florian Weimer <fweimer@redhat.com>
2177 * iconv/gconv.c (__gconv): Remove internal_function.
2178 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
2179 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
2180 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
2181 (__gconv_release_cache): Likewise.
2182 * iconv/gconv_close.c (__gconv_close): Likewise.
2183 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
2184 (read_conf_file, __gconv_get_path): Likewise.
2185 * iconv/gconv_db.c (derivation_lookup, add_derivation)
2186 (__gconv_release_step, gen_steps, increment_counter)
2187 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
2188 (__gconv_close_transform, free_modules_db): Likewise.
2189 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
2191 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
2192 (__gconv_find_transform, __gconv_lookup_cache)
2193 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
2194 (__gconv_close_transform, __gconv_release_cache)
2195 (__gconv_loaded_object, __gconv_release_shlib)
2196 (__gconv_compare_alias): Likewise.
2197 * iconv/gconv_open.c (__gconv_open): Likewise.
2198 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
2199 * iconv/iconvconfig.c (add_module): Likewise.
2200 * intl/dcigettext.c (plural_lookup, guess_category_value)
2201 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
2202 * intl/eval-plural.h (plural_eval): Likewise.
2203 * intl/finddomain.c (_nl_find_domain): Likewise.
2204 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
2205 (_nl_load_domain, _nl_find_msg): Likewise.
2206 (internal_function): Remove definition.
2207 * intl/loadinfo.h (internal_function): Likewise.
2208 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
2210 * intl/localealias.c (internal_function): Remove definition.
2211 (read_alias_file): Remove internal_function.
2212 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
2213 * intl/plural-exp.h (internal_function): Remove definition.
2214 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
2216 * intl/plural.c: Regenerate.
2217 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
2218 * locale/coll-lookup.c (__collidx_table_lookup)
2219 (__collseq_table_lookup): Likewise.
2220 * locale/coll-lookup.h (__collidx_table_lookup)
2221 (__collseq_table_lookup): Likewise.
2222 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
2223 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2224 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
2225 (_nl_unload_locale): Likewise.
2226 * locale/localeinfo.h (struct __locale_data): Remove
2227 internal_function from cleanup member.
2228 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
2229 (_nl_remove_locale, _nl_load_locale_from_archive)
2230 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
2231 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
2232 (_nl_cleanup_time): Remove internal_function.
2233 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
2234 (_nl_parse_alt_digit): Likewise.
2235 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
2236 (_nl_select_era_entry): Likewise.
2237 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
2238 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
2239 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
2240 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
2241 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
2243 2017-08-31 Florian Weimer <fweimer@redhat.com>
2245 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
2246 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2247 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
2248 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
2250 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
2251 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
2252 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
2253 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2255 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
2257 2017-08-31 Florian Weimer <fweimer@redhat.com>
2259 * misc/getttyent.c (skip, value): Remove internal_function.
2260 * misc/syslog.c (openlog_internal): Likewise.
2261 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
2263 2017-08-31 Florian Weimer <fweimer@redhat.com>
2265 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
2266 (__nss_rewrite_field): Remove internal_function.
2267 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2268 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2269 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2270 * nss/nsswitch.c (nss_parse_file, nss_getline)
2271 (nss_parse_service_list, nss_new_service): Likewise.
2272 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
2273 * nss/valid_field.c (__nss_valid_field): Likewise.
2274 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2276 2017-08-31 Florian Weimer <fweimer@redhat.com>
2278 * malloc/arena.c (__malloc_fork_lock_parent)
2279 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
2280 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
2281 internal_function from defintions.
2282 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
2283 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
2284 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
2285 internal_function from declarations.
2286 * malloc/malloc.c (internal_function): Do not define.
2287 (mem2mem_check): Remove internal_function from declaration.
2288 (munmap_chunk, mremap_chunk): Remove internal_function.
2289 * malloc/mtrace.c (tr_where): Likewise.
2291 2017-08-31 Florian Weimer <fweimer@redhat.com>
2293 * include/rpc/pmap_clnt.h (__get_socket): Remove
2295 * sunrpc/auth_des.c (synchronize): Likewise.
2296 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
2297 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
2298 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
2299 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
2300 (key_call): Likewise.
2301 * sunrpc/pm_getport.c (__get_socket): Likewise.
2302 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
2303 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
2304 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
2305 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
2306 (invalidate): Likewise.
2307 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
2308 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
2309 (set_input_fragment, get_input_bytes): Likewise.
2311 2017-08-31 Florian Weimer <fweimer@redhat.com>
2313 * malloc/malloc.c (_int_free): Remove locked variable and related
2316 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
2319 * Makerules (build-module-helper-objlist): Filter out
2320 $(elf-objpfx)sofini.os.
2321 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
2324 2017-08-31 Florian Weimer <fweimer@redhat.com>
2326 * libio/fcloseall.c: Assume weak_alias is defined.
2327 * libio/feof.c: Likewise.
2328 * libio/fileno.c: Likewise.
2329 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
2330 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2332 (_IO_file_open): Call __open directly.
2333 (_IO_new_file_sync): Assume ESPIPE is defined.
2334 (_IO_file_seekoff_maybe_mmap): Call __read directly.
2335 (_IO_new_file_write): Call __write directly.
2336 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
2337 * libio/ftello64.c (__ftello64): Assume EIO is defined.
2338 * libio/genops.c: Assume _LIBC is defined.
2339 (save_for_backup): Remove internal_function.
2340 * libio/getc.c: Assume weak_alias is defined.
2341 * libio/getwc.c: Likewise.
2342 * libio/iofclose.c: Assume _LIBC is defined.
2343 * libio/iofdopen.c: Likewise.
2344 (_IO_fcntl): Remove macro definition.
2345 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
2346 Call __fcntl directly.
2347 * libio/iofflush.c: Assume weak_alias is defined.
2348 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
2350 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
2351 * libio/iofgets.c: Likewise.
2352 * libio/iofopen.c: Assume _LIBC is defined.
2353 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
2354 * libio/iofputs.c: Assume weak_alias is defined.
2355 * libio/iofread.c: Likewise.
2356 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
2357 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2358 * libio/ioftell.c: Assume weak_alias is defined.
2359 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
2360 * libio/iofwide.c: Assume _LIBC is defined.
2361 (_IO_fwide): Drop SHARED conditional because it is implied by
2363 * libio/iofwrite.c: Assume weak_alias is defined.
2364 * libio/iogetdelim.c: Likewise.
2365 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
2366 * libio/iogetwline.c (wmemcpy): Remove macro definition.
2367 (_IO_getwline): Call __wmemcpy directly.
2368 * libio/iopopen.c: Assume _LIBC is defined.
2369 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2370 (_IO_close): Remove macro definitions.
2371 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
2373 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
2375 * libio/ioputs.c: Assume weak_alias is defined.
2376 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
2377 * libio/iosetbuffer.c: Assume weak_alias is defined.
2378 * libio/iosetvbuf.c: Likewise.
2379 * libio/ioungetc.c: Likewise.
2380 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
2381 libc_hidden_def, libc_hidden_weak, NULL are defined.
2382 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
2383 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
2385 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2387 (_IO_old_file_init_internal): Drop SHARED conditional because it
2388 is implied by SHLIB_COMPAT.
2389 (_IO_old_file_fopen): Call __open directly.
2390 (_IO_old_file_sync): Assume ESPIPE is defined.
2391 (_IO_old_file_write): Call __write directly.
2392 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
2393 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
2394 Call __fcntl directly.
2395 * libio/oldiofgetpos.c: Assume weak_alias is defined.
2396 (_IO_old_fgetpos): Assume EIO is defined.
2397 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
2398 (_IO_old_fgetpos64): Assume EIO is defined.
2399 * libio/oldiofsetpos.c: Assume weak_alias is defined.
2400 (_IO_old_fsetpos): Assume EIO is defined.
2401 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
2402 (_IO_old_fsetpos64): Assume EIO is defined.
2403 * libio/oldiopopen.c: Assume _LIBC is defined.
2404 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2405 (_IO_close): Remove macro definitions.
2406 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
2408 (_IO_old_proc_close): Call __close, __waitpid directly.
2409 * libio/put.c: Assume weak_alias is defined.
2410 * libio/stdfiles.c: Assume _LIBC is defined.
2411 * libio/stdio.c: Likewise.
2412 * libio/wfileops.c: Likewise.
2413 (_IO_wfile_sync): Assume ESPIPE is defined.
2414 * libio/wgenops.c: Assume _LIBC is defined.
2415 (save_for_wbackup): Remove internal_function.
2417 2017-08-31 Florian Weimer <fweimer@redhat.com>
2419 * malloc/malloc.c (top_check): Change return type to void. Remove
2421 * malloc/hooks.c (top_check): Likewise.
2422 (malloc_check, realloc_check, memalign_check): Adjust.
2424 2017-08-30 Joseph Myers <joseph@codesourcery.com>
2427 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2428 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
2429 sigcontext and namespace requirements.
2430 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2431 * sysdeps/m68k/sys/ucontext.h: Likewise.
2432 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
2433 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2434 <bits/sigcontext.h>.
2435 (__ctx): Define earlier.
2436 (mcontext_t): Define structure contents rather than using struct
2438 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
2439 __glibc_reserved1 instead of __reserved.
2440 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2441 <bits/sigcontext.h>.
2442 (__ctx): Define earlier.
2443 (mcontext_t): Define structure contents rather than using struct
2445 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
2446 mcontext_t instead of struct sigcontext.
2447 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2448 <bits/sigcontext.h>.
2449 (__ctx): Define earlier.
2450 (mcontext_t): Define structure contents rather than using struct
2452 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2453 <bits/sigcontext.h>.
2454 (__ctx): Define earlier.
2455 (mcontext_t): Define structure contents rather than using struct
2457 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
2458 mcontext_t instead of struct sigcontext.
2459 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
2460 mcontext_t instead of struct sigcontext.
2461 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2462 <bits/sigcontext.h>.
2464 (struct __ia64_fpreg_mcontext): New type.
2465 (mcontext_t): Define structure contents rather than using struct
2467 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
2468 (uc_sigmask): Define using __ctx.
2469 (uc_stack): Likewise.
2470 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
2471 <bits/sigcontext.h>.
2472 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2473 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2474 <bits/sigcontext.h>.
2475 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
2476 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2477 <bits/sigcontext.h>.
2478 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2479 <bits/sigcontext.h>.
2480 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2481 <bits/sigcontext.h>.
2482 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2483 <bits/sigcontext.h>.
2484 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2485 <bits/sigcontext.h>.
2486 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2487 <bits/sigcontext.h>.
2488 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2489 <bits/sigcontext.h>.
2490 (__ctx): Define earlier.
2491 (mcontext_t): Define structure contents rather than using struct
2493 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2494 <bits/sigcontext.h>. Include <bits/types.h>.
2495 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
2496 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
2497 (test-xfail-XPG42/ucontext.h/conform): Likewise.
2498 (test-xfail-UNIX98/signal.h/conform): Likewise.
2499 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2500 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2501 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2502 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2503 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2504 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2505 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2506 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2507 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2509 2017-08-30 Florian Weimer <fweimer@redhat.com>
2511 * malloc/dynarray_emplace_enlarge.c
2512 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
2513 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2514 * malloc/tst-dynarray.c (test_long_overflow): New function.
2517 2017-08-30 Florian Weimer <fweimer@redhat.com>
2519 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
2520 (set_arena_corrupt): Remove definitions.
2521 (mtrim): Do not check for corrupt arena.
2522 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
2525 2017-08-30 Florian Weimer <fweimer@redhat.com>
2528 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
2530 (ptmalloc_init): Do not set or use check_action.
2531 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
2532 call to malloc_printerr. Remove return statement.
2533 (free_check): Likewise. Remove arena unlock.
2534 (top_check): Update comment. Adjust call to malloc_printerr.
2535 Remove heap repair code.
2536 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
2537 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
2538 (sysmalloc): Adjust call to malloc_printerr.
2539 (munmap_chunk, __libc_realloc): Likewise. Remove return
2541 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
2542 Remove errout label and corresponding gotos.
2543 (_int_free): Likewise. Remove arena unlock.
2544 (do_set_mallopt_check): Do not set check_action.
2545 (malloc_printerr): Adjust parameter list. Do not mark arena as
2547 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
2549 * manual/probes.texi (Memory Allocation Probes): Remove
2550 memory_mallopt_check_action.
2552 2017-08-30 Steve Ellcey <sellcey@cavium.com>
2554 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
2555 Use pointer to uint64_t instead of long int for sp.
2557 2017-08-30 Florian Weimer <fweimer@redhat.com>
2560 * malloc/malloc.c (malloc_printerr): Always terminate the process,
2561 without printing a backtrace. Do not leak any information in the
2563 * manual/memory.texi (Heap Consistency Checking): Update.
2564 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
2566 2017-08-30 Florian Weimer <fweimer@redhat.com>
2568 Do not scale NPTL tests with available number of CPUs.
2569 * nptl/tst-cond16.c (count): Set to constant value of 8.
2570 * nptl/tst-cond18.c (count): Likewise.
2572 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2575 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
2576 Define to take a second argument that is a macro that
2577 concatentates a suffix, not the suffix itself.
2578 (__CONCAT_d): New macro.
2579 (__CONCAT_f): Likewise.
2580 (__CONCAT_l): Likewise.
2582 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
2584 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
2587 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2588 Aurelien Jarno <aurelien@aurel32.net>
2589 Maciej W. Rozycki <macro@imgtec.com>
2592 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
2593 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
2594 `mips16-syscall6' and `mips16-syscall7'.
2595 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
2596 (CFLAGS-mips16-syscall7.c): Remove.
2597 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
2598 Remove `__mips16_syscall5', `__mips16_syscall6' and
2599 `__mips16_syscall7'.
2600 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
2601 (__mips16_syscall0): Rename `__mips16_syscall_return' to
2602 `__mips_syscall_return'.
2603 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
2604 (__mips16_syscall1): Likewise.
2605 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
2606 (__mips16_syscall2): Likewise.
2607 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
2608 (__mips16_syscall3): Likewise.
2609 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
2610 (__mips16_syscall4): Likewise.
2611 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
2613 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
2615 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
2617 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
2618 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
2619 `__mips16_syscall5'. Remove prototype.
2620 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
2621 `__mips16_syscall6'. Remove prototype.
2622 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
2623 `__mips16_syscall7'. Remove prototype.
2624 (__nomips16, __mips16_syscall_return): Move to...
2625 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2626 (__nomips16, __mips_syscall_return): ... here.
2627 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
2628 `__mips16_syscall_return' to `__mips_syscall_return'.
2629 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
2630 `internal_syscall##nr'.
2631 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
2632 `internal_syscall##nr'.
2633 (FORCE_FRAME_POINTER): Remove.
2634 (__mips_syscall5): New prototype.
2635 (internal_syscall5): Rewrite to call `__mips_syscall5'.
2636 (__mips_syscall6): New prototype.
2637 (internal_syscall6): Rewrite to call `__mips_syscall6'.
2638 (__mips_syscall7): New prototype.
2639 (internal_syscall7): Rewrite to call `__mips_syscall7'.
2640 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
2641 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
2642 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
2643 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
2644 (sysdep_routines): Add libc-do-syscall.
2645 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
2646 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
2648 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2651 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
2652 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
2653 (advise_stack_range): New function.
2654 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
2655 stack non required to advise_stack_range at allocatestack.c
2657 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2659 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
2661 2017-08-29 Florian Weimer <fweimer@redhat.com>
2664 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
2665 __end_fct. Mangle __end_fct after setting it to NULL.
2666 * iconv/Makefile (tests): Add tst-gconv-init-failure.
2667 (modules-names, modules-names-tests): Add
2668 tst-gconv-init-failure-mod.
2669 (gconv-modules): New target.
2670 (tst-gconv-init-failure-mod.so): Link against libsupport.
2671 (tst-gconv-init-failure): Depend on gconv-modules,
2672 tst-gconv-init-failure-mod.so.
2673 * iconv/tst-gconv-init-failure-mod.c: New file.
2674 * iconv/tst-gconv-init-failure.c: Likewise.
2675 * iconv/test-gconv-modules: Likewise.
2677 2017-08-29 Florian Weimer <fweimer@redhat.com>
2680 * iconv/gconv_db.c (free_derivation): Remove redundant
2682 (gen_steps): Unconditionally mangle __btowc_fct after
2684 (increment_counter): Likewise. Do not call init_fct for internal
2687 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2690 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2691 (_MSUF_): Remove macro.
2692 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
2694 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2695 (__REDIRFROM_X): New macro.
2696 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
2698 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
2699 (__REDIRTO_X): Likewise.
2700 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
2702 (__MATH_REDIRCALL_2): Likewise.
2703 (__MATH_REDIRCALL_INTERNAL): Likewise.
2704 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2705 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
2706 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
2707 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2708 * math/test-finite-macros.c: New file.
2709 * math/Makefile (tests): Add test-finite-macros.
2710 (CFLAGS-test-finite-macros.c): New variable.
2712 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
2713 Jeff Law <law@redhat.com>
2716 Mangle NULL pointers in iconv/gconv.
2717 * iconv/gconv_cache.c (find_module): Demangle init_fct before
2718 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
2719 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
2720 is non-NULL before demangling the end_fct. Check for NULL
2721 end_fct after demangling.
2722 (__gconv_release_step): Demangle the end_fct before checking
2723 it for NULL. Remove assert on __shlibc_handle != NULL.
2724 (gen_steps): Don't check btowc_fct for NULL before mangling.
2725 Demangle init_fct before checking for NULL.
2726 (increment_counter): Likewise.
2727 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
2728 end_fct for NULL before mangling.
2729 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
2732 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
2735 * locale/iso-639.def: add Morisyen.
2737 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2740 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
2741 (iszero): New C++ implementation that does not use
2742 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
2743 signaling nans are enabled, since __builtin_types_compatible_p
2744 is a C-only feature.
2745 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
2746 defined, include ieee754_float128.h for access to the union and
2747 member ieee854_float128.ieee.
2748 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
2749 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
2750 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2751 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
2752 options of test-math-zero on powerpc64le.
2754 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
2756 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2757 Change double to float.
2759 2017-08-28 Joseph Myers <joseph@codesourcery.com>
2761 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
2763 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
2764 conditional code; define contents only for [LIBM_SVID_COMPAT].
2766 2017-08-28 Florian Weimer <fweimer@redhat.com>
2768 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
2769 (abi-lp64_be-options): Remove.
2770 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
2771 (abi-hard-options): Likewise.
2772 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
2773 (abi-o32_hard-options, abi-o32_soft_2008-options)
2774 (abi-o32_hard_2008-options, abi-n32_soft-options)
2775 (abi-n32_hard-options, abi-n32_soft_2008-options)
2776 (abi-n32_hard_2008-options, abi-n64_soft-options)
2777 (abi-n64_hard-options, abi-n64_soft_2008-options)
2778 (abi-n64_hard_2008-options): Likewise.
2779 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
2780 (abi-64-v1-options, abi-64-v2-options): Likewise.
2781 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
2782 (abi-64-options): Likewise.
2783 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
2784 (abi-64-options): Likewise.
2785 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
2786 (abi-64-options): Likewise.
2787 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
2788 (abi-64-options, abi-x32-options): Likewise.
2790 2017-08-28 Florian Weimer <fweimer@redhat.com>
2792 Store supported list of SYS_* system calls in the source tree.
2793 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2794 (bits/syscall.h): Generate from list file.
2795 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
2796 [$(subdir) = misc] (tests): Add tst-syscall-list.
2797 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
2798 [$(subdir) = misc] (tst-syscall-list-macros.list)
2799 [$(subdir) = misc] (tst-syscall-list-nr.list)
2800 (tst-syscall-list-sys.list): Helper targets for new
2801 tst-syscall-list test.
2802 [$(subdir) = misc] (tst-syscall-list.out): Run test script
2803 tst-syscall-list.sh.
2804 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
2805 target. Do not include bits/syscall.d.
2806 [$(subdir) = misc] (generated): Do not update.
2807 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
2808 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
2809 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
2810 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
2812 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2814 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
2815 (tst-cxa_atexit, tst-on_exit): Likewise.
2816 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
2817 tst-cxa_atexit, and tst-on_exit.
2818 * stdlib/tst-atexit-common.c: New file.
2819 * stdlib/tst-atexit.c: New file.
2820 * stdlib/tst-at_quick_exit.c: New file.
2821 * stdlib/tst-cxa_atexit.c: New file.
2822 * stdlib/tst-on_exit.c: New file.
2824 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2826 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
2827 * mach/stack_chk_fail_local.c: New file.
2828 * hurd/stack_chk_fail_local.c: New file.
2829 * mach/Machrules ($(interface-library)-routines): Add
2830 stack_chk_fail_local.
2831 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
2832 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
2833 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
2834 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
2835 * hurd/Makefile (CFLAGS-hurdstartup.o,
2836 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2838 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
2840 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2841 (index_cpu_*, index_arch_*): Removed.
2843 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2845 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
2846 Use uint64_t instead of unsigned long.
2848 2017-08-25 Joseph Myers <joseph@codesourcery.com>
2850 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
2851 [__HAVE_DISTINCT_FLOAT128].
2853 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
2854 of <bits/math-finite.h>.
2855 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
2856 inclusion of <bits/math-finite.h>.
2857 * math/bits/math-finite.h (__REDIRTO_X): Do not define
2858 conditionally on [__MATH_DECLARING_LDOUBLE && defined
2859 __NO_LONG_DOUBLE_MATH].
2860 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
2861 (__MATH_REDIRCALL_2): Likewise.
2862 (__MATH_REDIRCALL_INTERNAL): Likewise.
2863 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2864 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
2865 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2879 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2880 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2881 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2882 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2884 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
2885 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
2886 w_sqrtf_compat-ppc32.
2888 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2890 * math/math.h [defined __cplusplus] (issignaling): In the long
2891 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
2892 is not defined. Call __issignaling, otherwise.
2894 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2896 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
2897 syscall definitions and replace __builtin_expect with __glibc_likely.
2898 * sysdeps/unix/syscall-template.S: Update comment about cancellable
2900 (SYSCALL_CANCELLABLE): Removedefinition
2901 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
2903 (PSEUDO_END): Likewise.
2904 [IS_IN (libpthread)] (CENABLE): Likewise.
2905 [IS_IN (libpthread)] (CDISABLE): Likewise.
2906 [IS_IN (libc)] (CENABLE): Likewise.
2907 [IS_IN (libc)] (CENABLE): Likewise.
2908 [IS_IN (librt)] (CDISABLE): Likewise.
2909 [IS_IN (librt)] (CDISABLE): Likewise.
2910 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2911 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
2913 (PSEUDO_END): Likewise.
2914 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
2915 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
2916 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2917 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2918 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2919 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2920 (CENABLE): Likewise.
2921 (CDISABLE): Likewise.
2922 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2923 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
2925 (PSEUDO_END): Likewise.
2926 [IS_IN (libpthread)] (CENABLE): Likewise.
2927 [IS_IN (libpthread)] (CDISABLE): Likewise.
2928 [IS_IN (libc)] (CENABLE): Likewise.
2929 [IS_IN (libc)] (CENABLE): Likewise.
2930 [IS_IN (librt)] (CDISABLE): Likewise.
2931 [IS_IN (librt)] (CDISABLE): Likewise.
2932 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2933 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
2935 (PSEUDO_END): Likewise.
2936 [IS_IN (libpthread)] (CENABLE): Likewise.
2937 [IS_IN (libpthread)] (CDISABLE): Likewise.
2938 [IS_IN (libc)] (CENABLE): Likewise.
2939 [IS_IN (libc)] (CENABLE): Likewise.
2940 [IS_IN (librt)] (CDISABLE): Likewise.
2941 [IS_IN (librt)] (CDISABLE): Likewise.
2942 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2943 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
2945 (PSEUDO_END): Likewise.
2946 [IS_IN (libpthread)] (CENABLE): Likewise.
2947 [IS_IN (libpthread)] (CDISABLE): Likewise.
2948 [IS_IN (libc)] (CENABLE): Likewise.
2949 [IS_IN (libc)] (CENABLE): Likewise.
2950 [IS_IN (librt)] (CDISABLE): Likewise.
2951 [IS_IN (librt)] (CDISABLE): Likewise.
2952 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2953 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
2955 (PSEUDO_END): Likewise.
2956 [IS_IN (libpthread)] (CENABLE): Likewise.
2957 [IS_IN (libpthread)] (CDISABLE): Likewise.
2958 [IS_IN (libc)] (CENABLE): Likewise.
2959 [IS_IN (libc)] (CENABLE): Likewise.
2960 [IS_IN (librt)] (CDISABLE): Likewise.
2961 [IS_IN (librt)] (CDISABLE): Likewise.
2962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2963 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
2965 (PSEUDO_END): Likewise.
2966 [IS_IN (libpthread)] (CENABLE): Likewise.
2967 [IS_IN (libpthread)] (CDISABLE): Likewise.
2968 [IS_IN (libc)] (CENABLE): Likewise.
2969 [IS_IN (libc)] (CENABLE): Likewise.
2970 [IS_IN (librt)] (CDISABLE): Likewise.
2971 [IS_IN (librt)] (CDISABLE): Likewise.
2972 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2973 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
2975 (PSEUDO_END): Likewise.
2976 [IS_IN (libpthread)] (CENABLE): Likewise.
2977 [IS_IN (libpthread)] (CDISABLE): Likewise.
2978 [IS_IN (libc)] (CENABLE): Likewise.
2979 [IS_IN (libc)] (CENABLE): Likewise.
2980 [IS_IN (librt)] (CDISABLE): Likewise.
2981 [IS_IN (librt)] (CDISABLE): Likewise.
2982 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2983 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
2985 (PSEUDO_END): Likewise.
2986 [IS_IN (libpthread)] (CENABLE): Likewise.
2987 [IS_IN (libpthread)] (CDISABLE): Likewise.
2988 [IS_IN (libc)] (CENABLE): Likewise.
2989 [IS_IN (libc)] (CENABLE): Likewise.
2990 [IS_IN (librt)] (CDISABLE): Likewise.
2991 [IS_IN (librt)] (CDISABLE): Likewise.
2992 (SINGLE_THREAD_P): Likewise.
2993 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
2995 (PSEUDO_END): Likewise.
2996 [IS_IN (libpthread)] (CENABLE): Likewise.
2997 [IS_IN (libpthread)] (CDISABLE): Likewise.
2998 [IS_IN (libc)] (CENABLE): Likewise.
2999 [IS_IN (libc)] (CENABLE): Likewise.
3000 [IS_IN (librt)] (CDISABLE): Likewise.
3001 [IS_IN (librt)] (CDISABLE): Likewise.
3002 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3003 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
3005 (PSEUDO_END): Likewise.
3006 [IS_IN (libpthread)] (CENABLE): Likewise.
3007 [IS_IN (libpthread)] (CDISABLE): Likewise.
3008 [IS_IN (libc)] (CENABLE): Likewise.
3009 [IS_IN (libc)] (CENABLE): Likewise.
3010 [IS_IN (librt)] (CDISABLE): Likewise.
3011 [IS_IN (librt)] (CDISABLE): Likewise.
3012 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3013 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
3014 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3015 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
3016 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
3018 (PSEUDO_END): Likewise.
3019 [IS_IN (libpthread)] (CENABLE): Likewise.
3020 [IS_IN (libpthread)] (CDISABLE): Likewise.
3021 [IS_IN (libc)] (CENABLE): Likewise.
3022 [IS_IN (libc)] (CENABLE): Likewise.
3023 [IS_IN (librt)] (CDISABLE): Likewise.
3024 [IS_IN (librt)] (CDISABLE): Likewise.
3025 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3026 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
3028 (PSEUDO_END): Likewise.
3029 [IS_IN (libpthread)] (CENABLE): Likewise.
3030 [IS_IN (libpthread)] (CDISABLE): Likewise.
3031 [IS_IN (libc)] (CENABLE): Likewise.
3032 [IS_IN (libc)] (CENABLE): Likewise.
3033 [IS_IN (librt)] (CDISABLE): Likewise.
3034 [IS_IN (librt)] (CDISABLE): Likewise.
3035 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3036 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
3038 (PSEUDO_END): Likewise.
3039 [IS_IN (libpthread)] (CENABLE): Likewise.
3040 [IS_IN (libpthread)] (CDISABLE): Likewise.
3041 [IS_IN (libc)] (CENABLE): Likewise.
3042 [IS_IN (libc)] (CENABLE): Likewise.
3043 [IS_IN (librt)] (CDISABLE): Likewise.
3044 [IS_IN (librt)] (CDISABLE): Likewise.
3045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3048 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
3049 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
3051 (PSEUDO_END): Likewise.
3052 [IS_IN (libpthread)] (CENABLE): Likewise.
3053 [IS_IN (libpthread)] (CDISABLE): Likewise.
3054 [IS_IN (libc)] (CENABLE): Likewise.
3055 [IS_IN (libc)] (CENABLE): Likewise.
3056 [IS_IN (librt)] (CDISABLE): Likewise.
3057 [IS_IN (librt)] (CDISABLE): Likewise.
3058 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3059 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
3061 (PSEUDO_END): Likewise.
3062 [IS_IN (libpthread)] (CENABLE): Likewise.
3063 [IS_IN (libpthread)] (CDISABLE): Likewise.
3064 [IS_IN (libc)] (CENABLE): Likewise.
3065 [IS_IN (libc)] (CENABLE): Likewise.
3066 [IS_IN (librt)] (CDISABLE): Likewise.
3067 [IS_IN (librt)] (CDISABLE): Likewise.
3068 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3070 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3072 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
3074 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3076 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3078 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3081 * string/stratcliff.c (do_test): Declare size, nchars, inner,
3082 middle and outer with size_t instead of int. Repleace %d and
3083 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
3084 "MAX (outer, nchars - 64)" to support unsigned outer and
3085 nchars. Also exit loop when outer == 0.
3087 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3089 * include/fcntl.h (__fcntl_nocancel): Remove definition.
3090 * include/signal.h (__sigsuspend_nocancel): Likewise.
3091 * include/time.h (__nanosleep_nocancel): Likewise.
3092 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
3093 * login/utmp_file.c: Include non cancellable syscall header.
3094 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
3097 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3099 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
3100 .byte sequences with AVX512F instructions.
3101 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
3102 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3103 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3104 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
3106 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3109 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
3110 Steve Ellcey <sellcey@cavium.com>
3112 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
3113 Use PTR_REG macro in cmp instruction.
3115 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3117 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
3118 Change the return type of the ifunc resolver to match the return
3119 type of the target function.
3121 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3123 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
3124 (preadv64): Likewise.
3125 (pwrite64(: Likewise.
3126 (pwritev64): Likewise.
3128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3129 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
3130 (LOAD_ARGS_0): Likewise.
3131 (LOAD_ARGS_1): Likewise.
3132 (LOAD_ARGS_2): Likewise.
3133 (LOAD_ARGS_3): Likewise.
3134 (LOAD_ARGS_4): Likewise.
3135 (LOAD_ARGS_5): Likewise.
3136 (LOAD_ARGS_6): Likewise.
3137 (LOAD_REGS_0): Likewise.
3138 (LOAD_REGS_1): Likewise.
3139 (LOAD_REGS_2): Likewise.
3140 (LOAD_REGS_3): Likewise.
3141 (LOAD_REGS_4): Likewise.
3142 (LOAD_REGS_5): Likewise.
3143 (LOAD_REGS_6): Likewise.
3144 (ASM_ARGS_0): Likewise.
3145 (ASM_ARGS_1): Likewise.
3146 (ASM_ARGS_2): Likewise.
3147 (ASM_ARGS_3): Likewise.
3148 (ASM_ARGS_4): Likewise.
3149 (ASM_ARGS_5): Likewise.
3150 (ASM_ARGS_6): Likewise.
3151 (LOAD_ARGS_TYPES_1): Likewise.
3152 (LOAD_ARGS_TYPES_2): Likewise.
3153 (LOAD_ARGS_TYPES_3): Likewise.
3154 (LOAD_ARGS_TYPES_4): Likewise.
3155 (LOAD_ARGS_TYPES_5): Likewise.
3156 (LOAD_ARGS_TYPES_6): Likewise.
3157 (LOAD_REGS_TYPES_1): Likewise.
3158 (LOAD_REGS_TYPES_2): Likewise.
3159 (LOAD_REGS_TYPES_3): Likewise.
3160 (LOAD_REGS_TYPES_4): Likewise.
3161 (LOAD_REGS_TYPES_5): Likewise.
3162 (LOAD_REGS_TYPES_6): Likewise.
3163 (TYPEFY): New define.
3165 (internal_syscall0): Likewise.
3166 (internal_syscall1): Likewise.
3167 (internal_syscall2): Likewise.
3168 (internal_syscall3): Likewise.
3169 (internal_syscall4): Likewise.
3170 (internal_syscall5): Likewise.
3171 (internal_syscall6): Likewise.
3172 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
3173 (INTERNAL_SYSCALL_NCS): Remove define.
3174 (internal_syscall1): Add define.
3176 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3178 * math/w_remainder_compat.c: Remove duplicate inclusion of
3180 * math/w_remainderf_compat.c: Likewise.
3181 * math/w_remainderl_compat.c: Likewise.
3183 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3187 2017-08-22 Joseph Myers <joseph@codesourcery.com>
3190 * math/tgmath.h (__floating_type): Simplify definitions.
3191 (__real_integer_type): New macro.
3192 (__complex_integer_type): Likewise.
3193 (__expr_is_real): Likewise.
3194 (__tgmath_real_type_sub): Update comment to describe handling of
3196 (__tgmath_complex_type_sub): New macro.
3197 (__tgmath_complex_type): Likewise.
3198 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3199 (__TGMATH_CF128): Use __expr_is_real.
3200 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
3202 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3203 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
3204 * math/gen-tgmath-tests.py (Type.create_type): Create complex
3207 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3209 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
3211 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
3213 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
3216 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
3217 nanosleep_not_cancel with __nanosleep_nocancel.
3218 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
3219 (__nanosleep_nocancel): New macro.
3220 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
3222 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
3224 (__nanosleep_nocancel): New prototype.
3226 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
3227 pause_not_cancel with __pause_nocancel.
3228 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
3229 (__pause_nocancel): New macro.
3230 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
3232 (__pause_nocancel): New prototype.
3233 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
3235 2017-08-22 Martin Sebor <msebor@redhat.com>
3237 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
3238 to return a pointer to the same type as the target function.
3240 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
3244 * include/printf.h (__printf_fphex): Add attribute_hidden.
3245 (__guess_grouping): New prototype.
3246 * stdio-common/printf_fp.c (__guess_grouping): Removed.
3247 * stdio-common/reg-printf.c (__register_printf_specifier): Add
3248 libc_hidden_proto and libc_hidden_def.
3249 * stdlib/strfmon_l.c (__guess_grouping): Removed.
3250 (__vstrfmon_l): Remove the third argument passed to
3253 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3255 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
3256 definition for issignaling that does not rely on __MATH_TG,
3257 since __MATH_TG uses __builtin_types_compatible_p, which is only
3258 available in C mode.
3259 (CFLAGS-test-math-issignaling.cc): New variable.
3260 * math/Makefile [CXX] (tests): Add test-math-issignaling.
3261 * math/test-math-issignaling.cc: New test for C++ implementation
3262 of type-generic issignaling.
3263 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
3264 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
3265 options of test-math-issignaling on powerpc64le.
3267 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
3269 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3271 (hidden_proto): Likewise.
3272 (hidden_tls_proto): Likewise.
3273 (__hidden_proto): Likewise.
3275 2017-08-22 Florian Weimer <fweimer@redhat.com>
3277 math: Statically link tests of internal functionality.
3278 * math/Makefile (tests): Remove atest-exp, atest-sincos,
3280 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
3281 (gmp-objs): Remove assignment.
3282 (atest-exp, atest-sincos, atest-exp2): Remove targets.
3284 2017-08-22 Joseph Myers <joseph@codesourcery.com>
3287 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
3289 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
3291 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
3294 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
3295 variable definitions above inclusion of ../Rules.
3297 2017-08-21 Joseph Myers <joseph@codesourcery.com>
3299 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
3300 case calling __builtin_unreachable.
3302 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3304 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
3306 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
3307 (__waitpid_nocancel): New macro.
3308 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
3310 (__waitpid_nocancel): Replace macro with a function.
3311 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
3314 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
3316 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
3317 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
3319 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
3320 __writev_nocancel_nostatus.
3321 (write_call_graph): Likewise.
3322 (write_bb_counts): Likewise.
3323 * resolv/herror.c (herror): Likewise.
3324 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
3326 (__writev_nocancel_nostatus): New macro.
3327 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
3329 (__writev_nocancel_nostatus): New function.
3331 2017-08-21 Joseph Myers <joseph@codesourcery.com>
3334 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3336 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3338 (hidden_proto): Likewise.
3339 (hidden_tls_proto): Likewise.
3340 (__hidden_proto): Likewise.
3343 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
3344 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3353 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
3354 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3355 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3356 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3358 GLIBC_2.0 sqrtl symbol.
3360 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
3361 [__USE_MISC] (_LIB_VERSION): Likewise.
3362 [__USE_MISC] (struct exception): Likewise.
3363 [__USE_MISC] (matherr): Likewise.
3364 [__USE_MISC] (DOMAIN): Likewise.
3365 [__USE_MISC] (SING): Likewise.
3366 [__USE_MISC] (OVERFLOW): Likewise.
3367 [__USE_MISC] (UNDERFLOW): Likewise.
3368 [__USE_MISC] (TLOSS): Likewise.
3369 [__USE_MISC] (PLOSS): Likewise.
3370 [__USE_MISC] (HUGE): Likewise.
3371 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
3372 * math/math-svid-compat.h: New file.
3373 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
3375 * include/math.h [!_ISOMAC] (__matherr): Remove.
3376 * manual/arith.texi (FP Exceptions): Do not document matherr.
3377 * math/Makefile (tests): Change test-matherr to test-matherr-3.
3378 (tests-internal): New variable.
3379 (install-lib): Do not add libieee.a.
3380 (non-lib.a): Likewise.
3381 (extra-objs): Do not add libieee.a and ieee-math.o.
3382 (CPPFLAGS-s_lib_version.c): Remove variable.
3383 ($(objpfx)libieee.a): Remove rule.
3384 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
3385 * math/ieee-math.c: Remove.
3386 * math/libm-test-support.c (matherr): Remove.
3387 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
3388 and license notices. Include <math-svid-compat.h> and
3390 (matherr): Undefine as macro. Use compat_symbol_reference.
3391 (_LIB_VERSION): Likewise.
3392 * math/test-matherr-2.c: New file.
3393 * math/test-matherr-3.c: Likewise.
3394 * sysdeps/generic/math_private.h (__kernel_standard): Remove
3396 (__kernel_standard_f): Likewise.
3397 (__kernel_standard_l): Likewise.
3398 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
3399 <math_private.h>. Include <math-svid-compat.h>.
3400 (_LIB_VERSION): Undefine as macro.
3401 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
3402 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
3403 [LIBM_SVID_COMPAT], use compat_symbol.
3404 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
3405 <math_private.h>. Include <math-svid-compat.h>.
3406 (matherr): Undefine as macro.
3407 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
3409 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
3410 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
3411 compat_symbol_reference.
3412 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
3413 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
3414 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
3415 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
3416 (MATHERR_D): Remove declaration.
3417 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
3418 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
3419 [LIBM_BUILD] (pmatherrf): Likewise.
3420 [LIBM_BUILD] (pmatherr): Likewise.
3421 [LIBM_BUILD] (pmatherrl): Likewise.
3424 (OVERFLOW): Likewise.
3425 (UNDERFLOW): Likewise.
3428 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
3429 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
3431 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
3432 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
3434 * math/lgamma-compat.h: Include <math-svid-compat.h>.
3435 * math/w_acos_compat.c: Likewise.
3436 * math/w_acosf_compat.c: Likewise.
3437 * math/w_acosh_compat.c: Likewise.
3438 * math/w_acoshf_compat.c: Likewise.
3439 * math/w_acoshl_compat.c: Likewise.
3440 * math/w_acosl_compat.c: Likewise.
3441 * math/w_asin_compat.c: Likewise.
3442 * math/w_asinf_compat.c: Likewise.
3443 * math/w_asinl_compat.c: Likewise.
3444 * math/w_atan2_compat.c: Likewise.
3445 * math/w_atan2f_compat.c: Likewise.
3446 * math/w_atan2l_compat.c: Likewise.
3447 * math/w_atanh_compat.c: Likewise.
3448 * math/w_atanhf_compat.c: Likewise.
3449 * math/w_atanhl_compat.c: Likewise.
3450 * math/w_cosh_compat.c: Likewise.
3451 * math/w_coshf_compat.c: Likewise.
3452 * math/w_coshl_compat.c: Likewise.
3453 * math/w_exp10_compat.c: Likewise.
3454 * math/w_exp10f_compat.c: Likewise.
3455 * math/w_exp10l_compat.c: Likewise.
3456 * math/w_exp2_compat.c: Likewise.
3457 * math/w_exp2f_compat.c: Likewise.
3458 * math/w_exp2l_compat.c: Likewise.
3459 * math/w_fmod_compat.c: Likewise.
3460 * math/w_fmodf_compat.c: Likewise.
3461 * math/w_fmodl_compat.c: Likewise.
3462 * math/w_hypot_compat.c: Likewise.
3463 * math/w_hypotf_compat.c: Likewise.
3464 * math/w_hypotl_compat.c: Likewise.
3465 * math/w_j0_compat.c: Likewise.
3466 * math/w_j0f_compat.c: Likewise.
3467 * math/w_j0l_compat.c: Likewise.
3468 * math/w_j1_compat.c: Likewise.
3469 * math/w_j1f_compat.c: Likewise.
3470 * math/w_j1l_compat.c: Likewise.
3471 * math/w_jn_compat.c: Likewise.
3472 * math/w_jnf_compat.c: Likewise.
3473 * math/w_jnl_compat.c: Likewise.
3474 * math/w_lgamma_main.c: Likewise.
3475 * math/w_lgamma_r_compat.c: Likewise.
3476 * math/w_lgammaf_main.c: Likewise.
3477 * math/w_lgammaf_r_compat.c: Likewise.
3478 * math/w_lgammal_main.c: Likewise.
3479 * math/w_lgammal_r_compat.c: Likewise.
3480 * math/w_log10_compat.c: Likewise.
3481 * math/w_log10f_compat.c: Likewise.
3482 * math/w_log10l_compat.c: Likewise.
3483 * math/w_log2_compat.c: Likewise.
3484 * math/w_log2f_compat.c: Likewise.
3485 * math/w_log2l_compat.c: Likewise.
3486 * math/w_log_compat.c: Likewise.
3487 * math/w_logf_compat.c: Likewise.
3488 * math/w_logl_compat.c: Likewise.
3489 * math/w_pow_compat.c: Likewise.
3490 * math/w_powf_compat.c: Likewise.
3491 * math/w_powl_compat.c: Likewise.
3492 * math/w_remainder_compat.c: Likewise.
3493 * math/w_remainderf_compat.c: Likewise.
3494 * math/w_remainderl_compat.c: Likewise.
3495 * math/w_scalb_compat.c: Likewise.
3496 * math/w_scalbf_compat.c: Likewise.
3497 * math/w_scalbl_compat.c: Likewise.
3498 * math/w_sinh_compat.c: Likewise.
3499 * math/w_sinhf_compat.c: Likewise.
3500 * math/w_sinhl_compat.c: Likewise.
3501 * math/w_sqrt_compat.c: Likewise.
3502 * math/w_sqrtf_compat.c: Likewise.
3503 * math/w_sqrtl_compat.c: Likewise.
3504 * math/w_tgamma_compat.c: Likewise.
3505 * math/w_tgammaf_compat.c: Likewise.
3506 * math/w_tgammal_compat.c: Likewise.
3507 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3508 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3509 * sysdeps/ieee754/k_standard.c: Likewise.
3510 * sysdeps/ieee754/k_standardf.c: Likewise.
3511 * sysdeps/ieee754/k_standardl.c: Likewise.
3512 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3513 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3514 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3515 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3516 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3517 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3518 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3519 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3520 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3525 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3527 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3528 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3530 2017-08-21 Florian Weimer <fweimer@redhat.com>
3533 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
3534 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
3535 Move before inclusion of ../Rules.
3537 2017-08-21 Florian Weimer <fweimer@redhat.com>
3540 * assert/assert.h (assert): Use static_cast (bool) for C++.
3541 Use the ternary operator in the warning branch for GNU C.
3542 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
3543 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
3544 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
3545 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
3546 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
3548 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3551 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3552 (__syscall_clock_gettime): Add attribute_hidden.
3553 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
3554 (__start_context): Likewise.
3556 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3558 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3560 (hidden_proto): Likewise.
3561 (hidden_tls_proto): Likewise.
3562 (__hidden_proto): Likewise.
3564 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3566 * include/libc-symbols.h (attribute_hidden): Enable hidden
3567 visibility in libc.a compiled with PIE.
3569 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3572 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
3573 Add attribute_hidden.
3575 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3578 * Makerules (all-nonlib): Add $(others-extras).
3579 * catgets/Makefile (others-extras): New.
3580 * elf/Makefile (others-extras): Likewise.
3581 * nss/Makefile (others-extras): Likewise.
3583 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3586 * csu/libc-start.c (__libc_multiple_libcs): Removed.
3587 * elf/dl-open.c: Include <libc-internal.h>.
3588 (__libc_multiple_libcs): Removed.
3589 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
3591 * include/libc-internal.h (__libc_multiple_libcs): New.
3592 * misc/sbrk.c: Include <libc-internal.h>.
3593 (__libc_multiple_libcs): Removed.
3595 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3598 * grp/initgroups.c (__nss_group_database): Removed.
3599 (__nss_initgroups_database): Likewise.
3600 * nscd/gai.c (__nss_hosts_database): Likewise.
3601 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
3602 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
3603 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
3604 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
3605 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
3606 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
3608 * nss/nsswitch.c (__nss_database_custom): Define only if
3609 USE_NSCD is defined.
3610 (__nss_configure_lookup): Use __nss_database_custom only if
3611 USE_NSCD is defined.
3612 * nss/nsswitch.h (__nss_database_custom): Declare only if
3613 USE_NSCD is defined. Add attribute_hidden.
3614 (__nss_setent): Add attribute_hidden.
3615 (__nss_endent): Likewise.
3616 (__nss_getent_r): Likewise.
3617 (__nss_getent): Likewise.
3618 (DEFINE_DATABASE): Declare __nss_##arg##_database.
3620 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3623 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
3624 libc_hidden_proto and libc_hidden_def.
3626 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3629 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
3630 Add libc_hidden_proto.
3631 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
3632 Add libc_hidden_def.
3634 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3637 * gmon/Makefile (routines): Remove bb_init_func and
3639 (elide-routines.os): Removed.
3640 * gmon/bb_exit_func.c: Likewise.
3641 * gmon/bb_init_func.c: Likewise.
3642 * include/sys/gmon.h (__bb): Likewise.
3643 (__bb_init_func): Likewise.
3644 (__bb_exit_func): Likewise.
3645 * sysdeps/alpha/bb_init_func.S: Likewise.
3647 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3649 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
3650 * include/setjmp.h (____longjmp_chk): Here. Add
3653 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
3656 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
3658 (__strspn_sse2): Likewise.
3660 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3662 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
3663 (close_not_cancel_no_status): Likewise.
3664 (__close_nocancel): New macro.
3665 (__close_nocancel_nostatus): Likewise.
3666 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
3668 (close_not_cancel): Likewise.
3669 (close_not_cancel_no_status): Likewise.
3670 (__close_nocancel): New prototype.
3671 (__close_nocancel_nostatus): New function.
3672 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
3673 * catgets/open_catalog.c (__open_catalog): Replace
3674 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
3675 * gmon/gmon.c (write_gmon): Likewise.
3676 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3677 * intl/loadmsgcat.c (close): Likewise.
3678 * io/ftw.c (open_dir_stream): Likewise.
3679 (ftw_startup): Likewise.
3680 * libio/fileops.c (_IO_file_open): Likewise.
3681 (_IO_file_close_mmap): Likewise.
3682 (_IO_file_close): Likewise.
3683 * libio/iopopen.c (_IO_dup2): Likewise.
3684 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3685 * locale/loadlocale.c (_nl_load_locale): Likewise.
3686 * login/utmp_file.c (pututline_file): Likewise.
3687 (endutent_file): Likewise.
3688 * misc/daemon.c (daemon): Likewise.
3689 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3690 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3691 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3692 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3693 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3694 * nscd/nscd_helper.c (open_socket): Likewise.
3695 (__nscd_open_socket): Likewise.
3696 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3697 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
3698 (__nscd_innetgr): Likewise.
3699 * nss/nss_db/db-open.c (internal_setent): Likewise.
3700 * resolv/res-close.c (__res_iclose): Likewise.
3701 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3702 * sysdeps/posix/closedir.c (__closedir): Likewise.
3703 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3704 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3705 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3706 (opendir_tail): Likewise.
3707 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3708 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
3709 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3710 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3711 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3712 (gethostid): Likewise.
3713 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3714 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3716 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3717 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
3718 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3719 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3721 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
3722 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
3723 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3725 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
3726 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3728 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3730 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3731 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3732 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3735 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
3736 (openat_not_cancel_3): Likewise.
3737 (openat64_not_cancel_3): Likewise).
3738 (openat_not_cancel_3): Likewise).
3739 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
3741 (openat_not_cancel_3): Likewise.
3742 (openat64_not_cancel): Likewise.
3743 (openat64_not_cancel_3): Likewise.
3744 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
3745 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
3746 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
3747 __open{64}_nocancel.
3748 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3749 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3750 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3752 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3755 * include/argz.h (__argz_create_sep): New function prototype.
3756 (__argz_append): Likewise.
3757 (__argz_add): Likewise.
3758 (__argz_add_sep): Likewise.
3759 (__argz_delete): Likewise.
3760 (__argz_insert): Likewise.
3761 (__argz_replace): Likewise.
3762 * string/argz.h (__argz_create_sep): Removed.
3763 (__argz_append): Likewise.
3764 (__argz_add): Likewise.
3765 (__argz_add_sep): Likewise.
3766 (__argz_delete): Likewise.
3767 (__argz_insert): Likewise.
3768 (__argz_replace): Likewise.
3770 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3772 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
3773 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
3774 (GNU_PROPERTY_STACK_SIZE): Likewie.
3775 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
3776 (GNU_PROPERTY_LOPROC): Likewise.
3777 (GNU_PROPERTY_HIPROC): Likewise.
3778 (GNU_PROPERTY_LOUSER): Likewise.
3779 (GNU_PROPERTY_HIUSER): Likewise.
3780 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
3781 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
3782 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
3783 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
3784 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
3785 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
3786 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
3787 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
3788 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
3789 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
3790 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
3791 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
3792 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
3793 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
3794 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
3795 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
3796 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
3797 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
3798 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
3799 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
3800 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
3801 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
3802 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
3804 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3806 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
3809 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3812 * math/math.h (isinf): Check if in C or C++ mode before using
3813 __builtin_types_compatible_p, since this is a C mode feature.
3815 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3817 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
3818 (__write_nocancel): New macro.
3819 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
3820 Rewrite as a function prototype.
3821 (write_not_cancel): Remove macro.
3822 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
3823 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
3824 (write_gmon): Likewise.
3825 * libio/fileops.c (_IO_new_file_write): Likewise.
3826 * login/utmp_file.c (pututline_file): Likewise.
3827 (updwtmp_file): Likewise.
3828 * stdio-common/psiginfo.c (psiginfo): Likewise.
3829 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3830 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3831 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3833 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3836 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
3837 (__read_nocancel): New macro.
3838 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3840 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
3842 (__read_nocancel): New prototype.
3843 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
3844 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
3845 with __read_nocancel.
3846 * intl/loadmsgcat.c (read): Likewise.
3847 * libio/fileops.c (_IO_file_read): Likewise.
3848 * locale/loadlocale.c (_nl_load_locale): Likewise.
3849 * login/utmp_file.c (getutent_r_file): Likewise.
3850 (internal_getut_r): Likewise.
3851 (getutline_r_file): Likewise.
3852 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3853 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3854 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3855 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3857 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
3858 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3859 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3861 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3863 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3865 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3867 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3869 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3872 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
3873 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
3876 2017-08-17 DJ Delorie <dj@redhat.com>
3878 * bug17079.c: Update to new test harness.
3879 * test-digits-dots.c: Likewise.
3880 * test-netdb.c: Likewise.
3881 * tst-field.c: Likewise.
3882 * tst-nss-getpwent.c: Likewise.
3883 * tst-nss-static.c: Likewise.
3884 * tst-nss-test1.c: Likewise.
3885 * tst-nss-test2.c: Likewise.
3886 * tst-nss-test3.c: Likewise.
3887 * tst-nss-test4.c: Likewise.
3888 * tst-nss-test5.c: Likewise.
3890 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3892 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
3893 (open_not_cancel_2): Likewise.
3894 (open_nocancel): New macro.
3895 (open64_nocancel): Likewise.
3896 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
3897 (open_not_cancel_2): Likewise.
3898 (__open_nocancel): New prototype.
3899 (__open64_nocancel): Likewise.
3900 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3902 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
3903 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
3904 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
3905 with __open_nocancel.
3906 * csu/check_fds.c (check_one_fd): Likewise.
3907 * gmon/gmon.c (write_gmon): Likewise.
3908 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
3909 * intl/loadmsgcat.c (open): Likewise.
3910 * libio/fileops.c (_IO_file_open): Likewise.
3911 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3912 * locale/loadlocale.c (_nl_load_locale): Likewise.
3913 * login/utmp_file.c (setutent_file): Likewise.
3914 * misc/daemon.c (daemon): Likewise.
3915 * nss/nss_db/db-open.c (internal_setent): Likewise.
3916 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3917 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
3918 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3919 (__opendir): Likewise.
3920 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3921 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3922 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3923 (gethostid): Likewise.
3924 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3925 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3928 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
3929 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3930 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3932 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3934 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3936 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3938 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3940 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3942 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3943 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3945 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
3947 * benchtests/bench-skeleton.c (main): Add support for
3948 latency benchmarking.
3949 * benchtests/scripts/bench.py: Add support for latency benchmarking.
3951 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
3953 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
3956 2017-08-17 Florian Weimer <fweimer@redhat.com>
3958 * include/sys/socket.h (__opensock): Remove internal_function.
3959 * socket/opensock.c (__opensock): Likewise.
3960 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
3962 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3965 * signal/bits/types/__sigval_t.h: New file.
3966 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
3967 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
3968 and define sigval_t using __sigval_t.
3969 * include/bits/types/__sigval_t.h: New file.
3970 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
3971 instead of <bits/types/__sigval_t.h>.
3972 (struct sigevent): Use __sigval_t instead of sigval_t.
3973 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
3974 instead of <bits/types/__sigval_t.h>.
3975 (siginfo_t): Use __sigval_t instead of sigval_t.
3976 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
3977 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3978 (struct sigevent): Use __sigval_t instead of sigval_t.
3979 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
3980 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3981 (siginfo_t): Use __sigval_t instead of sigval_t.
3982 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
3984 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3986 * NEWS: Remove "[Add new features here]" for 2.27.
3988 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3990 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
3993 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3995 * NEWS: Mention x86-64 FMA optimization.
3997 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4000 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4002 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
4003 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
4004 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
4006 2017-08-16 Andreas Schwab <schwab@suse.de>
4010 * elf/ldd.bash.in: Never run file directly.
4012 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
4015 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
4016 (L(SP_INF_0)): Likewise.
4018 2017-08-15 Florian Weimer <fweimer@redhat.com>
4020 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
4023 2017-08-15 Florian Weimer <fweimer@redhat.com>
4025 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
4026 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
4027 BROKEN_THREAD_SIGNALS code.
4028 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
4029 request_list): Remove caller_pid member used for
4030 BROKEN_THREAD_SIGNALS.
4031 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
4032 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4033 Remove BROKEN_THREAD_SIGNALS support.
4034 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4035 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
4037 2017-08-15 Florian Weimer <fweimer@redhat.com>
4039 * gmon/Makefile (tests): Add tst-gmon.
4040 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
4042 (tests-special): Add tst-gmon-prof.out.
4043 (tst-gmon.out): Depend on clean-tst-gmon-data.
4044 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
4045 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
4046 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
4048 * aclocal.m4 (GPROF): Set and substitute.
4049 * config.amke.in (GPROF): Set.
4050 * configure: Regenerate.
4052 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
4054 * elf/elf.h A (NT_PPC_TAR): New macro.
4055 (NT_PPC_PPR): Likewise.
4056 (NT_PPC_DSCR): Likewise.
4057 (NT_PPC_EBB): Likewise.
4058 (NT_PPC_PMU): Likewise.
4059 (NT_PPC_TM_CGPR): Likewise.
4060 (NT_PPC_TM_CFPR): Likewise.
4061 (NT_PPC_TM_CVMX): Likewise.
4062 (NT_PPC_TM_CVSX): Likewise.
4063 (NT_PPC_TM_SPR): Likewise.
4064 (NT_PPC_TM_CTAR): Likewise.
4065 (NT_PPC_TM_CPPR): Likewise.
4066 (NT_PPC_TM_CDSCR): Likewise.
4068 2017-08-15 Florian Weimer <fweimer@redhat.com>
4070 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
4071 regparm (2) instead of internal_function.
4072 (_MCOUNT_DECL): Adjust.
4074 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4076 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
4077 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4079 2017-08-14 Joseph Myers <joseph@codesourcery.com>
4081 * conform/data/sys/wait.h-data (si_value): Do not expect for
4084 2017-08-14 Florian Weimer <fweimer@redhat.com>
4087 NSS: Create stubs for accidentally exported lookup functions.
4088 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
4090 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
4091 (ether_hostton): Call __nss_ethers_lookup2 instead.
4092 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
4093 (ether_ntohost): Call __nss_ethers_lookup2 instead.
4094 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
4095 (setup): Call __nss_netgroup_lookup2 instead.
4096 * nss/Makefile (routines): Add compat-lookup.
4097 * nss/Versions (GLIBC_2.27): Add symbol version.
4098 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
4099 (DB_COMPAT_FCT): Remove.
4100 * nss/compat-lookup.c: New file.
4101 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
4103 * nss/service-lookup.c (NO_COMPAT): Remove definition.
4104 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
4105 (netname2user): Call __nss_publickey_lookup2 instead.
4106 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
4107 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
4110 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4111 Sergei Trofimovich <slyfox@inbox.ru>
4114 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
4115 Rename to MMAP2_PAGE_UNIT.
4116 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
4117 __OFF_T_MATCHES_OFF64_T is not defined.
4118 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
4120 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
4121 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
4123 2017-08-14 Florian Weimer <fweimer@redhat.com>
4125 i386: Do not set internal_function.
4126 * config.h.in (USE_REGPARMS, internal_function): Remove.
4127 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
4128 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
4130 2017-08-14 Florian Weimer <fweimer@redhat.com>
4132 * elf/dl-init.c (_dl_init): Remove internal_function.
4133 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
4134 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
4136 2017-08-14 Florian Weimer <fweimer@redhat.com>
4138 * elf/rtld.c (_dl_start): Remove internal_function.
4139 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
4142 2017-08-14 Florian Weimer <fweimer@redhat.com>
4144 * elf/dl-fini.c (_dl_fini): Remove internal_function
4145 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4147 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
4149 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
4150 (bit_cpu_SHSTK): Likewise.
4151 (index_cpu_IBT): Likewise.
4152 (index_cpu_SHSTK): Likewise.
4153 (reg_IBT): Likewise.
4154 (reg_SHSTK): Likewise.
4155 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4156 Handle index_cpu_IBT and index_cpu_SHSTK.
4158 2017-08-14 Mike FABIAN <mfabian@redhat.com>
4161 * po/fr.po: Fix spelling mistake.
4163 2017-08-13 Florian Weimer <fweimer@redhat.com>
4165 * elf/dl-addr.c (_dl_addr): Remove internal_function.
4166 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
4167 (_dl_catch_error, _dl_receive_error): Likewise.
4168 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
4169 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
4170 (_dl_deallocate_tls): Likewise.
4171 * include/dlfcn.h (_dl_addr): Likewise.
4172 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
4173 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
4174 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
4177 2017-08-13 Florian Weimer <fweimer@redhat.com>
4179 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
4180 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
4182 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
4184 2017-08-13 Florian Weimer <fweimer@redhat.com>
4186 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
4188 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
4189 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
4190 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
4191 internal_function from _dl_make_stack_executable_hook member.
4192 (_dl_make_stack_executable): Remove internal_function.
4193 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
4195 * sysdeps/unix/sysv/linux/dl-execstack.c
4196 (_dl_make_stack_executable): Likewise.
4198 2017-08-13 Florian Weimer <fweimer@redhat.com>
4200 * sysdeps/unix/sysv/linux/netlinkaccess.h
4201 (__netlink_assert_response): Remove internal_function.
4202 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4203 (__netlink_assert_response): Likewise.
4205 2017-08-13 Florian Weimer <fweimer@redhat.com>
4207 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
4209 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
4211 2017-08-13 Florian Weimer <fweimer@redhat.com>
4213 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
4215 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
4216 * inet/netgroup.h (__internal_setnetgrent)
4217 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
4218 * inet/getnetgrent_r.c (__internal_setnetgrent)
4219 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
4220 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
4221 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
4222 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
4223 * nss/nsswitch.h (db_lookup_function): Likewise.
4225 2017-08-13 Florian Weimer <fweimer@redhat.com>
4227 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
4228 Remove internal_function.
4229 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
4230 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
4231 message argument on the stack.
4232 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
4235 2017-08-12 Mike FABIAN <mfabian@redhat.com>
4237 Adapt test case data to the changes in the thousands
4241 * localedata/tst-langinfo.sh: Adapt test case data.
4242 * stdlib/tst-strfmon_l.c: Likewise.
4243 * stdlib/tst-strtod4.c: Likewise.
4244 * stdlib/tst-strtod5i.c: Likewise.
4246 2017-08-11 Florian Weimer <fweimer@redhat.com>
4249 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
4250 Suppress pedantic warning resulting from statement expression.
4251 (__ASSERT_FUNCTION): Add missing __extension__.
4253 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4255 * benchtests/bench-memmove-large.c: Print output in JSON
4257 * benchtests/bench-memmove.c: Likewise.
4259 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
4260 * benchtests/bench-memchr.c (do_one_test): Likewise.
4261 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
4262 * benchtests/bench-memcpy.c (do_one_test): Likewise.
4263 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
4264 * benchtests/bench-memmove.c (do_one_test): Likewise.
4265 * benchtests/bench-memset-large.c (do_one_test): Likewise.
4266 * benchtests/bench-memset.c (do_one_test): Likewise.
4267 * benchtests/bench-string.h (test_init): Remove memsets.
4269 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
4272 (Computing the Width of an Integer Data Type): Rename section to
4273 "Width of an Integer Type". Remove inaccurate statement regarding
4274 lack of C language facilities for determining width of integer
4275 types, and reorder content to improve flow and context of
4278 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
4280 * lang.texi (va_copy): Change standard from ISO to C99.
4281 (__va_copy): Add standard and header annotation.
4282 Update description for clarity of origins and current use.
4284 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4287 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
4288 xssqrtqp requires operands to be in Vector Registers
4289 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
4290 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
4291 (__ieee754_sqrtf128): Likewise.
4293 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4295 * sysdeps/aarch64/memcmp.S (memcmp):
4296 Rewrite of optimized memcmp.
4298 2017-08-10 Florian Weimer <fweimer@redhat.com>
4300 Introduce ld.so exceptions.
4301 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
4302 (_dl_exception_create, _dl_exception_create_format)
4303 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
4304 (_dl_catch_exception): Declare.
4305 (_dl_catch_error): Update comment.
4306 * elf/dl-error-skeleton.c (struct catch): Replace objname,
4307 errstring, malloced members with exception member.
4308 (_dl_out_of_memory): Remove.
4309 (fatal_error): New function, extracted from _dl_signal_error.
4310 (_dl_signal_exception, _dl_signal_cexception): New functions.
4311 (_dl_signal_error): Call _dl_exception_create to allocate an
4313 (_dl_catch_exception): New function, based on _dl_catch_error.
4314 (_dl_catch_error): Implement using _dl_catch_exception.
4315 * elf/dl-exception.c: New file.
4316 * elf/Makefile (dl-routines): Add dl-exception.
4317 (elide-routines.os): Likewise.
4318 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
4319 _dl_exception_create_format, _dl_exception_free.
4320 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
4321 _dl_signal_exception.
4322 * elf/dl-lookup.c (make_string): Remove.
4323 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
4324 _dl_signal_cexception, _dl_exception_free.
4325 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
4326 _dl_signal_exception.
4327 * elf/dl-sym.c (do_sym): Likewise.
4328 * elf/dl-version.c (make_string): Remove.
4329 (match_symbol): Use _dl_exception_create_format,
4330 _dl_signal_cexception, _dl_exception_free.
4331 (_dl_check_map_versions): Likewise.
4332 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
4333 _dl_catch_exception.
4334 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4335 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4336 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4337 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4338 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4339 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4340 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4341 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4343 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4350 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4351 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4352 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4354 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4356 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4358 2017-08-10 Florian Weimer <fweimer@redhat.com>
4360 * inet/net-internal.h (__inet6_scopeid_pton): Remove
4361 attribute_hidden, internal_function.
4362 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
4365 2017-08-10 Florian Weimer <fweimer@redhat.com>
4367 * malloc/malloc.c (get_max_fast): Reimplement as an inline
4368 function which calls __builtin_unreachable.
4370 2017-08-10 Mike FABIAN <mfabian@redhat.com>
4372 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
4373 Indian monetary formatting
4374 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
4377 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
4379 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
4380 Fix typo in comment.
4383 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
4384 PTRACE_SEIZE_DEVEL): Remove.
4385 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
4386 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4391 2017-08-09 Joseph Myers <joseph@codesourcery.com>
4393 * posix/bits/types.h (__qaddr_t): Remove.
4396 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
4397 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4399 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
4400 (ucontext_t): Use __ctx with uc_flags.
4401 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
4403 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4405 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
4406 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4408 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
4409 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4411 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
4413 (ucontext_t): Use __ctx with uc_flags.
4414 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
4415 (ucontext_t): Use __ctx with uc_flags.
4416 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
4417 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
4418 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
4419 (ucontext_t): Use __ctx with uc_flags.
4420 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
4421 undefine further down.
4422 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4424 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
4425 undefine further down.
4426 (ucontext_t): Use __ctx with uc_flags.
4427 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
4428 undefine further down.
4429 (ucontext_t): Use __ctx with uc_flags.
4430 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
4431 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
4432 Rename uc_pad to __glibc_reserved1.
4433 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
4434 undefine further down.
4435 (ucontext_t): Use __ctx with uc_flags.
4436 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
4438 (ucontext_t): Use __ctx with uc_flags.
4439 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
4440 __ctx with uc_flags.
4441 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
4442 (ucontext_t): Use __ctx with uc_flags.
4443 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
4444 __ctx with uc_flags.
4446 2017-08-09 Florian Weimer <fweimer@redhat.com>
4449 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
4450 before early return.
4452 2017-08-09 Andreas Schwab <schwab@suse.de>
4455 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
4459 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
4460 tst-compat-forwarder.
4461 (modules-names): Add tst-compat-forwarder-mod.
4462 ($(objpfx)tst-compat-forwarder): Depend on
4463 $(objpfx)tst-compat-forwarder-mod.so.
4464 * nptl/tst-compat-forwarder.c: New file.
4465 * nptl/tst-compat-forwarder-mod.c: New file.
4467 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
4469 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
4472 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
4473 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4475 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
4477 (__libc_ifunc_impl_list): Add __memcpy_falkor.
4478 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4479 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
4480 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4482 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
4485 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4488 * manual/setjmp.texi (getcontex): Document uc_stack value
4489 compatibility differences.
4491 2017-08-08 Joseph Myers <joseph@codesourcery.com>
4493 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
4494 (old_malloc_hook): Likewise.
4495 (old_memalign_hook): Likewise.
4496 (old_realloc_hook): Likewise.
4497 (struct hdr): Likewise.
4499 (freehook): Likewise.
4500 (mallochook): Likewise.
4501 (memalignhook): Likewise.
4502 (reallochook): Likewise.
4504 * malloc/mtrace.c (mallwatch): Likewise.
4505 (tr_old_free_hook): Likewise.
4506 (tr_old_malloc_hook): Likewise.
4507 (tr_old_realloc_hook): Likewise.
4508 (tr_old_memalign_hook): Likewise.
4509 (tr_where): Likewise.
4510 (lock_and_info): Likewise.
4511 (tr_freehook): Likewise.
4512 (tr_mallochook): Likewise.
4513 (tr_reallochook): Likewise.
4514 (tr_memalignhook): Likewise.
4515 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
4516 * misc/mmap.c (__mmap): Likewise.
4517 * misc/mmap64.c (__mmap64): Likewise.
4518 * misc/mprotect.c (__mprotect): Likewise.
4519 * misc/msync.c (msync): Likewise.
4520 * misc/munmap.c (__munmap): Likewise.
4521 * posix/posix_madvise.c (posix_madvise): Likewise.
4522 * socket/send.c (__send): Likewise.
4523 * socket/sendto.c (__sendto): Likewise.
4524 * socket/setsockopt.c (__setsockopt): Likewise.
4525 * string/memcmp.c (__ptr_t): Remove macro.
4526 (MEMCMP): Use void * instead of ptr_t.
4527 * string/memrchr.c (__ptr_t): Remove macro.
4528 (__memrchr): Use void * instead of ptr_t.
4529 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
4530 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4531 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4532 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
4533 * sysdeps/mach/msync.c (msync): Likewise.
4534 * sysdeps/mach/munmap.c (__munmap): Likewise.
4535 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
4537 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4538 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
4539 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
4540 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
4541 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4542 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4543 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
4544 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
4546 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4547 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
4548 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
4549 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
4550 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
4551 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
4552 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
4553 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
4554 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
4556 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
4557 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
4558 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
4559 (MEMCMP): Use void * instead of ptr_t.
4560 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
4561 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
4563 2017-08-08 Florian Weimer <fweimer@redhat.com>
4565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
4568 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
4571 * csu/libc-tls.c: Include <startup.h> first.
4572 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
4573 * elf/dl-tunables.c: Include <startup.h> first.
4574 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
4575 * sysdeps/generic/startup.h: New file.
4576 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
4577 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
4578 (I386_USE_SYSENTER): New. Defined to 0.
4580 2017-08-08 Andreas Schwab <schwab@suse.de>
4583 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
4584 * nptl/pt-system.c (system): Likewise.
4586 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4589 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
4591 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
4592 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
4593 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
4594 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
4595 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4596 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4597 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4599 2017-08-07 Joseph Myers <joseph@codesourcery.com>
4602 * bits/sigaction.h (struct sigaction): Define sa_handler and
4603 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
4604 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4605 [__USE_XOPEN_EXTENDED].
4606 (SA_RESTART): Likewise.
4607 (SA_NODEFER): Likewise.
4608 (SA_RESETHAND): Likewise.
4609 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
4610 (struct sigaction): Define sa_handler and sa_sigaction using union
4611 also for [__USE_XOPEN_EXTENDED].
4612 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4613 [__USE_XOPEN_EXTENDED].
4614 (SA_RESTART): Likewise.
4615 (SA_NODEFER): Likewise.
4616 (SA_RESETHAND): Likewise.
4617 * sysdeps/unix/sysv/linux/bits/sigaction.h
4618 (struct sigaction): Define sa_handler and sa_sigaction using union
4619 also for [__USE_XOPEN_EXTENDED].
4620 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4621 [__USE_XOPEN_EXTENDED].
4622 (SA_RESTART): Likewise.
4623 (SA_NODEFER): Likewise.
4624 (SA_RESETHAND): Likewise.
4625 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
4626 (struct sigaction): Define sa_handler and sa_sigaction using union
4627 also for [__USE_XOPEN_EXTENDED].
4628 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4629 [__USE_XOPEN_EXTENDED].
4630 (SA_RESTART): Likewise.
4631 (SA_NODEFER): Likewise.
4632 (SA_RESETHAND): Likewise.
4633 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
4634 (struct sigaction): Define sa_handler and sa_sigaction using union
4635 also for [__USE_XOPEN_EXTENDED].
4636 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4637 [__USE_XOPEN_EXTENDED].
4638 (SA_RESTART): Likewise.
4639 (SA_NODEFER): Likewise.
4640 (SA_RESETHAND): Likewise.
4641 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4642 (struct sigaction): Define sa_handler and sa_sigaction using union
4643 also for [__USE_XOPEN_EXTENDED].
4644 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4645 [__USE_XOPEN_EXTENDED].
4646 (SA_RESTART): Likewise.
4647 (SA_NODEFER): Likewise.
4648 (SA_RESETHAND): Likewise.
4649 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4650 (struct sigaction): Define sa_handler and sa_sigaction using union
4651 also for [__USE_XOPEN_EXTENDED].
4652 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4653 [__USE_XOPEN_EXTENDED].
4654 (SA_RESTART): Likewise.
4655 (SA_NODEFER): Likewise.
4656 (SA_RESETHAND): Likewise.
4657 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4658 (struct sigaction): Define sa_handler and sa_sigaction using union
4659 also for [__USE_XOPEN_EXTENDED].
4660 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4661 [__USE_XOPEN_EXTENDED].
4662 (SA_RESTART): Likewise.
4663 (SA_NODEFER): Likewise. Define directly rather than as alias.
4664 (SA_RESETHAND): Likewise.
4665 (SA_INTERRUPT): Define only for [__USE_MISC].
4666 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
4667 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
4669 (SA_STACK): Define only for [__USE_MISC].
4670 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
4671 (struct sigaction): Define sa_handler and sa_sigaction using union
4672 also for [__USE_XOPEN_EXTENDED].
4673 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4674 [__USE_XOPEN_EXTENDED].
4675 (SA_RESTART): Likewise.
4676 (SA_NODEFER): Likewise.
4677 (SA_RESETHAND): Likewise.
4678 (SA_NOPTRACE): Define only for [__USE_MISC].
4680 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
4681 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
4682 (struct catalog_info): Likewise.
4683 * inet/htontest.c (lo): Likewise.
4685 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4686 * inet/inet_net.c (inet_network): Likewise.
4687 * inet/inet_netof.c (inet_netof): Likewise.
4688 * inet/rcmd.c (__ivaliduser): Likewise.
4689 (iruserok): Likewise.
4690 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
4691 * locale/programs/locale-spec.c (locale_special): Likewise.
4692 * nis/nis_findserv.c (struct findserv_req): Likewise.
4693 (__nis_findfastest_with_timeout): Likewise.
4694 * nss/test-netdb.c (test_network): Likewise.
4695 * resolv/inet_neta.c (inet_neta): Likewise.
4696 * resolv/ns_date.c (ns_datetosecs): Likewise.
4697 (SECS_PER_DAY): Likewise.
4698 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
4700 * resolv/res_comp.c (__putlong): Likewise.
4701 (__putshort): Likewise.
4702 (_getlong): Likewise.
4703 (_getshort): Likewise.
4704 * resolv/res_debug.c (p_time): Likewise.
4705 (precsize_ntoa): Likewise.
4706 (precsize_aton): Likewise.
4707 (latlon2ul): Likewise.
4708 (loc_aton): Likewise.
4709 (loc_ntoa): Likewise.
4710 * resolv/res_hconf.c (struct netaddr): Likewise.
4711 (_res_hconf_reorder_addrs): Likewise.
4712 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4713 (clnttcp_control): Likewise.
4714 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4715 (clntudp_control): Likewise.
4716 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4717 (clntunix_control): Likewise.
4718 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4719 * sunrpc/rpc/auth.h (union des_block): Likewise.
4720 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
4721 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
4722 (xdrrec_create): Likewise.
4723 (xdrrec_endofrecord): Likewise.
4724 (flush_out): Likewise.
4725 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
4726 (xdrstdio_putlong): Likewise.
4727 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
4730 * misc/sys/cdefs.h (__long_double_t): Remove.
4731 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
4732 instead of __long_double_t,
4733 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
4735 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4737 * benchtests/scripts/compare_strings.py: Avoid display error when
4738 running on a text terminal.
4740 * benchtests/scripts/compare_strings.py (main): Add an
4741 optional -base option.
4742 (process_results): New argument base_func.
4744 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
4746 * benchtests/bench-memcpy-large.c (test_name): Likewise.
4747 * benchtests/bench-memcpy-random.c (test_name): Likewise.
4749 2017-08-07 Andreas Schwab <schwab@suse.de>
4751 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
4752 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4753 * intl/Makefile ($(objpfx)tst-gettext.out)
4754 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
4755 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
4756 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4757 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4758 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
4759 * posix/Makefile ($(objpfx)globtest.out)
4760 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
4761 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
4762 ($(objpfx)tst-printf.out): Likewise.
4763 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
4764 ($(objpfx)tst-setcontext3.out): Likewise.
4766 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
4768 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4769 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
4770 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
4771 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
4772 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
4774 (CFLAGS-doasin-fma.c): New.
4775 (CFLAGS-dosincos-fma.c): Likewise.
4776 (CFLAGS-e_asin-fma.c): Likewise.
4777 (CFLAGS-e_atan2-fma.c): Likewise.
4778 (CFLAGS-e_exp-fma.c): Likewise.
4779 (CFLAGS-e_log-fma.c): Likewise.
4780 (CFLAGS-e_pow-fma.c): Likewise.
4781 (CFLAGS-halfulp-fma.c): Likewise.
4782 (CFLAGS-mpa-fma.c): Likewise.
4783 (CFLAGS-mpatan-fma.c): Likewise.
4784 (CFLAGS-mpatan2-fma.c): Likewise.
4785 (CFLAGS-mpexp-fma.c): Likewise.
4786 (CFLAGS-mplog-fma.c): Likewise.
4787 (CFLAGS-mpsqrt-fma.c): Likewise.
4788 (CFLAGS-mptan-fma.c): Likewise.
4789 (CFLAGS-s_atan-fma.c): Likewise.
4790 (CFLAGS-sincos32-fma.c): Likewise.
4791 (CFLAGS-slowexp-fma.c): Likewise.
4792 (CFLAGS-slowpow-fma.c): Likewise.
4793 (CFLAGS-s_sin-fma.c): Likewise.
4794 (CFLAGS-s_tan-fma.c): Likewise.
4795 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
4796 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
4797 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
4798 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
4799 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
4800 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
4801 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
4802 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
4803 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
4804 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
4805 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
4806 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
4807 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
4808 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
4809 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
4810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
4811 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
4812 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
4813 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
4814 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
4815 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
4816 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4817 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
4818 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
4819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4820 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4821 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4822 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
4823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4827 2017-08-04 Joseph Myers <joseph@codesourcery.com>
4829 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
4830 (min_of_type_f): New macro.
4831 (min_of_type_): Likewise.
4832 (min_of_type_l): Likewise.
4833 (min_of_type_f128): Likewise.
4834 (min_of_type): Define using __MATH_TG and taking an expression
4836 (math_check_force_underflow): Pass expression instead of type to
4838 (math_check_force_underflow_nonneg): Likewise.
4840 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4842 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
4843 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
4844 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
4846 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4849 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
4850 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
4851 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
4852 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
4853 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
4854 memcpy_chk-nonshared, mempcpy_chk-nonshared,
4855 memmove_chk-nonshared and memset_chk-nonshared
4856 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
4857 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
4858 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
4859 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
4860 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
4861 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
4862 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
4863 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
4864 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
4865 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
4866 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
4867 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
4868 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
4869 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
4870 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
4871 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
4873 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
4875 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
4876 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
4877 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
4878 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
4879 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
4881 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
4882 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
4883 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
4884 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
4885 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
4886 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
4887 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
4889 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
4892 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
4894 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
4895 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
4896 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
4898 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
4900 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
4902 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
4903 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
4904 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
4906 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
4908 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
4909 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
4910 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
4911 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
4912 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
4913 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
4914 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
4916 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
4918 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
4919 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
4920 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
4921 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
4922 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
4923 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
4924 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
4925 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4926 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
4927 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4965 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4967 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
4968 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
4969 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
4970 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
4971 svml_d_log2_core-sse2, svml_d_log4_core-sse,
4972 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
4973 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
4974 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
4975 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
4976 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
4977 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
4978 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
4979 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
4980 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
4981 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
4982 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
4983 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
4984 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
4985 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
4986 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
4987 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
4988 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
4989 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
4990 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
4991 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
4992 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
4993 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
4994 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
4995 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
4996 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
4997 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
4998 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
4999 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
5000 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
5001 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
5002 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
5003 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
5004 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
5005 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
5006 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
5007 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
5008 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
5009 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
5010 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
5011 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
5012 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
5013 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
5014 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
5015 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
5016 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
5017 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
5018 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
5019 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
5020 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
5021 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
5022 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
5023 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
5024 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
5025 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
5027 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
5028 Don't include <sysdep.h> nor <init-arch.h>.
5029 (_ZGVbN2v_cos): Removed.
5030 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
5032 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
5033 Don't include <sysdep.h> nor <init-arch.h>.
5034 (_ZGVdN4v_cos): Removed.
5035 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
5037 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
5038 Don't include <sysdep.h> nor <init-arch.h>.
5039 (_ZGVeN8v_cos): Removed.
5040 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
5042 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
5043 Don't include <sysdep.h> nor <init-arch.h>.
5044 (_ZGVbN2v_exp): Removed.
5045 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
5047 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
5048 Don't include <sysdep.h> nor <init-arch.h>.
5049 (_ZGVdN4v_exp): Removed.
5050 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
5052 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
5053 Don't include <sysdep.h> nor <init-arch.h>.
5054 (_ZGVeN8v_exp): Removed.
5055 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
5057 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
5058 Don't include <sysdep.h> nor <init-arch.h>.
5059 (_ZGVbN2v_log): Removed.
5060 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
5062 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
5063 Don't include <sysdep.h> nor <init-arch.h>.
5064 (_ZGVdN4v_log): Removed.
5065 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
5067 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
5068 Don't include <sysdep.h> nor <init-arch.h>.
5069 (_ZGVeN8v_log): Removed.
5070 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
5072 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
5073 Don't include <sysdep.h> nor <init-arch.h>.
5074 (_ZGVbN2vv_pow): Removed.
5075 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
5077 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
5078 Don't include <sysdep.h> nor <init-arch.h>.
5079 (_ZGVdN4vv_pow): Removed.
5080 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
5082 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
5083 Don't include <sysdep.h> nor <init-arch.h>.
5084 (_ZGVeN8vv_pow): Removed.
5085 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
5087 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
5088 Don't include <sysdep.h> nor <init-arch.h>.
5089 (_ZGVbN2v_sin): Removed.
5090 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
5092 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
5093 Don't include <sysdep.h> nor <init-arch.h>.
5094 (_ZGVbN4v_sin): Removed.
5095 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
5097 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
5098 Don't include <sysdep.h> nor <init-arch.h>.
5099 (_ZGVbN8v_sin): Removed.
5100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
5102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
5103 Don't include <sysdep.h> nor <init-arch.h>.
5104 (_ZGVbN2vvv_sincos): Removed.
5105 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
5107 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
5108 Don't include <sysdep.h> nor <init-arch.h>.
5109 (_ZGVdN4vvv_sincos): Removed.
5110 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
5112 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
5113 Don't include <sysdep.h> nor <init-arch.h>.
5114 (_ZGVeN8vvv_sincos): Removed.
5115 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
5117 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
5118 Don't include <sysdep.h> nor <init-arch.h>.
5119 (_ZGVeN16v_cosf): Removed.
5120 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
5122 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
5123 Don't include <sysdep.h> nor <init-arch.h>.
5124 (_ZGVbN4v_cosf): Removed.
5125 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
5127 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
5128 Don't include <sysdep.h> nor <init-arch.h>.
5129 (_ZGVdN8v_cosf): Removed.
5130 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
5132 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
5133 Don't include <sysdep.h> nor <init-arch.h>.
5134 (_ZGVeN16v_expf): Removed.
5135 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
5137 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
5138 Don't include <sysdep.h> nor <init-arch.h>.
5139 (_ZGVbN4v_expf): Removed.
5140 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
5142 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
5143 Don't include <sysdep.h> nor <init-arch.h>.
5144 (_ZGVdN8v_expf): Removed.
5145 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
5147 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
5148 Don't include <sysdep.h> nor <init-arch.h>.
5149 (_ZGVeN16v_logf): Removed.
5150 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
5152 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
5153 Don't include <sysdep.h> nor <init-arch.h>.
5154 (_ZGVbN4v_logf): Removed.
5155 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
5157 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
5158 Don't include <sysdep.h> nor <init-arch.h>.
5159 (_ZGVdN8v_logf): Removed.
5160 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
5162 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
5163 Don't include <sysdep.h> nor <init-arch.h>.
5164 (_ZGVeN16vv_powf): Removed.
5165 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
5167 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
5168 Don't include <sysdep.h> nor <init-arch.h>.
5169 (_ZGVbN4vv_powf): Removed.
5170 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
5172 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
5173 Don't include <sysdep.h> nor <init-arch.h>.
5174 (_ZGVdN8vv_powf): Removed.
5175 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
5177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
5178 Don't include <sysdep.h> nor <init-arch.h>.
5179 (_ZGVeN16vvv_sincosf): Removed.
5180 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
5182 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
5183 Don't include <sysdep.h> nor <init-arch.h>.
5184 (_ZGVbN4vvv_sincosf): Removed.
5185 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
5187 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
5188 Don't include <sysdep.h> nor <init-arch.h>.
5189 (_ZGVdN8vvv_sincosf): Removed.
5190 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
5192 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
5193 Don't include <sysdep.h> nor <init-arch.h>.
5194 (_ZGVeN16v_sinf): Removed.
5195 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
5197 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
5198 Don't include <sysdep.h> nor <init-arch.h>.
5199 (_ZGVbN4v_sinf): Removed.
5200 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
5202 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
5203 Don't include <sysdep.h> nor <init-arch.h>.
5204 (_ZGVdN8v_sinf): Removed.
5206 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5208 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5209 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
5210 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
5211 s_rint-sse4_1 and s_rintf-sse4_1.
5212 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
5213 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5214 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5215 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5216 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5217 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
5218 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
5219 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5220 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5221 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
5222 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
5223 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5225 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
5226 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
5227 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5229 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
5230 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
5231 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5233 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
5234 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
5235 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5236 (__floorf): Removed.
5237 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
5238 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
5239 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5240 (__nearbyint): Removed.
5241 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
5242 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
5243 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5244 (__nearbyintf): Removed.
5245 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
5246 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
5247 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5249 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
5250 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
5251 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5254 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5256 * sysdeps/i386/start.S (_start): Check Check PIC instead of
5257 SHARED. Avoid dynamic relocation against main in static PIE.
5259 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5262 * elf/Makefile (CFLAGS-tst-prelink.c): New.
5263 (LDFLAGS-tst-prelink): Likewise.
5265 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5267 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
5268 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
5269 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
5270 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5271 (INTERNAL_SYSCALL_NCS): Likewise.
5272 (LOADARGS_1): Likewise.
5273 (LOADARGS_5): Likewise.
5274 (RESTOREARGS_1): Likewise.
5275 (RESTOREARGS_5): Likewise.
5277 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5279 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
5280 (MEMPCPY_SYMBOL): Likewise.
5281 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5282 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
5283 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
5285 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5286 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5288 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
5289 (__hidden_ver1): Don't use in libc.a.
5290 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5291 (__mempcpy): Don't create a weak alias in libc.a.
5292 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
5294 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
5295 (__hidden_ver1): Don't use in libc.a.
5297 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5299 * config.make.in (have-insert): New.
5300 * configure.ac (libc_cv_insert): New. Set to yes if linker
5301 supports INSERT in linker script.
5302 (AC_SUBST(libc_cv_insert): New.
5303 * configure: Regenerated.
5304 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
5305 if $(have-insert) == yes.
5307 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5309 * elf/Makefile (tests): Add vismain only if
5310 $(have-protected-data) == yes.
5311 (tests-pie): Likewise.
5313 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5316 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5317 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
5319 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5322 * sysdeps/i386/i586/memset.S
5323 (__memset_zero_constant_len_parameter): Removed.
5324 * sysdeps/i386/i686/memset.S
5325 (__memset_zero_constant_len_parameter): Likewise.
5326 * sysdeps/i386/i686/multiarch/memset_chk.S
5327 (__memset_zero_constant_len_parameter): Likewise.
5328 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
5331 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
5333 * stdlib/getentropy.c (getentropy): Change return type to int.
5335 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
5337 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5339 2017-08-03 Joseph Myers <joseph@codesourcery.com>
5341 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
5343 * math/s_nexttowardf.c (__nexttowardf): Likewise.
5344 * sysdeps/generic/math_private.h (ieee_double_shape_type):
5346 (ieee_float_shape_type): Likewise.
5347 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
5348 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
5349 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5350 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5351 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5352 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
5353 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
5354 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5355 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5357 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5358 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5359 (__ieee754_yn): Likewise.
5360 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5361 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5362 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
5364 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5365 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
5366 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
5367 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
5369 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5370 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
5371 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
5372 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
5373 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
5374 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
5376 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5377 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
5378 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5379 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
5380 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5381 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
5382 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
5383 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
5384 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
5385 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5386 (__issignaling): Likewise.
5387 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
5388 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
5389 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5391 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5392 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5393 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
5394 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
5396 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
5398 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
5399 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
5400 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
5401 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5402 (__erfcf): Likewise.
5403 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5404 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5405 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
5406 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
5408 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
5409 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
5411 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5412 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
5413 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5414 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
5415 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
5416 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5417 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
5418 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
5420 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
5422 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5424 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
5425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5427 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5429 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5430 (__ieee754_ynl): Likewise.
5431 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5432 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
5434 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
5436 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5437 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
5438 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5440 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5441 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
5442 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
5443 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
5444 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
5445 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5446 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
5447 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
5449 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5450 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
5451 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
5453 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
5454 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
5455 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5456 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5457 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
5458 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5460 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5466 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
5467 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5468 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5469 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
5470 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5471 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
5472 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
5474 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5476 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5479 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5480 (__ieee754_remainderl): Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5486 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5487 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5489 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5490 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
5491 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5492 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5493 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5494 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5496 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5497 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
5498 (__ieee754_y0l): Likewise.
5501 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5502 (__ieee754_y1l): Likewise.
5505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5506 (__ieee754_ynl): Likewise.
5507 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5508 (__ieee754_lgammal_r): Likewise.
5509 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
5511 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5512 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
5513 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5514 (__erfcl): Likewise.
5515 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5516 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
5518 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
5519 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
5520 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5521 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
5522 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
5523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5524 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5526 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
5527 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5528 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
5529 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
5530 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5532 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
5533 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
5535 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
5536 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
5537 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
5538 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5539 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5541 2017-08-03 Florian Weimer <fweimer@redhat.com>
5544 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
5545 on memory allocation failure.
5547 2017-08-03 Alan Modra <amodra@gmail.com>
5549 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
5550 tst-tlsopt-powerpc.c with function name change and no test harness.
5551 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
5552 Call tls_get_addr_opt_test.
5553 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
5554 (modules-names): Add mod-tlsopt-powerpc.
5555 (mod-tlsopt-powerpc.so-no-z-defs): Define.
5556 (tst-tlsopt-powerpc): Depend on .so.
5557 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
5558 define. Expand use in TLS_GD and TLS_LD.
5560 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5562 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
5564 * sysdeps/posix/shm_open.c: Include <pthread.h>.
5566 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5569 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
5570 comparing size with that of double.
5571 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5572 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5573 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5574 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5575 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5576 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
5577 unsigned __int128 types.
5579 2017-08-02 Steve Ellcey <sellcey@cavium.com>
5581 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
5582 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
5583 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
5584 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
5585 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
5587 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5589 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
5591 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5593 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
5595 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5596 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5598 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5599 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5603 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5606 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
5607 bit-field expressions passed to sizeof or typeof.
5608 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5609 (__TGMATH_F128): Likewise.
5610 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5611 (__TGMATH_CF128): Likewise.
5612 (__TGMATH_UNARY_REAL_ONLY): Likewise.
5613 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5614 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
5615 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
5616 (__TGMATH_BINARY_REAL_ONLY): Likewise.
5617 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5618 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5619 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5620 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5621 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
5622 (__TGMATH_UNARY_REAL_IMAG): Likewise.
5623 (__TGMATH_UNARY_IMAG): Likewise.
5624 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
5625 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5626 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
5628 (define_vars_for_type): Handle bit_field type specially.
5629 (Tests.__init__): Declare structure with bit-field element.
5631 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5634 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
5635 (MEMCPY_CHK): Define only if SHARED is defined.
5636 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
5638 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
5641 See ChangeLog.18 for earlier changes.