1 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
8 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
10 (LOAD_ARGS_0): Likewise.
11 (LOAD_ARGS_1): Likewise.
12 (LOAD_ARGS_2): Likewise.
13 (LOAD_ARGS_3): Likewise.
14 (LOAD_ARGS_4): Likewise.
15 (LOAD_ARGS_5): Likewise.
16 (LOAD_ARGS_6): Likewise.
17 (LOAD_REGS_0): Likewise.
18 (LOAD_REGS_1): Likewise.
19 (LOAD_REGS_2): Likewise.
20 (LOAD_REGS_3): Likewise.
21 (LOAD_REGS_4): Likewise.
22 (LOAD_REGS_5): Likewise.
23 (LOAD_REGS_6): Likewise.
24 (ASM_ARGS_0): Likewise.
25 (ASM_ARGS_1): Likewise.
26 (ASM_ARGS_2): Likewise.
27 (ASM_ARGS_3): Likewise.
28 (ASM_ARGS_4): Likewise.
29 (ASM_ARGS_5): Likewise.
30 (ASM_ARGS_6): Likewise.
31 (LOAD_ARGS_TYPES_1): Likewise.
32 (LOAD_ARGS_TYPES_2): Likewise.
33 (LOAD_ARGS_TYPES_3): Likewise.
34 (LOAD_ARGS_TYPES_4): Likewise.
35 (LOAD_ARGS_TYPES_5): Likewise.
36 (LOAD_ARGS_TYPES_6): Likewise.
37 (LOAD_REGS_TYPES_1): Likewise.
38 (LOAD_REGS_TYPES_2): Likewise.
39 (LOAD_REGS_TYPES_3): Likewise.
40 (LOAD_REGS_TYPES_4): Likewise.
41 (LOAD_REGS_TYPES_5): Likewise.
42 (LOAD_REGS_TYPES_6): Likewise.
45 (internal_syscall0): Likewise.
46 (internal_syscall1): Likewise.
47 (internal_syscall2): Likewise.
48 (internal_syscall3): Likewise.
49 (internal_syscall4): Likewise.
50 (internal_syscall5): Likewise.
51 (internal_syscall6): Likewise.
52 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
53 (INTERNAL_SYSCALL_NCS): Remove define.
54 (internal_syscall1): Add define.
56 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
58 * math/w_remainder_compat.c: Remove duplicate inclusion of
60 * math/w_remainderf_compat.c: Likewise.
61 * math/w_remainderl_compat.c: Likewise.
63 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
65 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67 2017-08-22 Joseph Myers <joseph@codesourcery.com>
70 * math/tgmath.h (__floating_type): Simplify definitions.
71 (__real_integer_type): New macro.
72 (__complex_integer_type): Likewise.
73 (__expr_is_real): Likewise.
74 (__tgmath_real_type_sub): Update comment to describe handling of
76 (__tgmath_complex_type_sub): New macro.
77 (__tgmath_complex_type): Likewise.
78 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
79 (__TGMATH_CF128): Use __expr_is_real.
80 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
82 (__TGMATH_BINARY_REAL_IMAG): Likewise.
83 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
84 * math/gen-tgmath-tests.py (Type.create_type): Create complex
87 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
89 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
91 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
93 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
96 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
97 nanosleep_not_cancel with __nanosleep_nocancel.
98 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
99 (__nanosleep_nocancel): New macro.
100 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
102 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
104 (__nanosleep_nocancel): New prototype.
106 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
107 pause_not_cancel with __pause_nocancel.
108 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
109 (__pause_nocancel): New macro.
110 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
112 (__pause_nocancel): New prototype.
113 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
115 2017-08-22 Martin Sebor <msebor@redhat.com>
117 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
118 to return a pointer to the same type as the target function.
120 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
124 * include/printf.h (__printf_fphex): Add attribute_hidden.
125 (__guess_grouping): New prototype.
126 * stdio-common/printf_fp.c (__guess_grouping): Removed.
127 * stdio-common/reg-printf.c (__register_printf_specifier): Add
128 libc_hidden_proto and libc_hidden_def.
129 * stdlib/strfmon_l.c (__guess_grouping): Removed.
130 (__vstrfmon_l): Remove the third argument passed to
133 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
135 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
136 definition for issignaling that does not rely on __MATH_TG,
137 since __MATH_TG uses __builtin_types_compatible_p, which is only
139 (CFLAGS-test-math-issignaling.cc): New variable.
140 * math/Makefile [CXX] (tests): Add test-math-issignaling.
141 * math/test-math-issignaling.cc: New test for C++ implementation
142 of type-generic issignaling.
143 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
144 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
145 options of test-math-issignaling on powerpc64le.
147 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
149 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
151 (hidden_proto): Likewise.
152 (hidden_tls_proto): Likewise.
153 (__hidden_proto): Likewise.
155 2017-08-22 Florian Weimer <fweimer@redhat.com>
157 math: Statically link tests of internal functionality.
158 * math/Makefile (tests): Remove atest-exp, atest-sincos,
160 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
161 (gmp-objs): Remove assignment.
162 (atest-exp, atest-sincos, atest-exp2): Remove targets.
164 2017-08-22 Joseph Myers <joseph@codesourcery.com>
167 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
169 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
171 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
174 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
175 variable definitions above inclusion of ../Rules.
177 2017-08-21 Joseph Myers <joseph@codesourcery.com>
179 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
180 case calling __builtin_unreachable.
182 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
184 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
186 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
187 (__waitpid_nocancel): New macro.
188 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
190 (__waitpid_nocancel): Replace macro with a function.
191 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
194 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
196 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
197 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
199 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
200 __writev_nocancel_nostatus.
201 (write_call_graph): Likewise.
202 (write_bb_counts): Likewise.
203 * resolv/herror.c (herror): Likewise.
204 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
206 (__writev_nocancel_nostatus): New macro.
207 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
209 (__writev_nocancel_nostatus): New function.
211 2017-08-21 Joseph Myers <joseph@codesourcery.com>
214 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
216 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
218 (hidden_proto): Likewise.
219 (hidden_tls_proto): Likewise.
220 (__hidden_proto): Likewise.
223 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
224 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
233 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
235 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
236 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
237 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
238 GLIBC_2.0 sqrtl symbol.
240 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
241 [__USE_MISC] (_LIB_VERSION): Likewise.
242 [__USE_MISC] (struct exception): Likewise.
243 [__USE_MISC] (matherr): Likewise.
244 [__USE_MISC] (DOMAIN): Likewise.
245 [__USE_MISC] (SING): Likewise.
246 [__USE_MISC] (OVERFLOW): Likewise.
247 [__USE_MISC] (UNDERFLOW): Likewise.
248 [__USE_MISC] (TLOSS): Likewise.
249 [__USE_MISC] (PLOSS): Likewise.
250 [__USE_MISC] (HUGE): Likewise.
251 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
252 * math/math-svid-compat.h: New file.
253 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
255 * include/math.h [!_ISOMAC] (__matherr): Remove.
256 * manual/arith.texi (FP Exceptions): Do not document matherr.
257 * math/Makefile (tests): Change test-matherr to test-matherr-3.
258 (tests-internal): New variable.
259 (install-lib): Do not add libieee.a.
260 (non-lib.a): Likewise.
261 (extra-objs): Do not add libieee.a and ieee-math.o.
262 (CPPFLAGS-s_lib_version.c): Remove variable.
263 ($(objpfx)libieee.a): Remove rule.
264 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
265 * math/ieee-math.c: Remove.
266 * math/libm-test-support.c (matherr): Remove.
267 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
268 and license notices. Include <math-svid-compat.h> and
270 (matherr): Undefine as macro. Use compat_symbol_reference.
271 (_LIB_VERSION): Likewise.
272 * math/test-matherr-2.c: New file.
273 * math/test-matherr-3.c: Likewise.
274 * sysdeps/generic/math_private.h (__kernel_standard): Remove
276 (__kernel_standard_f): Likewise.
277 (__kernel_standard_l): Likewise.
278 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
279 <math_private.h>. Include <math-svid-compat.h>.
280 (_LIB_VERSION): Undefine as macro.
281 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
282 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
283 [LIBM_SVID_COMPAT], use compat_symbol.
284 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
285 <math_private.h>. Include <math-svid-compat.h>.
286 (matherr): Undefine as macro.
287 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
289 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
290 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
291 compat_symbol_reference.
292 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
293 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
294 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
295 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
296 (MATHERR_D): Remove declaration.
297 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
298 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
299 [LIBM_BUILD] (pmatherrf): Likewise.
300 [LIBM_BUILD] (pmatherr): Likewise.
301 [LIBM_BUILD] (pmatherrl): Likewise.
304 (OVERFLOW): Likewise.
305 (UNDERFLOW): Likewise.
308 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
309 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
311 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
312 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
314 * math/lgamma-compat.h: Include <math-svid-compat.h>.
315 * math/w_acos_compat.c: Likewise.
316 * math/w_acosf_compat.c: Likewise.
317 * math/w_acosh_compat.c: Likewise.
318 * math/w_acoshf_compat.c: Likewise.
319 * math/w_acoshl_compat.c: Likewise.
320 * math/w_acosl_compat.c: Likewise.
321 * math/w_asin_compat.c: Likewise.
322 * math/w_asinf_compat.c: Likewise.
323 * math/w_asinl_compat.c: Likewise.
324 * math/w_atan2_compat.c: Likewise.
325 * math/w_atan2f_compat.c: Likewise.
326 * math/w_atan2l_compat.c: Likewise.
327 * math/w_atanh_compat.c: Likewise.
328 * math/w_atanhf_compat.c: Likewise.
329 * math/w_atanhl_compat.c: Likewise.
330 * math/w_cosh_compat.c: Likewise.
331 * math/w_coshf_compat.c: Likewise.
332 * math/w_coshl_compat.c: Likewise.
333 * math/w_exp10_compat.c: Likewise.
334 * math/w_exp10f_compat.c: Likewise.
335 * math/w_exp10l_compat.c: Likewise.
336 * math/w_exp2_compat.c: Likewise.
337 * math/w_exp2f_compat.c: Likewise.
338 * math/w_exp2l_compat.c: Likewise.
339 * math/w_fmod_compat.c: Likewise.
340 * math/w_fmodf_compat.c: Likewise.
341 * math/w_fmodl_compat.c: Likewise.
342 * math/w_hypot_compat.c: Likewise.
343 * math/w_hypotf_compat.c: Likewise.
344 * math/w_hypotl_compat.c: Likewise.
345 * math/w_j0_compat.c: Likewise.
346 * math/w_j0f_compat.c: Likewise.
347 * math/w_j0l_compat.c: Likewise.
348 * math/w_j1_compat.c: Likewise.
349 * math/w_j1f_compat.c: Likewise.
350 * math/w_j1l_compat.c: Likewise.
351 * math/w_jn_compat.c: Likewise.
352 * math/w_jnf_compat.c: Likewise.
353 * math/w_jnl_compat.c: Likewise.
354 * math/w_lgamma_main.c: Likewise.
355 * math/w_lgamma_r_compat.c: Likewise.
356 * math/w_lgammaf_main.c: Likewise.
357 * math/w_lgammaf_r_compat.c: Likewise.
358 * math/w_lgammal_main.c: Likewise.
359 * math/w_lgammal_r_compat.c: Likewise.
360 * math/w_log10_compat.c: Likewise.
361 * math/w_log10f_compat.c: Likewise.
362 * math/w_log10l_compat.c: Likewise.
363 * math/w_log2_compat.c: Likewise.
364 * math/w_log2f_compat.c: Likewise.
365 * math/w_log2l_compat.c: Likewise.
366 * math/w_log_compat.c: Likewise.
367 * math/w_logf_compat.c: Likewise.
368 * math/w_logl_compat.c: Likewise.
369 * math/w_pow_compat.c: Likewise.
370 * math/w_powf_compat.c: Likewise.
371 * math/w_powl_compat.c: Likewise.
372 * math/w_remainder_compat.c: Likewise.
373 * math/w_remainderf_compat.c: Likewise.
374 * math/w_remainderl_compat.c: Likewise.
375 * math/w_scalb_compat.c: Likewise.
376 * math/w_scalbf_compat.c: Likewise.
377 * math/w_scalbl_compat.c: Likewise.
378 * math/w_sinh_compat.c: Likewise.
379 * math/w_sinhf_compat.c: Likewise.
380 * math/w_sinhl_compat.c: Likewise.
381 * math/w_sqrt_compat.c: Likewise.
382 * math/w_sqrtf_compat.c: Likewise.
383 * math/w_sqrtl_compat.c: Likewise.
384 * math/w_tgamma_compat.c: Likewise.
385 * math/w_tgammaf_compat.c: Likewise.
386 * math/w_tgammal_compat.c: Likewise.
387 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
388 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
389 * sysdeps/ieee754/k_standard.c: Likewise.
390 * sysdeps/ieee754/k_standardf.c: Likewise.
391 * sysdeps/ieee754/k_standardl.c: Likewise.
392 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
393 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
394 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
395 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
396 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
397 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
399 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
400 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
407 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
408 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
410 2017-08-21 Florian Weimer <fweimer@redhat.com>
413 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
414 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
415 Move before inclusion of ../Rules.
417 2017-08-21 Florian Weimer <fweimer@redhat.com>
420 * assert/assert.h (assert): Use static_cast (bool) for C++.
421 Use the ternary operator in the warning branch for GNU C.
422 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
423 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
424 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
425 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
426 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
428 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
431 * sysdeps/unix/sysv/linux/x86_64/init-first.c
432 (__syscall_clock_gettime): Add attribute_hidden.
433 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
434 (__start_context): Likewise.
436 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
438 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
440 (hidden_proto): Likewise.
441 (hidden_tls_proto): Likewise.
442 (__hidden_proto): Likewise.
444 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
446 * include/libc-symbols.h (attribute_hidden): Enable hidden
447 visibility in libc.a compiled with PIE.
449 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
452 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
453 Add attribute_hidden.
455 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
458 * Makerules (all-nonlib): Add $(others-extras).
459 * catgets/Makefile (others-extras): New.
460 * elf/Makefile (others-extras): Likewise.
461 * nss/Makefile (others-extras): Likewise.
463 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
466 * csu/libc-start.c (__libc_multiple_libcs): Removed.
467 * elf/dl-open.c: Include <libc-internal.h>.
468 (__libc_multiple_libcs): Removed.
469 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
471 * include/libc-internal.h (__libc_multiple_libcs): New.
472 * misc/sbrk.c: Include <libc-internal.h>.
473 (__libc_multiple_libcs): Removed.
475 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
478 * grp/initgroups.c (__nss_group_database): Removed.
479 (__nss_initgroups_database): Likewise.
480 * nscd/gai.c (__nss_hosts_database): Likewise.
481 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
482 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
483 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
484 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
485 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
486 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
488 * nss/nsswitch.c (__nss_database_custom): Define only if
490 (__nss_configure_lookup): Use __nss_database_custom only if
492 * nss/nsswitch.h (__nss_database_custom): Declare only if
493 USE_NSCD is defined. Add attribute_hidden.
494 (__nss_setent): Add attribute_hidden.
495 (__nss_endent): Likewise.
496 (__nss_getent_r): Likewise.
497 (__nss_getent): Likewise.
498 (DEFINE_DATABASE): Declare __nss_##arg##_database.
500 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
503 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
504 libc_hidden_proto and libc_hidden_def.
506 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
509 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
510 Add libc_hidden_proto.
511 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
514 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
517 * gmon/Makefile (routines): Remove bb_init_func and
519 (elide-routines.os): Removed.
520 * gmon/bb_exit_func.c: Likewise.
521 * gmon/bb_init_func.c: Likewise.
522 * include/sys/gmon.h (__bb): Likewise.
523 (__bb_init_func): Likewise.
524 (__bb_exit_func): Likewise.
525 * sysdeps/alpha/bb_init_func.S: Likewise.
527 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
529 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
530 * include/setjmp.h (____longjmp_chk): Here. Add
533 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
536 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
538 (__strspn_sse2): Likewise.
540 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
542 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
543 (close_not_cancel_no_status): Likewise.
544 (__close_nocancel): New macro.
545 (__close_nocancel_nostatus): Likewise.
546 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
548 (close_not_cancel): Likewise.
549 (close_not_cancel_no_status): Likewise.
550 (__close_nocancel): New prototype.
551 (__close_nocancel_nostatus): New function.
552 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
553 * catgets/open_catalog.c (__open_catalog): Replace
554 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
555 * gmon/gmon.c (write_gmon): Likewise.
556 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
557 * intl/loadmsgcat.c (close): Likewise.
558 * io/ftw.c (open_dir_stream): Likewise.
559 (ftw_startup): Likewise.
560 * libio/fileops.c (_IO_file_open): Likewise.
561 (_IO_file_close_mmap): Likewise.
562 (_IO_file_close): Likewise.
563 * libio/iopopen.c (_IO_dup2): Likewise.
564 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
565 * locale/loadlocale.c (_nl_load_locale): Likewise.
566 * login/utmp_file.c (pututline_file): Likewise.
567 (endutent_file): Likewise.
568 * misc/daemon.c (daemon): Likewise.
569 * nscd/nscd_getai.c (__nscd_getai): Likewise.
570 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
571 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
572 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
573 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
574 * nscd/nscd_helper.c (open_socket): Likewise.
575 (__nscd_open_socket): Likewise.
576 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
577 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
578 (__nscd_innetgr): Likewise.
579 * nss/nss_db/db-open.c (internal_setent): Likewise.
580 * resolv/res-close.c (__res_iclose): Likewise.
581 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
582 * sysdeps/posix/closedir.c (__closedir): Likewise.
583 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
584 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
585 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
586 (opendir_tail): Likewise.
587 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
588 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
589 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
590 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
591 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
592 (gethostid): Likewise.
593 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
594 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
596 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
597 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
598 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
599 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
601 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
602 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
603 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
605 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
606 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
608 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
610 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
611 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
612 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
615 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
616 (openat_not_cancel_3): Likewise.
617 (openat64_not_cancel_3): Likewise).
618 (openat_not_cancel_3): Likewise).
619 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
621 (openat_not_cancel_3): Likewise.
622 (openat64_not_cancel): Likewise.
623 (openat64_not_cancel_3): Likewise.
624 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
625 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
626 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
628 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
629 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
630 * sysdeps/posix/opendir.c (__opendirat): Likewise.
632 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
635 * include/argz.h (__argz_create_sep): New function prototype.
636 (__argz_append): Likewise.
637 (__argz_add): Likewise.
638 (__argz_add_sep): Likewise.
639 (__argz_delete): Likewise.
640 (__argz_insert): Likewise.
641 (__argz_replace): Likewise.
642 * string/argz.h (__argz_create_sep): Removed.
643 (__argz_append): Likewise.
644 (__argz_add): Likewise.
645 (__argz_add_sep): Likewise.
646 (__argz_delete): Likewise.
647 (__argz_insert): Likewise.
648 (__argz_replace): Likewise.
650 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
652 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
653 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
654 (GNU_PROPERTY_STACK_SIZE): Likewie.
655 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
656 (GNU_PROPERTY_LOPROC): Likewise.
657 (GNU_PROPERTY_HIPROC): Likewise.
658 (GNU_PROPERTY_LOUSER): Likewise.
659 (GNU_PROPERTY_HIUSER): Likewise.
660 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
661 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
662 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
663 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
664 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
665 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
666 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
667 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
668 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
669 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
670 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
671 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
672 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
673 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
674 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
675 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
676 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
677 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
678 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
679 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
680 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
681 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
682 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
684 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
686 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
689 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
692 * math/math.h (isinf): Check if in C or C++ mode before using
693 __builtin_types_compatible_p, since this is a C mode feature.
695 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
697 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
698 (__write_nocancel): New macro.
699 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
700 Rewrite as a function prototype.
701 (write_not_cancel): Remove macro.
702 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
703 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
704 (write_gmon): Likewise.
705 * libio/fileops.c (_IO_new_file_write): Likewise.
706 * login/utmp_file.c (pututline_file): Likewise.
707 (updwtmp_file): Likewise.
708 * stdio-common/psiginfo.c (psiginfo): Likewise.
709 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
710 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
711 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
713 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
716 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
717 (__read_nocancel): New macro.
718 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
720 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
722 (__read_nocancel): New prototype.
723 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
724 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
725 with __read_nocancel.
726 * intl/loadmsgcat.c (read): Likewise.
727 * libio/fileops.c (_IO_file_read): Likewise.
728 * locale/loadlocale.c (_nl_load_locale): Likewise.
729 * login/utmp_file.c (getutent_r_file): Likewise.
730 (internal_getut_r): Likewise.
731 (getutline_r_file): Likewise.
732 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
733 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
734 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
735 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
737 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
738 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
739 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
741 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
743 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
745 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
747 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
749 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
752 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
753 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
756 2017-08-17 DJ Delorie <dj@redhat.com>
758 * bug17079.c: Update to new test harness.
759 * test-digits-dots.c: Likewise.
760 * test-netdb.c: Likewise.
761 * tst-field.c: Likewise.
762 * tst-nss-getpwent.c: Likewise.
763 * tst-nss-static.c: Likewise.
764 * tst-nss-test1.c: Likewise.
765 * tst-nss-test2.c: Likewise.
766 * tst-nss-test3.c: Likewise.
767 * tst-nss-test4.c: Likewise.
768 * tst-nss-test5.c: Likewise.
770 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
772 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
773 (open_not_cancel_2): Likewise.
774 (open_nocancel): New macro.
775 (open64_nocancel): Likewise.
776 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
777 (open_not_cancel_2): Likewise.
778 (__open_nocancel): New prototype.
779 (__open64_nocancel): Likewise.
780 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
782 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
783 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
784 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
785 with __open_nocancel.
786 * csu/check_fds.c (check_one_fd): Likewise.
787 * gmon/gmon.c (write_gmon): Likewise.
788 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
789 * intl/loadmsgcat.c (open): Likewise.
790 * libio/fileops.c (_IO_file_open): Likewise.
791 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
792 * locale/loadlocale.c (_nl_load_locale): Likewise.
793 * login/utmp_file.c (setutent_file): Likewise.
794 * misc/daemon.c (daemon): Likewise.
795 * nss/nss_db/db-open.c (internal_setent): Likewise.
796 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
797 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
798 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
799 (__opendir): Likewise.
800 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
801 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
802 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
803 (gethostid): Likewise.
804 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
807 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
808 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
809 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
810 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
812 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
814 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
816 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
818 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
820 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
822 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
823 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
825 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
827 * benchtests/bench-skeleton.c (main): Add support for
828 latency benchmarking.
829 * benchtests/scripts/bench.py: Add support for latency benchmarking.
831 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
833 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
836 2017-08-17 Florian Weimer <fweimer@redhat.com>
838 * include/sys/socket.h (__opensock): Remove internal_function.
839 * socket/opensock.c (__opensock): Likewise.
840 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
842 2017-08-16 Joseph Myers <joseph@codesourcery.com>
845 * signal/bits/types/__sigval_t.h: New file.
846 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
847 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
848 and define sigval_t using __sigval_t.
849 * include/bits/types/__sigval_t.h: New file.
850 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
851 instead of <bits/types/__sigval_t.h>.
852 (struct sigevent): Use __sigval_t instead of sigval_t.
853 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
854 instead of <bits/types/__sigval_t.h>.
855 (siginfo_t): Use __sigval_t instead of sigval_t.
856 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
857 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
858 (struct sigevent): Use __sigval_t instead of sigval_t.
859 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
860 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
861 (siginfo_t): Use __sigval_t instead of sigval_t.
862 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
864 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
866 * NEWS: Remove "[Add new features here]" for 2.27.
868 2017-08-16 Joseph Myers <joseph@codesourcery.com>
870 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
873 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
875 * NEWS: Mention x86-64 FMA optimization.
877 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
880 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
882 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
883 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
884 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
886 2017-08-16 Andreas Schwab <schwab@suse.de>
890 * elf/ldd.bash.in: Never run file directly.
892 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
895 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
896 (L(SP_INF_0)): Likewise.
898 2017-08-15 Florian Weimer <fweimer@redhat.com>
900 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
903 2017-08-15 Florian Weimer <fweimer@redhat.com>
905 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
906 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
907 BROKEN_THREAD_SIGNALS code.
908 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
909 request_list): Remove caller_pid member used for
910 BROKEN_THREAD_SIGNALS.
911 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
912 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
913 Remove BROKEN_THREAD_SIGNALS support.
914 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
915 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
917 2017-08-15 Florian Weimer <fweimer@redhat.com>
919 * gmon/Makefile (tests): Add tst-gmon.
920 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
922 (tests-special): Add tst-gmon-prof.out.
923 (tst-gmon.out): Depend on clean-tst-gmon-data.
924 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
925 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
926 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
928 * aclocal.m4 (GPROF): Set and substitute.
929 * config.amke.in (GPROF): Set.
930 * configure: Regenerate.
932 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
934 * elf/elf.h A (NT_PPC_TAR): New macro.
935 (NT_PPC_PPR): Likewise.
936 (NT_PPC_DSCR): Likewise.
937 (NT_PPC_EBB): Likewise.
938 (NT_PPC_PMU): Likewise.
939 (NT_PPC_TM_CGPR): Likewise.
940 (NT_PPC_TM_CFPR): Likewise.
941 (NT_PPC_TM_CVMX): Likewise.
942 (NT_PPC_TM_CVSX): Likewise.
943 (NT_PPC_TM_SPR): Likewise.
944 (NT_PPC_TM_CTAR): Likewise.
945 (NT_PPC_TM_CPPR): Likewise.
946 (NT_PPC_TM_CDSCR): Likewise.
948 2017-08-15 Florian Weimer <fweimer@redhat.com>
950 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
951 regparm (2) instead of internal_function.
952 (_MCOUNT_DECL): Adjust.
954 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
956 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
957 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
959 2017-08-14 Joseph Myers <joseph@codesourcery.com>
961 * conform/data/sys/wait.h-data (si_value): Do not expect for
964 2017-08-14 Florian Weimer <fweimer@redhat.com>
967 NSS: Create stubs for accidentally exported lookup functions.
968 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
970 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
971 (ether_hostton): Call __nss_ethers_lookup2 instead.
972 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
973 (ether_ntohost): Call __nss_ethers_lookup2 instead.
974 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
975 (setup): Call __nss_netgroup_lookup2 instead.
976 * nss/Makefile (routines): Add compat-lookup.
977 * nss/Versions (GLIBC_2.27): Add symbol version.
978 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
979 (DB_COMPAT_FCT): Remove.
980 * nss/compat-lookup.c: New file.
981 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
983 * nss/service-lookup.c (NO_COMPAT): Remove definition.
984 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
985 (netname2user): Call __nss_publickey_lookup2 instead.
986 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
987 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
990 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
991 Sergei Trofimovich <slyfox@inbox.ru>
994 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
995 Rename to MMAP2_PAGE_UNIT.
996 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
997 __OFF_T_MATCHES_OFF64_T is not defined.
998 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
1000 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
1001 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
1003 2017-08-14 Florian Weimer <fweimer@redhat.com>
1005 i386: Do not set internal_function.
1006 * config.h.in (USE_REGPARMS, internal_function): Remove.
1007 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
1008 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
1010 2017-08-14 Florian Weimer <fweimer@redhat.com>
1012 * elf/dl-init.c (_dl_init): Remove internal_function.
1013 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
1014 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
1016 2017-08-14 Florian Weimer <fweimer@redhat.com>
1018 * elf/rtld.c (_dl_start): Remove internal_function.
1019 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
1022 2017-08-14 Florian Weimer <fweimer@redhat.com>
1024 * elf/dl-fini.c (_dl_fini): Remove internal_function
1025 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1027 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
1029 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
1030 (bit_cpu_SHSTK): Likewise.
1031 (index_cpu_IBT): Likewise.
1032 (index_cpu_SHSTK): Likewise.
1033 (reg_IBT): Likewise.
1034 (reg_SHSTK): Likewise.
1035 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
1036 Handle index_cpu_IBT and index_cpu_SHSTK.
1038 2017-08-14 Mike FABIAN <mfabian@redhat.com>
1041 * po/fr.po: Fix spelling mistake.
1043 2017-08-13 Florian Weimer <fweimer@redhat.com>
1045 * elf/dl-addr.c (_dl_addr): Remove internal_function.
1046 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
1047 (_dl_catch_error, _dl_receive_error): Likewise.
1048 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
1049 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
1050 (_dl_deallocate_tls): Likewise.
1051 * include/dlfcn.h (_dl_addr): Likewise.
1052 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
1053 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
1054 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
1057 2017-08-13 Florian Weimer <fweimer@redhat.com>
1059 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
1060 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
1062 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
1064 2017-08-13 Florian Weimer <fweimer@redhat.com>
1066 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
1068 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
1069 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
1070 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
1071 internal_function from _dl_make_stack_executable_hook member.
1072 (_dl_make_stack_executable): Remove internal_function.
1073 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
1075 * sysdeps/unix/sysv/linux/dl-execstack.c
1076 (_dl_make_stack_executable): Likewise.
1078 2017-08-13 Florian Weimer <fweimer@redhat.com>
1080 * sysdeps/unix/sysv/linux/netlinkaccess.h
1081 (__netlink_assert_response): Remove internal_function.
1082 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1083 (__netlink_assert_response): Likewise.
1085 2017-08-13 Florian Weimer <fweimer@redhat.com>
1087 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
1089 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
1091 2017-08-13 Florian Weimer <fweimer@redhat.com>
1093 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
1095 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
1096 * inet/netgroup.h (__internal_setnetgrent)
1097 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
1098 * inet/getnetgrent_r.c (__internal_setnetgrent)
1099 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
1100 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
1101 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
1102 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
1103 * nss/nsswitch.h (db_lookup_function): Likewise.
1105 2017-08-13 Florian Weimer <fweimer@redhat.com>
1107 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
1108 Remove internal_function.
1109 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
1110 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
1111 message argument on the stack.
1112 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
1115 2017-08-12 Mike FABIAN <mfabian@redhat.com>
1117 Adapt test case data to the changes in the thousands
1121 * localedata/tst-langinfo.sh: Adapt test case data.
1122 * stdlib/tst-strfmon_l.c: Likewise.
1123 * stdlib/tst-strtod4.c: Likewise.
1124 * stdlib/tst-strtod5i.c: Likewise.
1126 2017-08-11 Florian Weimer <fweimer@redhat.com>
1129 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
1130 Suppress pedantic warning resulting from statement expression.
1131 (__ASSERT_FUNCTION): Add missing __extension__.
1133 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1135 * benchtests/bench-memmove-large.c: Print output in JSON
1137 * benchtests/bench-memmove.c: Likewise.
1139 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
1140 * benchtests/bench-memchr.c (do_one_test): Likewise.
1141 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
1142 * benchtests/bench-memcpy.c (do_one_test): Likewise.
1143 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
1144 * benchtests/bench-memmove.c (do_one_test): Likewise.
1145 * benchtests/bench-memset-large.c (do_one_test): Likewise.
1146 * benchtests/bench-memset.c (do_one_test): Likewise.
1147 * benchtests/bench-string.h (test_init): Remove memsets.
1149 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
1152 (Computing the Width of an Integer Data Type): Rename section to
1153 "Width of an Integer Type". Remove inaccurate statement regarding
1154 lack of C language facilities for determining width of integer
1155 types, and reorder content to improve flow and context of
1158 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
1160 * lang.texi (va_copy): Change standard from ISO to C99.
1161 (__va_copy): Add standard and header annotation.
1162 Update description for clarity of origins and current use.
1164 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1167 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
1168 xssqrtqp requires operands to be in Vector Registers
1169 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
1170 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
1171 (__ieee754_sqrtf128): Likewise.
1173 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
1175 * sysdeps/aarch64/memcmp.S (memcmp):
1176 Rewrite of optimized memcmp.
1178 2017-08-10 Florian Weimer <fweimer@redhat.com>
1180 Introduce ld.so exceptions.
1181 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
1182 (_dl_exception_create, _dl_exception_create_format)
1183 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
1184 (_dl_catch_exception): Declare.
1185 (_dl_catch_error): Update comment.
1186 * elf/dl-error-skeleton.c (struct catch): Replace objname,
1187 errstring, malloced members with exception member.
1188 (_dl_out_of_memory): Remove.
1189 (fatal_error): New function, extracted from _dl_signal_error.
1190 (_dl_signal_exception, _dl_signal_cexception): New functions.
1191 (_dl_signal_error): Call _dl_exception_create to allocate an
1193 (_dl_catch_exception): New function, based on _dl_catch_error.
1194 (_dl_catch_error): Implement using _dl_catch_exception.
1195 * elf/dl-exception.c: New file.
1196 * elf/Makefile (dl-routines): Add dl-exception.
1197 (elide-routines.os): Likewise.
1198 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
1199 _dl_exception_create_format, _dl_exception_free.
1200 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
1201 _dl_signal_exception.
1202 * elf/dl-lookup.c (make_string): Remove.
1203 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
1204 _dl_signal_cexception, _dl_exception_free.
1205 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
1206 _dl_signal_exception.
1207 * elf/dl-sym.c (do_sym): Likewise.
1208 * elf/dl-version.c (make_string): Remove.
1209 (match_symbol): Use _dl_exception_create_format,
1210 _dl_signal_cexception, _dl_exception_free.
1211 (_dl_check_map_versions): Likewise.
1212 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
1213 _dl_catch_exception.
1214 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1215 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1216 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1217 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1218 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1219 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1220 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1221 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
1223 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1230 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1231 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1232 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
1234 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
1236 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1238 2017-08-10 Florian Weimer <fweimer@redhat.com>
1240 * inet/net-internal.h (__inet6_scopeid_pton): Remove
1241 attribute_hidden, internal_function.
1242 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
1245 2017-08-10 Florian Weimer <fweimer@redhat.com>
1247 * malloc/malloc.c (get_max_fast): Reimplement as an inline
1248 function which calls __builtin_unreachable.
1250 2017-08-10 Mike FABIAN <mfabian@redhat.com>
1252 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
1253 Indian monetary formatting
1254 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
1257 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
1259 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
1260 Fix typo in comment.
1263 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
1264 PTRACE_SEIZE_DEVEL): Remove.
1265 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
1266 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1267 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1271 2017-08-09 Joseph Myers <joseph@codesourcery.com>
1273 * posix/bits/types.h (__qaddr_t): Remove.
1276 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
1277 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1279 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
1280 (ucontext_t): Use __ctx with uc_flags.
1281 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
1283 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1285 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
1286 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1288 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
1289 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1291 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
1293 (ucontext_t): Use __ctx with uc_flags.
1294 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
1295 (ucontext_t): Use __ctx with uc_flags.
1296 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
1297 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
1298 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
1299 (ucontext_t): Use __ctx with uc_flags.
1300 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
1301 undefine further down.
1302 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1304 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
1305 undefine further down.
1306 (ucontext_t): Use __ctx with uc_flags.
1307 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
1308 undefine further down.
1309 (ucontext_t): Use __ctx with uc_flags.
1310 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
1311 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
1312 Rename uc_pad to __glibc_reserved1.
1313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
1314 undefine further down.
1315 (ucontext_t): Use __ctx with uc_flags.
1316 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
1318 (ucontext_t): Use __ctx with uc_flags.
1319 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
1320 __ctx with uc_flags.
1321 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
1322 (ucontext_t): Use __ctx with uc_flags.
1323 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
1324 __ctx with uc_flags.
1326 2017-08-09 Florian Weimer <fweimer@redhat.com>
1329 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
1330 before early return.
1332 2017-08-09 Andreas Schwab <schwab@suse.de>
1335 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
1339 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
1340 tst-compat-forwarder.
1341 (modules-names): Add tst-compat-forwarder-mod.
1342 ($(objpfx)tst-compat-forwarder): Depend on
1343 $(objpfx)tst-compat-forwarder-mod.so.
1344 * nptl/tst-compat-forwarder.c: New file.
1345 * nptl/tst-compat-forwarder-mod.c: New file.
1347 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
1349 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
1352 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
1353 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
1355 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
1357 (__libc_ifunc_impl_list): Add __memcpy_falkor.
1358 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1359 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
1360 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1362 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
1365 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1368 * manual/setjmp.texi (getcontex): Document uc_stack value
1369 compatibility differences.
1371 2017-08-08 Joseph Myers <joseph@codesourcery.com>
1373 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
1374 (old_malloc_hook): Likewise.
1375 (old_memalign_hook): Likewise.
1376 (old_realloc_hook): Likewise.
1377 (struct hdr): Likewise.
1379 (freehook): Likewise.
1380 (mallochook): Likewise.
1381 (memalignhook): Likewise.
1382 (reallochook): Likewise.
1384 * malloc/mtrace.c (mallwatch): Likewise.
1385 (tr_old_free_hook): Likewise.
1386 (tr_old_malloc_hook): Likewise.
1387 (tr_old_realloc_hook): Likewise.
1388 (tr_old_memalign_hook): Likewise.
1389 (tr_where): Likewise.
1390 (lock_and_info): Likewise.
1391 (tr_freehook): Likewise.
1392 (tr_mallochook): Likewise.
1393 (tr_reallochook): Likewise.
1394 (tr_memalignhook): Likewise.
1395 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
1396 * misc/mmap.c (__mmap): Likewise.
1397 * misc/mmap64.c (__mmap64): Likewise.
1398 * misc/mprotect.c (__mprotect): Likewise.
1399 * misc/msync.c (msync): Likewise.
1400 * misc/munmap.c (__munmap): Likewise.
1401 * posix/posix_madvise.c (posix_madvise): Likewise.
1402 * socket/send.c (__send): Likewise.
1403 * socket/sendto.c (__sendto): Likewise.
1404 * socket/setsockopt.c (__setsockopt): Likewise.
1405 * string/memcmp.c (__ptr_t): Remove macro.
1406 (MEMCMP): Use void * instead of ptr_t.
1407 * string/memrchr.c (__ptr_t): Remove macro.
1408 (__memrchr): Use void * instead of ptr_t.
1409 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
1410 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1411 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
1412 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
1413 * sysdeps/mach/msync.c (msync): Likewise.
1414 * sysdeps/mach/munmap.c (__munmap): Likewise.
1415 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
1417 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1418 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
1419 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
1420 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
1421 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1422 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1423 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
1424 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
1426 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1427 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
1428 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
1429 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
1430 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
1431 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
1432 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
1433 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
1434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
1436 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
1437 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
1438 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
1439 (MEMCMP): Use void * instead of ptr_t.
1440 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
1441 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1443 2017-08-08 Florian Weimer <fweimer@redhat.com>
1445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
1448 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
1451 * csu/libc-tls.c: Include <startup.h> first.
1452 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
1453 * elf/dl-tunables.c: Include <startup.h> first.
1454 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
1455 * sysdeps/generic/startup.h: New file.
1456 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
1457 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
1458 (I386_USE_SYSENTER): New. Defined to 0.
1460 2017-08-08 Andreas Schwab <schwab@suse.de>
1463 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
1464 * nptl/pt-system.c (system): Likewise.
1466 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1469 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
1471 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
1472 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
1473 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
1474 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
1475 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
1476 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
1477 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
1479 2017-08-07 Joseph Myers <joseph@codesourcery.com>
1482 * bits/sigaction.h (struct sigaction): Define sa_handler and
1483 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
1484 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1485 [__USE_XOPEN_EXTENDED].
1486 (SA_RESTART): Likewise.
1487 (SA_NODEFER): Likewise.
1488 (SA_RESETHAND): Likewise.
1489 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
1490 (struct sigaction): Define sa_handler and sa_sigaction using union
1491 also for [__USE_XOPEN_EXTENDED].
1492 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1493 [__USE_XOPEN_EXTENDED].
1494 (SA_RESTART): Likewise.
1495 (SA_NODEFER): Likewise.
1496 (SA_RESETHAND): Likewise.
1497 * sysdeps/unix/sysv/linux/bits/sigaction.h
1498 (struct sigaction): Define sa_handler and sa_sigaction using union
1499 also for [__USE_XOPEN_EXTENDED].
1500 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1501 [__USE_XOPEN_EXTENDED].
1502 (SA_RESTART): Likewise.
1503 (SA_NODEFER): Likewise.
1504 (SA_RESETHAND): Likewise.
1505 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
1506 (struct sigaction): Define sa_handler and sa_sigaction using union
1507 also for [__USE_XOPEN_EXTENDED].
1508 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1509 [__USE_XOPEN_EXTENDED].
1510 (SA_RESTART): Likewise.
1511 (SA_NODEFER): Likewise.
1512 (SA_RESETHAND): Likewise.
1513 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
1514 (struct sigaction): Define sa_handler and sa_sigaction using union
1515 also for [__USE_XOPEN_EXTENDED].
1516 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1517 [__USE_XOPEN_EXTENDED].
1518 (SA_RESTART): Likewise.
1519 (SA_NODEFER): Likewise.
1520 (SA_RESETHAND): Likewise.
1521 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1522 (struct sigaction): Define sa_handler and sa_sigaction using union
1523 also for [__USE_XOPEN_EXTENDED].
1524 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1525 [__USE_XOPEN_EXTENDED].
1526 (SA_RESTART): Likewise.
1527 (SA_NODEFER): Likewise.
1528 (SA_RESETHAND): Likewise.
1529 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1530 (struct sigaction): Define sa_handler and sa_sigaction using union
1531 also for [__USE_XOPEN_EXTENDED].
1532 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1533 [__USE_XOPEN_EXTENDED].
1534 (SA_RESTART): Likewise.
1535 (SA_NODEFER): Likewise.
1536 (SA_RESETHAND): Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1538 (struct sigaction): Define sa_handler and sa_sigaction using union
1539 also for [__USE_XOPEN_EXTENDED].
1540 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1541 [__USE_XOPEN_EXTENDED].
1542 (SA_RESTART): Likewise.
1543 (SA_NODEFER): Likewise. Define directly rather than as alias.
1544 (SA_RESETHAND): Likewise.
1545 (SA_INTERRUPT): Define only for [__USE_MISC].
1546 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
1547 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
1549 (SA_STACK): Define only for [__USE_MISC].
1550 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
1551 (struct sigaction): Define sa_handler and sa_sigaction using union
1552 also for [__USE_XOPEN_EXTENDED].
1553 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1554 [__USE_XOPEN_EXTENDED].
1555 (SA_RESTART): Likewise.
1556 (SA_NODEFER): Likewise.
1557 (SA_RESETHAND): Likewise.
1558 (SA_NOPTRACE): Define only for [__USE_MISC].
1560 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
1561 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
1562 (struct catalog_info): Likewise.
1563 * inet/htontest.c (lo): Likewise.
1565 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1566 * inet/inet_net.c (inet_network): Likewise.
1567 * inet/inet_netof.c (inet_netof): Likewise.
1568 * inet/rcmd.c (__ivaliduser): Likewise.
1569 (iruserok): Likewise.
1570 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
1571 * locale/programs/locale-spec.c (locale_special): Likewise.
1572 * nis/nis_findserv.c (struct findserv_req): Likewise.
1573 (__nis_findfastest_with_timeout): Likewise.
1574 * nss/test-netdb.c (test_network): Likewise.
1575 * resolv/inet_neta.c (inet_neta): Likewise.
1576 * resolv/ns_date.c (ns_datetosecs): Likewise.
1577 (SECS_PER_DAY): Likewise.
1578 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
1580 * resolv/res_comp.c (__putlong): Likewise.
1581 (__putshort): Likewise.
1582 (_getlong): Likewise.
1583 (_getshort): Likewise.
1584 * resolv/res_debug.c (p_time): Likewise.
1585 (precsize_ntoa): Likewise.
1586 (precsize_aton): Likewise.
1587 (latlon2ul): Likewise.
1588 (loc_aton): Likewise.
1589 (loc_ntoa): Likewise.
1590 * resolv/res_hconf.c (struct netaddr): Likewise.
1591 (_res_hconf_reorder_addrs): Likewise.
1592 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1593 (clnttcp_control): Likewise.
1594 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1595 (clntudp_control): Likewise.
1596 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1597 (clntunix_control): Likewise.
1598 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1599 * sunrpc/rpc/auth.h (union des_block): Likewise.
1600 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
1601 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
1602 (xdrrec_create): Likewise.
1603 (xdrrec_endofrecord): Likewise.
1604 (flush_out): Likewise.
1605 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
1606 (xdrstdio_putlong): Likewise.
1607 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
1610 * misc/sys/cdefs.h (__long_double_t): Remove.
1611 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
1612 instead of __long_double_t,
1613 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
1615 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
1617 * benchtests/scripts/compare_strings.py: Avoid display error when
1618 running on a text terminal.
1620 * benchtests/scripts/compare_strings.py (main): Add an
1621 optional -base option.
1622 (process_results): New argument base_func.
1624 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
1626 * benchtests/bench-memcpy-large.c (test_name): Likewise.
1627 * benchtests/bench-memcpy-random.c (test_name): Likewise.
1629 2017-08-07 Andreas Schwab <schwab@suse.de>
1631 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
1632 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1633 * intl/Makefile ($(objpfx)tst-gettext.out)
1634 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
1635 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
1636 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1637 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1638 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
1639 * posix/Makefile ($(objpfx)globtest.out)
1640 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
1641 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
1642 ($(objpfx)tst-printf.out): Likewise.
1643 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
1644 ($(objpfx)tst-setcontext3.out): Likewise.
1646 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
1648 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1649 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
1650 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
1651 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
1652 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
1654 (CFLAGS-doasin-fma.c): New.
1655 (CFLAGS-dosincos-fma.c): Likewise.
1656 (CFLAGS-e_asin-fma.c): Likewise.
1657 (CFLAGS-e_atan2-fma.c): Likewise.
1658 (CFLAGS-e_exp-fma.c): Likewise.
1659 (CFLAGS-e_log-fma.c): Likewise.
1660 (CFLAGS-e_pow-fma.c): Likewise.
1661 (CFLAGS-halfulp-fma.c): Likewise.
1662 (CFLAGS-mpa-fma.c): Likewise.
1663 (CFLAGS-mpatan-fma.c): Likewise.
1664 (CFLAGS-mpatan2-fma.c): Likewise.
1665 (CFLAGS-mpexp-fma.c): Likewise.
1666 (CFLAGS-mplog-fma.c): Likewise.
1667 (CFLAGS-mpsqrt-fma.c): Likewise.
1668 (CFLAGS-mptan-fma.c): Likewise.
1669 (CFLAGS-s_atan-fma.c): Likewise.
1670 (CFLAGS-sincos32-fma.c): Likewise.
1671 (CFLAGS-slowexp-fma.c): Likewise.
1672 (CFLAGS-slowpow-fma.c): Likewise.
1673 (CFLAGS-s_sin-fma.c): Likewise.
1674 (CFLAGS-s_tan-fma.c): Likewise.
1675 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
1676 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
1677 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
1678 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
1679 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
1680 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
1681 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
1682 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
1683 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
1684 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
1685 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
1686 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
1687 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
1688 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
1689 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
1690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
1691 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
1692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
1693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
1694 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
1695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
1696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
1698 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
1699 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1700 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1701 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1702 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1703 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1704 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1707 2017-08-04 Joseph Myers <joseph@codesourcery.com>
1709 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
1710 (min_of_type_f): New macro.
1711 (min_of_type_): Likewise.
1712 (min_of_type_l): Likewise.
1713 (min_of_type_f128): Likewise.
1714 (min_of_type): Define using __MATH_TG and taking an expression
1716 (math_check_force_underflow): Pass expression instead of type to
1718 (math_check_force_underflow_nonneg): Likewise.
1720 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
1722 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
1723 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
1724 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
1726 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
1728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1729 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
1730 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
1731 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
1732 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
1733 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
1734 memcpy_chk-nonshared, mempcpy_chk-nonshared,
1735 memmove_chk-nonshared and memset_chk-nonshared
1736 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
1737 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
1738 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
1739 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
1740 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
1741 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
1742 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
1743 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
1744 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
1745 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
1746 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
1747 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
1748 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
1749 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
1750 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
1751 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
1752 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
1753 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
1754 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
1755 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
1756 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
1757 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
1758 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
1759 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
1760 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
1761 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
1762 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
1763 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
1764 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
1765 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
1766 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
1767 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
1768 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
1769 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
1770 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
1771 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
1772 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
1773 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
1774 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
1775 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
1776 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
1777 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
1778 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
1779 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
1780 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
1781 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
1782 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
1783 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
1784 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
1785 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
1786 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
1787 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
1788 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
1789 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
1790 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
1791 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
1792 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
1793 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
1794 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
1795 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
1796 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
1797 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
1798 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
1799 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
1800 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
1801 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
1802 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
1803 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
1804 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
1805 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1806 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
1807 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1808 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1809 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1810 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1811 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1812 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1813 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1814 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1815 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1816 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1817 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1818 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1819 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1820 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1821 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1822 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1823 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1824 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1825 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1826 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1827 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1828 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1829 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1830 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1831 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1832 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1833 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1834 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1835 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1836 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1837 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1838 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1839 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1840 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1841 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1842 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1843 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1845 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
1847 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
1848 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
1849 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
1850 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
1851 svml_d_log2_core-sse2, svml_d_log4_core-sse,
1852 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
1853 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
1854 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
1855 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
1856 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
1857 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
1858 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
1859 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
1860 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
1861 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
1862 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
1863 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
1864 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
1865 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
1866 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
1867 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
1868 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
1869 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
1870 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
1871 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
1872 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
1873 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
1874 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
1875 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
1876 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
1877 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
1878 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
1879 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
1880 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
1881 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
1882 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
1883 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
1884 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
1885 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
1886 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
1887 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
1888 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
1889 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
1890 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
1891 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
1892 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
1893 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
1894 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
1895 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
1896 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
1897 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
1898 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
1899 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
1900 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
1901 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
1902 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
1903 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
1904 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
1905 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
1907 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
1908 Don't include <sysdep.h> nor <init-arch.h>.
1909 (_ZGVbN2v_cos): Removed.
1910 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
1912 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
1913 Don't include <sysdep.h> nor <init-arch.h>.
1914 (_ZGVdN4v_cos): Removed.
1915 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
1917 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
1918 Don't include <sysdep.h> nor <init-arch.h>.
1919 (_ZGVeN8v_cos): Removed.
1920 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
1922 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
1923 Don't include <sysdep.h> nor <init-arch.h>.
1924 (_ZGVbN2v_exp): Removed.
1925 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
1927 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
1928 Don't include <sysdep.h> nor <init-arch.h>.
1929 (_ZGVdN4v_exp): Removed.
1930 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
1932 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
1933 Don't include <sysdep.h> nor <init-arch.h>.
1934 (_ZGVeN8v_exp): Removed.
1935 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
1937 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
1938 Don't include <sysdep.h> nor <init-arch.h>.
1939 (_ZGVbN2v_log): Removed.
1940 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
1942 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
1943 Don't include <sysdep.h> nor <init-arch.h>.
1944 (_ZGVdN4v_log): Removed.
1945 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
1947 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
1948 Don't include <sysdep.h> nor <init-arch.h>.
1949 (_ZGVeN8v_log): Removed.
1950 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
1952 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
1953 Don't include <sysdep.h> nor <init-arch.h>.
1954 (_ZGVbN2vv_pow): Removed.
1955 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
1957 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
1958 Don't include <sysdep.h> nor <init-arch.h>.
1959 (_ZGVdN4vv_pow): Removed.
1960 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
1962 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
1963 Don't include <sysdep.h> nor <init-arch.h>.
1964 (_ZGVeN8vv_pow): Removed.
1965 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
1967 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
1968 Don't include <sysdep.h> nor <init-arch.h>.
1969 (_ZGVbN2v_sin): Removed.
1970 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
1972 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
1973 Don't include <sysdep.h> nor <init-arch.h>.
1974 (_ZGVbN4v_sin): Removed.
1975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
1977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
1978 Don't include <sysdep.h> nor <init-arch.h>.
1979 (_ZGVbN8v_sin): Removed.
1980 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
1982 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
1983 Don't include <sysdep.h> nor <init-arch.h>.
1984 (_ZGVbN2vvv_sincos): Removed.
1985 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
1987 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
1988 Don't include <sysdep.h> nor <init-arch.h>.
1989 (_ZGVdN4vvv_sincos): Removed.
1990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
1992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
1993 Don't include <sysdep.h> nor <init-arch.h>.
1994 (_ZGVeN8vvv_sincos): Removed.
1995 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
1997 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
1998 Don't include <sysdep.h> nor <init-arch.h>.
1999 (_ZGVeN16v_cosf): Removed.
2000 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
2002 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
2003 Don't include <sysdep.h> nor <init-arch.h>.
2004 (_ZGVbN4v_cosf): Removed.
2005 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
2007 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
2008 Don't include <sysdep.h> nor <init-arch.h>.
2009 (_ZGVdN8v_cosf): Removed.
2010 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
2012 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
2013 Don't include <sysdep.h> nor <init-arch.h>.
2014 (_ZGVeN16v_expf): Removed.
2015 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
2017 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
2018 Don't include <sysdep.h> nor <init-arch.h>.
2019 (_ZGVbN4v_expf): Removed.
2020 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
2022 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
2023 Don't include <sysdep.h> nor <init-arch.h>.
2024 (_ZGVdN8v_expf): Removed.
2025 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
2027 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
2028 Don't include <sysdep.h> nor <init-arch.h>.
2029 (_ZGVeN16v_logf): Removed.
2030 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
2032 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
2033 Don't include <sysdep.h> nor <init-arch.h>.
2034 (_ZGVbN4v_logf): Removed.
2035 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
2037 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
2038 Don't include <sysdep.h> nor <init-arch.h>.
2039 (_ZGVdN8v_logf): Removed.
2040 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
2042 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
2043 Don't include <sysdep.h> nor <init-arch.h>.
2044 (_ZGVeN16vv_powf): Removed.
2045 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
2047 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
2048 Don't include <sysdep.h> nor <init-arch.h>.
2049 (_ZGVbN4vv_powf): Removed.
2050 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
2052 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
2053 Don't include <sysdep.h> nor <init-arch.h>.
2054 (_ZGVdN8vv_powf): Removed.
2055 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
2057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
2058 Don't include <sysdep.h> nor <init-arch.h>.
2059 (_ZGVeN16vvv_sincosf): Removed.
2060 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
2062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
2063 Don't include <sysdep.h> nor <init-arch.h>.
2064 (_ZGVbN4vvv_sincosf): Removed.
2065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
2067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
2068 Don't include <sysdep.h> nor <init-arch.h>.
2069 (_ZGVdN8vvv_sincosf): Removed.
2070 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
2072 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
2073 Don't include <sysdep.h> nor <init-arch.h>.
2074 (_ZGVeN16v_sinf): Removed.
2075 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
2077 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
2078 Don't include <sysdep.h> nor <init-arch.h>.
2079 (_ZGVbN4v_sinf): Removed.
2080 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
2082 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
2083 Don't include <sysdep.h> nor <init-arch.h>.
2084 (_ZGVdN8v_sinf): Removed.
2086 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2088 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2089 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
2090 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
2091 s_rint-sse4_1 and s_rintf-sse4_1.
2092 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
2093 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
2094 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
2095 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
2096 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
2097 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
2098 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
2099 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
2100 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
2101 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
2102 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
2103 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2105 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
2106 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
2107 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2109 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
2110 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
2111 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2113 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
2114 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
2115 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2116 (__floorf): Removed.
2117 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
2118 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
2119 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2120 (__nearbyint): Removed.
2121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
2122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
2123 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2124 (__nearbyintf): Removed.
2125 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
2126 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
2127 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2129 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
2130 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
2131 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2134 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2136 * sysdeps/i386/start.S (_start): Check Check PIC instead of
2137 SHARED. Avoid dynamic relocation against main in static PIE.
2139 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2142 * elf/Makefile (CFLAGS-tst-prelink.c): New.
2143 (LDFLAGS-tst-prelink): Likewise.
2145 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2147 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
2148 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
2149 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
2150 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2151 (INTERNAL_SYSCALL_NCS): Likewise.
2152 (LOADARGS_1): Likewise.
2153 (LOADARGS_5): Likewise.
2154 (RESTOREARGS_1): Likewise.
2155 (RESTOREARGS_5): Likewise.
2157 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2159 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
2160 (MEMPCPY_SYMBOL): Likewise.
2161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2162 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
2163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
2165 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2166 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2168 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
2169 (__hidden_ver1): Don't use in libc.a.
2170 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2171 (__mempcpy): Don't create a weak alias in libc.a.
2172 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
2174 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
2175 (__hidden_ver1): Don't use in libc.a.
2177 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2179 * config.make.in (have-insert): New.
2180 * configure.ac (libc_cv_insert): New. Set to yes if linker
2181 supports INSERT in linker script.
2182 (AC_SUBST(libc_cv_insert): New.
2183 * configure: Regenerated.
2184 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
2185 if $(have-insert) == yes.
2187 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2189 * elf/Makefile (tests): Add vismain only if
2190 $(have-protected-data) == yes.
2191 (tests-pie): Likewise.
2193 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2196 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2197 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
2199 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2202 * sysdeps/i386/i586/memset.S
2203 (__memset_zero_constant_len_parameter): Removed.
2204 * sysdeps/i386/i686/memset.S
2205 (__memset_zero_constant_len_parameter): Likewise.
2206 * sysdeps/i386/i686/multiarch/memset_chk.S
2207 (__memset_zero_constant_len_parameter): Likewise.
2208 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
2211 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
2213 * stdlib/getentropy.c (getentropy): Change return type to int.
2215 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
2217 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2219 2017-08-03 Joseph Myers <joseph@codesourcery.com>
2221 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
2223 * math/s_nexttowardf.c (__nexttowardf): Likewise.
2224 * sysdeps/generic/math_private.h (ieee_double_shape_type):
2226 (ieee_float_shape_type): Likewise.
2227 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
2228 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
2229 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2230 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2231 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2232 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
2233 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
2234 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2235 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2237 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2238 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2239 (__ieee754_yn): Likewise.
2240 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2241 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2242 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
2244 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2245 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
2246 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
2247 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
2249 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
2250 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
2251 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
2252 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
2253 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
2254 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
2256 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
2257 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
2258 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
2259 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
2260 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2261 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
2262 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
2263 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
2264 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
2265 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2266 (__issignaling): Likewise.
2267 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
2268 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
2269 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2271 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2272 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2273 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
2274 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
2276 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
2278 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
2279 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
2280 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
2281 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
2282 (__erfcf): Likewise.
2283 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
2284 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
2285 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
2286 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
2288 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
2289 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
2291 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
2292 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
2293 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
2294 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
2295 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
2296 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2297 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
2298 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
2300 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
2302 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
2304 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
2305 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2307 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2309 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2310 (__ieee754_ynl): Likewise.
2311 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2312 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
2314 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
2316 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
2317 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
2318 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2320 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
2321 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
2322 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
2323 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
2324 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
2325 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
2326 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
2327 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
2329 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2330 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
2331 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
2333 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
2334 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
2335 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
2336 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2337 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
2338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2340 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2342 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2344 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2346 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
2347 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2348 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2349 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
2350 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
2351 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
2352 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
2354 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2357 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2359 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2360 (__ieee754_remainderl): Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2369 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2370 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
2371 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
2372 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
2373 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2374 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2376 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2377 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
2378 (__ieee754_y0l): Likewise.
2381 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2382 (__ieee754_y1l): Likewise.
2385 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2386 (__ieee754_ynl): Likewise.
2387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
2388 (__ieee754_lgammal_r): Likewise.
2389 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
2391 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
2392 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
2393 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
2394 (__erfcl): Likewise.
2395 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2396 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
2398 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
2399 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
2400 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2401 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
2402 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
2403 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2404 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2406 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
2407 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2408 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
2409 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
2410 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2412 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
2413 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
2415 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
2416 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
2417 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
2418 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2419 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
2421 2017-08-03 Florian Weimer <fweimer@redhat.com>
2424 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
2425 on memory allocation failure.
2427 2017-08-03 Alan Modra <amodra@gmail.com>
2429 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
2430 tst-tlsopt-powerpc.c with function name change and no test harness.
2431 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
2432 Call tls_get_addr_opt_test.
2433 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
2434 (modules-names): Add mod-tlsopt-powerpc.
2435 (mod-tlsopt-powerpc.so-no-z-defs): Define.
2436 (tst-tlsopt-powerpc): Depend on .so.
2437 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
2438 define. Expand use in TLS_GD and TLS_LD.
2440 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2442 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
2444 * sysdeps/posix/shm_open.c: Include <pthread.h>.
2446 2017-08-02 Joseph Myers <joseph@codesourcery.com>
2449 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
2450 comparing size with that of double.
2451 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
2452 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
2453 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
2454 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
2455 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2456 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
2457 unsigned __int128 types.
2459 2017-08-02 Steve Ellcey <sellcey@cavium.com>
2461 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
2462 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
2463 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
2464 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
2465 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
2467 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
2469 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
2471 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
2473 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
2475 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2476 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2477 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2478 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2479 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2481 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2483 2017-08-02 Joseph Myers <joseph@codesourcery.com>
2486 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
2487 bit-field expressions passed to sizeof or typeof.
2488 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2489 (__TGMATH_F128): Likewise.
2490 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2491 (__TGMATH_CF128): Likewise.
2492 (__TGMATH_UNARY_REAL_ONLY): Likewise.
2493 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
2494 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
2495 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
2496 (__TGMATH_BINARY_REAL_ONLY): Likewise.
2497 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
2498 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
2499 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
2500 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
2501 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
2502 (__TGMATH_UNARY_REAL_IMAG): Likewise.
2503 (__TGMATH_UNARY_IMAG): Likewise.
2504 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
2505 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2506 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
2508 (define_vars_for_type): Handle bit_field type specially.
2509 (Tests.__init__): Declare structure with bit-field element.
2511 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
2514 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
2515 (MEMCPY_CHK): Define only if SHARED is defined.
2516 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
2518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
2521 See ChangeLog.18 for earlier changes.