1 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
4 (declare_mgen_alias_2): Remove.
5 * sysdeps/generic/math-type-macros-double.h
6 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
8 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
10 (ldexp): Define with declare_mgen_alias.
13 2017-09-12 Steve Ellcey <sellcey@cavium.com>
15 * grp/initgroups.c: Include config.h.
16 (DEFAULT_CONFIG): New macro.
17 (internal_getgrouplist): Use DEFAULT_CONFIG.
18 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
20 (DEFAULT_DEFCONFIG): New macro.
21 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
22 * nss/grp-lookup.c: Include config.h
23 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
24 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
25 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
26 * manual/nss.texi: Update default values section.
28 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35 Handle MathVec_Prefer_No_AVX512.
36 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
37 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
40 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
42 * posix/sched_primax.c (__sched_get_priority_max): Add
44 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
45 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
46 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
47 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
48 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
49 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
50 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
51 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
54 2017-09-11 Joseph Myers <joseph@codesourcery.com>
56 * sysdeps/generic/libm-alias-float.h: New file.
57 * sysdeps/generic/math-type-macros-float.h: Include
59 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
61 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
64 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
65 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
66 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
67 (HWCAP_IMPORTANT): Likewise.
68 (HWCAP_X86_64): New enum.
69 (HWCAP_X86_AVX512_1): Updated.
70 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
71 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
72 (modules-names): Add x86_64/tst-x86_64mod-1.
73 (LDFLAGS-tst-x86_64mod-1.so): New.
74 ($(objpfx)tst-x86_64-1): Likewise.
75 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
76 (tst-x86_64-1-clean): Likewise.
77 * sysdeps/x86_64/tst-x86_64-1.c: New file.
78 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
80 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
82 * po/sv.po: Update translations.
85 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
87 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
89 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
91 * elf/rtld-Rules: Fix $(error) use.
93 2017-09-09 Mike FABIAN <mfabian@redhat.com>
96 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
97 * locale/iso-639.def: Change “Bengali” to “Bangla”.
98 * localedata/locales/bn_BD: “Bengali” was still used in some
99 comments. Change it to “Bangla”.
101 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
103 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
105 2017-09-08 Steve Ellcey <sellcey@cavium.com>
107 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
108 thunderx2t99p1 to list of cpu names.
109 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
110 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
112 2017-09-08 Steve Ellcey <sellcey@cavium.com>
114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
115 Use strcmp instead of tunable_is_name.
117 2017-09-08 Joseph Myers <joseph@codesourcery.com>
119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
120 (F_GET_RW_HINT): New macro.
121 [__USE_GNU] (F_SET_RW_HINT): Likewise.
122 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
123 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
124 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
125 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
126 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
127 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
128 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
129 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
132 (F_ADD_SEALS): New macro.
133 [__USE_GNU] (F_GET_SEALS): Likewise.
134 [__USE_GNU] (F_SEAL_SEAL): Likewise.
135 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
136 [__USE_GNU] (F_SEAL_GROW): Likewise.
137 [__USE_GNU] (F_SEAL_WRITE): Likewise.
139 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
141 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
142 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
143 * posix/glob_internal.h (__glob_pattern_type):
144 * posix/glob.c (glob):
145 * posix/glob_pattern_p.c (__glob_pattern_p):
148 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
149 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
150 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
151 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
152 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
154 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
155 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
156 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
157 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
158 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
159 * sysdeps/wordsize-64/glob.c: Likewise.
160 * sysdeps/wordsize-64/glob64.c: Likewise.
161 * sysdeps/wordsize-64/globfree.c: Likewise.
162 * sysdeps/wordsize-64/globfree64.c: Likewise.
163 * sysdeps/unix/sysv/linux/glob.c: New file.
164 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
165 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
166 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
167 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
168 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
169 adds !GLOB_NO_OLD_VERSION as an extra condition.
170 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
171 using relative path instead of absolute one.
172 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
173 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
174 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
175 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
176 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
177 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
180 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
181 (glob): Use the same scratch buffer for both getlogin_r and
182 getpwnam_r. Don’t require preallocation of the login name. This
183 simplifies storage allocation, and corrects the handling of
187 * posix/glob.c (glob): Port recent patches to platforms
189 (glob): Fix longstanding misuse of errno after getpwnam_r, which
190 returns an error number rather than setting errno.
192 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
193 instead of GCC extension.
194 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
195 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
196 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
200 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
201 * posix/bug-glob1.c: Remove file.
202 * posix/tst-glob_symlinks.c: New file.
203 * posix/glob.c (__lstat64): New macro.
204 (is_dir): New function.
205 (glob, glob_in_dir): Match symlinks even if they are dangling.
206 (link_stat, link_exists_p): Remove. All uses removed.
210 * posix/glob.c (struct readdir_result): Remove skip_entry member.
211 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
215 * posix/Makefile (routines): Add globfree, globfree64, and
217 * posix/flexmember.h: New file.
218 * posix/glob_internal.h: Likewise.
219 * posix/glob_pattern_p.c: Likewise.
220 * posix/globfree.c: Likewise.
221 * posix/globfree64.c: Likewise.
222 * sysdeps/gnu/globfree64.c: Likewise.
223 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
224 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
225 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
226 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
227 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
228 * sysdeps/wordsize-64/globfree.c: Likewise.
229 * sysdeps/wordsize-64/globfree64.c: Likewise.
230 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
231 [NDEBUG): Remove comments.
232 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
233 (dirent_type): New type. Use uint_fast8_t not
234 uint8_t, as C99 does not require uint8_t.
235 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
236 (struct readdir_result): Use dirent_type. Do not define skip_entry
237 unless it is needed; this saves a byte on platforms lacking d_ino.
238 (readdir_result_type, readdir_result_skip_entry):
239 New functions, replacing ...
240 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
241 these functions, which were removed. This makes the callers
242 easier to read. All callers changed.
243 (D_INO_TO_RESULT): Now empty if there is no d_ino.
244 (size_add_wrapv, glob_use_alloca): New static functions.
245 (glob, glob_in_dir): Check for size_t overflow in several places,
246 and fix some size_t checks that were not quite right.
247 Remove old code using SHELL since Bash no longer
249 (glob, prefix_array): Separate MS code better.
250 (glob_in_dir): Remove old Amiga and VMS code.
251 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
253 (glob_in_dir): Do not rely on undefined behavior in accessing
254 struct members beyond their bounds. Use a flexible array member
256 (link_stat): Rename from link_exists2_p and return -1/0 instead of
258 (glob): Fix memory leaks.
259 * posix/glob64 (globfree64): Move to separate file.
260 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
261 (globfree64): Remove hidden alias.
262 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
264 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
266 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
268 Move compat code to separate file.
269 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
272 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
274 * resolv/tst-resolv-qtypes.c (domain): Changed to
275 "const char domain[] =".
277 2017-09-07 Joseph Myers <joseph@codesourcery.com>
279 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
282 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
283 (TCP_MD5SIG_EXT): Likewise.
284 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
285 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
286 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
288 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
290 2017-09-07 Mike FABIAN <mfabian@redhat.com>
292 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
294 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
297 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
299 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
301 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
302 before assuming that the file is empty. Avoid testing buffer content
305 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
308 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
310 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
312 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
314 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
316 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
318 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
320 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
323 2017-09-06 Florian Weimer <fweimer@redhat.com>
325 * malloc/dynarray_emplace_enlarge.c
326 (__libc_dynarray_emplace_enlarge): Add missing else.
328 2017-09-06 Florian Weimer <fweimer@redhat.com>
331 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
332 case of failure to obtain the global conf object.
334 2017-09-06 Florian Weimer <fweimer@redhat.com>
337 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
338 dynarray allocation failure.
340 2017-09-06 Florian Weimer <fweimer@redhat.com>
342 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
343 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
344 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
346 (response): Call them. Add 'p', '6' flag processing.
347 (test_reverse): New function.
348 (test_get2_any): Call it.
349 (test_no_inet6): Add 'p' test.
350 (test_inet6): Likewise.
352 2017-09-06 Florian Weimer <fweimer@redhat.com>
354 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
355 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
357 (test_gai): Adjust query names. Add additional tests.
358 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
359 test_get2. Adjust query names. Add additional tests.
360 (test_no_inet6): New function, extracted from threadfunc.
361 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
362 Add additional tests.
364 2017-09-06 Mike FABIAN <mfabian@redhat.com>
367 * localedata/unicode-gen/utf8_gen.py: Set the width for
368 characters with Prepended_Concatenation_Mark property to 1
369 * localedata/charmaps/UTF-8: Updated using the improved script.
371 2017-09-06 Mike FABIAN <mfabian@redhat.com>
374 * localedata/unicode-gen/utf8_gen.py: Improve the script to
375 use the range notation for all ranges of neighbouring characters
378 2017-09-05 Joseph Myers <joseph@codesourcery.com>
380 * sysdeps/generic/math-type-macros-double.h: Include
381 <math-svid-compat.h>.
382 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
383 * sysdeps/generic/math-type-macros-float.h: Include
384 <math-svid-compat.h>.
385 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
386 * sysdeps/generic/math-type-macros-ldouble.h: Include
387 <math-svid-compat.h>.
388 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
389 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
391 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
392 * math/w_acosf_compat.c: Likewise.
393 * math/w_acosh_compat.c: Likewise.
394 * math/w_acoshf_compat.c: Likewise.
395 * math/w_acoshl_compat.c: Likewise.
396 * math/w_acosl_compat.c: Likewise.
397 * math/w_asin_compat.c: Likewise.
398 * math/w_asinf_compat.c: Likewise.
399 * math/w_asinl_compat.c: Likewise.
400 * math/w_atan2_compat.c: Likewise.
401 * math/w_atan2f_compat.c: Likewise.
402 * math/w_atan2l_compat.c: Likewise.
403 * math/w_atanh_compat.c: Likewise.
404 * math/w_atanhf_compat.c: Likewise.
405 * math/w_atanhl_compat.c: Likewise.
406 * math/w_cosh_compat.c: Likewise.
407 * math/w_coshf_compat.c: Likewise.
408 * math/w_coshl_compat.c: Likewise.
409 * math/w_exp10_compat.c: Likewise.
410 * math/w_exp10f_compat.c: Likewise.
411 * math/w_exp10l_compat.c: Likewise.
412 * math/w_exp2_compat.c: Likewise.
413 * math/w_exp2f_compat.c: Likewise.
414 * math/w_exp2l_compat.c: Likewise.
415 * math/w_fmod_compat.c: Likewise.
416 * math/w_fmodf_compat.c: Likewise.
417 * math/w_fmodl_compat.c: Likewise.
418 * math/w_hypot_compat.c: Likewise.
419 * math/w_hypotf_compat.c: Likewise.
420 * math/w_hypotl_compat.c: Likewise.
421 * math/w_j0_compat.c: Likewise.
422 * math/w_j0f_compat.c: Likewise.
423 * math/w_j0l_compat.c: Likewise.
424 * math/w_j1_compat.c: Likewise.
425 * math/w_j1f_compat.c: Likewise.
426 * math/w_j1l_compat.c: Likewise.
427 * math/w_jn_compat.c: Likewise.
428 * math/w_jnf_compat.c: Likewise.
429 * math/w_jnl_compat.c: Likewise.
430 * math/w_lgamma_r_compat.c: Likewise.
431 * math/w_lgammaf_r_compat.c: Likewise.
432 * math/w_lgammal_r_compat.c: Likewise.
433 * math/w_log10_compat.c: Likewise.
434 * math/w_log10f_compat.c: Likewise.
435 * math/w_log10l_compat.c: Likewise.
436 * math/w_log2_compat.c: Likewise.
437 * math/w_log2f_compat.c: Likewise.
438 * math/w_log2l_compat.c: Likewise.
439 * math/w_log_compat.c: Likewise.
440 * math/w_logf_compat.c: Likewise.
441 * math/w_logl_compat.c: Likewise.
442 * math/w_pow_compat.c: Likewise.
443 * math/w_powf_compat.c: Likewise.
444 * math/w_powl_compat.c: Likewise.
445 * math/w_remainder_compat.c: Likewise.
446 * math/w_remainderf_compat.c: Likewise.
447 * math/w_remainderl_compat.c: Likewise.
448 * math/w_sinh_compat.c: Likewise.
449 * math/w_sinhf_compat.c: Likewise.
450 * math/w_sinhl_compat.c: Likewise.
451 * math/w_sqrt_compat.c: Likewise.
452 * math/w_sqrtf_compat.c: Likewise.
453 * math/w_sqrtl_compat.c: Likewise.
454 * math/w_tgamma_compat.c: Likewise.
455 * math/w_tgammaf_compat.c: Likewise.
456 * math/w_tgammal_compat.c: Likewise.
457 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
459 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
460 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
462 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
463 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
465 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
466 * sysdeps/i386/fpu/w_sqrt.c: New file.
467 * sysdeps/ia64/fpu/w_acos.c: Likewise.
468 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
469 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
470 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
471 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
472 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
473 * sysdeps/ia64/fpu/w_asin.c: Likewise.
474 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
475 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
476 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
477 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
478 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
479 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
480 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
481 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
482 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
483 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
484 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
485 * sysdeps/ia64/fpu/w_exp.c: Likewise.
486 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
487 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
488 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
489 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
490 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
491 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
492 * sysdeps/ia64/fpu/w_expf.c: Likewise.
493 * sysdeps/ia64/fpu/w_expl.c: Likewise.
494 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
495 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
496 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
497 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
498 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
499 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
500 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
501 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
502 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
503 * sysdeps/ia64/fpu/w_log.c: Likewise.
504 * sysdeps/ia64/fpu/w_log10.c: Likewise.
505 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
506 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
507 * sysdeps/ia64/fpu/w_log2.c: Likewise.
508 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
509 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
510 * sysdeps/ia64/fpu/w_logf.c: Likewise.
511 * sysdeps/ia64/fpu/w_logl.c: Likewise.
512 * sysdeps/ia64/fpu/w_pow.c: Likewise.
513 * sysdeps/ia64/fpu/w_powf.c: Likewise.
514 * sysdeps/ia64/fpu/w_powl.c: Likewise.
515 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
516 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
517 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
518 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
519 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
520 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
521 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
522 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
523 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
524 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
525 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
526 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
527 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
529 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
530 * sysdeps/ieee754/k_standard.c: Likewise.
531 * sysdeps/ieee754/k_standardf.c: Likewise.
532 * sysdeps/ieee754/k_standardl.c: Likewise.
533 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
534 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
535 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
536 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
537 long_double_symbol call on [LIBM_SVID_COMPAT].
538 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
539 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
540 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
541 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
542 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
543 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
544 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
545 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
546 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
547 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
548 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
549 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
550 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
551 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
552 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
553 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
554 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
555 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
556 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
557 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
558 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
559 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
561 2017-09-05 Steve Ellcey <sellcey@cavium.com>
563 * include/shlib-compat.h (TEST_COMPAT): New Macro.
564 * malloc/tst-mallocstate.c: Convert from test-skeleton
565 to test-driver. Ifdef code using TEST_COMPAT macro.
566 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
567 * math/test-matherr.c: Likewise.
569 2017-09-05 Joseph Myers <joseph@codesourcery.com>
572 * debug/pcprofiledump.c (main): Use byte-swapped mask when
573 comparing word with byte-swapped constant.
575 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
578 * locale/iso-639.def: add Miskito.
579 * localedata/SUPPORTED: Add miq_NI/UTF-8.
580 * localedata/locales/miq_NI: New file.
582 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
585 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
587 * io/chmod.c (__chmod): Add libc_hidden_def.
588 * io/mkdir.c (__mkdir): Likewise.
589 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
590 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
591 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
592 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
594 2017-09-04 Joseph Myers <joseph@codesourcery.com>
596 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
600 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
601 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
603 2017-09-04 Florian Weimer <fweimer@redhat.com>
605 * math/math.h: Issue warning if log is defined.
607 2017-09-04 Joseph Myers <joseph@codesourcery.com>
609 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
610 kernel version to 4.13.
612 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
614 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
615 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
617 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
619 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
620 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
621 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
622 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
623 * misc/preadv2.c: Include <errno.h>.
624 * misc/preadv64v2.c: Include <errno.h>.
625 * misc/pwritev2.c: Include <errno.h>.
626 * misc/pwritev64v2.c: Include <errno.h>.
627 * sysdeps/posix/preadv2.c: Include <errno.h>.
628 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
629 Fix <unistd.h> inclusion.
630 * sysdeps/posix/pwritev2.c: Include <errno.h>.
631 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
632 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
633 __strtoul_internal): New functions.
634 * sysdeps/posix/pause.c: Include <sigsetops.h>.
635 * sysdeps/posix/system.c: Include <sigsetops.h>.
636 * sysdeps/mach/hurd/i386/Makefile
637 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
638 [$(subdir) = csu] (sysdep-only-routines): Likewise.
639 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
640 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
641 __feraiseexcept_renamed to feraiseexcept instead of
643 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
644 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
645 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
646 RWF_NOWAIT): Define to 0 if undefined already.
647 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
649 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
650 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
652 2017-09-01 Joseph Myers <joseph@codesourcery.com>
654 * manual/math.texi (pow10): Do not document.
657 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
658 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
659 * math/libm-test-exp10.inc (pow10_test): Remove.
660 (do_test): Do not call pow10.
661 * math/w_exp10_compat.c (pow10): Make into compat symbol.
662 [NO_LONG_DOUBLE] (pow10l): Likewise.
663 * math/w_exp10f_compat.c (pow10f): Likewise.
664 * math/w_exp10l_compat.c (pow10l): Likewise.
665 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
666 (pow10): Make into compat symbol.
667 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
668 (pow10f): Make into compat symbol.
669 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
670 (pow10l): Make into compat symbol.
671 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
673 (CFLAGS-nldbl-pow10.c): Remove variable..
674 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
675 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
676 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
677 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
678 Undefine and redefine.
679 (pow10l): Make into compat symbol.
680 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
681 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
682 * sysdeps/arm/libm-test-ulps: Likewise.
683 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
684 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
685 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
686 * sysdeps/microblaze/libm-test-ulps: Likewise.
687 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
688 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
689 * sysdeps/nios2/libm-test-ulps: Likewise.
690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
691 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
692 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
693 * sysdeps/sh/libm-test-ulps: Likewise.
694 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
695 * sysdeps/tile/libm-test-ulps: Likewise.
696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
698 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
700 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
702 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
704 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
705 "../ChangeLog.old/ChangeLog.8".
706 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
707 "../ChangeLog.old/ChangeLog.14".
709 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
711 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
714 2017-09-01 Joseph Myers <joseph@codesourcery.com>
716 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
718 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
720 * csu/version.c (banner): Remove "by Roland McGrath et al.".
721 * nptl/Banner: Remove "by Ulrich Drepper et al.".
723 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
725 * stdlib/tst-atexit-common.c (do_test): Test support for at least
728 2017-09-01 Zack Weinberg <zackw@panix.com>
730 * math/math.h (HUGE_VAL): Improve commentary.
732 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
733 Andreas Schwab <schwab@suse.de>
736 * include/stdio.h (__gen_tempfd): New function.
737 * stdio-common/Makefile (routines): Add gentempfd.
738 * stdio-common/gentempfd.c: New file.
739 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
740 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
743 2017-09-01 Florian Weimer <fweimer@redhat.com>
747 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
748 result to determine success or failure, not the errno value.
749 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
750 (tst-nss-files-hosts-erange): Link with -ldl.
751 * nss/tst-nss-files-hosts-erange.c: New file.
752 * nss/tst-resolv-basic.c (response): Handle nodata.example.
753 (do_test): Add NO_DATA tests.
754 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
757 2017-09-01 Florian Weimer <fweimer@redhat.com>
760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
761 coming from gethostbyname2_r.
763 2017-09-01 Florian Weimer <fweimer@redhat.com>
765 * support/namespace.h (struct support_chroot_configuration): Add
767 (struct support_chroot): Add path_hosts, path_host_conf.
768 * support/support_chroot.c (write_file): New function.
769 (support_chroot_create): Call it to process /etc/resolv.conf,
770 /etc/hosts, /etc/host.conf.
771 (support_chroot_free): Update.
773 2017-09-01 Florian Weimer <fweimer@redhat.com>
775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
776 status indicates it is set.
778 2017-09-01 Florian Weimer <fweimer@redhat.com>
780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
781 function lookup failures more reliable.
783 2017-09-01 Florian Weimer <fweimer@redhat.com>
785 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
786 (getcanonname): Likewise.
787 (gaih_inet): Likewise.
789 2017-09-01 Florian Weimer <fweimer@redhat.com>
791 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
792 (getcanonname): Likewise.
793 (gaih_inet): Likewise.
795 2017-08-31 Steve Ellcey <sellcey@cavium.com>
796 Richard Henderson <rth@twiddle.net>
798 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
799 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
800 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
801 (IREG_SIZE, OREG_SIZE): New macros.
802 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
803 (IREG_SIZE, OREG_SIZE): New macros.
804 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
805 (IREG_SIZE): New macro.
806 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
807 (IREG_SIZE): New macro.
808 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
810 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
811 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
812 (__CONCATX): Handle exceptions correctly on large values that may
814 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
815 Initialize if not already set.
816 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
818 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
820 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
821 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
823 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
825 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
827 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
829 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
831 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
833 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
835 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
836 (NO_CANCELLATION): Likewise.
837 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
839 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
841 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
844 (NO_CANCELLATION): Likewise.
845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
846 (NO_CANCELLATION): Likewise.
847 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
849 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
851 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
853 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
855 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
857 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
858 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
860 2017-08-31 Steve Ellcey <sellcey@cavium.com>
862 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
865 2017-08-31 Florian Weimer <fweimer@redhat.com>
867 * include/libc-symbols.h (internal_function): Remove.
869 2017-08-31 Florian Weimer <fweimer@redhat.com>
871 * stdlib/fmtmsg.c (internal_addseverity): Remove
874 2017-08-31 Florian Weimer <fweimer@redhat.com>
876 * stdio-common/printf_fp.c (group_number): Remove
878 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
880 2017-08-31 Florian Weimer <fweimer@redhat.com>
882 * posix/fnmatch.c (internal_function): Remove definition.
883 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
884 * posix/regcomp.c (peek_token, init_word_char)
885 (duplicate_node_closure, fetch_token, peek_token)
886 (peek_token_bracket, build_range_exp, build_collating_symbol):
888 * posix/regex_internal.c (re_string_construct_common)
889 (create_ci_newstate, create_cd_newstate, re_string_allocate)
890 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
891 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
892 (re_string_translate_buffer, re_string_reconstruct)
893 (re_string_peek_byte_case, re_string_fetch_byte_case)
894 (re_string_destruct, re_string_context_at, re_node_set_alloc)
895 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
896 (re_node_set_add_intersect, re_node_set_init_union)
897 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
898 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
899 (re_dfa_add_node, calc_state_hash, re_acquire_state)
900 (re_acquire_state_context): Likewise.
901 * posix/regex_internal.h (internal_function): Remove definition.
902 (re_string_realloc_buffers, build_wcs_buffer)
903 (build_wcs_upper_buffer, build_upper_buffer)
904 (re_string_translate_buffer, re_string_context_at)
905 (re_string_char_size_at, re_string_wchar_at)
906 (re_string_elem_size_at): Likewise.
907 * posix/regexec.c (match_ctx_init, match_ctx_clean)
908 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
909 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
910 (re_search_internal, re_search_2_stub, re_search_stub)
911 (re_copy_regs, prune_impossible_nodes, check_matching)
912 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
913 (free_fail_stack_return, sift_states_iter_mb)
914 (sift_states_backward, build_sifted_states)
915 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
916 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
917 (check_subexp_limits, sift_states_bkref, merge_state_array)
918 (find_recover_state, transit_state, merge_state_with_log)
919 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
920 (transit_state_mb, transit_state_bkref, get_subexp)
921 (get_subexp_sub, find_subexp_node, check_arrival)
922 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
923 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
924 (check_node_accept_bytes, find_collation_sequence_value)
925 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
926 (acquire_init_state_context, check_halt_node_context)
927 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
928 (sub_epsilon_src_nodes): Likewise.
929 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
930 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
931 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
932 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
933 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
934 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
935 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
936 * sysdeps/posix/ttyname.c (getttyname): Likewise.
937 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
938 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
940 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
942 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
944 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
946 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
947 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
949 2017-08-31 Florian Weimer <fweimer@redhat.com>
951 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
952 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
953 Remove internal_function.
954 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
955 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
956 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
957 (__deallocate_stack, __libc_pthread_init)
958 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
959 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
960 (__libc_disable_asynccancel, __librt_disable_asynccancel):
962 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
963 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
964 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
966 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
967 (__pthread_mutex_unlock_usercnt): Likewise.
969 2017-08-31 Florian Weimer <fweimer@redhat.com>
971 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
972 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
973 (fts_safe_changedir): Remove internal_function.
974 * io/ftw.c (internal_function): Remove definition.
975 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
977 2017-08-31 Florian Weimer <fweimer@redhat.com>
979 * inet/deadline.c (__deadline_current_time)
980 (__deadline_from_timeval, __deadline_to_ms): Remove
982 * inet/getnameinfo.c (nrl_domainname): Likewise.
983 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
984 * inet/inet6_option.c (add_pad): Likewise.
985 * inet/net-internal.h (__deadline_current_time)
986 (__deadline_from_timeval, __deadline_to_ms): Likewise.
987 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
988 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
989 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
991 2017-08-31 Joseph Myers <joseph@codesourcery.com>
993 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
994 include <bits/nan.h>.
995 * math/Makefile (headers): Remove bits/nan.h.
996 * bits/nan.h: Remove.
997 * sysdeps/ieee754/bits/nan.h: Likewise.
998 * sysdeps/mips/bits/nan.h: Likewise.
1000 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
1001 not include <bits/inf.h>.
1002 * math/Makefile (headers): Remove bits/inf.h.
1003 * bits/inf.h: Remove.
1004 * sysdeps/ieee754/bits/inf.h: Likewise.
1006 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
1007 bits/huge_vall.h or bits/huge_val_flt128.h.
1008 (HUGE_VAL): Define directly here.
1009 [__USE_ISOC99] (HUGE_VALF): Likewise.
1010 [__USE_ISOC99] (HUGE_VALL): Likewise.
1011 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1012 (HUGE_VAL_F128): Likewise.
1013 * math/Makefile (headers): Remove bits/huge_val.h,
1014 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
1015 * bits/huge_val.h: Remove.
1016 * bits/huge_val_flt128.h: Likewise.
1017 * bits/huge_valf.h: Likewise.
1018 * bits/huge_vall.h: Likewise.
1019 * sysdeps/ia64/bits/huge_vall.h: Likewise.
1020 * sysdeps/ieee754/bits/huge_val.h: Likewise.
1021 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
1022 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
1023 * sysdeps/sh/bits/huge_val.h: Likewise.
1024 * sysdeps/sparc/bits/huge_vall.h: Likewise.
1025 * sysdeps/x86/bits/huge_vall.h: Likewise.
1027 2017-08-31 Florian Weimer <fweimer@redhat.com>
1029 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
1031 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
1033 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
1034 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1035 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
1036 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
1037 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1038 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1039 * elf/dl-libc.c (dlerror_run): Likewise.
1040 * elf/dl-load.c (add_name_to_object, decompose_rpath)
1041 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
1042 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
1043 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
1045 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
1046 (_dl_higher_prime_number, _dl_strtoul): Likewise.
1047 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
1048 * elf/dl-profile.c (_dl_start_profile): Likewise.
1049 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
1050 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
1052 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
1053 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
1054 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
1055 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
1056 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
1057 (_dl_allocate_tls_storage): Likewise.
1058 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
1059 (_dl_check_all_versions): Likewise.
1060 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1061 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
1062 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
1063 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1064 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
1065 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
1066 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
1067 internal_function from __dl_start.
1068 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
1069 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1070 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
1071 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
1072 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
1073 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
1074 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
1075 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
1076 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
1077 (_dl_next_ld_env_entry, _dl_important_hwcaps)
1078 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
1079 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
1080 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
1081 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
1082 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
1084 (struct rtld_global_ro): Remove internal_function from the
1085 _dl_lookup_symbol_x member.
1086 (_dl_symbol_value): Remove. No longer defined anywhere.
1087 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
1089 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1090 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1091 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
1092 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
1093 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
1094 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
1095 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
1096 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
1097 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
1098 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1099 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1100 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1102 2017-08-31 Florian Weimer <fweimer@redhat.com>
1104 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
1105 Remove internal_function.
1106 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1108 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1111 2017-08-31 Florian Weimer <fweimer@redhat.com>
1113 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
1114 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
1115 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
1117 2017-08-31 Florian Weimer <fweimer@redhat.com>
1119 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
1120 (__gai_enqueue_request): Remove internal_function.
1121 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
1122 (__gai_remove_request, __gai_notify, __gai_notify_only)
1123 (__gai_sigqueue): Likewise.
1124 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
1125 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1126 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1127 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1130 2017-08-31 Florian Weimer <fweimer@redhat.com>
1132 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
1133 * include/dirent.h (__opendirat, __getdents, __getdents64)
1134 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
1135 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
1136 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1137 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1139 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
1141 2017-08-31 Florian Weimer <fweimer@redhat.com>
1143 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
1145 (GETCWD_RETURN_TYPE): Likewise.
1147 2017-08-31 Florian Weimer <fweimer@redhat.com>
1149 * include/time.h (__tz_compute, __strptime_internal): Remove
1151 * time/strptime_l.c (__strptime_internal): Likewise.
1152 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
1154 2017-08-31 Florian Weimer <fweimer@redhat.com>
1156 * iconv/gconv.c (__gconv): Remove internal_function.
1157 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
1158 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
1159 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
1160 (__gconv_release_cache): Likewise.
1161 * iconv/gconv_close.c (__gconv_close): Likewise.
1162 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
1163 (read_conf_file, __gconv_get_path): Likewise.
1164 * iconv/gconv_db.c (derivation_lookup, add_derivation)
1165 (__gconv_release_step, gen_steps, increment_counter)
1166 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
1167 (__gconv_close_transform, free_modules_db): Likewise.
1168 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
1170 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
1171 (__gconv_find_transform, __gconv_lookup_cache)
1172 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
1173 (__gconv_close_transform, __gconv_release_cache)
1174 (__gconv_loaded_object, __gconv_release_shlib)
1175 (__gconv_compare_alias): Likewise.
1176 * iconv/gconv_open.c (__gconv_open): Likewise.
1177 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
1178 * iconv/iconvconfig.c (add_module): Likewise.
1179 * intl/dcigettext.c (plural_lookup, guess_category_value)
1180 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
1181 * intl/eval-plural.h (plural_eval): Likewise.
1182 * intl/finddomain.c (_nl_find_domain): Likewise.
1183 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
1184 (_nl_load_domain, _nl_find_msg): Likewise.
1185 (internal_function): Remove definition.
1186 * intl/loadinfo.h (internal_function): Likewise.
1187 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
1189 * intl/localealias.c (internal_function): Remove definition.
1190 (read_alias_file): Remove internal_function.
1191 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
1192 * intl/plural-exp.h (internal_function): Remove definition.
1193 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
1195 * intl/plural.c: Regenerate.
1196 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
1197 * locale/coll-lookup.c (__collidx_table_lookup)
1198 (__collseq_table_lookup): Likewise.
1199 * locale/coll-lookup.h (__collidx_table_lookup)
1200 (__collseq_table_lookup): Likewise.
1201 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
1202 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1203 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
1204 (_nl_unload_locale): Likewise.
1205 * locale/localeinfo.h (struct __locale_data): Remove
1206 internal_function from cleanup member.
1207 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
1208 (_nl_remove_locale, _nl_load_locale_from_archive)
1209 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
1210 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
1211 (_nl_cleanup_time): Remove internal_function.
1212 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
1213 (_nl_parse_alt_digit): Likewise.
1214 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
1215 (_nl_select_era_entry): Likewise.
1216 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
1217 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1218 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1219 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1220 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1222 2017-08-31 Florian Weimer <fweimer@redhat.com>
1224 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
1225 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1226 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
1227 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
1229 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
1230 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
1231 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
1232 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1234 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
1236 2017-08-31 Florian Weimer <fweimer@redhat.com>
1238 * misc/getttyent.c (skip, value): Remove internal_function.
1239 * misc/syslog.c (openlog_internal): Likewise.
1240 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
1242 2017-08-31 Florian Weimer <fweimer@redhat.com>
1244 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
1245 (__nss_rewrite_field): Remove internal_function.
1246 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1247 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1248 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1249 * nss/nsswitch.c (nss_parse_file, nss_getline)
1250 (nss_parse_service_list, nss_new_service): Likewise.
1251 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
1252 * nss/valid_field.c (__nss_valid_field): Likewise.
1253 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
1255 2017-08-31 Florian Weimer <fweimer@redhat.com>
1257 * malloc/arena.c (__malloc_fork_lock_parent)
1258 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
1259 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
1260 internal_function from defintions.
1261 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
1262 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
1263 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
1264 internal_function from declarations.
1265 * malloc/malloc.c (internal_function): Do not define.
1266 (mem2mem_check): Remove internal_function from declaration.
1267 (munmap_chunk, mremap_chunk): Remove internal_function.
1268 * malloc/mtrace.c (tr_where): Likewise.
1270 2017-08-31 Florian Weimer <fweimer@redhat.com>
1272 * include/rpc/pmap_clnt.h (__get_socket): Remove
1274 * sunrpc/auth_des.c (synchronize): Likewise.
1275 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1276 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1277 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
1278 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
1279 (key_call): Likewise.
1280 * sunrpc/pm_getport.c (__get_socket): Likewise.
1281 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
1282 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
1283 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1284 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
1285 (invalidate): Likewise.
1286 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
1287 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
1288 (set_input_fragment, get_input_bytes): Likewise.
1290 2017-08-31 Florian Weimer <fweimer@redhat.com>
1292 * malloc/malloc.c (_int_free): Remove locked variable and related
1295 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
1298 * Makerules (build-module-helper-objlist): Filter out
1299 $(elf-objpfx)sofini.os.
1300 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
1303 2017-08-31 Florian Weimer <fweimer@redhat.com>
1305 * libio/fcloseall.c: Assume weak_alias is defined.
1306 * libio/feof.c: Likewise.
1307 * libio/fileno.c: Likewise.
1308 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
1309 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1311 (_IO_file_open): Call __open directly.
1312 (_IO_new_file_sync): Assume ESPIPE is defined.
1313 (_IO_file_seekoff_maybe_mmap): Call __read directly.
1314 (_IO_new_file_write): Call __write directly.
1315 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
1316 * libio/ftello64.c (__ftello64): Assume EIO is defined.
1317 * libio/genops.c: Assume _LIBC is defined.
1318 (save_for_backup): Remove internal_function.
1319 * libio/getc.c: Assume weak_alias is defined.
1320 * libio/getwc.c: Likewise.
1321 * libio/iofclose.c: Assume _LIBC is defined.
1322 * libio/iofdopen.c: Likewise.
1323 (_IO_fcntl): Remove macro definition.
1324 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
1325 Call __fcntl directly.
1326 * libio/iofflush.c: Assume weak_alias is defined.
1327 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
1329 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
1330 * libio/iofgets.c: Likewise.
1331 * libio/iofopen.c: Assume _LIBC is defined.
1332 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
1333 * libio/iofputs.c: Assume weak_alias is defined.
1334 * libio/iofread.c: Likewise.
1335 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
1336 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1337 * libio/ioftell.c: Assume weak_alias is defined.
1338 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
1339 * libio/iofwide.c: Assume _LIBC is defined.
1340 (_IO_fwide): Drop SHARED conditional because it is implied by
1342 * libio/iofwrite.c: Assume weak_alias is defined.
1343 * libio/iogetdelim.c: Likewise.
1344 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
1345 * libio/iogetwline.c (wmemcpy): Remove macro definition.
1346 (_IO_getwline): Call __wmemcpy directly.
1347 * libio/iopopen.c: Assume _LIBC is defined.
1348 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1349 (_IO_close): Remove macro definitions.
1350 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
1352 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
1354 * libio/ioputs.c: Assume weak_alias is defined.
1355 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
1356 * libio/iosetbuffer.c: Assume weak_alias is defined.
1357 * libio/iosetvbuf.c: Likewise.
1358 * libio/ioungetc.c: Likewise.
1359 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
1360 libc_hidden_def, libc_hidden_weak, NULL are defined.
1361 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
1362 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
1364 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1366 (_IO_old_file_init_internal): Drop SHARED conditional because it
1367 is implied by SHLIB_COMPAT.
1368 (_IO_old_file_fopen): Call __open directly.
1369 (_IO_old_file_sync): Assume ESPIPE is defined.
1370 (_IO_old_file_write): Call __write directly.
1371 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
1372 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
1373 Call __fcntl directly.
1374 * libio/oldiofgetpos.c: Assume weak_alias is defined.
1375 (_IO_old_fgetpos): Assume EIO is defined.
1376 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
1377 (_IO_old_fgetpos64): Assume EIO is defined.
1378 * libio/oldiofsetpos.c: Assume weak_alias is defined.
1379 (_IO_old_fsetpos): Assume EIO is defined.
1380 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
1381 (_IO_old_fsetpos64): Assume EIO is defined.
1382 * libio/oldiopopen.c: Assume _LIBC is defined.
1383 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1384 (_IO_close): Remove macro definitions.
1385 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
1387 (_IO_old_proc_close): Call __close, __waitpid directly.
1388 * libio/put.c: Assume weak_alias is defined.
1389 * libio/stdfiles.c: Assume _LIBC is defined.
1390 * libio/stdio.c: Likewise.
1391 * libio/wfileops.c: Likewise.
1392 (_IO_wfile_sync): Assume ESPIPE is defined.
1393 * libio/wgenops.c: Assume _LIBC is defined.
1394 (save_for_wbackup): Remove internal_function.
1396 2017-08-31 Florian Weimer <fweimer@redhat.com>
1398 * malloc/malloc.c (top_check): Change return type to void. Remove
1400 * malloc/hooks.c (top_check): Likewise.
1401 (malloc_check, realloc_check, memalign_check): Adjust.
1403 2017-08-30 Joseph Myers <joseph@codesourcery.com>
1406 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1407 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
1408 sigcontext and namespace requirements.
1409 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1410 * sysdeps/m68k/sys/ucontext.h: Likewise.
1411 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
1412 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1413 <bits/sigcontext.h>.
1414 (__ctx): Define earlier.
1415 (mcontext_t): Define structure contents rather than using struct
1417 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
1418 __glibc_reserved1 instead of __reserved.
1419 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1420 <bits/sigcontext.h>.
1421 (__ctx): Define earlier.
1422 (mcontext_t): Define structure contents rather than using struct
1424 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
1425 mcontext_t instead of struct sigcontext.
1426 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1427 <bits/sigcontext.h>.
1428 (__ctx): Define earlier.
1429 (mcontext_t): Define structure contents rather than using struct
1431 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1432 <bits/sigcontext.h>.
1433 (__ctx): Define earlier.
1434 (mcontext_t): Define structure contents rather than using struct
1436 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
1437 mcontext_t instead of struct sigcontext.
1438 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
1439 mcontext_t instead of struct sigcontext.
1440 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1441 <bits/sigcontext.h>.
1443 (struct __ia64_fpreg_mcontext): New type.
1444 (mcontext_t): Define structure contents rather than using struct
1446 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
1447 (uc_sigmask): Define using __ctx.
1448 (uc_stack): Likewise.
1449 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
1450 <bits/sigcontext.h>.
1451 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1452 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1453 <bits/sigcontext.h>.
1454 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
1455 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1456 <bits/sigcontext.h>.
1457 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1458 <bits/sigcontext.h>.
1459 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1460 <bits/sigcontext.h>.
1461 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1462 <bits/sigcontext.h>.
1463 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1464 <bits/sigcontext.h>.
1465 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1466 <bits/sigcontext.h>.
1467 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1468 <bits/sigcontext.h>.
1469 (__ctx): Define earlier.
1470 (mcontext_t): Define structure contents rather than using struct
1472 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1473 <bits/sigcontext.h>. Include <bits/types.h>.
1474 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
1475 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
1476 (test-xfail-XPG42/ucontext.h/conform): Likewise.
1477 (test-xfail-UNIX98/signal.h/conform): Likewise.
1478 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1479 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1480 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1481 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1482 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1483 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1484 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1485 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1486 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1488 2017-08-30 Florian Weimer <fweimer@redhat.com>
1490 * malloc/dynarray_emplace_enlarge.c
1491 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
1492 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1493 * malloc/tst-dynarray.c (test_long_overflow): New function.
1496 2017-08-30 Florian Weimer <fweimer@redhat.com>
1498 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
1499 (set_arena_corrupt): Remove definitions.
1500 (mtrim): Do not check for corrupt arena.
1501 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
1504 2017-08-30 Florian Weimer <fweimer@redhat.com>
1507 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
1509 (ptmalloc_init): Do not set or use check_action.
1510 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
1511 call to malloc_printerr. Remove return statement.
1512 (free_check): Likewise. Remove arena unlock.
1513 (top_check): Update comment. Adjust call to malloc_printerr.
1514 Remove heap repair code.
1515 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
1516 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
1517 (sysmalloc): Adjust call to malloc_printerr.
1518 (munmap_chunk, __libc_realloc): Likewise. Remove return
1520 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
1521 Remove errout label and corresponding gotos.
1522 (_int_free): Likewise. Remove arena unlock.
1523 (do_set_mallopt_check): Do not set check_action.
1524 (malloc_printerr): Adjust parameter list. Do not mark arena as
1526 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
1528 * manual/probes.texi (Memory Allocation Probes): Remove
1529 memory_mallopt_check_action.
1531 2017-08-30 Steve Ellcey <sellcey@cavium.com>
1533 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
1534 Use pointer to uint64_t instead of long int for sp.
1536 2017-08-30 Florian Weimer <fweimer@redhat.com>
1539 * malloc/malloc.c (malloc_printerr): Always terminate the process,
1540 without printing a backtrace. Do not leak any information in the
1542 * manual/memory.texi (Heap Consistency Checking): Update.
1543 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
1545 2017-08-30 Florian Weimer <fweimer@redhat.com>
1547 Do not scale NPTL tests with available number of CPUs.
1548 * nptl/tst-cond16.c (count): Set to constant value of 8.
1549 * nptl/tst-cond18.c (count): Likewise.
1551 2017-08-29 Joseph Myers <joseph@codesourcery.com>
1554 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
1555 Define to take a second argument that is a macro that
1556 concatentates a suffix, not the suffix itself.
1557 (__CONCAT_d): New macro.
1558 (__CONCAT_f): Likewise.
1559 (__CONCAT_l): Likewise.
1561 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
1563 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
1566 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1567 Aurelien Jarno <aurelien@aurel32.net>
1568 Maciej W. Rozycki <macro@imgtec.com>
1571 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
1572 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
1573 `mips16-syscall6' and `mips16-syscall7'.
1574 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
1575 (CFLAGS-mips16-syscall7.c): Remove.
1576 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
1577 Remove `__mips16_syscall5', `__mips16_syscall6' and
1578 `__mips16_syscall7'.
1579 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
1580 (__mips16_syscall0): Rename `__mips16_syscall_return' to
1581 `__mips_syscall_return'.
1582 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
1583 (__mips16_syscall1): Likewise.
1584 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
1585 (__mips16_syscall2): Likewise.
1586 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
1587 (__mips16_syscall3): Likewise.
1588 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
1589 (__mips16_syscall4): Likewise.
1590 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
1592 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
1594 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
1596 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
1597 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
1598 `__mips16_syscall5'. Remove prototype.
1599 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
1600 `__mips16_syscall6'. Remove prototype.
1601 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
1602 `__mips16_syscall7'. Remove prototype.
1603 (__nomips16, __mips16_syscall_return): Move to...
1604 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1605 (__nomips16, __mips_syscall_return): ... here.
1606 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
1607 `__mips16_syscall_return' to `__mips_syscall_return'.
1608 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
1609 `internal_syscall##nr'.
1610 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
1611 `internal_syscall##nr'.
1612 (FORCE_FRAME_POINTER): Remove.
1613 (__mips_syscall5): New prototype.
1614 (internal_syscall5): Rewrite to call `__mips_syscall5'.
1615 (__mips_syscall6): New prototype.
1616 (internal_syscall6): Rewrite to call `__mips_syscall6'.
1617 (__mips_syscall7): New prototype.
1618 (internal_syscall7): Rewrite to call `__mips_syscall7'.
1619 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
1620 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
1621 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
1622 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
1623 (sysdep_routines): Add libc-do-syscall.
1624 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
1625 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
1627 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1630 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
1631 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
1632 (advise_stack_range): New function.
1633 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
1634 stack non required to advise_stack_range at allocatestack.c
1636 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1638 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
1640 2017-08-29 Florian Weimer <fweimer@redhat.com>
1643 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
1644 __end_fct. Mangle __end_fct after setting it to NULL.
1645 * iconv/Makefile (tests): Add tst-gconv-init-failure.
1646 (modules-names, modules-names-tests): Add
1647 tst-gconv-init-failure-mod.
1648 (gconv-modules): New target.
1649 (tst-gconv-init-failure-mod.so): Link against libsupport.
1650 (tst-gconv-init-failure): Depend on gconv-modules,
1651 tst-gconv-init-failure-mod.so.
1652 * iconv/tst-gconv-init-failure-mod.c: New file.
1653 * iconv/tst-gconv-init-failure.c: Likewise.
1654 * iconv/test-gconv-modules: Likewise.
1656 2017-08-29 Florian Weimer <fweimer@redhat.com>
1659 * iconv/gconv_db.c (free_derivation): Remove redundant
1661 (gen_steps): Unconditionally mangle __btowc_fct after
1663 (increment_counter): Likewise. Do not call init_fct for internal
1666 2017-08-29 Joseph Myers <joseph@codesourcery.com>
1669 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1670 (_MSUF_): Remove macro.
1671 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
1673 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1674 (__REDIRFROM_X): New macro.
1675 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
1677 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
1678 (__REDIRTO_X): Likewise.
1679 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
1681 (__MATH_REDIRCALL_2): Likewise.
1682 (__MATH_REDIRCALL_INTERNAL): Likewise.
1683 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1684 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
1685 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
1686 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1687 * math/test-finite-macros.c: New file.
1688 * math/Makefile (tests): Add test-finite-macros.
1689 (CFLAGS-test-finite-macros.c): New variable.
1691 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
1692 Jeff Law <law@redhat.com>
1695 Mangle NULL pointers in iconv/gconv.
1696 * iconv/gconv_cache.c (find_module): Demangle init_fct before
1697 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
1698 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
1699 is non-NULL before demangling the end_fct. Check for NULL
1700 end_fct after demangling.
1701 (__gconv_release_step): Demangle the end_fct before checking
1702 it for NULL. Remove assert on __shlibc_handle != NULL.
1703 (gen_steps): Don't check btowc_fct for NULL before mangling.
1704 Demangle init_fct before checking for NULL.
1705 (increment_counter): Likewise.
1706 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
1707 end_fct for NULL before mangling.
1708 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
1711 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
1714 * locale/iso-639.def: add Morisyen.
1716 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1719 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
1720 (iszero): New C++ implementation that does not use
1721 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
1722 signaling nans are enabled, since __builtin_types_compatible_p
1723 is a C-only feature.
1724 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
1725 defined, include ieee754_float128.h for access to the union and
1726 member ieee854_float128.ieee.
1727 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
1728 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
1729 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1730 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
1731 options of test-math-zero on powerpc64le.
1733 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
1735 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
1736 Change double to float.
1738 2017-08-28 Joseph Myers <joseph@codesourcery.com>
1740 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
1742 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
1743 conditional code; define contents only for [LIBM_SVID_COMPAT].
1745 2017-08-28 Florian Weimer <fweimer@redhat.com>
1747 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
1748 (abi-lp64_be-options): Remove.
1749 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
1750 (abi-hard-options): Likewise.
1751 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
1752 (abi-o32_hard-options, abi-o32_soft_2008-options)
1753 (abi-o32_hard_2008-options, abi-n32_soft-options)
1754 (abi-n32_hard-options, abi-n32_soft_2008-options)
1755 (abi-n32_hard_2008-options, abi-n64_soft-options)
1756 (abi-n64_hard-options, abi-n64_soft_2008-options)
1757 (abi-n64_hard_2008-options): Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
1759 (abi-64-v1-options, abi-64-v2-options): Likewise.
1760 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
1761 (abi-64-options): Likewise.
1762 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
1763 (abi-64-options): Likewise.
1764 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
1765 (abi-64-options): Likewise.
1766 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
1767 (abi-64-options, abi-x32-options): Likewise.
1769 2017-08-28 Florian Weimer <fweimer@redhat.com>
1771 Store supported list of SYS_* system calls in the source tree.
1772 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1773 (bits/syscall.h): Generate from list file.
1774 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
1775 [$(subdir) = misc] (tests): Add tst-syscall-list.
1776 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
1777 [$(subdir) = misc] (tst-syscall-list-macros.list)
1778 [$(subdir) = misc] (tst-syscall-list-nr.list)
1779 (tst-syscall-list-sys.list): Helper targets for new
1780 tst-syscall-list test.
1781 [$(subdir) = misc] (tst-syscall-list.out): Run test script
1782 tst-syscall-list.sh.
1783 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
1784 target. Do not include bits/syscall.d.
1785 [$(subdir) = misc] (generated): Do not update.
1786 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
1787 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
1788 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
1789 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
1791 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1793 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
1794 (tst-cxa_atexit, tst-on_exit): Likewise.
1795 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
1796 tst-cxa_atexit, and tst-on_exit.
1797 * stdlib/tst-atexit-common.c: New file.
1798 * stdlib/tst-atexit.c: New file.
1799 * stdlib/tst-at_quick_exit.c: New file.
1800 * stdlib/tst-cxa_atexit.c: New file.
1801 * stdlib/tst-on_exit.c: New file.
1803 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1805 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
1806 * mach/stack_chk_fail_local.c: New file.
1807 * hurd/stack_chk_fail_local.c: New file.
1808 * mach/Machrules ($(interface-library)-routines): Add
1809 stack_chk_fail_local.
1810 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
1811 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
1812 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
1813 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
1814 * hurd/Makefile (CFLAGS-hurdstartup.o,
1815 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
1817 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
1819 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
1820 (index_cpu_*, index_arch_*): Removed.
1822 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1824 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
1825 Use uint64_t instead of unsigned long.
1827 2017-08-25 Joseph Myers <joseph@codesourcery.com>
1829 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
1830 [__HAVE_DISTINCT_FLOAT128].
1832 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
1833 of <bits/math-finite.h>.
1834 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
1835 inclusion of <bits/math-finite.h>.
1836 * math/bits/math-finite.h (__REDIRTO_X): Do not define
1837 conditionally on [__MATH_DECLARING_LDOUBLE && defined
1838 __NO_LONG_DOUBLE_MATH].
1839 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
1840 (__MATH_REDIRCALL_2): Likewise.
1841 (__MATH_REDIRCALL_INTERNAL): Likewise.
1842 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1843 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
1844 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1858 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1859 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1863 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
1864 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
1865 w_sqrtf_compat-ppc32.
1867 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1869 * math/math.h [defined __cplusplus] (issignaling): In the long
1870 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
1871 is not defined. Call __issignaling, otherwise.
1873 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1875 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
1876 syscall definitions and replace __builtin_expect with __glibc_likely.
1877 * sysdeps/unix/syscall-template.S: Update comment about cancellable
1879 (SYSCALL_CANCELLABLE): Removedefinition
1880 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
1882 (PSEUDO_END): Likewise.
1883 [IS_IN (libpthread)] (CENABLE): Likewise.
1884 [IS_IN (libpthread)] (CDISABLE): Likewise.
1885 [IS_IN (libc)] (CENABLE): Likewise.
1886 [IS_IN (libc)] (CENABLE): Likewise.
1887 [IS_IN (librt)] (CDISABLE): Likewise.
1888 [IS_IN (librt)] (CDISABLE): Likewise.
1889 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1890 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
1892 (PSEUDO_END): Likewise.
1893 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
1894 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
1895 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1896 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1897 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1898 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1899 (CENABLE): Likewise.
1900 (CDISABLE): Likewise.
1901 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1902 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
1904 (PSEUDO_END): Likewise.
1905 [IS_IN (libpthread)] (CENABLE): Likewise.
1906 [IS_IN (libpthread)] (CDISABLE): Likewise.
1907 [IS_IN (libc)] (CENABLE): Likewise.
1908 [IS_IN (libc)] (CENABLE): Likewise.
1909 [IS_IN (librt)] (CDISABLE): Likewise.
1910 [IS_IN (librt)] (CDISABLE): Likewise.
1911 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1912 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
1914 (PSEUDO_END): Likewise.
1915 [IS_IN (libpthread)] (CENABLE): Likewise.
1916 [IS_IN (libpthread)] (CDISABLE): Likewise.
1917 [IS_IN (libc)] (CENABLE): Likewise.
1918 [IS_IN (libc)] (CENABLE): Likewise.
1919 [IS_IN (librt)] (CDISABLE): Likewise.
1920 [IS_IN (librt)] (CDISABLE): Likewise.
1921 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1922 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
1924 (PSEUDO_END): Likewise.
1925 [IS_IN (libpthread)] (CENABLE): Likewise.
1926 [IS_IN (libpthread)] (CDISABLE): Likewise.
1927 [IS_IN (libc)] (CENABLE): Likewise.
1928 [IS_IN (libc)] (CENABLE): Likewise.
1929 [IS_IN (librt)] (CDISABLE): Likewise.
1930 [IS_IN (librt)] (CDISABLE): Likewise.
1931 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1932 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
1934 (PSEUDO_END): Likewise.
1935 [IS_IN (libpthread)] (CENABLE): Likewise.
1936 [IS_IN (libpthread)] (CDISABLE): Likewise.
1937 [IS_IN (libc)] (CENABLE): Likewise.
1938 [IS_IN (libc)] (CENABLE): Likewise.
1939 [IS_IN (librt)] (CDISABLE): Likewise.
1940 [IS_IN (librt)] (CDISABLE): Likewise.
1941 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1942 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
1944 (PSEUDO_END): Likewise.
1945 [IS_IN (libpthread)] (CENABLE): Likewise.
1946 [IS_IN (libpthread)] (CDISABLE): Likewise.
1947 [IS_IN (libc)] (CENABLE): Likewise.
1948 [IS_IN (libc)] (CENABLE): Likewise.
1949 [IS_IN (librt)] (CDISABLE): Likewise.
1950 [IS_IN (librt)] (CDISABLE): Likewise.
1951 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1952 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
1954 (PSEUDO_END): Likewise.
1955 [IS_IN (libpthread)] (CENABLE): Likewise.
1956 [IS_IN (libpthread)] (CDISABLE): Likewise.
1957 [IS_IN (libc)] (CENABLE): Likewise.
1958 [IS_IN (libc)] (CENABLE): Likewise.
1959 [IS_IN (librt)] (CDISABLE): Likewise.
1960 [IS_IN (librt)] (CDISABLE): Likewise.
1961 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1962 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
1964 (PSEUDO_END): Likewise.
1965 [IS_IN (libpthread)] (CENABLE): Likewise.
1966 [IS_IN (libpthread)] (CDISABLE): Likewise.
1967 [IS_IN (libc)] (CENABLE): Likewise.
1968 [IS_IN (libc)] (CENABLE): Likewise.
1969 [IS_IN (librt)] (CDISABLE): Likewise.
1970 [IS_IN (librt)] (CDISABLE): Likewise.
1971 (SINGLE_THREAD_P): Likewise.
1972 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
1974 (PSEUDO_END): Likewise.
1975 [IS_IN (libpthread)] (CENABLE): Likewise.
1976 [IS_IN (libpthread)] (CDISABLE): Likewise.
1977 [IS_IN (libc)] (CENABLE): Likewise.
1978 [IS_IN (libc)] (CENABLE): Likewise.
1979 [IS_IN (librt)] (CDISABLE): Likewise.
1980 [IS_IN (librt)] (CDISABLE): Likewise.
1981 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1982 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
1984 (PSEUDO_END): Likewise.
1985 [IS_IN (libpthread)] (CENABLE): Likewise.
1986 [IS_IN (libpthread)] (CDISABLE): Likewise.
1987 [IS_IN (libc)] (CENABLE): Likewise.
1988 [IS_IN (libc)] (CENABLE): Likewise.
1989 [IS_IN (librt)] (CDISABLE): Likewise.
1990 [IS_IN (librt)] (CDISABLE): Likewise.
1991 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1992 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
1993 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1994 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
1995 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
1997 (PSEUDO_END): Likewise.
1998 [IS_IN (libpthread)] (CENABLE): Likewise.
1999 [IS_IN (libpthread)] (CDISABLE): Likewise.
2000 [IS_IN (libc)] (CENABLE): Likewise.
2001 [IS_IN (libc)] (CENABLE): Likewise.
2002 [IS_IN (librt)] (CDISABLE): Likewise.
2003 [IS_IN (librt)] (CDISABLE): Likewise.
2004 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2005 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
2007 (PSEUDO_END): Likewise.
2008 [IS_IN (libpthread)] (CENABLE): Likewise.
2009 [IS_IN (libpthread)] (CDISABLE): Likewise.
2010 [IS_IN (libc)] (CENABLE): Likewise.
2011 [IS_IN (libc)] (CENABLE): Likewise.
2012 [IS_IN (librt)] (CDISABLE): Likewise.
2013 [IS_IN (librt)] (CDISABLE): Likewise.
2014 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2015 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
2017 (PSEUDO_END): Likewise.
2018 [IS_IN (libpthread)] (CENABLE): Likewise.
2019 [IS_IN (libpthread)] (CDISABLE): Likewise.
2020 [IS_IN (libc)] (CENABLE): Likewise.
2021 [IS_IN (libc)] (CENABLE): Likewise.
2022 [IS_IN (librt)] (CDISABLE): Likewise.
2023 [IS_IN (librt)] (CDISABLE): Likewise.
2024 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
2026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2027 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
2028 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
2030 (PSEUDO_END): Likewise.
2031 [IS_IN (libpthread)] (CENABLE): Likewise.
2032 [IS_IN (libpthread)] (CDISABLE): Likewise.
2033 [IS_IN (libc)] (CENABLE): Likewise.
2034 [IS_IN (libc)] (CENABLE): Likewise.
2035 [IS_IN (librt)] (CDISABLE): Likewise.
2036 [IS_IN (librt)] (CDISABLE): Likewise.
2037 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2038 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
2040 (PSEUDO_END): Likewise.
2041 [IS_IN (libpthread)] (CENABLE): Likewise.
2042 [IS_IN (libpthread)] (CDISABLE): Likewise.
2043 [IS_IN (libc)] (CENABLE): Likewise.
2044 [IS_IN (libc)] (CENABLE): Likewise.
2045 [IS_IN (librt)] (CDISABLE): Likewise.
2046 [IS_IN (librt)] (CDISABLE): Likewise.
2047 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2049 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2051 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
2053 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2055 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2057 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2060 * string/stratcliff.c (do_test): Declare size, nchars, inner,
2061 middle and outer with size_t instead of int. Repleace %d and
2062 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
2063 "MAX (outer, nchars - 64)" to support unsigned outer and
2064 nchars. Also exit loop when outer == 0.
2066 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2068 * include/fcntl.h (__fcntl_nocancel): Remove definition.
2069 * include/signal.h (__sigsuspend_nocancel): Likewise.
2070 * include/time.h (__nanosleep_nocancel): Likewise.
2071 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
2072 * login/utmp_file.c: Include non cancellable syscall header.
2073 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
2076 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2078 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
2079 .byte sequences with AVX512F instructions.
2080 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
2081 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2082 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2083 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
2085 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2088 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2089 Steve Ellcey <sellcey@cavium.com>
2091 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
2092 Use PTR_REG macro in cmp instruction.
2094 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2096 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
2097 Change the return type of the ifunc resolver to match the return
2098 type of the target function.
2100 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2102 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
2103 (preadv64): Likewise.
2104 (pwrite64(: Likewise.
2105 (pwritev64): Likewise.
2107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2108 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
2109 (LOAD_ARGS_0): Likewise.
2110 (LOAD_ARGS_1): Likewise.
2111 (LOAD_ARGS_2): Likewise.
2112 (LOAD_ARGS_3): Likewise.
2113 (LOAD_ARGS_4): Likewise.
2114 (LOAD_ARGS_5): Likewise.
2115 (LOAD_ARGS_6): Likewise.
2116 (LOAD_REGS_0): Likewise.
2117 (LOAD_REGS_1): Likewise.
2118 (LOAD_REGS_2): Likewise.
2119 (LOAD_REGS_3): Likewise.
2120 (LOAD_REGS_4): Likewise.
2121 (LOAD_REGS_5): Likewise.
2122 (LOAD_REGS_6): Likewise.
2123 (ASM_ARGS_0): Likewise.
2124 (ASM_ARGS_1): Likewise.
2125 (ASM_ARGS_2): Likewise.
2126 (ASM_ARGS_3): Likewise.
2127 (ASM_ARGS_4): Likewise.
2128 (ASM_ARGS_5): Likewise.
2129 (ASM_ARGS_6): Likewise.
2130 (LOAD_ARGS_TYPES_1): Likewise.
2131 (LOAD_ARGS_TYPES_2): Likewise.
2132 (LOAD_ARGS_TYPES_3): Likewise.
2133 (LOAD_ARGS_TYPES_4): Likewise.
2134 (LOAD_ARGS_TYPES_5): Likewise.
2135 (LOAD_ARGS_TYPES_6): Likewise.
2136 (LOAD_REGS_TYPES_1): Likewise.
2137 (LOAD_REGS_TYPES_2): Likewise.
2138 (LOAD_REGS_TYPES_3): Likewise.
2139 (LOAD_REGS_TYPES_4): Likewise.
2140 (LOAD_REGS_TYPES_5): Likewise.
2141 (LOAD_REGS_TYPES_6): Likewise.
2142 (TYPEFY): New define.
2144 (internal_syscall0): Likewise.
2145 (internal_syscall1): Likewise.
2146 (internal_syscall2): Likewise.
2147 (internal_syscall3): Likewise.
2148 (internal_syscall4): Likewise.
2149 (internal_syscall5): Likewise.
2150 (internal_syscall6): Likewise.
2151 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
2152 (INTERNAL_SYSCALL_NCS): Remove define.
2153 (internal_syscall1): Add define.
2155 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2157 * math/w_remainder_compat.c: Remove duplicate inclusion of
2159 * math/w_remainderf_compat.c: Likewise.
2160 * math/w_remainderl_compat.c: Likewise.
2162 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2166 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2169 * math/tgmath.h (__floating_type): Simplify definitions.
2170 (__real_integer_type): New macro.
2171 (__complex_integer_type): Likewise.
2172 (__expr_is_real): Likewise.
2173 (__tgmath_real_type_sub): Update comment to describe handling of
2175 (__tgmath_complex_type_sub): New macro.
2176 (__tgmath_complex_type): Likewise.
2177 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2178 (__TGMATH_CF128): Use __expr_is_real.
2179 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
2181 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2182 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
2183 * math/gen-tgmath-tests.py (Type.create_type): Create complex
2186 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2188 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
2190 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
2192 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
2195 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
2196 nanosleep_not_cancel with __nanosleep_nocancel.
2197 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
2198 (__nanosleep_nocancel): New macro.
2199 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
2201 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
2203 (__nanosleep_nocancel): New prototype.
2205 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
2206 pause_not_cancel with __pause_nocancel.
2207 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
2208 (__pause_nocancel): New macro.
2209 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
2211 (__pause_nocancel): New prototype.
2212 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
2214 2017-08-22 Martin Sebor <msebor@redhat.com>
2216 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
2217 to return a pointer to the same type as the target function.
2219 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2223 * include/printf.h (__printf_fphex): Add attribute_hidden.
2224 (__guess_grouping): New prototype.
2225 * stdio-common/printf_fp.c (__guess_grouping): Removed.
2226 * stdio-common/reg-printf.c (__register_printf_specifier): Add
2227 libc_hidden_proto and libc_hidden_def.
2228 * stdlib/strfmon_l.c (__guess_grouping): Removed.
2229 (__vstrfmon_l): Remove the third argument passed to
2232 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2234 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
2235 definition for issignaling that does not rely on __MATH_TG,
2236 since __MATH_TG uses __builtin_types_compatible_p, which is only
2237 available in C mode.
2238 (CFLAGS-test-math-issignaling.cc): New variable.
2239 * math/Makefile [CXX] (tests): Add test-math-issignaling.
2240 * math/test-math-issignaling.cc: New test for C++ implementation
2241 of type-generic issignaling.
2242 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2243 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
2244 options of test-math-issignaling on powerpc64le.
2246 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2248 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2250 (hidden_proto): Likewise.
2251 (hidden_tls_proto): Likewise.
2252 (__hidden_proto): Likewise.
2254 2017-08-22 Florian Weimer <fweimer@redhat.com>
2256 math: Statically link tests of internal functionality.
2257 * math/Makefile (tests): Remove atest-exp, atest-sincos,
2259 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
2260 (gmp-objs): Remove assignment.
2261 (atest-exp, atest-sincos, atest-exp2): Remove targets.
2263 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2266 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
2268 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
2270 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
2273 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
2274 variable definitions above inclusion of ../Rules.
2276 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2278 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
2279 case calling __builtin_unreachable.
2281 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2283 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
2285 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
2286 (__waitpid_nocancel): New macro.
2287 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
2289 (__waitpid_nocancel): Replace macro with a function.
2290 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
2293 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
2295 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
2296 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
2298 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
2299 __writev_nocancel_nostatus.
2300 (write_call_graph): Likewise.
2301 (write_bb_counts): Likewise.
2302 * resolv/herror.c (herror): Likewise.
2303 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
2305 (__writev_nocancel_nostatus): New macro.
2306 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
2308 (__writev_nocancel_nostatus): New function.
2310 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2313 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2315 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2317 (hidden_proto): Likewise.
2318 (hidden_tls_proto): Likewise.
2319 (__hidden_proto): Likewise.
2322 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
2323 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
2333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2334 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2335 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2337 GLIBC_2.0 sqrtl symbol.
2339 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
2340 [__USE_MISC] (_LIB_VERSION): Likewise.
2341 [__USE_MISC] (struct exception): Likewise.
2342 [__USE_MISC] (matherr): Likewise.
2343 [__USE_MISC] (DOMAIN): Likewise.
2344 [__USE_MISC] (SING): Likewise.
2345 [__USE_MISC] (OVERFLOW): Likewise.
2346 [__USE_MISC] (UNDERFLOW): Likewise.
2347 [__USE_MISC] (TLOSS): Likewise.
2348 [__USE_MISC] (PLOSS): Likewise.
2349 [__USE_MISC] (HUGE): Likewise.
2350 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
2351 * math/math-svid-compat.h: New file.
2352 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
2354 * include/math.h [!_ISOMAC] (__matherr): Remove.
2355 * manual/arith.texi (FP Exceptions): Do not document matherr.
2356 * math/Makefile (tests): Change test-matherr to test-matherr-3.
2357 (tests-internal): New variable.
2358 (install-lib): Do not add libieee.a.
2359 (non-lib.a): Likewise.
2360 (extra-objs): Do not add libieee.a and ieee-math.o.
2361 (CPPFLAGS-s_lib_version.c): Remove variable.
2362 ($(objpfx)libieee.a): Remove rule.
2363 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
2364 * math/ieee-math.c: Remove.
2365 * math/libm-test-support.c (matherr): Remove.
2366 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
2367 and license notices. Include <math-svid-compat.h> and
2369 (matherr): Undefine as macro. Use compat_symbol_reference.
2370 (_LIB_VERSION): Likewise.
2371 * math/test-matherr-2.c: New file.
2372 * math/test-matherr-3.c: Likewise.
2373 * sysdeps/generic/math_private.h (__kernel_standard): Remove
2375 (__kernel_standard_f): Likewise.
2376 (__kernel_standard_l): Likewise.
2377 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
2378 <math_private.h>. Include <math-svid-compat.h>.
2379 (_LIB_VERSION): Undefine as macro.
2380 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
2381 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
2382 [LIBM_SVID_COMPAT], use compat_symbol.
2383 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
2384 <math_private.h>. Include <math-svid-compat.h>.
2385 (matherr): Undefine as macro.
2386 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
2388 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
2389 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
2390 compat_symbol_reference.
2391 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
2392 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
2393 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
2394 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
2395 (MATHERR_D): Remove declaration.
2396 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
2397 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
2398 [LIBM_BUILD] (pmatherrf): Likewise.
2399 [LIBM_BUILD] (pmatherr): Likewise.
2400 [LIBM_BUILD] (pmatherrl): Likewise.
2403 (OVERFLOW): Likewise.
2404 (UNDERFLOW): Likewise.
2407 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
2408 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
2410 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
2411 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
2413 * math/lgamma-compat.h: Include <math-svid-compat.h>.
2414 * math/w_acos_compat.c: Likewise.
2415 * math/w_acosf_compat.c: Likewise.
2416 * math/w_acosh_compat.c: Likewise.
2417 * math/w_acoshf_compat.c: Likewise.
2418 * math/w_acoshl_compat.c: Likewise.
2419 * math/w_acosl_compat.c: Likewise.
2420 * math/w_asin_compat.c: Likewise.
2421 * math/w_asinf_compat.c: Likewise.
2422 * math/w_asinl_compat.c: Likewise.
2423 * math/w_atan2_compat.c: Likewise.
2424 * math/w_atan2f_compat.c: Likewise.
2425 * math/w_atan2l_compat.c: Likewise.
2426 * math/w_atanh_compat.c: Likewise.
2427 * math/w_atanhf_compat.c: Likewise.
2428 * math/w_atanhl_compat.c: Likewise.
2429 * math/w_cosh_compat.c: Likewise.
2430 * math/w_coshf_compat.c: Likewise.
2431 * math/w_coshl_compat.c: Likewise.
2432 * math/w_exp10_compat.c: Likewise.
2433 * math/w_exp10f_compat.c: Likewise.
2434 * math/w_exp10l_compat.c: Likewise.
2435 * math/w_exp2_compat.c: Likewise.
2436 * math/w_exp2f_compat.c: Likewise.
2437 * math/w_exp2l_compat.c: Likewise.
2438 * math/w_fmod_compat.c: Likewise.
2439 * math/w_fmodf_compat.c: Likewise.
2440 * math/w_fmodl_compat.c: Likewise.
2441 * math/w_hypot_compat.c: Likewise.
2442 * math/w_hypotf_compat.c: Likewise.
2443 * math/w_hypotl_compat.c: Likewise.
2444 * math/w_j0_compat.c: Likewise.
2445 * math/w_j0f_compat.c: Likewise.
2446 * math/w_j0l_compat.c: Likewise.
2447 * math/w_j1_compat.c: Likewise.
2448 * math/w_j1f_compat.c: Likewise.
2449 * math/w_j1l_compat.c: Likewise.
2450 * math/w_jn_compat.c: Likewise.
2451 * math/w_jnf_compat.c: Likewise.
2452 * math/w_jnl_compat.c: Likewise.
2453 * math/w_lgamma_main.c: Likewise.
2454 * math/w_lgamma_r_compat.c: Likewise.
2455 * math/w_lgammaf_main.c: Likewise.
2456 * math/w_lgammaf_r_compat.c: Likewise.
2457 * math/w_lgammal_main.c: Likewise.
2458 * math/w_lgammal_r_compat.c: Likewise.
2459 * math/w_log10_compat.c: Likewise.
2460 * math/w_log10f_compat.c: Likewise.
2461 * math/w_log10l_compat.c: Likewise.
2462 * math/w_log2_compat.c: Likewise.
2463 * math/w_log2f_compat.c: Likewise.
2464 * math/w_log2l_compat.c: Likewise.
2465 * math/w_log_compat.c: Likewise.
2466 * math/w_logf_compat.c: Likewise.
2467 * math/w_logl_compat.c: Likewise.
2468 * math/w_pow_compat.c: Likewise.
2469 * math/w_powf_compat.c: Likewise.
2470 * math/w_powl_compat.c: Likewise.
2471 * math/w_remainder_compat.c: Likewise.
2472 * math/w_remainderf_compat.c: Likewise.
2473 * math/w_remainderl_compat.c: Likewise.
2474 * math/w_scalb_compat.c: Likewise.
2475 * math/w_scalbf_compat.c: Likewise.
2476 * math/w_scalbl_compat.c: Likewise.
2477 * math/w_sinh_compat.c: Likewise.
2478 * math/w_sinhf_compat.c: Likewise.
2479 * math/w_sinhl_compat.c: Likewise.
2480 * math/w_sqrt_compat.c: Likewise.
2481 * math/w_sqrtf_compat.c: Likewise.
2482 * math/w_sqrtl_compat.c: Likewise.
2483 * math/w_tgamma_compat.c: Likewise.
2484 * math/w_tgammaf_compat.c: Likewise.
2485 * math/w_tgammal_compat.c: Likewise.
2486 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2487 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2488 * sysdeps/ieee754/k_standard.c: Likewise.
2489 * sysdeps/ieee754/k_standardf.c: Likewise.
2490 * sysdeps/ieee754/k_standardl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2493 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2494 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2495 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2496 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2498 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2499 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2506 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2507 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2509 2017-08-21 Florian Weimer <fweimer@redhat.com>
2512 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
2513 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
2514 Move before inclusion of ../Rules.
2516 2017-08-21 Florian Weimer <fweimer@redhat.com>
2519 * assert/assert.h (assert): Use static_cast (bool) for C++.
2520 Use the ternary operator in the warning branch for GNU C.
2521 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
2522 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
2523 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
2524 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
2525 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
2527 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2530 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2531 (__syscall_clock_gettime): Add attribute_hidden.
2532 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
2533 (__start_context): Likewise.
2535 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2537 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2539 (hidden_proto): Likewise.
2540 (hidden_tls_proto): Likewise.
2541 (__hidden_proto): Likewise.
2543 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2545 * include/libc-symbols.h (attribute_hidden): Enable hidden
2546 visibility in libc.a compiled with PIE.
2548 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2551 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
2552 Add attribute_hidden.
2554 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2557 * Makerules (all-nonlib): Add $(others-extras).
2558 * catgets/Makefile (others-extras): New.
2559 * elf/Makefile (others-extras): Likewise.
2560 * nss/Makefile (others-extras): Likewise.
2562 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2565 * csu/libc-start.c (__libc_multiple_libcs): Removed.
2566 * elf/dl-open.c: Include <libc-internal.h>.
2567 (__libc_multiple_libcs): Removed.
2568 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
2570 * include/libc-internal.h (__libc_multiple_libcs): New.
2571 * misc/sbrk.c: Include <libc-internal.h>.
2572 (__libc_multiple_libcs): Removed.
2574 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2577 * grp/initgroups.c (__nss_group_database): Removed.
2578 (__nss_initgroups_database): Likewise.
2579 * nscd/gai.c (__nss_hosts_database): Likewise.
2580 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2581 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
2582 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
2583 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
2584 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
2585 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
2587 * nss/nsswitch.c (__nss_database_custom): Define only if
2588 USE_NSCD is defined.
2589 (__nss_configure_lookup): Use __nss_database_custom only if
2590 USE_NSCD is defined.
2591 * nss/nsswitch.h (__nss_database_custom): Declare only if
2592 USE_NSCD is defined. Add attribute_hidden.
2593 (__nss_setent): Add attribute_hidden.
2594 (__nss_endent): Likewise.
2595 (__nss_getent_r): Likewise.
2596 (__nss_getent): Likewise.
2597 (DEFINE_DATABASE): Declare __nss_##arg##_database.
2599 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2602 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
2603 libc_hidden_proto and libc_hidden_def.
2605 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2608 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
2609 Add libc_hidden_proto.
2610 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
2611 Add libc_hidden_def.
2613 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2616 * gmon/Makefile (routines): Remove bb_init_func and
2618 (elide-routines.os): Removed.
2619 * gmon/bb_exit_func.c: Likewise.
2620 * gmon/bb_init_func.c: Likewise.
2621 * include/sys/gmon.h (__bb): Likewise.
2622 (__bb_init_func): Likewise.
2623 (__bb_exit_func): Likewise.
2624 * sysdeps/alpha/bb_init_func.S: Likewise.
2626 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2628 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
2629 * include/setjmp.h (____longjmp_chk): Here. Add
2632 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
2635 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
2637 (__strspn_sse2): Likewise.
2639 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2641 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
2642 (close_not_cancel_no_status): Likewise.
2643 (__close_nocancel): New macro.
2644 (__close_nocancel_nostatus): Likewise.
2645 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
2647 (close_not_cancel): Likewise.
2648 (close_not_cancel_no_status): Likewise.
2649 (__close_nocancel): New prototype.
2650 (__close_nocancel_nostatus): New function.
2651 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
2652 * catgets/open_catalog.c (__open_catalog): Replace
2653 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
2654 * gmon/gmon.c (write_gmon): Likewise.
2655 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2656 * intl/loadmsgcat.c (close): Likewise.
2657 * io/ftw.c (open_dir_stream): Likewise.
2658 (ftw_startup): Likewise.
2659 * libio/fileops.c (_IO_file_open): Likewise.
2660 (_IO_file_close_mmap): Likewise.
2661 (_IO_file_close): Likewise.
2662 * libio/iopopen.c (_IO_dup2): Likewise.
2663 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2664 * locale/loadlocale.c (_nl_load_locale): Likewise.
2665 * login/utmp_file.c (pututline_file): Likewise.
2666 (endutent_file): Likewise.
2667 * misc/daemon.c (daemon): Likewise.
2668 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2669 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2670 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2671 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2672 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2673 * nscd/nscd_helper.c (open_socket): Likewise.
2674 (__nscd_open_socket): Likewise.
2675 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2676 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
2677 (__nscd_innetgr): Likewise.
2678 * nss/nss_db/db-open.c (internal_setent): Likewise.
2679 * resolv/res-close.c (__res_iclose): Likewise.
2680 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
2681 * sysdeps/posix/closedir.c (__closedir): Likewise.
2682 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2683 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2684 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2685 (opendir_tail): Likewise.
2686 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2687 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
2688 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2689 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2690 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2691 (gethostid): Likewise.
2692 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2693 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2696 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
2697 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2698 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2700 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
2701 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
2702 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2704 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
2705 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2707 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2709 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2710 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2711 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2714 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
2715 (openat_not_cancel_3): Likewise.
2716 (openat64_not_cancel_3): Likewise).
2717 (openat_not_cancel_3): Likewise).
2718 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
2720 (openat_not_cancel_3): Likewise.
2721 (openat64_not_cancel): Likewise.
2722 (openat64_not_cancel_3): Likewise.
2723 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
2724 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
2725 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
2726 __open{64}_nocancel.
2727 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2728 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2729 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2731 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2734 * include/argz.h (__argz_create_sep): New function prototype.
2735 (__argz_append): Likewise.
2736 (__argz_add): Likewise.
2737 (__argz_add_sep): Likewise.
2738 (__argz_delete): Likewise.
2739 (__argz_insert): Likewise.
2740 (__argz_replace): Likewise.
2741 * string/argz.h (__argz_create_sep): Removed.
2742 (__argz_append): Likewise.
2743 (__argz_add): Likewise.
2744 (__argz_add_sep): Likewise.
2745 (__argz_delete): Likewise.
2746 (__argz_insert): Likewise.
2747 (__argz_replace): Likewise.
2749 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2751 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
2752 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
2753 (GNU_PROPERTY_STACK_SIZE): Likewie.
2754 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
2755 (GNU_PROPERTY_LOPROC): Likewise.
2756 (GNU_PROPERTY_HIPROC): Likewise.
2757 (GNU_PROPERTY_LOUSER): Likewise.
2758 (GNU_PROPERTY_HIUSER): Likewise.
2759 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
2760 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
2761 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
2762 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
2763 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
2764 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
2765 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
2766 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
2767 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
2768 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
2769 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
2770 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
2771 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
2772 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
2773 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
2774 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
2775 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
2776 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
2777 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
2778 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
2779 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
2780 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
2781 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
2783 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2785 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
2788 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2791 * math/math.h (isinf): Check if in C or C++ mode before using
2792 __builtin_types_compatible_p, since this is a C mode feature.
2794 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2796 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
2797 (__write_nocancel): New macro.
2798 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
2799 Rewrite as a function prototype.
2800 (write_not_cancel): Remove macro.
2801 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
2802 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
2803 (write_gmon): Likewise.
2804 * libio/fileops.c (_IO_new_file_write): Likewise.
2805 * login/utmp_file.c (pututline_file): Likewise.
2806 (updwtmp_file): Likewise.
2807 * stdio-common/psiginfo.c (psiginfo): Likewise.
2808 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2809 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2810 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2812 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2815 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
2816 (__read_nocancel): New macro.
2817 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2819 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
2821 (__read_nocancel): New prototype.
2822 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
2823 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
2824 with __read_nocancel.
2825 * intl/loadmsgcat.c (read): Likewise.
2826 * libio/fileops.c (_IO_file_read): Likewise.
2827 * locale/loadlocale.c (_nl_load_locale): Likewise.
2828 * login/utmp_file.c (getutent_r_file): Likewise.
2829 (internal_getut_r): Likewise.
2830 (getutline_r_file): Likewise.
2831 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2832 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2833 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2834 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2836 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
2837 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2838 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2840 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2842 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2844 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2846 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2848 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2851 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
2852 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
2855 2017-08-17 DJ Delorie <dj@redhat.com>
2857 * bug17079.c: Update to new test harness.
2858 * test-digits-dots.c: Likewise.
2859 * test-netdb.c: Likewise.
2860 * tst-field.c: Likewise.
2861 * tst-nss-getpwent.c: Likewise.
2862 * tst-nss-static.c: Likewise.
2863 * tst-nss-test1.c: Likewise.
2864 * tst-nss-test2.c: Likewise.
2865 * tst-nss-test3.c: Likewise.
2866 * tst-nss-test4.c: Likewise.
2867 * tst-nss-test5.c: Likewise.
2869 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2871 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
2872 (open_not_cancel_2): Likewise.
2873 (open_nocancel): New macro.
2874 (open64_nocancel): Likewise.
2875 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
2876 (open_not_cancel_2): Likewise.
2877 (__open_nocancel): New prototype.
2878 (__open64_nocancel): Likewise.
2879 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2881 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
2882 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
2883 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
2884 with __open_nocancel.
2885 * csu/check_fds.c (check_one_fd): Likewise.
2886 * gmon/gmon.c (write_gmon): Likewise.
2887 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
2888 * intl/loadmsgcat.c (open): Likewise.
2889 * libio/fileops.c (_IO_file_open): Likewise.
2890 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2891 * locale/loadlocale.c (_nl_load_locale): Likewise.
2892 * login/utmp_file.c (setutent_file): Likewise.
2893 * misc/daemon.c (daemon): Likewise.
2894 * nss/nss_db/db-open.c (internal_setent): Likewise.
2895 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2896 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
2897 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2898 (__opendir): Likewise.
2899 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2900 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2901 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2902 (gethostid): Likewise.
2903 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2904 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2907 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
2908 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2909 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2911 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2913 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2915 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2917 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2919 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2921 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2922 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2924 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
2926 * benchtests/bench-skeleton.c (main): Add support for
2927 latency benchmarking.
2928 * benchtests/scripts/bench.py: Add support for latency benchmarking.
2930 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
2932 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
2935 2017-08-17 Florian Weimer <fweimer@redhat.com>
2937 * include/sys/socket.h (__opensock): Remove internal_function.
2938 * socket/opensock.c (__opensock): Likewise.
2939 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
2941 2017-08-16 Joseph Myers <joseph@codesourcery.com>
2944 * signal/bits/types/__sigval_t.h: New file.
2945 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
2946 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
2947 and define sigval_t using __sigval_t.
2948 * include/bits/types/__sigval_t.h: New file.
2949 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
2950 instead of <bits/types/__sigval_t.h>.
2951 (struct sigevent): Use __sigval_t instead of sigval_t.
2952 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
2953 instead of <bits/types/__sigval_t.h>.
2954 (siginfo_t): Use __sigval_t instead of sigval_t.
2955 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
2956 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2957 (struct sigevent): Use __sigval_t instead of sigval_t.
2958 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
2959 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2960 (siginfo_t): Use __sigval_t instead of sigval_t.
2961 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
2963 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2965 * NEWS: Remove "[Add new features here]" for 2.27.
2967 2017-08-16 Joseph Myers <joseph@codesourcery.com>
2969 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
2972 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2974 * NEWS: Mention x86-64 FMA optimization.
2976 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2979 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2981 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
2982 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
2983 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
2985 2017-08-16 Andreas Schwab <schwab@suse.de>
2989 * elf/ldd.bash.in: Never run file directly.
2991 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
2994 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
2995 (L(SP_INF_0)): Likewise.
2997 2017-08-15 Florian Weimer <fweimer@redhat.com>
2999 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
3002 2017-08-15 Florian Weimer <fweimer@redhat.com>
3004 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
3005 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
3006 BROKEN_THREAD_SIGNALS code.
3007 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
3008 request_list): Remove caller_pid member used for
3009 BROKEN_THREAD_SIGNALS.
3010 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
3011 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
3012 Remove BROKEN_THREAD_SIGNALS support.
3013 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3014 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
3016 2017-08-15 Florian Weimer <fweimer@redhat.com>
3018 * gmon/Makefile (tests): Add tst-gmon.
3019 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
3021 (tests-special): Add tst-gmon-prof.out.
3022 (tst-gmon.out): Depend on clean-tst-gmon-data.
3023 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
3024 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
3025 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
3027 * aclocal.m4 (GPROF): Set and substitute.
3028 * config.amke.in (GPROF): Set.
3029 * configure: Regenerate.
3031 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
3033 * elf/elf.h A (NT_PPC_TAR): New macro.
3034 (NT_PPC_PPR): Likewise.
3035 (NT_PPC_DSCR): Likewise.
3036 (NT_PPC_EBB): Likewise.
3037 (NT_PPC_PMU): Likewise.
3038 (NT_PPC_TM_CGPR): Likewise.
3039 (NT_PPC_TM_CFPR): Likewise.
3040 (NT_PPC_TM_CVMX): Likewise.
3041 (NT_PPC_TM_CVSX): Likewise.
3042 (NT_PPC_TM_SPR): Likewise.
3043 (NT_PPC_TM_CTAR): Likewise.
3044 (NT_PPC_TM_CPPR): Likewise.
3045 (NT_PPC_TM_CDSCR): Likewise.
3047 2017-08-15 Florian Weimer <fweimer@redhat.com>
3049 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
3050 regparm (2) instead of internal_function.
3051 (_MCOUNT_DECL): Adjust.
3053 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3055 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
3056 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3058 2017-08-14 Joseph Myers <joseph@codesourcery.com>
3060 * conform/data/sys/wait.h-data (si_value): Do not expect for
3063 2017-08-14 Florian Weimer <fweimer@redhat.com>
3066 NSS: Create stubs for accidentally exported lookup functions.
3067 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
3069 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
3070 (ether_hostton): Call __nss_ethers_lookup2 instead.
3071 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
3072 (ether_ntohost): Call __nss_ethers_lookup2 instead.
3073 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
3074 (setup): Call __nss_netgroup_lookup2 instead.
3075 * nss/Makefile (routines): Add compat-lookup.
3076 * nss/Versions (GLIBC_2.27): Add symbol version.
3077 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
3078 (DB_COMPAT_FCT): Remove.
3079 * nss/compat-lookup.c: New file.
3080 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
3082 * nss/service-lookup.c (NO_COMPAT): Remove definition.
3083 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
3084 (netname2user): Call __nss_publickey_lookup2 instead.
3085 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
3086 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
3089 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3090 Sergei Trofimovich <slyfox@inbox.ru>
3093 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
3094 Rename to MMAP2_PAGE_UNIT.
3095 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
3096 __OFF_T_MATCHES_OFF64_T is not defined.
3097 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
3099 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
3100 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
3102 2017-08-14 Florian Weimer <fweimer@redhat.com>
3104 i386: Do not set internal_function.
3105 * config.h.in (USE_REGPARMS, internal_function): Remove.
3106 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
3107 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
3109 2017-08-14 Florian Weimer <fweimer@redhat.com>
3111 * elf/dl-init.c (_dl_init): Remove internal_function.
3112 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
3113 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
3115 2017-08-14 Florian Weimer <fweimer@redhat.com>
3117 * elf/rtld.c (_dl_start): Remove internal_function.
3118 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
3121 2017-08-14 Florian Weimer <fweimer@redhat.com>
3123 * elf/dl-fini.c (_dl_fini): Remove internal_function
3124 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
3126 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
3128 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
3129 (bit_cpu_SHSTK): Likewise.
3130 (index_cpu_IBT): Likewise.
3131 (index_cpu_SHSTK): Likewise.
3132 (reg_IBT): Likewise.
3133 (reg_SHSTK): Likewise.
3134 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3135 Handle index_cpu_IBT and index_cpu_SHSTK.
3137 2017-08-14 Mike FABIAN <mfabian@redhat.com>
3140 * po/fr.po: Fix spelling mistake.
3142 2017-08-13 Florian Weimer <fweimer@redhat.com>
3144 * elf/dl-addr.c (_dl_addr): Remove internal_function.
3145 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
3146 (_dl_catch_error, _dl_receive_error): Likewise.
3147 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
3148 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
3149 (_dl_deallocate_tls): Likewise.
3150 * include/dlfcn.h (_dl_addr): Likewise.
3151 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
3152 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
3153 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
3156 2017-08-13 Florian Weimer <fweimer@redhat.com>
3158 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
3159 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
3161 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
3163 2017-08-13 Florian Weimer <fweimer@redhat.com>
3165 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
3167 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
3168 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
3169 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
3170 internal_function from _dl_make_stack_executable_hook member.
3171 (_dl_make_stack_executable): Remove internal_function.
3172 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
3174 * sysdeps/unix/sysv/linux/dl-execstack.c
3175 (_dl_make_stack_executable): Likewise.
3177 2017-08-13 Florian Weimer <fweimer@redhat.com>
3179 * sysdeps/unix/sysv/linux/netlinkaccess.h
3180 (__netlink_assert_response): Remove internal_function.
3181 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3182 (__netlink_assert_response): Likewise.
3184 2017-08-13 Florian Weimer <fweimer@redhat.com>
3186 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
3188 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
3190 2017-08-13 Florian Weimer <fweimer@redhat.com>
3192 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
3194 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
3195 * inet/netgroup.h (__internal_setnetgrent)
3196 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3197 * inet/getnetgrent_r.c (__internal_setnetgrent)
3198 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3199 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
3200 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
3201 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
3202 * nss/nsswitch.h (db_lookup_function): Likewise.
3204 2017-08-13 Florian Weimer <fweimer@redhat.com>
3206 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
3207 Remove internal_function.
3208 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
3209 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
3210 message argument on the stack.
3211 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
3214 2017-08-12 Mike FABIAN <mfabian@redhat.com>
3216 Adapt test case data to the changes in the thousands
3220 * localedata/tst-langinfo.sh: Adapt test case data.
3221 * stdlib/tst-strfmon_l.c: Likewise.
3222 * stdlib/tst-strtod4.c: Likewise.
3223 * stdlib/tst-strtod5i.c: Likewise.
3225 2017-08-11 Florian Weimer <fweimer@redhat.com>
3228 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
3229 Suppress pedantic warning resulting from statement expression.
3230 (__ASSERT_FUNCTION): Add missing __extension__.
3232 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3234 * benchtests/bench-memmove-large.c: Print output in JSON
3236 * benchtests/bench-memmove.c: Likewise.
3238 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
3239 * benchtests/bench-memchr.c (do_one_test): Likewise.
3240 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
3241 * benchtests/bench-memcpy.c (do_one_test): Likewise.
3242 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
3243 * benchtests/bench-memmove.c (do_one_test): Likewise.
3244 * benchtests/bench-memset-large.c (do_one_test): Likewise.
3245 * benchtests/bench-memset.c (do_one_test): Likewise.
3246 * benchtests/bench-string.h (test_init): Remove memsets.
3248 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3251 (Computing the Width of an Integer Data Type): Rename section to
3252 "Width of an Integer Type". Remove inaccurate statement regarding
3253 lack of C language facilities for determining width of integer
3254 types, and reorder content to improve flow and context of
3257 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3259 * lang.texi (va_copy): Change standard from ISO to C99.
3260 (__va_copy): Add standard and header annotation.
3261 Update description for clarity of origins and current use.
3263 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3266 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
3267 xssqrtqp requires operands to be in Vector Registers
3268 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
3269 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
3270 (__ieee754_sqrtf128): Likewise.
3272 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
3274 * sysdeps/aarch64/memcmp.S (memcmp):
3275 Rewrite of optimized memcmp.
3277 2017-08-10 Florian Weimer <fweimer@redhat.com>
3279 Introduce ld.so exceptions.
3280 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
3281 (_dl_exception_create, _dl_exception_create_format)
3282 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
3283 (_dl_catch_exception): Declare.
3284 (_dl_catch_error): Update comment.
3285 * elf/dl-error-skeleton.c (struct catch): Replace objname,
3286 errstring, malloced members with exception member.
3287 (_dl_out_of_memory): Remove.
3288 (fatal_error): New function, extracted from _dl_signal_error.
3289 (_dl_signal_exception, _dl_signal_cexception): New functions.
3290 (_dl_signal_error): Call _dl_exception_create to allocate an
3292 (_dl_catch_exception): New function, based on _dl_catch_error.
3293 (_dl_catch_error): Implement using _dl_catch_exception.
3294 * elf/dl-exception.c: New file.
3295 * elf/Makefile (dl-routines): Add dl-exception.
3296 (elide-routines.os): Likewise.
3297 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
3298 _dl_exception_create_format, _dl_exception_free.
3299 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
3300 _dl_signal_exception.
3301 * elf/dl-lookup.c (make_string): Remove.
3302 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
3303 _dl_signal_cexception, _dl_exception_free.
3304 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
3305 _dl_signal_exception.
3306 * elf/dl-sym.c (do_sym): Likewise.
3307 * elf/dl-version.c (make_string): Remove.
3308 (match_symbol): Use _dl_exception_create_format,
3309 _dl_signal_cexception, _dl_exception_free.
3310 (_dl_check_map_versions): Likewise.
3311 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
3312 _dl_catch_exception.
3313 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3314 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3315 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3316 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3317 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3318 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3319 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3320 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3322 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3329 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3330 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3331 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3333 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3335 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3337 2017-08-10 Florian Weimer <fweimer@redhat.com>
3339 * inet/net-internal.h (__inet6_scopeid_pton): Remove
3340 attribute_hidden, internal_function.
3341 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
3344 2017-08-10 Florian Weimer <fweimer@redhat.com>
3346 * malloc/malloc.c (get_max_fast): Reimplement as an inline
3347 function which calls __builtin_unreachable.
3349 2017-08-10 Mike FABIAN <mfabian@redhat.com>
3351 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
3352 Indian monetary formatting
3353 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
3356 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
3358 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
3359 Fix typo in comment.
3362 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
3363 PTRACE_SEIZE_DEVEL): Remove.
3364 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3365 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3368 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3370 2017-08-09 Joseph Myers <joseph@codesourcery.com>
3372 * posix/bits/types.h (__qaddr_t): Remove.
3375 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
3376 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3378 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
3379 (ucontext_t): Use __ctx with uc_flags.
3380 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
3382 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3384 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
3385 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3387 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
3388 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3390 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
3392 (ucontext_t): Use __ctx with uc_flags.
3393 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
3394 (ucontext_t): Use __ctx with uc_flags.
3395 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
3396 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
3397 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
3398 (ucontext_t): Use __ctx with uc_flags.
3399 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
3400 undefine further down.
3401 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3403 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
3404 undefine further down.
3405 (ucontext_t): Use __ctx with uc_flags.
3406 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
3407 undefine further down.
3408 (ucontext_t): Use __ctx with uc_flags.
3409 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
3410 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
3411 Rename uc_pad to __glibc_reserved1.
3412 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
3413 undefine further down.
3414 (ucontext_t): Use __ctx with uc_flags.
3415 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
3417 (ucontext_t): Use __ctx with uc_flags.
3418 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
3419 __ctx with uc_flags.
3420 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
3421 (ucontext_t): Use __ctx with uc_flags.
3422 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
3423 __ctx with uc_flags.
3425 2017-08-09 Florian Weimer <fweimer@redhat.com>
3428 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
3429 before early return.
3431 2017-08-09 Andreas Schwab <schwab@suse.de>
3434 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
3438 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
3439 tst-compat-forwarder.
3440 (modules-names): Add tst-compat-forwarder-mod.
3441 ($(objpfx)tst-compat-forwarder): Depend on
3442 $(objpfx)tst-compat-forwarder-mod.so.
3443 * nptl/tst-compat-forwarder.c: New file.
3444 * nptl/tst-compat-forwarder-mod.c: New file.
3446 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3448 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
3451 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
3452 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3454 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
3456 (__libc_ifunc_impl_list): Add __memcpy_falkor.
3457 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3458 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
3459 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3461 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
3464 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3467 * manual/setjmp.texi (getcontex): Document uc_stack value
3468 compatibility differences.
3470 2017-08-08 Joseph Myers <joseph@codesourcery.com>
3472 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
3473 (old_malloc_hook): Likewise.
3474 (old_memalign_hook): Likewise.
3475 (old_realloc_hook): Likewise.
3476 (struct hdr): Likewise.
3478 (freehook): Likewise.
3479 (mallochook): Likewise.
3480 (memalignhook): Likewise.
3481 (reallochook): Likewise.
3483 * malloc/mtrace.c (mallwatch): Likewise.
3484 (tr_old_free_hook): Likewise.
3485 (tr_old_malloc_hook): Likewise.
3486 (tr_old_realloc_hook): Likewise.
3487 (tr_old_memalign_hook): Likewise.
3488 (tr_where): Likewise.
3489 (lock_and_info): Likewise.
3490 (tr_freehook): Likewise.
3491 (tr_mallochook): Likewise.
3492 (tr_reallochook): Likewise.
3493 (tr_memalignhook): Likewise.
3494 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
3495 * misc/mmap.c (__mmap): Likewise.
3496 * misc/mmap64.c (__mmap64): Likewise.
3497 * misc/mprotect.c (__mprotect): Likewise.
3498 * misc/msync.c (msync): Likewise.
3499 * misc/munmap.c (__munmap): Likewise.
3500 * posix/posix_madvise.c (posix_madvise): Likewise.
3501 * socket/send.c (__send): Likewise.
3502 * socket/sendto.c (__sendto): Likewise.
3503 * socket/setsockopt.c (__setsockopt): Likewise.
3504 * string/memcmp.c (__ptr_t): Remove macro.
3505 (MEMCMP): Use void * instead of ptr_t.
3506 * string/memrchr.c (__ptr_t): Remove macro.
3507 (__memrchr): Use void * instead of ptr_t.
3508 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
3509 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3510 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3511 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
3512 * sysdeps/mach/msync.c (msync): Likewise.
3513 * sysdeps/mach/munmap.c (__munmap): Likewise.
3514 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
3516 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3517 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
3519 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
3520 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3521 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3522 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
3523 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
3525 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3526 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
3527 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
3528 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
3529 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
3530 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
3531 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
3532 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
3533 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
3535 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
3536 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
3537 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
3538 (MEMCMP): Use void * instead of ptr_t.
3539 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
3540 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
3542 2017-08-08 Florian Weimer <fweimer@redhat.com>
3544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
3547 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
3550 * csu/libc-tls.c: Include <startup.h> first.
3551 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
3552 * elf/dl-tunables.c: Include <startup.h> first.
3553 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
3554 * sysdeps/generic/startup.h: New file.
3555 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
3556 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
3557 (I386_USE_SYSENTER): New. Defined to 0.
3559 2017-08-08 Andreas Schwab <schwab@suse.de>
3562 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
3563 * nptl/pt-system.c (system): Likewise.
3565 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3568 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
3570 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
3571 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
3572 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
3573 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
3574 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3575 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3576 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3578 2017-08-07 Joseph Myers <joseph@codesourcery.com>
3581 * bits/sigaction.h (struct sigaction): Define sa_handler and
3582 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
3583 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3584 [__USE_XOPEN_EXTENDED].
3585 (SA_RESTART): Likewise.
3586 (SA_NODEFER): Likewise.
3587 (SA_RESETHAND): Likewise.
3588 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
3589 (struct sigaction): Define sa_handler and sa_sigaction using union
3590 also for [__USE_XOPEN_EXTENDED].
3591 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3592 [__USE_XOPEN_EXTENDED].
3593 (SA_RESTART): Likewise.
3594 (SA_NODEFER): Likewise.
3595 (SA_RESETHAND): Likewise.
3596 * sysdeps/unix/sysv/linux/bits/sigaction.h
3597 (struct sigaction): Define sa_handler and sa_sigaction using union
3598 also for [__USE_XOPEN_EXTENDED].
3599 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3600 [__USE_XOPEN_EXTENDED].
3601 (SA_RESTART): Likewise.
3602 (SA_NODEFER): Likewise.
3603 (SA_RESETHAND): Likewise.
3604 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
3605 (struct sigaction): Define sa_handler and sa_sigaction using union
3606 also for [__USE_XOPEN_EXTENDED].
3607 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3608 [__USE_XOPEN_EXTENDED].
3609 (SA_RESTART): Likewise.
3610 (SA_NODEFER): Likewise.
3611 (SA_RESETHAND): Likewise.
3612 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
3613 (struct sigaction): Define sa_handler and sa_sigaction using union
3614 also for [__USE_XOPEN_EXTENDED].
3615 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3616 [__USE_XOPEN_EXTENDED].
3617 (SA_RESTART): Likewise.
3618 (SA_NODEFER): Likewise.
3619 (SA_RESETHAND): Likewise.
3620 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3621 (struct sigaction): Define sa_handler and sa_sigaction using union
3622 also for [__USE_XOPEN_EXTENDED].
3623 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3624 [__USE_XOPEN_EXTENDED].
3625 (SA_RESTART): Likewise.
3626 (SA_NODEFER): Likewise.
3627 (SA_RESETHAND): Likewise.
3628 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3629 (struct sigaction): Define sa_handler and sa_sigaction using union
3630 also for [__USE_XOPEN_EXTENDED].
3631 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3632 [__USE_XOPEN_EXTENDED].
3633 (SA_RESTART): Likewise.
3634 (SA_NODEFER): Likewise.
3635 (SA_RESETHAND): Likewise.
3636 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3637 (struct sigaction): Define sa_handler and sa_sigaction using union
3638 also for [__USE_XOPEN_EXTENDED].
3639 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3640 [__USE_XOPEN_EXTENDED].
3641 (SA_RESTART): Likewise.
3642 (SA_NODEFER): Likewise. Define directly rather than as alias.
3643 (SA_RESETHAND): Likewise.
3644 (SA_INTERRUPT): Define only for [__USE_MISC].
3645 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
3646 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
3648 (SA_STACK): Define only for [__USE_MISC].
3649 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
3650 (struct sigaction): Define sa_handler and sa_sigaction using union
3651 also for [__USE_XOPEN_EXTENDED].
3652 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3653 [__USE_XOPEN_EXTENDED].
3654 (SA_RESTART): Likewise.
3655 (SA_NODEFER): Likewise.
3656 (SA_RESETHAND): Likewise.
3657 (SA_NOPTRACE): Define only for [__USE_MISC].
3659 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
3660 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
3661 (struct catalog_info): Likewise.
3662 * inet/htontest.c (lo): Likewise.
3664 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3665 * inet/inet_net.c (inet_network): Likewise.
3666 * inet/inet_netof.c (inet_netof): Likewise.
3667 * inet/rcmd.c (__ivaliduser): Likewise.
3668 (iruserok): Likewise.
3669 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
3670 * locale/programs/locale-spec.c (locale_special): Likewise.
3671 * nis/nis_findserv.c (struct findserv_req): Likewise.
3672 (__nis_findfastest_with_timeout): Likewise.
3673 * nss/test-netdb.c (test_network): Likewise.
3674 * resolv/inet_neta.c (inet_neta): Likewise.
3675 * resolv/ns_date.c (ns_datetosecs): Likewise.
3676 (SECS_PER_DAY): Likewise.
3677 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
3679 * resolv/res_comp.c (__putlong): Likewise.
3680 (__putshort): Likewise.
3681 (_getlong): Likewise.
3682 (_getshort): Likewise.
3683 * resolv/res_debug.c (p_time): Likewise.
3684 (precsize_ntoa): Likewise.
3685 (precsize_aton): Likewise.
3686 (latlon2ul): Likewise.
3687 (loc_aton): Likewise.
3688 (loc_ntoa): Likewise.
3689 * resolv/res_hconf.c (struct netaddr): Likewise.
3690 (_res_hconf_reorder_addrs): Likewise.
3691 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3692 (clnttcp_control): Likewise.
3693 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3694 (clntudp_control): Likewise.
3695 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3696 (clntunix_control): Likewise.
3697 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3698 * sunrpc/rpc/auth.h (union des_block): Likewise.
3699 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
3700 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
3701 (xdrrec_create): Likewise.
3702 (xdrrec_endofrecord): Likewise.
3703 (flush_out): Likewise.
3704 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
3705 (xdrstdio_putlong): Likewise.
3706 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
3709 * misc/sys/cdefs.h (__long_double_t): Remove.
3710 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
3711 instead of __long_double_t,
3712 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
3714 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3716 * benchtests/scripts/compare_strings.py: Avoid display error when
3717 running on a text terminal.
3719 * benchtests/scripts/compare_strings.py (main): Add an
3720 optional -base option.
3721 (process_results): New argument base_func.
3723 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
3725 * benchtests/bench-memcpy-large.c (test_name): Likewise.
3726 * benchtests/bench-memcpy-random.c (test_name): Likewise.
3728 2017-08-07 Andreas Schwab <schwab@suse.de>
3730 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
3731 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3732 * intl/Makefile ($(objpfx)tst-gettext.out)
3733 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
3734 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
3735 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3736 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3737 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
3738 * posix/Makefile ($(objpfx)globtest.out)
3739 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
3740 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
3741 ($(objpfx)tst-printf.out): Likewise.
3742 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
3743 ($(objpfx)tst-setcontext3.out): Likewise.
3745 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
3747 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3748 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
3749 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
3750 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
3751 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
3753 (CFLAGS-doasin-fma.c): New.
3754 (CFLAGS-dosincos-fma.c): Likewise.
3755 (CFLAGS-e_asin-fma.c): Likewise.
3756 (CFLAGS-e_atan2-fma.c): Likewise.
3757 (CFLAGS-e_exp-fma.c): Likewise.
3758 (CFLAGS-e_log-fma.c): Likewise.
3759 (CFLAGS-e_pow-fma.c): Likewise.
3760 (CFLAGS-halfulp-fma.c): Likewise.
3761 (CFLAGS-mpa-fma.c): Likewise.
3762 (CFLAGS-mpatan-fma.c): Likewise.
3763 (CFLAGS-mpatan2-fma.c): Likewise.
3764 (CFLAGS-mpexp-fma.c): Likewise.
3765 (CFLAGS-mplog-fma.c): Likewise.
3766 (CFLAGS-mpsqrt-fma.c): Likewise.
3767 (CFLAGS-mptan-fma.c): Likewise.
3768 (CFLAGS-s_atan-fma.c): Likewise.
3769 (CFLAGS-sincos32-fma.c): Likewise.
3770 (CFLAGS-slowexp-fma.c): Likewise.
3771 (CFLAGS-slowpow-fma.c): Likewise.
3772 (CFLAGS-s_sin-fma.c): Likewise.
3773 (CFLAGS-s_tan-fma.c): Likewise.
3774 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
3775 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
3776 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
3777 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
3778 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
3779 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
3780 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
3781 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
3782 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
3783 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
3784 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
3785 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
3786 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
3787 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
3788 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
3789 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
3790 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
3791 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
3792 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
3793 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
3794 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
3795 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3796 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
3797 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
3798 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3799 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3800 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3801 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3802 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3803 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3804 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3806 2017-08-04 Joseph Myers <joseph@codesourcery.com>
3808 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
3809 (min_of_type_f): New macro.
3810 (min_of_type_): Likewise.
3811 (min_of_type_l): Likewise.
3812 (min_of_type_f128): Likewise.
3813 (min_of_type): Define using __MATH_TG and taking an expression
3815 (math_check_force_underflow): Pass expression instead of type to
3817 (math_check_force_underflow_nonneg): Likewise.
3819 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3821 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3822 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
3823 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
3825 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3828 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
3829 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
3830 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
3831 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
3832 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
3833 memcpy_chk-nonshared, mempcpy_chk-nonshared,
3834 memmove_chk-nonshared and memset_chk-nonshared
3835 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
3836 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
3837 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
3838 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
3839 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
3840 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
3841 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
3842 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
3843 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
3844 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
3845 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
3846 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
3847 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
3848 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
3849 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
3850 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
3852 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
3854 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
3856 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
3857 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
3858 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
3859 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
3860 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
3861 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
3862 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
3863 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
3864 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
3865 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
3866 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
3867 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
3868 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3869 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3870 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
3871 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
3872 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
3873 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
3874 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
3875 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
3876 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
3877 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
3878 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
3879 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
3880 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
3881 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
3882 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
3883 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
3884 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
3885 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
3886 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
3887 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
3888 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
3889 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
3890 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
3891 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
3892 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
3893 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
3894 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
3895 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
3896 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
3897 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
3898 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
3899 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
3900 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
3901 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
3902 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
3903 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
3904 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3905 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
3906 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3907 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3908 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3909 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3910 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3911 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3912 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3913 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3914 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3915 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3916 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3917 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3918 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3919 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3920 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3922 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3923 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3924 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3925 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3926 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3927 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3929 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3930 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3931 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3932 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3933 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3934 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3935 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3936 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3937 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3938 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3939 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3940 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3941 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3942 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3944 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3946 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
3947 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
3948 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
3949 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
3950 svml_d_log2_core-sse2, svml_d_log4_core-sse,
3951 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
3952 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
3953 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
3954 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
3955 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
3956 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
3957 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
3958 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
3959 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
3960 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
3961 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
3962 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
3963 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
3964 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
3965 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
3966 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
3967 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
3968 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
3969 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
3970 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
3971 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
3972 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
3973 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
3974 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
3975 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
3976 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
3977 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
3978 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
3979 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
3980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
3981 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
3982 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
3983 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
3984 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
3985 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
3986 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
3987 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
3988 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
3989 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
3990 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
3991 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
3992 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
3993 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
3994 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
3995 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
3996 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
3997 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
3998 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
3999 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
4000 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
4001 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
4002 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
4003 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
4004 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
4006 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
4007 Don't include <sysdep.h> nor <init-arch.h>.
4008 (_ZGVbN2v_cos): Removed.
4009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
4011 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
4012 Don't include <sysdep.h> nor <init-arch.h>.
4013 (_ZGVdN4v_cos): Removed.
4014 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
4016 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
4017 Don't include <sysdep.h> nor <init-arch.h>.
4018 (_ZGVeN8v_cos): Removed.
4019 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
4021 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
4022 Don't include <sysdep.h> nor <init-arch.h>.
4023 (_ZGVbN2v_exp): Removed.
4024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
4026 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
4027 Don't include <sysdep.h> nor <init-arch.h>.
4028 (_ZGVdN4v_exp): Removed.
4029 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
4031 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
4032 Don't include <sysdep.h> nor <init-arch.h>.
4033 (_ZGVeN8v_exp): Removed.
4034 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
4036 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
4037 Don't include <sysdep.h> nor <init-arch.h>.
4038 (_ZGVbN2v_log): Removed.
4039 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
4041 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
4042 Don't include <sysdep.h> nor <init-arch.h>.
4043 (_ZGVdN4v_log): Removed.
4044 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
4046 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
4047 Don't include <sysdep.h> nor <init-arch.h>.
4048 (_ZGVeN8v_log): Removed.
4049 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
4051 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
4052 Don't include <sysdep.h> nor <init-arch.h>.
4053 (_ZGVbN2vv_pow): Removed.
4054 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
4056 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
4057 Don't include <sysdep.h> nor <init-arch.h>.
4058 (_ZGVdN4vv_pow): Removed.
4059 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
4061 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
4062 Don't include <sysdep.h> nor <init-arch.h>.
4063 (_ZGVeN8vv_pow): Removed.
4064 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
4066 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
4067 Don't include <sysdep.h> nor <init-arch.h>.
4068 (_ZGVbN2v_sin): Removed.
4069 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
4071 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
4072 Don't include <sysdep.h> nor <init-arch.h>.
4073 (_ZGVbN4v_sin): Removed.
4074 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
4076 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
4077 Don't include <sysdep.h> nor <init-arch.h>.
4078 (_ZGVbN8v_sin): Removed.
4079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
4081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
4082 Don't include <sysdep.h> nor <init-arch.h>.
4083 (_ZGVbN2vvv_sincos): Removed.
4084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
4086 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
4087 Don't include <sysdep.h> nor <init-arch.h>.
4088 (_ZGVdN4vvv_sincos): Removed.
4089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
4091 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
4092 Don't include <sysdep.h> nor <init-arch.h>.
4093 (_ZGVeN8vvv_sincos): Removed.
4094 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
4096 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
4097 Don't include <sysdep.h> nor <init-arch.h>.
4098 (_ZGVeN16v_cosf): Removed.
4099 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
4101 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
4102 Don't include <sysdep.h> nor <init-arch.h>.
4103 (_ZGVbN4v_cosf): Removed.
4104 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
4106 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
4107 Don't include <sysdep.h> nor <init-arch.h>.
4108 (_ZGVdN8v_cosf): Removed.
4109 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
4111 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
4112 Don't include <sysdep.h> nor <init-arch.h>.
4113 (_ZGVeN16v_expf): Removed.
4114 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
4116 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
4117 Don't include <sysdep.h> nor <init-arch.h>.
4118 (_ZGVbN4v_expf): Removed.
4119 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
4121 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
4122 Don't include <sysdep.h> nor <init-arch.h>.
4123 (_ZGVdN8v_expf): Removed.
4124 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
4126 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
4127 Don't include <sysdep.h> nor <init-arch.h>.
4128 (_ZGVeN16v_logf): Removed.
4129 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
4131 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
4132 Don't include <sysdep.h> nor <init-arch.h>.
4133 (_ZGVbN4v_logf): Removed.
4134 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
4136 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
4137 Don't include <sysdep.h> nor <init-arch.h>.
4138 (_ZGVdN8v_logf): Removed.
4139 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
4141 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
4142 Don't include <sysdep.h> nor <init-arch.h>.
4143 (_ZGVeN16vv_powf): Removed.
4144 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
4146 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
4147 Don't include <sysdep.h> nor <init-arch.h>.
4148 (_ZGVbN4vv_powf): Removed.
4149 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
4151 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
4152 Don't include <sysdep.h> nor <init-arch.h>.
4153 (_ZGVdN8vv_powf): Removed.
4154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
4156 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
4157 Don't include <sysdep.h> nor <init-arch.h>.
4158 (_ZGVeN16vvv_sincosf): Removed.
4159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
4161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
4162 Don't include <sysdep.h> nor <init-arch.h>.
4163 (_ZGVbN4vvv_sincosf): Removed.
4164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
4166 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
4167 Don't include <sysdep.h> nor <init-arch.h>.
4168 (_ZGVdN8vvv_sincosf): Removed.
4169 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
4171 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
4172 Don't include <sysdep.h> nor <init-arch.h>.
4173 (_ZGVeN16v_sinf): Removed.
4174 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
4176 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
4177 Don't include <sysdep.h> nor <init-arch.h>.
4178 (_ZGVbN4v_sinf): Removed.
4179 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
4181 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
4182 Don't include <sysdep.h> nor <init-arch.h>.
4183 (_ZGVdN8v_sinf): Removed.
4185 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4187 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4188 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
4189 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
4190 s_rint-sse4_1 and s_rintf-sse4_1.
4191 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
4192 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4193 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4194 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4195 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
4197 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
4198 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4199 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4200 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
4201 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
4202 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4204 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
4205 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
4206 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4208 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
4209 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
4210 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4212 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
4213 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
4214 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4215 (__floorf): Removed.
4216 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
4217 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
4218 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4219 (__nearbyint): Removed.
4220 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
4221 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
4222 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4223 (__nearbyintf): Removed.
4224 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
4225 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
4226 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4228 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
4229 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
4230 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4233 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4235 * sysdeps/i386/start.S (_start): Check Check PIC instead of
4236 SHARED. Avoid dynamic relocation against main in static PIE.
4238 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4241 * elf/Makefile (CFLAGS-tst-prelink.c): New.
4242 (LDFLAGS-tst-prelink): Likewise.
4244 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4246 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
4247 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
4248 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
4249 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4250 (INTERNAL_SYSCALL_NCS): Likewise.
4251 (LOADARGS_1): Likewise.
4252 (LOADARGS_5): Likewise.
4253 (RESTOREARGS_1): Likewise.
4254 (RESTOREARGS_5): Likewise.
4256 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4258 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
4259 (MEMPCPY_SYMBOL): Likewise.
4260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4261 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
4262 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
4264 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4265 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4267 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
4268 (__hidden_ver1): Don't use in libc.a.
4269 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4270 (__mempcpy): Don't create a weak alias in libc.a.
4271 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
4273 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
4274 (__hidden_ver1): Don't use in libc.a.
4276 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4278 * config.make.in (have-insert): New.
4279 * configure.ac (libc_cv_insert): New. Set to yes if linker
4280 supports INSERT in linker script.
4281 (AC_SUBST(libc_cv_insert): New.
4282 * configure: Regenerated.
4283 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
4284 if $(have-insert) == yes.
4286 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4288 * elf/Makefile (tests): Add vismain only if
4289 $(have-protected-data) == yes.
4290 (tests-pie): Likewise.
4292 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4295 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4296 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
4298 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4301 * sysdeps/i386/i586/memset.S
4302 (__memset_zero_constant_len_parameter): Removed.
4303 * sysdeps/i386/i686/memset.S
4304 (__memset_zero_constant_len_parameter): Likewise.
4305 * sysdeps/i386/i686/multiarch/memset_chk.S
4306 (__memset_zero_constant_len_parameter): Likewise.
4307 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
4310 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4312 * stdlib/getentropy.c (getentropy): Change return type to int.
4314 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4316 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4318 2017-08-03 Joseph Myers <joseph@codesourcery.com>
4320 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
4322 * math/s_nexttowardf.c (__nexttowardf): Likewise.
4323 * sysdeps/generic/math_private.h (ieee_double_shape_type):
4325 (ieee_float_shape_type): Likewise.
4326 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
4327 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
4328 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4329 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4330 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4331 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
4332 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
4333 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4334 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4336 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4337 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4338 (__ieee754_yn): Likewise.
4339 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4340 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4341 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
4343 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4344 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
4345 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
4346 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
4348 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4349 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
4350 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
4351 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
4352 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
4353 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
4355 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4356 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
4357 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4358 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
4359 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4360 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
4361 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
4362 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
4363 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
4364 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4365 (__issignaling): Likewise.
4366 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
4367 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
4368 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4370 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4371 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4372 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
4373 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
4375 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
4377 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
4378 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
4379 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
4380 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4381 (__erfcf): Likewise.
4382 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4383 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4384 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
4385 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
4387 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
4388 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
4390 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4391 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
4392 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4393 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
4394 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
4395 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4396 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
4397 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
4399 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
4401 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4403 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
4404 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4406 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4408 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4409 (__ieee754_ynl): Likewise.
4410 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4411 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
4413 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
4415 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4416 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
4417 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4419 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4420 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
4421 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
4422 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
4423 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
4424 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4425 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
4426 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
4428 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4429 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
4430 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
4432 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
4433 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
4434 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4435 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4436 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
4437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4441 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4443 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4445 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
4446 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4447 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4448 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
4449 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4450 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
4453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4458 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4459 (__ieee754_remainderl): Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4462 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4465 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4468 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4469 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
4470 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4471 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4472 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4473 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4475 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4476 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
4477 (__ieee754_y0l): Likewise.
4480 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4481 (__ieee754_y1l): Likewise.
4484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4485 (__ieee754_ynl): Likewise.
4486 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4487 (__ieee754_lgammal_r): Likewise.
4488 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
4490 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4491 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
4492 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4493 (__erfcl): Likewise.
4494 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4495 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
4497 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
4498 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
4499 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4500 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
4501 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
4502 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4503 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4505 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
4506 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4507 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
4508 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
4509 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4511 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
4512 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
4514 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
4515 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
4516 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
4517 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4518 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4520 2017-08-03 Florian Weimer <fweimer@redhat.com>
4523 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
4524 on memory allocation failure.
4526 2017-08-03 Alan Modra <amodra@gmail.com>
4528 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
4529 tst-tlsopt-powerpc.c with function name change and no test harness.
4530 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
4531 Call tls_get_addr_opt_test.
4532 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
4533 (modules-names): Add mod-tlsopt-powerpc.
4534 (mod-tlsopt-powerpc.so-no-z-defs): Define.
4535 (tst-tlsopt-powerpc): Depend on .so.
4536 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
4537 define. Expand use in TLS_GD and TLS_LD.
4539 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4541 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
4543 * sysdeps/posix/shm_open.c: Include <pthread.h>.
4545 2017-08-02 Joseph Myers <joseph@codesourcery.com>
4548 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
4549 comparing size with that of double.
4550 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4551 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4552 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4553 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4554 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4555 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
4556 unsigned __int128 types.
4558 2017-08-02 Steve Ellcey <sellcey@cavium.com>
4560 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
4561 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
4562 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
4563 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
4564 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
4566 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4568 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
4570 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4572 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
4574 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4576 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4577 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4578 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4580 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4582 2017-08-02 Joseph Myers <joseph@codesourcery.com>
4585 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
4586 bit-field expressions passed to sizeof or typeof.
4587 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4588 (__TGMATH_F128): Likewise.
4589 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4590 (__TGMATH_CF128): Likewise.
4591 (__TGMATH_UNARY_REAL_ONLY): Likewise.
4592 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
4593 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
4594 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
4595 (__TGMATH_BINARY_REAL_ONLY): Likewise.
4596 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4597 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4598 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4599 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4600 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
4601 (__TGMATH_UNARY_REAL_IMAG): Likewise.
4602 (__TGMATH_UNARY_IMAG): Likewise.
4603 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
4604 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4605 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
4607 (define_vars_for_type): Handle bit_field type specially.
4608 (Tests.__init__): Declare structure with bit-field element.
4610 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4613 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
4614 (MEMCPY_CHK): Define only if SHARED is defined.
4615 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
4617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
4620 See ChangeLog.18 for earlier changes.