1 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
4 * locales/niu_NZ (LC_TIME): copy "niu_NU".
5 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
7 2017-09-14 Mike FABIAN <mfabian@redhat.com>
10 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
13 2017-09-14 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/generic/libm-alias-float128.h: New file.
16 * sysdeps/generic/math-type-macros-float128.h: Include
17 <libm-alias-float128.h>.
18 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
20 2017-09-13 Joseph Myers <joseph@codesourcery.com>
22 * sysdeps/generic/libm-alias-ldouble.h: New file.
23 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
24 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
25 * sysdeps/generic/math-type-macros-ldouble.h: Include
26 <libm-alias-ldouble.h>.
27 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
32 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33 * math/w_exp_compat.c: ... here.
34 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
35 * math/w_expf_compat.c: ... here.
36 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
37 * math/w_expl_compat.c: ... here.
38 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
39 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
40 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
41 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
43 2017-09-13 Joseph Myers <joseph@codesourcery.com>
45 * math/w_scalbln_template.c (strong_alias): Do not undefine and
47 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
49 (ldexpl): Only define as compat symbol for libc, not libm.
50 (scalbnl): Define as compat symbol for libc here.
51 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
52 define for [IS_IN (libc)].
53 (__ldexpl_2): Remove alias.
54 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
55 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
56 name in long_double_symbol call.
57 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
58 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
59 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
60 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
61 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
63 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
64 Define as compat symbol.
66 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
68 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
69 * sysdeps/unix/sysv/linux/alpha/Makefile
70 [$(subdir) = csu] (sysdep_routines): Remove rule.
72 2017-09-13 Joseph Myers <joseph@codesourcery.com>
74 * sysdeps/generic/libm-alias-double.h: New file.
75 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
76 * sysdeps/generic/math-type-macros-double.h: Include
77 <libm-alias-double.h>.
78 [declare_mgen_alias] (declare_mgen_alias): Define to use
80 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
81 (M_LIBM_NEED_COMPAT): Remove macro.
82 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
83 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
84 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
86 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
87 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
88 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
89 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
90 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
91 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
92 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
93 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
94 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
95 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
96 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
97 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
98 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
99 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
100 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
101 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
102 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
103 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
104 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
105 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
106 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
107 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
108 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
109 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
110 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
111 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
112 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
113 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
114 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
116 (declare_mgen_alias): New macro.
117 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
118 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
120 (M_LIBM_NEED_COMPAT): Remove macro.
121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
122 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
124 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
125 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
127 2017-09-12 Joseph Myers <joseph@codesourcery.com>
129 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
130 (declare_mgen_alias_2): Remove.
131 * sysdeps/generic/math-type-macros-double.h
132 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
134 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
136 (ldexp): Define with declare_mgen_alias.
139 2017-09-12 Steve Ellcey <sellcey@cavium.com>
141 * grp/initgroups.c: Include config.h.
142 (DEFAULT_CONFIG): New macro.
143 (internal_getgrouplist): Use DEFAULT_CONFIG.
144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
145 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
146 (DEFAULT_DEFCONFIG): New macro.
147 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
148 * nss/grp-lookup.c: Include config.h
149 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
150 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
151 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
152 * manual/nss.texi: Update default values section.
154 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
157 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
159 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
160 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
161 Handle MathVec_Prefer_No_AVX512.
162 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
163 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
166 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
168 * posix/sched_primax.c (__sched_get_priority_max): Add
170 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
171 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
172 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
173 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
174 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
175 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
176 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
177 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
180 2017-09-11 Joseph Myers <joseph@codesourcery.com>
182 * sysdeps/generic/libm-alias-float.h: New file.
183 * sysdeps/generic/math-type-macros-float.h: Include
184 <libm-alias-float.h>.
185 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
187 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
190 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
191 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
192 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
193 (HWCAP_IMPORTANT): Likewise.
194 (HWCAP_X86_64): New enum.
195 (HWCAP_X86_AVX512_1): Updated.
196 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
197 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
198 (modules-names): Add x86_64/tst-x86_64mod-1.
199 (LDFLAGS-tst-x86_64mod-1.so): New.
200 ($(objpfx)tst-x86_64-1): Likewise.
201 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
202 (tst-x86_64-1-clean): Likewise.
203 * sysdeps/x86_64/tst-x86_64-1.c: New file.
204 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
206 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
208 * po/sv.po: Update translations.
209 * po/fr.po: Likewise.
211 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
213 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
215 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
217 * elf/rtld-Rules: Fix $(error) use.
219 2017-09-09 Mike FABIAN <mfabian@redhat.com>
222 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
223 * locale/iso-639.def: Change “Bengali” to “Bangla”.
224 * localedata/locales/bn_BD: “Bengali” was still used in some
225 comments. Change it to “Bangla”.
227 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
229 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
231 2017-09-08 Steve Ellcey <sellcey@cavium.com>
233 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
234 thunderx2t99p1 to list of cpu names.
235 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
236 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
238 2017-09-08 Steve Ellcey <sellcey@cavium.com>
240 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
241 Use strcmp instead of tunable_is_name.
243 2017-09-08 Joseph Myers <joseph@codesourcery.com>
245 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
246 (F_GET_RW_HINT): New macro.
247 [__USE_GNU] (F_SET_RW_HINT): Likewise.
248 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
249 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
250 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
251 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
252 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
253 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
254 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
255 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
257 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
258 (F_ADD_SEALS): New macro.
259 [__USE_GNU] (F_GET_SEALS): Likewise.
260 [__USE_GNU] (F_SEAL_SEAL): Likewise.
261 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
262 [__USE_GNU] (F_SEAL_GROW): Likewise.
263 [__USE_GNU] (F_SEAL_WRITE): Likewise.
265 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
267 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
268 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
269 * posix/glob_internal.h (__glob_pattern_type):
270 * posix/glob.c (glob):
271 * posix/glob_pattern_p.c (__glob_pattern_p):
274 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
275 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
276 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
277 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
278 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
280 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
281 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
282 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
283 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
284 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
285 * sysdeps/wordsize-64/glob.c: Likewise.
286 * sysdeps/wordsize-64/glob64.c: Likewise.
287 * sysdeps/wordsize-64/globfree.c: Likewise.
288 * sysdeps/wordsize-64/globfree64.c: Likewise.
289 * sysdeps/unix/sysv/linux/glob.c: New file.
290 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
291 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
292 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
293 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
294 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
295 adds !GLOB_NO_OLD_VERSION as an extra condition.
296 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
297 using relative path instead of absolute one.
298 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
299 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
300 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
301 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
302 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
303 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
306 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
307 (glob): Use the same scratch buffer for both getlogin_r and
308 getpwnam_r. Don’t require preallocation of the login name. This
309 simplifies storage allocation, and corrects the handling of
313 * posix/glob.c (glob): Port recent patches to platforms
315 (glob): Fix longstanding misuse of errno after getpwnam_r, which
316 returns an error number rather than setting errno.
318 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
319 instead of GCC extension.
320 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
321 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
322 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
326 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
327 * posix/bug-glob1.c: Remove file.
328 * posix/tst-glob_symlinks.c: New file.
329 * posix/glob.c (__lstat64): New macro.
330 (is_dir): New function.
331 (glob, glob_in_dir): Match symlinks even if they are dangling.
332 (link_stat, link_exists_p): Remove. All uses removed.
336 * posix/glob.c (struct readdir_result): Remove skip_entry member.
337 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
341 * posix/Makefile (routines): Add globfree, globfree64, and
343 * posix/flexmember.h: New file.
344 * posix/glob_internal.h: Likewise.
345 * posix/glob_pattern_p.c: Likewise.
346 * posix/globfree.c: Likewise.
347 * posix/globfree64.c: Likewise.
348 * sysdeps/gnu/globfree64.c: Likewise.
349 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
350 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
351 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
352 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
353 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
354 * sysdeps/wordsize-64/globfree.c: Likewise.
355 * sysdeps/wordsize-64/globfree64.c: Likewise.
356 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
357 [NDEBUG): Remove comments.
358 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
359 (dirent_type): New type. Use uint_fast8_t not
360 uint8_t, as C99 does not require uint8_t.
361 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
362 (struct readdir_result): Use dirent_type. Do not define skip_entry
363 unless it is needed; this saves a byte on platforms lacking d_ino.
364 (readdir_result_type, readdir_result_skip_entry):
365 New functions, replacing ...
366 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
367 these functions, which were removed. This makes the callers
368 easier to read. All callers changed.
369 (D_INO_TO_RESULT): Now empty if there is no d_ino.
370 (size_add_wrapv, glob_use_alloca): New static functions.
371 (glob, glob_in_dir): Check for size_t overflow in several places,
372 and fix some size_t checks that were not quite right.
373 Remove old code using SHELL since Bash no longer
375 (glob, prefix_array): Separate MS code better.
376 (glob_in_dir): Remove old Amiga and VMS code.
377 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
379 (glob_in_dir): Do not rely on undefined behavior in accessing
380 struct members beyond their bounds. Use a flexible array member
382 (link_stat): Rename from link_exists2_p and return -1/0 instead of
384 (glob): Fix memory leaks.
385 * posix/glob64 (globfree64): Move to separate file.
386 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
387 (globfree64): Remove hidden alias.
388 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
390 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
392 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
394 Move compat code to separate file.
395 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
398 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
400 * resolv/tst-resolv-qtypes.c (domain): Changed to
401 "const char domain[] =".
403 2017-09-07 Joseph Myers <joseph@codesourcery.com>
405 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
408 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
409 (TCP_MD5SIG_EXT): Likewise.
410 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
411 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
412 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
414 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
416 2017-09-07 Mike FABIAN <mfabian@redhat.com>
418 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
420 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
423 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
425 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
427 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
428 before assuming that the file is empty. Avoid testing buffer content
431 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
434 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
436 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
438 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
440 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
442 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
444 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
446 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
449 2017-09-06 Florian Weimer <fweimer@redhat.com>
451 * malloc/dynarray_emplace_enlarge.c
452 (__libc_dynarray_emplace_enlarge): Add missing else.
454 2017-09-06 Florian Weimer <fweimer@redhat.com>
457 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
458 case of failure to obtain the global conf object.
460 2017-09-06 Florian Weimer <fweimer@redhat.com>
463 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
464 dynarray allocation failure.
466 2017-09-06 Florian Weimer <fweimer@redhat.com>
468 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
469 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
470 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
472 (response): Call them. Add 'p', '6' flag processing.
473 (test_reverse): New function.
474 (test_get2_any): Call it.
475 (test_no_inet6): Add 'p' test.
476 (test_inet6): Likewise.
478 2017-09-06 Florian Weimer <fweimer@redhat.com>
480 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
481 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
483 (test_gai): Adjust query names. Add additional tests.
484 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
485 test_get2. Adjust query names. Add additional tests.
486 (test_no_inet6): New function, extracted from threadfunc.
487 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
488 Add additional tests.
490 2017-09-06 Mike FABIAN <mfabian@redhat.com>
493 * localedata/unicode-gen/utf8_gen.py: Set the width for
494 characters with Prepended_Concatenation_Mark property to 1
495 * localedata/charmaps/UTF-8: Updated using the improved script.
497 2017-09-06 Mike FABIAN <mfabian@redhat.com>
500 * localedata/unicode-gen/utf8_gen.py: Improve the script to
501 use the range notation for all ranges of neighbouring characters
504 2017-09-05 Joseph Myers <joseph@codesourcery.com>
506 * sysdeps/generic/math-type-macros-double.h: Include
507 <math-svid-compat.h>.
508 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
509 * sysdeps/generic/math-type-macros-float.h: Include
510 <math-svid-compat.h>.
511 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
512 * sysdeps/generic/math-type-macros-ldouble.h: Include
513 <math-svid-compat.h>.
514 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
515 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
517 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
518 * math/w_acosf_compat.c: Likewise.
519 * math/w_acosh_compat.c: Likewise.
520 * math/w_acoshf_compat.c: Likewise.
521 * math/w_acoshl_compat.c: Likewise.
522 * math/w_acosl_compat.c: Likewise.
523 * math/w_asin_compat.c: Likewise.
524 * math/w_asinf_compat.c: Likewise.
525 * math/w_asinl_compat.c: Likewise.
526 * math/w_atan2_compat.c: Likewise.
527 * math/w_atan2f_compat.c: Likewise.
528 * math/w_atan2l_compat.c: Likewise.
529 * math/w_atanh_compat.c: Likewise.
530 * math/w_atanhf_compat.c: Likewise.
531 * math/w_atanhl_compat.c: Likewise.
532 * math/w_cosh_compat.c: Likewise.
533 * math/w_coshf_compat.c: Likewise.
534 * math/w_coshl_compat.c: Likewise.
535 * math/w_exp10_compat.c: Likewise.
536 * math/w_exp10f_compat.c: Likewise.
537 * math/w_exp10l_compat.c: Likewise.
538 * math/w_exp2_compat.c: Likewise.
539 * math/w_exp2f_compat.c: Likewise.
540 * math/w_exp2l_compat.c: Likewise.
541 * math/w_fmod_compat.c: Likewise.
542 * math/w_fmodf_compat.c: Likewise.
543 * math/w_fmodl_compat.c: Likewise.
544 * math/w_hypot_compat.c: Likewise.
545 * math/w_hypotf_compat.c: Likewise.
546 * math/w_hypotl_compat.c: Likewise.
547 * math/w_j0_compat.c: Likewise.
548 * math/w_j0f_compat.c: Likewise.
549 * math/w_j0l_compat.c: Likewise.
550 * math/w_j1_compat.c: Likewise.
551 * math/w_j1f_compat.c: Likewise.
552 * math/w_j1l_compat.c: Likewise.
553 * math/w_jn_compat.c: Likewise.
554 * math/w_jnf_compat.c: Likewise.
555 * math/w_jnl_compat.c: Likewise.
556 * math/w_lgamma_r_compat.c: Likewise.
557 * math/w_lgammaf_r_compat.c: Likewise.
558 * math/w_lgammal_r_compat.c: Likewise.
559 * math/w_log10_compat.c: Likewise.
560 * math/w_log10f_compat.c: Likewise.
561 * math/w_log10l_compat.c: Likewise.
562 * math/w_log2_compat.c: Likewise.
563 * math/w_log2f_compat.c: Likewise.
564 * math/w_log2l_compat.c: Likewise.
565 * math/w_log_compat.c: Likewise.
566 * math/w_logf_compat.c: Likewise.
567 * math/w_logl_compat.c: Likewise.
568 * math/w_pow_compat.c: Likewise.
569 * math/w_powf_compat.c: Likewise.
570 * math/w_powl_compat.c: Likewise.
571 * math/w_remainder_compat.c: Likewise.
572 * math/w_remainderf_compat.c: Likewise.
573 * math/w_remainderl_compat.c: Likewise.
574 * math/w_sinh_compat.c: Likewise.
575 * math/w_sinhf_compat.c: Likewise.
576 * math/w_sinhl_compat.c: Likewise.
577 * math/w_sqrt_compat.c: Likewise.
578 * math/w_sqrtf_compat.c: Likewise.
579 * math/w_sqrtl_compat.c: Likewise.
580 * math/w_tgamma_compat.c: Likewise.
581 * math/w_tgammaf_compat.c: Likewise.
582 * math/w_tgammal_compat.c: Likewise.
583 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
585 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
586 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
588 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
589 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
591 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
592 * sysdeps/i386/fpu/w_sqrt.c: New file.
593 * sysdeps/ia64/fpu/w_acos.c: Likewise.
594 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
595 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
596 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
597 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
598 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
599 * sysdeps/ia64/fpu/w_asin.c: Likewise.
600 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
601 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
602 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
603 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
604 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
605 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
606 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
607 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
608 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
609 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
610 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
611 * sysdeps/ia64/fpu/w_exp.c: Likewise.
612 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
613 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
614 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
615 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
616 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
617 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
618 * sysdeps/ia64/fpu/w_expf.c: Likewise.
619 * sysdeps/ia64/fpu/w_expl.c: Likewise.
620 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
621 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
622 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
623 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
624 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
625 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
626 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
627 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
628 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
629 * sysdeps/ia64/fpu/w_log.c: Likewise.
630 * sysdeps/ia64/fpu/w_log10.c: Likewise.
631 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
632 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
633 * sysdeps/ia64/fpu/w_log2.c: Likewise.
634 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
635 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
636 * sysdeps/ia64/fpu/w_logf.c: Likewise.
637 * sysdeps/ia64/fpu/w_logl.c: Likewise.
638 * sysdeps/ia64/fpu/w_pow.c: Likewise.
639 * sysdeps/ia64/fpu/w_powf.c: Likewise.
640 * sysdeps/ia64/fpu/w_powl.c: Likewise.
641 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
642 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
643 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
644 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
645 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
646 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
647 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
648 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
649 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
650 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
651 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
652 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
653 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
655 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
656 * sysdeps/ieee754/k_standard.c: Likewise.
657 * sysdeps/ieee754/k_standardf.c: Likewise.
658 * sysdeps/ieee754/k_standardl.c: Likewise.
659 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
660 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
661 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
662 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
663 long_double_symbol call on [LIBM_SVID_COMPAT].
664 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
665 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
666 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
667 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
668 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
669 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
670 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
671 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
672 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
673 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
674 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
675 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
676 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
677 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
678 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
679 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
680 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
681 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
682 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
683 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
684 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
685 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
687 2017-09-05 Steve Ellcey <sellcey@cavium.com>
689 * include/shlib-compat.h (TEST_COMPAT): New Macro.
690 * malloc/tst-mallocstate.c: Convert from test-skeleton
691 to test-driver. Ifdef code using TEST_COMPAT macro.
692 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
693 * math/test-matherr.c: Likewise.
695 2017-09-05 Joseph Myers <joseph@codesourcery.com>
698 * debug/pcprofiledump.c (main): Use byte-swapped mask when
699 comparing word with byte-swapped constant.
701 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
704 * locale/iso-639.def: add Miskito.
705 * localedata/SUPPORTED: Add miq_NI/UTF-8.
706 * localedata/locales/miq_NI: New file.
708 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
711 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
713 * io/chmod.c (__chmod): Add libc_hidden_def.
714 * io/mkdir.c (__mkdir): Likewise.
715 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
716 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
717 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
718 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
720 2017-09-04 Joseph Myers <joseph@codesourcery.com>
722 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
726 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
727 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
729 2017-09-04 Florian Weimer <fweimer@redhat.com>
731 * math/math.h: Issue warning if log is defined.
733 2017-09-04 Joseph Myers <joseph@codesourcery.com>
735 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
736 kernel version to 4.13.
738 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
740 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
741 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
743 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
745 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
746 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
747 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
748 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
749 * misc/preadv2.c: Include <errno.h>.
750 * misc/preadv64v2.c: Include <errno.h>.
751 * misc/pwritev2.c: Include <errno.h>.
752 * misc/pwritev64v2.c: Include <errno.h>.
753 * sysdeps/posix/preadv2.c: Include <errno.h>.
754 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
755 Fix <unistd.h> inclusion.
756 * sysdeps/posix/pwritev2.c: Include <errno.h>.
757 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
758 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
759 __strtoul_internal): New functions.
760 * sysdeps/posix/pause.c: Include <sigsetops.h>.
761 * sysdeps/posix/system.c: Include <sigsetops.h>.
762 * sysdeps/mach/hurd/i386/Makefile
763 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
764 [$(subdir) = csu] (sysdep-only-routines): Likewise.
765 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
766 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
767 __feraiseexcept_renamed to feraiseexcept instead of
769 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
770 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
771 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
772 RWF_NOWAIT): Define to 0 if undefined already.
773 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
775 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
776 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
778 2017-09-01 Joseph Myers <joseph@codesourcery.com>
780 * manual/math.texi (pow10): Do not document.
783 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
784 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
785 * math/libm-test-exp10.inc (pow10_test): Remove.
786 (do_test): Do not call pow10.
787 * math/w_exp10_compat.c (pow10): Make into compat symbol.
788 [NO_LONG_DOUBLE] (pow10l): Likewise.
789 * math/w_exp10f_compat.c (pow10f): Likewise.
790 * math/w_exp10l_compat.c (pow10l): Likewise.
791 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
792 (pow10): Make into compat symbol.
793 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
794 (pow10f): Make into compat symbol.
795 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
796 (pow10l): Make into compat symbol.
797 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
799 (CFLAGS-nldbl-pow10.c): Remove variable..
800 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
801 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
802 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
803 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
804 Undefine and redefine.
805 (pow10l): Make into compat symbol.
806 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
807 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
808 * sysdeps/arm/libm-test-ulps: Likewise.
809 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
810 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
811 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
812 * sysdeps/microblaze/libm-test-ulps: Likewise.
813 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
814 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
815 * sysdeps/nios2/libm-test-ulps: Likewise.
816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
817 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
818 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
819 * sysdeps/sh/libm-test-ulps: Likewise.
820 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
821 * sysdeps/tile/libm-test-ulps: Likewise.
822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
824 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
826 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
828 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
830 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
831 "../ChangeLog.old/ChangeLog.8".
832 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
833 "../ChangeLog.old/ChangeLog.14".
835 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
837 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
840 2017-09-01 Joseph Myers <joseph@codesourcery.com>
842 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
844 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
846 * csu/version.c (banner): Remove "by Roland McGrath et al.".
847 * nptl/Banner: Remove "by Ulrich Drepper et al.".
849 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
851 * stdlib/tst-atexit-common.c (do_test): Test support for at least
854 2017-09-01 Zack Weinberg <zackw@panix.com>
856 * math/math.h (HUGE_VAL): Improve commentary.
858 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
859 Andreas Schwab <schwab@suse.de>
862 * include/stdio.h (__gen_tempfd): New function.
863 * stdio-common/Makefile (routines): Add gentempfd.
864 * stdio-common/gentempfd.c: New file.
865 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
866 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
869 2017-09-01 Florian Weimer <fweimer@redhat.com>
873 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
874 result to determine success or failure, not the errno value.
875 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
876 (tst-nss-files-hosts-erange): Link with -ldl.
877 * nss/tst-nss-files-hosts-erange.c: New file.
878 * nss/tst-resolv-basic.c (response): Handle nodata.example.
879 (do_test): Add NO_DATA tests.
880 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
883 2017-09-01 Florian Weimer <fweimer@redhat.com>
886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
887 coming from gethostbyname2_r.
889 2017-09-01 Florian Weimer <fweimer@redhat.com>
891 * support/namespace.h (struct support_chroot_configuration): Add
893 (struct support_chroot): Add path_hosts, path_host_conf.
894 * support/support_chroot.c (write_file): New function.
895 (support_chroot_create): Call it to process /etc/resolv.conf,
896 /etc/hosts, /etc/host.conf.
897 (support_chroot_free): Update.
899 2017-09-01 Florian Weimer <fweimer@redhat.com>
901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
902 status indicates it is set.
904 2017-09-01 Florian Weimer <fweimer@redhat.com>
906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
907 function lookup failures more reliable.
909 2017-09-01 Florian Weimer <fweimer@redhat.com>
911 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
912 (getcanonname): Likewise.
913 (gaih_inet): Likewise.
915 2017-09-01 Florian Weimer <fweimer@redhat.com>
917 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
918 (getcanonname): Likewise.
919 (gaih_inet): Likewise.
921 2017-08-31 Steve Ellcey <sellcey@cavium.com>
922 Richard Henderson <rth@twiddle.net>
924 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
925 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
926 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
927 (IREG_SIZE, OREG_SIZE): New macros.
928 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
929 (IREG_SIZE, OREG_SIZE): New macros.
930 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
931 (IREG_SIZE): New macro.
932 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
933 (IREG_SIZE): New macro.
934 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
936 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
937 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
938 (__CONCATX): Handle exceptions correctly on large values that may
940 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
941 Initialize if not already set.
942 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
944 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
946 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
947 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
949 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
951 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
953 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
955 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
957 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
959 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
961 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
962 (NO_CANCELLATION): Likewise.
963 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
965 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
967 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
970 (NO_CANCELLATION): Likewise.
971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
972 (NO_CANCELLATION): Likewise.
973 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
975 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
977 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
979 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
981 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
983 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
984 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
986 2017-08-31 Steve Ellcey <sellcey@cavium.com>
988 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
991 2017-08-31 Florian Weimer <fweimer@redhat.com>
993 * include/libc-symbols.h (internal_function): Remove.
995 2017-08-31 Florian Weimer <fweimer@redhat.com>
997 * stdlib/fmtmsg.c (internal_addseverity): Remove
1000 2017-08-31 Florian Weimer <fweimer@redhat.com>
1002 * stdio-common/printf_fp.c (group_number): Remove
1004 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1006 2017-08-31 Florian Weimer <fweimer@redhat.com>
1008 * posix/fnmatch.c (internal_function): Remove definition.
1009 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
1010 * posix/regcomp.c (peek_token, init_word_char)
1011 (duplicate_node_closure, fetch_token, peek_token)
1012 (peek_token_bracket, build_range_exp, build_collating_symbol):
1014 * posix/regex_internal.c (re_string_construct_common)
1015 (create_ci_newstate, create_cd_newstate, re_string_allocate)
1016 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
1017 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
1018 (re_string_translate_buffer, re_string_reconstruct)
1019 (re_string_peek_byte_case, re_string_fetch_byte_case)
1020 (re_string_destruct, re_string_context_at, re_node_set_alloc)
1021 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
1022 (re_node_set_add_intersect, re_node_set_init_union)
1023 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
1024 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
1025 (re_dfa_add_node, calc_state_hash, re_acquire_state)
1026 (re_acquire_state_context): Likewise.
1027 * posix/regex_internal.h (internal_function): Remove definition.
1028 (re_string_realloc_buffers, build_wcs_buffer)
1029 (build_wcs_upper_buffer, build_upper_buffer)
1030 (re_string_translate_buffer, re_string_context_at)
1031 (re_string_char_size_at, re_string_wchar_at)
1032 (re_string_elem_size_at): Likewise.
1033 * posix/regexec.c (match_ctx_init, match_ctx_clean)
1034 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
1035 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
1036 (re_search_internal, re_search_2_stub, re_search_stub)
1037 (re_copy_regs, prune_impossible_nodes, check_matching)
1038 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
1039 (free_fail_stack_return, sift_states_iter_mb)
1040 (sift_states_backward, build_sifted_states)
1041 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
1042 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
1043 (check_subexp_limits, sift_states_bkref, merge_state_array)
1044 (find_recover_state, transit_state, merge_state_with_log)
1045 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
1046 (transit_state_mb, transit_state_bkref, get_subexp)
1047 (get_subexp_sub, find_subexp_node, check_arrival)
1048 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
1049 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
1050 (check_node_accept_bytes, find_collation_sequence_value)
1051 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
1052 (acquire_init_state_context, check_halt_node_context)
1053 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
1054 (sub_epsilon_src_nodes): Likewise.
1055 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
1056 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
1057 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
1058 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
1059 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
1060 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
1061 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
1062 * sysdeps/posix/ttyname.c (getttyname): Likewise.
1063 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1064 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
1066 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
1068 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
1069 (PWRITEV): Likewise.
1070 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
1071 (PWRITEV): Likewise.
1072 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
1073 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
1075 2017-08-31 Florian Weimer <fweimer@redhat.com>
1077 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
1078 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
1079 Remove internal_function.
1080 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1081 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
1082 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
1083 (__deallocate_stack, __libc_pthread_init)
1084 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
1085 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
1086 (__libc_disable_asynccancel, __librt_disable_asynccancel):
1088 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
1089 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
1090 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
1092 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
1093 (__pthread_mutex_unlock_usercnt): Likewise.
1095 2017-08-31 Florian Weimer <fweimer@redhat.com>
1097 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
1098 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
1099 (fts_safe_changedir): Remove internal_function.
1100 * io/ftw.c (internal_function): Remove definition.
1101 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
1103 2017-08-31 Florian Weimer <fweimer@redhat.com>
1105 * inet/deadline.c (__deadline_current_time)
1106 (__deadline_from_timeval, __deadline_to_ms): Remove
1108 * inet/getnameinfo.c (nrl_domainname): Likewise.
1109 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
1110 * inet/inet6_option.c (add_pad): Likewise.
1111 * inet/net-internal.h (__deadline_current_time)
1112 (__deadline_from_timeval, __deadline_to_ms): Likewise.
1113 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
1114 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
1115 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
1117 2017-08-31 Joseph Myers <joseph@codesourcery.com>
1119 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
1120 include <bits/nan.h>.
1121 * math/Makefile (headers): Remove bits/nan.h.
1122 * bits/nan.h: Remove.
1123 * sysdeps/ieee754/bits/nan.h: Likewise.
1124 * sysdeps/mips/bits/nan.h: Likewise.
1126 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
1127 not include <bits/inf.h>.
1128 * math/Makefile (headers): Remove bits/inf.h.
1129 * bits/inf.h: Remove.
1130 * sysdeps/ieee754/bits/inf.h: Likewise.
1132 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
1133 bits/huge_vall.h or bits/huge_val_flt128.h.
1134 (HUGE_VAL): Define directly here.
1135 [__USE_ISOC99] (HUGE_VALF): Likewise.
1136 [__USE_ISOC99] (HUGE_VALL): Likewise.
1137 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1138 (HUGE_VAL_F128): Likewise.
1139 * math/Makefile (headers): Remove bits/huge_val.h,
1140 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
1141 * bits/huge_val.h: Remove.
1142 * bits/huge_val_flt128.h: Likewise.
1143 * bits/huge_valf.h: Likewise.
1144 * bits/huge_vall.h: Likewise.
1145 * sysdeps/ia64/bits/huge_vall.h: Likewise.
1146 * sysdeps/ieee754/bits/huge_val.h: Likewise.
1147 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
1148 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
1149 * sysdeps/sh/bits/huge_val.h: Likewise.
1150 * sysdeps/sparc/bits/huge_vall.h: Likewise.
1151 * sysdeps/x86/bits/huge_vall.h: Likewise.
1153 2017-08-31 Florian Weimer <fweimer@redhat.com>
1155 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
1157 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
1159 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
1160 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1161 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
1162 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
1163 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1164 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1165 * elf/dl-libc.c (dlerror_run): Likewise.
1166 * elf/dl-load.c (add_name_to_object, decompose_rpath)
1167 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
1168 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
1169 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
1171 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
1172 (_dl_higher_prime_number, _dl_strtoul): Likewise.
1173 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
1174 * elf/dl-profile.c (_dl_start_profile): Likewise.
1175 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
1176 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
1178 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
1179 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
1180 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
1181 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
1182 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
1183 (_dl_allocate_tls_storage): Likewise.
1184 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
1185 (_dl_check_all_versions): Likewise.
1186 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1187 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
1188 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
1189 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1190 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
1191 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
1192 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
1193 internal_function from __dl_start.
1194 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
1195 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1196 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
1197 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
1198 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
1199 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
1200 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
1201 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
1202 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
1203 (_dl_next_ld_env_entry, _dl_important_hwcaps)
1204 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
1205 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
1206 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
1207 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
1208 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
1210 (struct rtld_global_ro): Remove internal_function from the
1211 _dl_lookup_symbol_x member.
1212 (_dl_symbol_value): Remove. No longer defined anywhere.
1213 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
1215 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1216 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1217 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
1218 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
1219 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
1220 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
1221 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
1222 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
1223 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
1224 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1225 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1226 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1228 2017-08-31 Florian Weimer <fweimer@redhat.com>
1230 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
1231 Remove internal_function.
1232 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1234 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1237 2017-08-31 Florian Weimer <fweimer@redhat.com>
1239 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
1240 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
1241 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
1243 2017-08-31 Florian Weimer <fweimer@redhat.com>
1245 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
1246 (__gai_enqueue_request): Remove internal_function.
1247 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
1248 (__gai_remove_request, __gai_notify, __gai_notify_only)
1249 (__gai_sigqueue): Likewise.
1250 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
1251 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1252 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1253 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1256 2017-08-31 Florian Weimer <fweimer@redhat.com>
1258 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
1259 * include/dirent.h (__opendirat, __getdents, __getdents64)
1260 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
1261 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
1262 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1263 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1265 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
1267 2017-08-31 Florian Weimer <fweimer@redhat.com>
1269 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
1271 (GETCWD_RETURN_TYPE): Likewise.
1273 2017-08-31 Florian Weimer <fweimer@redhat.com>
1275 * include/time.h (__tz_compute, __strptime_internal): Remove
1277 * time/strptime_l.c (__strptime_internal): Likewise.
1278 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
1280 2017-08-31 Florian Weimer <fweimer@redhat.com>
1282 * iconv/gconv.c (__gconv): Remove internal_function.
1283 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
1284 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
1285 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
1286 (__gconv_release_cache): Likewise.
1287 * iconv/gconv_close.c (__gconv_close): Likewise.
1288 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
1289 (read_conf_file, __gconv_get_path): Likewise.
1290 * iconv/gconv_db.c (derivation_lookup, add_derivation)
1291 (__gconv_release_step, gen_steps, increment_counter)
1292 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
1293 (__gconv_close_transform, free_modules_db): Likewise.
1294 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
1296 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
1297 (__gconv_find_transform, __gconv_lookup_cache)
1298 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
1299 (__gconv_close_transform, __gconv_release_cache)
1300 (__gconv_loaded_object, __gconv_release_shlib)
1301 (__gconv_compare_alias): Likewise.
1302 * iconv/gconv_open.c (__gconv_open): Likewise.
1303 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
1304 * iconv/iconvconfig.c (add_module): Likewise.
1305 * intl/dcigettext.c (plural_lookup, guess_category_value)
1306 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
1307 * intl/eval-plural.h (plural_eval): Likewise.
1308 * intl/finddomain.c (_nl_find_domain): Likewise.
1309 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
1310 (_nl_load_domain, _nl_find_msg): Likewise.
1311 (internal_function): Remove definition.
1312 * intl/loadinfo.h (internal_function): Likewise.
1313 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
1315 * intl/localealias.c (internal_function): Remove definition.
1316 (read_alias_file): Remove internal_function.
1317 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
1318 * intl/plural-exp.h (internal_function): Remove definition.
1319 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
1321 * intl/plural.c: Regenerate.
1322 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
1323 * locale/coll-lookup.c (__collidx_table_lookup)
1324 (__collseq_table_lookup): Likewise.
1325 * locale/coll-lookup.h (__collidx_table_lookup)
1326 (__collseq_table_lookup): Likewise.
1327 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
1328 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1329 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
1330 (_nl_unload_locale): Likewise.
1331 * locale/localeinfo.h (struct __locale_data): Remove
1332 internal_function from cleanup member.
1333 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
1334 (_nl_remove_locale, _nl_load_locale_from_archive)
1335 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
1336 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
1337 (_nl_cleanup_time): Remove internal_function.
1338 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
1339 (_nl_parse_alt_digit): Likewise.
1340 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
1341 (_nl_select_era_entry): Likewise.
1342 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
1343 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1344 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1345 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1346 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
1348 2017-08-31 Florian Weimer <fweimer@redhat.com>
1350 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
1351 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1352 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
1353 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
1355 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
1356 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
1357 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
1358 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1360 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
1362 2017-08-31 Florian Weimer <fweimer@redhat.com>
1364 * misc/getttyent.c (skip, value): Remove internal_function.
1365 * misc/syslog.c (openlog_internal): Likewise.
1366 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
1368 2017-08-31 Florian Weimer <fweimer@redhat.com>
1370 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
1371 (__nss_rewrite_field): Remove internal_function.
1372 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1373 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1374 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1375 * nss/nsswitch.c (nss_parse_file, nss_getline)
1376 (nss_parse_service_list, nss_new_service): Likewise.
1377 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
1378 * nss/valid_field.c (__nss_valid_field): Likewise.
1379 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
1381 2017-08-31 Florian Weimer <fweimer@redhat.com>
1383 * malloc/arena.c (__malloc_fork_lock_parent)
1384 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
1385 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
1386 internal_function from defintions.
1387 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
1388 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
1389 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
1390 internal_function from declarations.
1391 * malloc/malloc.c (internal_function): Do not define.
1392 (mem2mem_check): Remove internal_function from declaration.
1393 (munmap_chunk, mremap_chunk): Remove internal_function.
1394 * malloc/mtrace.c (tr_where): Likewise.
1396 2017-08-31 Florian Weimer <fweimer@redhat.com>
1398 * include/rpc/pmap_clnt.h (__get_socket): Remove
1400 * sunrpc/auth_des.c (synchronize): Likewise.
1401 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1402 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1403 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
1404 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
1405 (key_call): Likewise.
1406 * sunrpc/pm_getport.c (__get_socket): Likewise.
1407 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
1408 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
1409 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1410 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
1411 (invalidate): Likewise.
1412 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
1413 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
1414 (set_input_fragment, get_input_bytes): Likewise.
1416 2017-08-31 Florian Weimer <fweimer@redhat.com>
1418 * malloc/malloc.c (_int_free): Remove locked variable and related
1421 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
1424 * Makerules (build-module-helper-objlist): Filter out
1425 $(elf-objpfx)sofini.os.
1426 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
1429 2017-08-31 Florian Weimer <fweimer@redhat.com>
1431 * libio/fcloseall.c: Assume weak_alias is defined.
1432 * libio/feof.c: Likewise.
1433 * libio/fileno.c: Likewise.
1434 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
1435 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1437 (_IO_file_open): Call __open directly.
1438 (_IO_new_file_sync): Assume ESPIPE is defined.
1439 (_IO_file_seekoff_maybe_mmap): Call __read directly.
1440 (_IO_new_file_write): Call __write directly.
1441 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
1442 * libio/ftello64.c (__ftello64): Assume EIO is defined.
1443 * libio/genops.c: Assume _LIBC is defined.
1444 (save_for_backup): Remove internal_function.
1445 * libio/getc.c: Assume weak_alias is defined.
1446 * libio/getwc.c: Likewise.
1447 * libio/iofclose.c: Assume _LIBC is defined.
1448 * libio/iofdopen.c: Likewise.
1449 (_IO_fcntl): Remove macro definition.
1450 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
1451 Call __fcntl directly.
1452 * libio/iofflush.c: Assume weak_alias is defined.
1453 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
1455 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
1456 * libio/iofgets.c: Likewise.
1457 * libio/iofopen.c: Assume _LIBC is defined.
1458 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
1459 * libio/iofputs.c: Assume weak_alias is defined.
1460 * libio/iofread.c: Likewise.
1461 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
1462 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1463 * libio/ioftell.c: Assume weak_alias is defined.
1464 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
1465 * libio/iofwide.c: Assume _LIBC is defined.
1466 (_IO_fwide): Drop SHARED conditional because it is implied by
1468 * libio/iofwrite.c: Assume weak_alias is defined.
1469 * libio/iogetdelim.c: Likewise.
1470 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
1471 * libio/iogetwline.c (wmemcpy): Remove macro definition.
1472 (_IO_getwline): Call __wmemcpy directly.
1473 * libio/iopopen.c: Assume _LIBC is defined.
1474 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1475 (_IO_close): Remove macro definitions.
1476 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
1478 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
1480 * libio/ioputs.c: Assume weak_alias is defined.
1481 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
1482 * libio/iosetbuffer.c: Assume weak_alias is defined.
1483 * libio/iosetvbuf.c: Likewise.
1484 * libio/ioungetc.c: Likewise.
1485 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
1486 libc_hidden_def, libc_hidden_weak, NULL are defined.
1487 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
1488 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
1490 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1492 (_IO_old_file_init_internal): Drop SHARED conditional because it
1493 is implied by SHLIB_COMPAT.
1494 (_IO_old_file_fopen): Call __open directly.
1495 (_IO_old_file_sync): Assume ESPIPE is defined.
1496 (_IO_old_file_write): Call __write directly.
1497 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
1498 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
1499 Call __fcntl directly.
1500 * libio/oldiofgetpos.c: Assume weak_alias is defined.
1501 (_IO_old_fgetpos): Assume EIO is defined.
1502 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
1503 (_IO_old_fgetpos64): Assume EIO is defined.
1504 * libio/oldiofsetpos.c: Assume weak_alias is defined.
1505 (_IO_old_fsetpos): Assume EIO is defined.
1506 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
1507 (_IO_old_fsetpos64): Assume EIO is defined.
1508 * libio/oldiopopen.c: Assume _LIBC is defined.
1509 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1510 (_IO_close): Remove macro definitions.
1511 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
1513 (_IO_old_proc_close): Call __close, __waitpid directly.
1514 * libio/put.c: Assume weak_alias is defined.
1515 * libio/stdfiles.c: Assume _LIBC is defined.
1516 * libio/stdio.c: Likewise.
1517 * libio/wfileops.c: Likewise.
1518 (_IO_wfile_sync): Assume ESPIPE is defined.
1519 * libio/wgenops.c: Assume _LIBC is defined.
1520 (save_for_wbackup): Remove internal_function.
1522 2017-08-31 Florian Weimer <fweimer@redhat.com>
1524 * malloc/malloc.c (top_check): Change return type to void. Remove
1526 * malloc/hooks.c (top_check): Likewise.
1527 (malloc_check, realloc_check, memalign_check): Adjust.
1529 2017-08-30 Joseph Myers <joseph@codesourcery.com>
1532 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1533 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
1534 sigcontext and namespace requirements.
1535 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1536 * sysdeps/m68k/sys/ucontext.h: Likewise.
1537 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
1538 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1539 <bits/sigcontext.h>.
1540 (__ctx): Define earlier.
1541 (mcontext_t): Define structure contents rather than using struct
1543 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
1544 __glibc_reserved1 instead of __reserved.
1545 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1546 <bits/sigcontext.h>.
1547 (__ctx): Define earlier.
1548 (mcontext_t): Define structure contents rather than using struct
1550 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
1551 mcontext_t instead of struct sigcontext.
1552 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1553 <bits/sigcontext.h>.
1554 (__ctx): Define earlier.
1555 (mcontext_t): Define structure contents rather than using struct
1557 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1558 <bits/sigcontext.h>.
1559 (__ctx): Define earlier.
1560 (mcontext_t): Define structure contents rather than using struct
1562 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
1563 mcontext_t instead of struct sigcontext.
1564 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
1565 mcontext_t instead of struct sigcontext.
1566 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1567 <bits/sigcontext.h>.
1569 (struct __ia64_fpreg_mcontext): New type.
1570 (mcontext_t): Define structure contents rather than using struct
1572 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
1573 (uc_sigmask): Define using __ctx.
1574 (uc_stack): Likewise.
1575 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
1576 <bits/sigcontext.h>.
1577 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1578 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1579 <bits/sigcontext.h>.
1580 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
1581 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1582 <bits/sigcontext.h>.
1583 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1584 <bits/sigcontext.h>.
1585 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1586 <bits/sigcontext.h>.
1587 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1588 <bits/sigcontext.h>.
1589 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1590 <bits/sigcontext.h>.
1591 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1592 <bits/sigcontext.h>.
1593 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1594 <bits/sigcontext.h>.
1595 (__ctx): Define earlier.
1596 (mcontext_t): Define structure contents rather than using struct
1598 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1599 <bits/sigcontext.h>. Include <bits/types.h>.
1600 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
1601 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
1602 (test-xfail-XPG42/ucontext.h/conform): Likewise.
1603 (test-xfail-UNIX98/signal.h/conform): Likewise.
1604 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1605 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1606 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1607 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1608 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1609 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1610 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1611 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1612 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1614 2017-08-30 Florian Weimer <fweimer@redhat.com>
1616 * malloc/dynarray_emplace_enlarge.c
1617 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
1618 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1619 * malloc/tst-dynarray.c (test_long_overflow): New function.
1622 2017-08-30 Florian Weimer <fweimer@redhat.com>
1624 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
1625 (set_arena_corrupt): Remove definitions.
1626 (mtrim): Do not check for corrupt arena.
1627 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
1630 2017-08-30 Florian Weimer <fweimer@redhat.com>
1633 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
1635 (ptmalloc_init): Do not set or use check_action.
1636 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
1637 call to malloc_printerr. Remove return statement.
1638 (free_check): Likewise. Remove arena unlock.
1639 (top_check): Update comment. Adjust call to malloc_printerr.
1640 Remove heap repair code.
1641 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
1642 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
1643 (sysmalloc): Adjust call to malloc_printerr.
1644 (munmap_chunk, __libc_realloc): Likewise. Remove return
1646 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
1647 Remove errout label and corresponding gotos.
1648 (_int_free): Likewise. Remove arena unlock.
1649 (do_set_mallopt_check): Do not set check_action.
1650 (malloc_printerr): Adjust parameter list. Do not mark arena as
1652 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
1654 * manual/probes.texi (Memory Allocation Probes): Remove
1655 memory_mallopt_check_action.
1657 2017-08-30 Steve Ellcey <sellcey@cavium.com>
1659 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
1660 Use pointer to uint64_t instead of long int for sp.
1662 2017-08-30 Florian Weimer <fweimer@redhat.com>
1665 * malloc/malloc.c (malloc_printerr): Always terminate the process,
1666 without printing a backtrace. Do not leak any information in the
1668 * manual/memory.texi (Heap Consistency Checking): Update.
1669 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
1671 2017-08-30 Florian Weimer <fweimer@redhat.com>
1673 Do not scale NPTL tests with available number of CPUs.
1674 * nptl/tst-cond16.c (count): Set to constant value of 8.
1675 * nptl/tst-cond18.c (count): Likewise.
1677 2017-08-29 Joseph Myers <joseph@codesourcery.com>
1680 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
1681 Define to take a second argument that is a macro that
1682 concatentates a suffix, not the suffix itself.
1683 (__CONCAT_d): New macro.
1684 (__CONCAT_f): Likewise.
1685 (__CONCAT_l): Likewise.
1687 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
1689 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
1692 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1693 Aurelien Jarno <aurelien@aurel32.net>
1694 Maciej W. Rozycki <macro@imgtec.com>
1697 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
1698 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
1699 `mips16-syscall6' and `mips16-syscall7'.
1700 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
1701 (CFLAGS-mips16-syscall7.c): Remove.
1702 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
1703 Remove `__mips16_syscall5', `__mips16_syscall6' and
1704 `__mips16_syscall7'.
1705 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
1706 (__mips16_syscall0): Rename `__mips16_syscall_return' to
1707 `__mips_syscall_return'.
1708 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
1709 (__mips16_syscall1): Likewise.
1710 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
1711 (__mips16_syscall2): Likewise.
1712 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
1713 (__mips16_syscall3): Likewise.
1714 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
1715 (__mips16_syscall4): Likewise.
1716 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
1718 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
1720 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
1722 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
1723 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
1724 `__mips16_syscall5'. Remove prototype.
1725 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
1726 `__mips16_syscall6'. Remove prototype.
1727 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
1728 `__mips16_syscall7'. Remove prototype.
1729 (__nomips16, __mips16_syscall_return): Move to...
1730 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1731 (__nomips16, __mips_syscall_return): ... here.
1732 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
1733 `__mips16_syscall_return' to `__mips_syscall_return'.
1734 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
1735 `internal_syscall##nr'.
1736 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
1737 `internal_syscall##nr'.
1738 (FORCE_FRAME_POINTER): Remove.
1739 (__mips_syscall5): New prototype.
1740 (internal_syscall5): Rewrite to call `__mips_syscall5'.
1741 (__mips_syscall6): New prototype.
1742 (internal_syscall6): Rewrite to call `__mips_syscall6'.
1743 (__mips_syscall7): New prototype.
1744 (internal_syscall7): Rewrite to call `__mips_syscall7'.
1745 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
1746 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
1747 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
1748 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
1749 (sysdep_routines): Add libc-do-syscall.
1750 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
1751 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
1753 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1756 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
1757 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
1758 (advise_stack_range): New function.
1759 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
1760 stack non required to advise_stack_range at allocatestack.c
1762 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1764 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
1766 2017-08-29 Florian Weimer <fweimer@redhat.com>
1769 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
1770 __end_fct. Mangle __end_fct after setting it to NULL.
1771 * iconv/Makefile (tests): Add tst-gconv-init-failure.
1772 (modules-names, modules-names-tests): Add
1773 tst-gconv-init-failure-mod.
1774 (gconv-modules): New target.
1775 (tst-gconv-init-failure-mod.so): Link against libsupport.
1776 (tst-gconv-init-failure): Depend on gconv-modules,
1777 tst-gconv-init-failure-mod.so.
1778 * iconv/tst-gconv-init-failure-mod.c: New file.
1779 * iconv/tst-gconv-init-failure.c: Likewise.
1780 * iconv/test-gconv-modules: Likewise.
1782 2017-08-29 Florian Weimer <fweimer@redhat.com>
1785 * iconv/gconv_db.c (free_derivation): Remove redundant
1787 (gen_steps): Unconditionally mangle __btowc_fct after
1789 (increment_counter): Likewise. Do not call init_fct for internal
1792 2017-08-29 Joseph Myers <joseph@codesourcery.com>
1795 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1796 (_MSUF_): Remove macro.
1797 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
1799 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1800 (__REDIRFROM_X): New macro.
1801 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
1803 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
1804 (__REDIRTO_X): Likewise.
1805 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
1807 (__MATH_REDIRCALL_2): Likewise.
1808 (__MATH_REDIRCALL_INTERNAL): Likewise.
1809 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1810 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
1811 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
1812 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1813 * math/test-finite-macros.c: New file.
1814 * math/Makefile (tests): Add test-finite-macros.
1815 (CFLAGS-test-finite-macros.c): New variable.
1817 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
1818 Jeff Law <law@redhat.com>
1821 Mangle NULL pointers in iconv/gconv.
1822 * iconv/gconv_cache.c (find_module): Demangle init_fct before
1823 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
1824 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
1825 is non-NULL before demangling the end_fct. Check for NULL
1826 end_fct after demangling.
1827 (__gconv_release_step): Demangle the end_fct before checking
1828 it for NULL. Remove assert on __shlibc_handle != NULL.
1829 (gen_steps): Don't check btowc_fct for NULL before mangling.
1830 Demangle init_fct before checking for NULL.
1831 (increment_counter): Likewise.
1832 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
1833 end_fct for NULL before mangling.
1834 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
1837 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
1840 * locale/iso-639.def: add Morisyen.
1842 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1845 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
1846 (iszero): New C++ implementation that does not use
1847 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
1848 signaling nans are enabled, since __builtin_types_compatible_p
1849 is a C-only feature.
1850 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
1851 defined, include ieee754_float128.h for access to the union and
1852 member ieee854_float128.ieee.
1853 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
1854 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
1855 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1856 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
1857 options of test-math-zero on powerpc64le.
1859 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
1862 Change double to float.
1864 2017-08-28 Joseph Myers <joseph@codesourcery.com>
1866 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
1868 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
1869 conditional code; define contents only for [LIBM_SVID_COMPAT].
1871 2017-08-28 Florian Weimer <fweimer@redhat.com>
1873 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
1874 (abi-lp64_be-options): Remove.
1875 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
1876 (abi-hard-options): Likewise.
1877 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
1878 (abi-o32_hard-options, abi-o32_soft_2008-options)
1879 (abi-o32_hard_2008-options, abi-n32_soft-options)
1880 (abi-n32_hard-options, abi-n32_soft_2008-options)
1881 (abi-n32_hard_2008-options, abi-n64_soft-options)
1882 (abi-n64_hard-options, abi-n64_soft_2008-options)
1883 (abi-n64_hard_2008-options): Likewise.
1884 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
1885 (abi-64-v1-options, abi-64-v2-options): Likewise.
1886 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
1887 (abi-64-options): Likewise.
1888 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
1889 (abi-64-options): Likewise.
1890 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
1891 (abi-64-options): Likewise.
1892 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
1893 (abi-64-options, abi-x32-options): Likewise.
1895 2017-08-28 Florian Weimer <fweimer@redhat.com>
1897 Store supported list of SYS_* system calls in the source tree.
1898 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1899 (bits/syscall.h): Generate from list file.
1900 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
1901 [$(subdir) = misc] (tests): Add tst-syscall-list.
1902 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
1903 [$(subdir) = misc] (tst-syscall-list-macros.list)
1904 [$(subdir) = misc] (tst-syscall-list-nr.list)
1905 (tst-syscall-list-sys.list): Helper targets for new
1906 tst-syscall-list test.
1907 [$(subdir) = misc] (tst-syscall-list.out): Run test script
1908 tst-syscall-list.sh.
1909 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
1910 target. Do not include bits/syscall.d.
1911 [$(subdir) = misc] (generated): Do not update.
1912 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
1913 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
1914 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
1915 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
1917 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1919 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
1920 (tst-cxa_atexit, tst-on_exit): Likewise.
1921 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
1922 tst-cxa_atexit, and tst-on_exit.
1923 * stdlib/tst-atexit-common.c: New file.
1924 * stdlib/tst-atexit.c: New file.
1925 * stdlib/tst-at_quick_exit.c: New file.
1926 * stdlib/tst-cxa_atexit.c: New file.
1927 * stdlib/tst-on_exit.c: New file.
1929 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1931 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
1932 * mach/stack_chk_fail_local.c: New file.
1933 * hurd/stack_chk_fail_local.c: New file.
1934 * mach/Machrules ($(interface-library)-routines): Add
1935 stack_chk_fail_local.
1936 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
1937 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
1938 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
1939 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
1940 * hurd/Makefile (CFLAGS-hurdstartup.o,
1941 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
1943 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
1945 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
1946 (index_cpu_*, index_arch_*): Removed.
1948 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1950 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
1951 Use uint64_t instead of unsigned long.
1953 2017-08-25 Joseph Myers <joseph@codesourcery.com>
1955 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
1956 [__HAVE_DISTINCT_FLOAT128].
1958 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
1959 of <bits/math-finite.h>.
1960 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
1961 inclusion of <bits/math-finite.h>.
1962 * math/bits/math-finite.h (__REDIRTO_X): Do not define
1963 conditionally on [__MATH_DECLARING_LDOUBLE && defined
1964 __NO_LONG_DOUBLE_MATH].
1965 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
1966 (__MATH_REDIRCALL_2): Likewise.
1967 (__MATH_REDIRCALL_INTERNAL): Likewise.
1968 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1969 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
1970 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1984 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1986 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1987 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1989 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
1990 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
1991 w_sqrtf_compat-ppc32.
1993 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1995 * math/math.h [defined __cplusplus] (issignaling): In the long
1996 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
1997 is not defined. Call __issignaling, otherwise.
1999 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2001 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
2002 syscall definitions and replace __builtin_expect with __glibc_likely.
2003 * sysdeps/unix/syscall-template.S: Update comment about cancellable
2005 (SYSCALL_CANCELLABLE): Removedefinition
2006 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
2008 (PSEUDO_END): Likewise.
2009 [IS_IN (libpthread)] (CENABLE): Likewise.
2010 [IS_IN (libpthread)] (CDISABLE): Likewise.
2011 [IS_IN (libc)] (CENABLE): Likewise.
2012 [IS_IN (libc)] (CENABLE): Likewise.
2013 [IS_IN (librt)] (CDISABLE): Likewise.
2014 [IS_IN (librt)] (CDISABLE): Likewise.
2015 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2016 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
2018 (PSEUDO_END): Likewise.
2019 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
2020 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
2021 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2022 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2023 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2024 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2025 (CENABLE): Likewise.
2026 (CDISABLE): Likewise.
2027 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2028 * sysdeps/unix/sysv/linux/arm/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/hppa/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.
2048 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
2050 (PSEUDO_END): Likewise.
2051 [IS_IN (libpthread)] (CENABLE): Likewise.
2052 [IS_IN (libpthread)] (CDISABLE): Likewise.
2053 [IS_IN (libc)] (CENABLE): Likewise.
2054 [IS_IN (libc)] (CENABLE): Likewise.
2055 [IS_IN (librt)] (CDISABLE): Likewise.
2056 [IS_IN (librt)] (CDISABLE): Likewise.
2057 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2058 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
2060 (PSEUDO_END): Likewise.
2061 [IS_IN (libpthread)] (CENABLE): Likewise.
2062 [IS_IN (libpthread)] (CDISABLE): Likewise.
2063 [IS_IN (libc)] (CENABLE): Likewise.
2064 [IS_IN (libc)] (CENABLE): Likewise.
2065 [IS_IN (librt)] (CDISABLE): Likewise.
2066 [IS_IN (librt)] (CDISABLE): Likewise.
2067 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2068 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
2070 (PSEUDO_END): Likewise.
2071 [IS_IN (libpthread)] (CENABLE): Likewise.
2072 [IS_IN (libpthread)] (CDISABLE): Likewise.
2073 [IS_IN (libc)] (CENABLE): Likewise.
2074 [IS_IN (libc)] (CENABLE): Likewise.
2075 [IS_IN (librt)] (CDISABLE): Likewise.
2076 [IS_IN (librt)] (CDISABLE): Likewise.
2077 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2078 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
2080 (PSEUDO_END): Likewise.
2081 [IS_IN (libpthread)] (CENABLE): Likewise.
2082 [IS_IN (libpthread)] (CDISABLE): Likewise.
2083 [IS_IN (libc)] (CENABLE): Likewise.
2084 [IS_IN (libc)] (CENABLE): Likewise.
2085 [IS_IN (librt)] (CDISABLE): Likewise.
2086 [IS_IN (librt)] (CDISABLE): Likewise.
2087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2088 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
2090 (PSEUDO_END): Likewise.
2091 [IS_IN (libpthread)] (CENABLE): Likewise.
2092 [IS_IN (libpthread)] (CDISABLE): Likewise.
2093 [IS_IN (libc)] (CENABLE): Likewise.
2094 [IS_IN (libc)] (CENABLE): Likewise.
2095 [IS_IN (librt)] (CDISABLE): Likewise.
2096 [IS_IN (librt)] (CDISABLE): Likewise.
2097 (SINGLE_THREAD_P): Likewise.
2098 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
2100 (PSEUDO_END): Likewise.
2101 [IS_IN (libpthread)] (CENABLE): Likewise.
2102 [IS_IN (libpthread)] (CDISABLE): Likewise.
2103 [IS_IN (libc)] (CENABLE): Likewise.
2104 [IS_IN (libc)] (CENABLE): Likewise.
2105 [IS_IN (librt)] (CDISABLE): Likewise.
2106 [IS_IN (librt)] (CDISABLE): Likewise.
2107 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2108 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
2110 (PSEUDO_END): Likewise.
2111 [IS_IN (libpthread)] (CENABLE): Likewise.
2112 [IS_IN (libpthread)] (CDISABLE): Likewise.
2113 [IS_IN (libc)] (CENABLE): Likewise.
2114 [IS_IN (libc)] (CENABLE): Likewise.
2115 [IS_IN (librt)] (CDISABLE): Likewise.
2116 [IS_IN (librt)] (CDISABLE): Likewise.
2117 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2118 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
2119 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2120 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
2121 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
2123 (PSEUDO_END): Likewise.
2124 [IS_IN (libpthread)] (CENABLE): Likewise.
2125 [IS_IN (libpthread)] (CDISABLE): Likewise.
2126 [IS_IN (libc)] (CENABLE): Likewise.
2127 [IS_IN (libc)] (CENABLE): Likewise.
2128 [IS_IN (librt)] (CDISABLE): Likewise.
2129 [IS_IN (librt)] (CDISABLE): Likewise.
2130 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
2133 (PSEUDO_END): Likewise.
2134 [IS_IN (libpthread)] (CENABLE): Likewise.
2135 [IS_IN (libpthread)] (CDISABLE): Likewise.
2136 [IS_IN (libc)] (CENABLE): Likewise.
2137 [IS_IN (libc)] (CENABLE): Likewise.
2138 [IS_IN (librt)] (CDISABLE): Likewise.
2139 [IS_IN (librt)] (CDISABLE): Likewise.
2140 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2141 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
2143 (PSEUDO_END): Likewise.
2144 [IS_IN (libpthread)] (CENABLE): Likewise.
2145 [IS_IN (libpthread)] (CDISABLE): Likewise.
2146 [IS_IN (libc)] (CENABLE): Likewise.
2147 [IS_IN (libc)] (CENABLE): Likewise.
2148 [IS_IN (librt)] (CDISABLE): Likewise.
2149 [IS_IN (librt)] (CDISABLE): Likewise.
2150 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
2152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2153 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
2154 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
2156 (PSEUDO_END): Likewise.
2157 [IS_IN (libpthread)] (CENABLE): Likewise.
2158 [IS_IN (libpthread)] (CDISABLE): Likewise.
2159 [IS_IN (libc)] (CENABLE): Likewise.
2160 [IS_IN (libc)] (CENABLE): Likewise.
2161 [IS_IN (librt)] (CDISABLE): Likewise.
2162 [IS_IN (librt)] (CDISABLE): Likewise.
2163 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
2166 (PSEUDO_END): Likewise.
2167 [IS_IN (libpthread)] (CENABLE): Likewise.
2168 [IS_IN (libpthread)] (CDISABLE): Likewise.
2169 [IS_IN (libc)] (CENABLE): Likewise.
2170 [IS_IN (libc)] (CENABLE): Likewise.
2171 [IS_IN (librt)] (CDISABLE): Likewise.
2172 [IS_IN (librt)] (CDISABLE): Likewise.
2173 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2175 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2177 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
2179 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2181 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2183 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2186 * string/stratcliff.c (do_test): Declare size, nchars, inner,
2187 middle and outer with size_t instead of int. Repleace %d and
2188 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
2189 "MAX (outer, nchars - 64)" to support unsigned outer and
2190 nchars. Also exit loop when outer == 0.
2192 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2194 * include/fcntl.h (__fcntl_nocancel): Remove definition.
2195 * include/signal.h (__sigsuspend_nocancel): Likewise.
2196 * include/time.h (__nanosleep_nocancel): Likewise.
2197 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
2198 * login/utmp_file.c: Include non cancellable syscall header.
2199 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
2202 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2204 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
2205 .byte sequences with AVX512F instructions.
2206 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
2207 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2208 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2209 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
2211 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2214 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2215 Steve Ellcey <sellcey@cavium.com>
2217 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
2218 Use PTR_REG macro in cmp instruction.
2220 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2222 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
2223 Change the return type of the ifunc resolver to match the return
2224 type of the target function.
2226 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2228 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
2229 (preadv64): Likewise.
2230 (pwrite64(: Likewise.
2231 (pwritev64): Likewise.
2233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2234 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
2235 (LOAD_ARGS_0): Likewise.
2236 (LOAD_ARGS_1): Likewise.
2237 (LOAD_ARGS_2): Likewise.
2238 (LOAD_ARGS_3): Likewise.
2239 (LOAD_ARGS_4): Likewise.
2240 (LOAD_ARGS_5): Likewise.
2241 (LOAD_ARGS_6): Likewise.
2242 (LOAD_REGS_0): Likewise.
2243 (LOAD_REGS_1): Likewise.
2244 (LOAD_REGS_2): Likewise.
2245 (LOAD_REGS_3): Likewise.
2246 (LOAD_REGS_4): Likewise.
2247 (LOAD_REGS_5): Likewise.
2248 (LOAD_REGS_6): Likewise.
2249 (ASM_ARGS_0): Likewise.
2250 (ASM_ARGS_1): Likewise.
2251 (ASM_ARGS_2): Likewise.
2252 (ASM_ARGS_3): Likewise.
2253 (ASM_ARGS_4): Likewise.
2254 (ASM_ARGS_5): Likewise.
2255 (ASM_ARGS_6): Likewise.
2256 (LOAD_ARGS_TYPES_1): Likewise.
2257 (LOAD_ARGS_TYPES_2): Likewise.
2258 (LOAD_ARGS_TYPES_3): Likewise.
2259 (LOAD_ARGS_TYPES_4): Likewise.
2260 (LOAD_ARGS_TYPES_5): Likewise.
2261 (LOAD_ARGS_TYPES_6): Likewise.
2262 (LOAD_REGS_TYPES_1): Likewise.
2263 (LOAD_REGS_TYPES_2): Likewise.
2264 (LOAD_REGS_TYPES_3): Likewise.
2265 (LOAD_REGS_TYPES_4): Likewise.
2266 (LOAD_REGS_TYPES_5): Likewise.
2267 (LOAD_REGS_TYPES_6): Likewise.
2268 (TYPEFY): New define.
2270 (internal_syscall0): Likewise.
2271 (internal_syscall1): Likewise.
2272 (internal_syscall2): Likewise.
2273 (internal_syscall3): Likewise.
2274 (internal_syscall4): Likewise.
2275 (internal_syscall5): Likewise.
2276 (internal_syscall6): Likewise.
2277 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
2278 (INTERNAL_SYSCALL_NCS): Remove define.
2279 (internal_syscall1): Add define.
2281 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2283 * math/w_remainder_compat.c: Remove duplicate inclusion of
2285 * math/w_remainderf_compat.c: Likewise.
2286 * math/w_remainderl_compat.c: Likewise.
2288 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2292 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2295 * math/tgmath.h (__floating_type): Simplify definitions.
2296 (__real_integer_type): New macro.
2297 (__complex_integer_type): Likewise.
2298 (__expr_is_real): Likewise.
2299 (__tgmath_real_type_sub): Update comment to describe handling of
2301 (__tgmath_complex_type_sub): New macro.
2302 (__tgmath_complex_type): Likewise.
2303 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2304 (__TGMATH_CF128): Use __expr_is_real.
2305 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
2307 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2308 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
2309 * math/gen-tgmath-tests.py (Type.create_type): Create complex
2312 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2314 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
2316 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
2318 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
2321 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
2322 nanosleep_not_cancel with __nanosleep_nocancel.
2323 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
2324 (__nanosleep_nocancel): New macro.
2325 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
2327 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
2329 (__nanosleep_nocancel): New prototype.
2331 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
2332 pause_not_cancel with __pause_nocancel.
2333 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
2334 (__pause_nocancel): New macro.
2335 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
2337 (__pause_nocancel): New prototype.
2338 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
2340 2017-08-22 Martin Sebor <msebor@redhat.com>
2342 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
2343 to return a pointer to the same type as the target function.
2345 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2349 * include/printf.h (__printf_fphex): Add attribute_hidden.
2350 (__guess_grouping): New prototype.
2351 * stdio-common/printf_fp.c (__guess_grouping): Removed.
2352 * stdio-common/reg-printf.c (__register_printf_specifier): Add
2353 libc_hidden_proto and libc_hidden_def.
2354 * stdlib/strfmon_l.c (__guess_grouping): Removed.
2355 (__vstrfmon_l): Remove the third argument passed to
2358 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2360 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
2361 definition for issignaling that does not rely on __MATH_TG,
2362 since __MATH_TG uses __builtin_types_compatible_p, which is only
2363 available in C mode.
2364 (CFLAGS-test-math-issignaling.cc): New variable.
2365 * math/Makefile [CXX] (tests): Add test-math-issignaling.
2366 * math/test-math-issignaling.cc: New test for C++ implementation
2367 of type-generic issignaling.
2368 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2369 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
2370 options of test-math-issignaling on powerpc64le.
2372 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2374 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2376 (hidden_proto): Likewise.
2377 (hidden_tls_proto): Likewise.
2378 (__hidden_proto): Likewise.
2380 2017-08-22 Florian Weimer <fweimer@redhat.com>
2382 math: Statically link tests of internal functionality.
2383 * math/Makefile (tests): Remove atest-exp, atest-sincos,
2385 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
2386 (gmp-objs): Remove assignment.
2387 (atest-exp, atest-sincos, atest-exp2): Remove targets.
2389 2017-08-22 Joseph Myers <joseph@codesourcery.com>
2392 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
2394 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
2396 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
2399 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
2400 variable definitions above inclusion of ../Rules.
2402 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2404 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
2405 case calling __builtin_unreachable.
2407 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2409 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
2411 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
2412 (__waitpid_nocancel): New macro.
2413 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
2415 (__waitpid_nocancel): Replace macro with a function.
2416 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
2419 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
2421 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
2422 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
2424 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
2425 __writev_nocancel_nostatus.
2426 (write_call_graph): Likewise.
2427 (write_bb_counts): Likewise.
2428 * resolv/herror.c (herror): Likewise.
2429 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
2431 (__writev_nocancel_nostatus): New macro.
2432 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
2434 (__writev_nocancel_nostatus): New function.
2436 2017-08-21 Joseph Myers <joseph@codesourcery.com>
2439 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2441 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2443 (hidden_proto): Likewise.
2444 (hidden_tls_proto): Likewise.
2445 (__hidden_proto): Likewise.
2448 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
2449 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2458 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
2459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2460 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2461 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2462 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2463 GLIBC_2.0 sqrtl symbol.
2465 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
2466 [__USE_MISC] (_LIB_VERSION): Likewise.
2467 [__USE_MISC] (struct exception): Likewise.
2468 [__USE_MISC] (matherr): Likewise.
2469 [__USE_MISC] (DOMAIN): Likewise.
2470 [__USE_MISC] (SING): Likewise.
2471 [__USE_MISC] (OVERFLOW): Likewise.
2472 [__USE_MISC] (UNDERFLOW): Likewise.
2473 [__USE_MISC] (TLOSS): Likewise.
2474 [__USE_MISC] (PLOSS): Likewise.
2475 [__USE_MISC] (HUGE): Likewise.
2476 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
2477 * math/math-svid-compat.h: New file.
2478 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
2480 * include/math.h [!_ISOMAC] (__matherr): Remove.
2481 * manual/arith.texi (FP Exceptions): Do not document matherr.
2482 * math/Makefile (tests): Change test-matherr to test-matherr-3.
2483 (tests-internal): New variable.
2484 (install-lib): Do not add libieee.a.
2485 (non-lib.a): Likewise.
2486 (extra-objs): Do not add libieee.a and ieee-math.o.
2487 (CPPFLAGS-s_lib_version.c): Remove variable.
2488 ($(objpfx)libieee.a): Remove rule.
2489 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
2490 * math/ieee-math.c: Remove.
2491 * math/libm-test-support.c (matherr): Remove.
2492 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
2493 and license notices. Include <math-svid-compat.h> and
2495 (matherr): Undefine as macro. Use compat_symbol_reference.
2496 (_LIB_VERSION): Likewise.
2497 * math/test-matherr-2.c: New file.
2498 * math/test-matherr-3.c: Likewise.
2499 * sysdeps/generic/math_private.h (__kernel_standard): Remove
2501 (__kernel_standard_f): Likewise.
2502 (__kernel_standard_l): Likewise.
2503 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
2504 <math_private.h>. Include <math-svid-compat.h>.
2505 (_LIB_VERSION): Undefine as macro.
2506 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
2507 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
2508 [LIBM_SVID_COMPAT], use compat_symbol.
2509 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
2510 <math_private.h>. Include <math-svid-compat.h>.
2511 (matherr): Undefine as macro.
2512 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
2514 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
2515 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
2516 compat_symbol_reference.
2517 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
2518 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
2519 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
2520 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
2521 (MATHERR_D): Remove declaration.
2522 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
2523 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
2524 [LIBM_BUILD] (pmatherrf): Likewise.
2525 [LIBM_BUILD] (pmatherr): Likewise.
2526 [LIBM_BUILD] (pmatherrl): Likewise.
2529 (OVERFLOW): Likewise.
2530 (UNDERFLOW): Likewise.
2533 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
2534 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
2536 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
2537 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
2539 * math/lgamma-compat.h: Include <math-svid-compat.h>.
2540 * math/w_acos_compat.c: Likewise.
2541 * math/w_acosf_compat.c: Likewise.
2542 * math/w_acosh_compat.c: Likewise.
2543 * math/w_acoshf_compat.c: Likewise.
2544 * math/w_acoshl_compat.c: Likewise.
2545 * math/w_acosl_compat.c: Likewise.
2546 * math/w_asin_compat.c: Likewise.
2547 * math/w_asinf_compat.c: Likewise.
2548 * math/w_asinl_compat.c: Likewise.
2549 * math/w_atan2_compat.c: Likewise.
2550 * math/w_atan2f_compat.c: Likewise.
2551 * math/w_atan2l_compat.c: Likewise.
2552 * math/w_atanh_compat.c: Likewise.
2553 * math/w_atanhf_compat.c: Likewise.
2554 * math/w_atanhl_compat.c: Likewise.
2555 * math/w_cosh_compat.c: Likewise.
2556 * math/w_coshf_compat.c: Likewise.
2557 * math/w_coshl_compat.c: Likewise.
2558 * math/w_exp10_compat.c: Likewise.
2559 * math/w_exp10f_compat.c: Likewise.
2560 * math/w_exp10l_compat.c: Likewise.
2561 * math/w_exp2_compat.c: Likewise.
2562 * math/w_exp2f_compat.c: Likewise.
2563 * math/w_exp2l_compat.c: Likewise.
2564 * math/w_fmod_compat.c: Likewise.
2565 * math/w_fmodf_compat.c: Likewise.
2566 * math/w_fmodl_compat.c: Likewise.
2567 * math/w_hypot_compat.c: Likewise.
2568 * math/w_hypotf_compat.c: Likewise.
2569 * math/w_hypotl_compat.c: Likewise.
2570 * math/w_j0_compat.c: Likewise.
2571 * math/w_j0f_compat.c: Likewise.
2572 * math/w_j0l_compat.c: Likewise.
2573 * math/w_j1_compat.c: Likewise.
2574 * math/w_j1f_compat.c: Likewise.
2575 * math/w_j1l_compat.c: Likewise.
2576 * math/w_jn_compat.c: Likewise.
2577 * math/w_jnf_compat.c: Likewise.
2578 * math/w_jnl_compat.c: Likewise.
2579 * math/w_lgamma_main.c: Likewise.
2580 * math/w_lgamma_r_compat.c: Likewise.
2581 * math/w_lgammaf_main.c: Likewise.
2582 * math/w_lgammaf_r_compat.c: Likewise.
2583 * math/w_lgammal_main.c: Likewise.
2584 * math/w_lgammal_r_compat.c: Likewise.
2585 * math/w_log10_compat.c: Likewise.
2586 * math/w_log10f_compat.c: Likewise.
2587 * math/w_log10l_compat.c: Likewise.
2588 * math/w_log2_compat.c: Likewise.
2589 * math/w_log2f_compat.c: Likewise.
2590 * math/w_log2l_compat.c: Likewise.
2591 * math/w_log_compat.c: Likewise.
2592 * math/w_logf_compat.c: Likewise.
2593 * math/w_logl_compat.c: Likewise.
2594 * math/w_pow_compat.c: Likewise.
2595 * math/w_powf_compat.c: Likewise.
2596 * math/w_powl_compat.c: Likewise.
2597 * math/w_remainder_compat.c: Likewise.
2598 * math/w_remainderf_compat.c: Likewise.
2599 * math/w_remainderl_compat.c: Likewise.
2600 * math/w_scalb_compat.c: Likewise.
2601 * math/w_scalbf_compat.c: Likewise.
2602 * math/w_scalbl_compat.c: Likewise.
2603 * math/w_sinh_compat.c: Likewise.
2604 * math/w_sinhf_compat.c: Likewise.
2605 * math/w_sinhl_compat.c: Likewise.
2606 * math/w_sqrt_compat.c: Likewise.
2607 * math/w_sqrtf_compat.c: Likewise.
2608 * math/w_sqrtl_compat.c: Likewise.
2609 * math/w_tgamma_compat.c: Likewise.
2610 * math/w_tgammaf_compat.c: Likewise.
2611 * math/w_tgammal_compat.c: Likewise.
2612 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2613 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2614 * sysdeps/ieee754/k_standard.c: Likewise.
2615 * sysdeps/ieee754/k_standardf.c: Likewise.
2616 * sysdeps/ieee754/k_standardl.c: Likewise.
2617 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2618 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2619 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2620 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2621 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2622 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2623 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2624 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2625 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2630 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2631 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2632 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2633 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2635 2017-08-21 Florian Weimer <fweimer@redhat.com>
2638 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
2639 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
2640 Move before inclusion of ../Rules.
2642 2017-08-21 Florian Weimer <fweimer@redhat.com>
2645 * assert/assert.h (assert): Use static_cast (bool) for C++.
2646 Use the ternary operator in the warning branch for GNU C.
2647 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
2648 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
2649 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
2650 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
2651 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
2653 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2656 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2657 (__syscall_clock_gettime): Add attribute_hidden.
2658 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
2659 (__start_context): Likewise.
2661 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2663 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2665 (hidden_proto): Likewise.
2666 (hidden_tls_proto): Likewise.
2667 (__hidden_proto): Likewise.
2669 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2671 * include/libc-symbols.h (attribute_hidden): Enable hidden
2672 visibility in libc.a compiled with PIE.
2674 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2677 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
2678 Add attribute_hidden.
2680 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2683 * Makerules (all-nonlib): Add $(others-extras).
2684 * catgets/Makefile (others-extras): New.
2685 * elf/Makefile (others-extras): Likewise.
2686 * nss/Makefile (others-extras): Likewise.
2688 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2691 * csu/libc-start.c (__libc_multiple_libcs): Removed.
2692 * elf/dl-open.c: Include <libc-internal.h>.
2693 (__libc_multiple_libcs): Removed.
2694 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
2696 * include/libc-internal.h (__libc_multiple_libcs): New.
2697 * misc/sbrk.c: Include <libc-internal.h>.
2698 (__libc_multiple_libcs): Removed.
2700 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2703 * grp/initgroups.c (__nss_group_database): Removed.
2704 (__nss_initgroups_database): Likewise.
2705 * nscd/gai.c (__nss_hosts_database): Likewise.
2706 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2707 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
2708 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
2709 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
2710 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
2711 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
2713 * nss/nsswitch.c (__nss_database_custom): Define only if
2714 USE_NSCD is defined.
2715 (__nss_configure_lookup): Use __nss_database_custom only if
2716 USE_NSCD is defined.
2717 * nss/nsswitch.h (__nss_database_custom): Declare only if
2718 USE_NSCD is defined. Add attribute_hidden.
2719 (__nss_setent): Add attribute_hidden.
2720 (__nss_endent): Likewise.
2721 (__nss_getent_r): Likewise.
2722 (__nss_getent): Likewise.
2723 (DEFINE_DATABASE): Declare __nss_##arg##_database.
2725 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2728 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
2729 libc_hidden_proto and libc_hidden_def.
2731 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2734 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
2735 Add libc_hidden_proto.
2736 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
2737 Add libc_hidden_def.
2739 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2742 * gmon/Makefile (routines): Remove bb_init_func and
2744 (elide-routines.os): Removed.
2745 * gmon/bb_exit_func.c: Likewise.
2746 * gmon/bb_init_func.c: Likewise.
2747 * include/sys/gmon.h (__bb): Likewise.
2748 (__bb_init_func): Likewise.
2749 (__bb_exit_func): Likewise.
2750 * sysdeps/alpha/bb_init_func.S: Likewise.
2752 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2754 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
2755 * include/setjmp.h (____longjmp_chk): Here. Add
2758 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
2761 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
2763 (__strspn_sse2): Likewise.
2765 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2767 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
2768 (close_not_cancel_no_status): Likewise.
2769 (__close_nocancel): New macro.
2770 (__close_nocancel_nostatus): Likewise.
2771 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
2773 (close_not_cancel): Likewise.
2774 (close_not_cancel_no_status): Likewise.
2775 (__close_nocancel): New prototype.
2776 (__close_nocancel_nostatus): New function.
2777 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
2778 * catgets/open_catalog.c (__open_catalog): Replace
2779 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
2780 * gmon/gmon.c (write_gmon): Likewise.
2781 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2782 * intl/loadmsgcat.c (close): Likewise.
2783 * io/ftw.c (open_dir_stream): Likewise.
2784 (ftw_startup): Likewise.
2785 * libio/fileops.c (_IO_file_open): Likewise.
2786 (_IO_file_close_mmap): Likewise.
2787 (_IO_file_close): Likewise.
2788 * libio/iopopen.c (_IO_dup2): Likewise.
2789 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2790 * locale/loadlocale.c (_nl_load_locale): Likewise.
2791 * login/utmp_file.c (pututline_file): Likewise.
2792 (endutent_file): Likewise.
2793 * misc/daemon.c (daemon): Likewise.
2794 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2795 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2796 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2797 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2798 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2799 * nscd/nscd_helper.c (open_socket): Likewise.
2800 (__nscd_open_socket): Likewise.
2801 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2802 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
2803 (__nscd_innetgr): Likewise.
2804 * nss/nss_db/db-open.c (internal_setent): Likewise.
2805 * resolv/res-close.c (__res_iclose): Likewise.
2806 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
2807 * sysdeps/posix/closedir.c (__closedir): Likewise.
2808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2809 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2810 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2811 (opendir_tail): Likewise.
2812 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2813 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
2814 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2815 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2816 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2817 (gethostid): Likewise.
2818 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2822 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
2823 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2824 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2826 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
2827 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
2828 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2830 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
2831 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2833 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2835 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2836 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2837 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2840 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
2841 (openat_not_cancel_3): Likewise.
2842 (openat64_not_cancel_3): Likewise).
2843 (openat_not_cancel_3): Likewise).
2844 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
2846 (openat_not_cancel_3): Likewise.
2847 (openat64_not_cancel): Likewise.
2848 (openat64_not_cancel_3): Likewise.
2849 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
2850 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
2851 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
2852 __open{64}_nocancel.
2853 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2854 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2855 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2857 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2860 * include/argz.h (__argz_create_sep): New function prototype.
2861 (__argz_append): Likewise.
2862 (__argz_add): Likewise.
2863 (__argz_add_sep): Likewise.
2864 (__argz_delete): Likewise.
2865 (__argz_insert): Likewise.
2866 (__argz_replace): Likewise.
2867 * string/argz.h (__argz_create_sep): Removed.
2868 (__argz_append): Likewise.
2869 (__argz_add): Likewise.
2870 (__argz_add_sep): Likewise.
2871 (__argz_delete): Likewise.
2872 (__argz_insert): Likewise.
2873 (__argz_replace): Likewise.
2875 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2877 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
2878 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
2879 (GNU_PROPERTY_STACK_SIZE): Likewie.
2880 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
2881 (GNU_PROPERTY_LOPROC): Likewise.
2882 (GNU_PROPERTY_HIPROC): Likewise.
2883 (GNU_PROPERTY_LOUSER): Likewise.
2884 (GNU_PROPERTY_HIUSER): Likewise.
2885 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
2886 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
2887 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
2888 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
2889 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
2890 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
2891 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
2892 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
2893 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
2894 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
2895 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
2896 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
2897 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
2898 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
2899 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
2900 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
2901 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
2902 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
2903 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
2904 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
2905 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
2906 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
2907 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
2909 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2911 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
2914 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2917 * math/math.h (isinf): Check if in C or C++ mode before using
2918 __builtin_types_compatible_p, since this is a C mode feature.
2920 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2922 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
2923 (__write_nocancel): New macro.
2924 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
2925 Rewrite as a function prototype.
2926 (write_not_cancel): Remove macro.
2927 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
2928 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
2929 (write_gmon): Likewise.
2930 * libio/fileops.c (_IO_new_file_write): Likewise.
2931 * login/utmp_file.c (pututline_file): Likewise.
2932 (updwtmp_file): Likewise.
2933 * stdio-common/psiginfo.c (psiginfo): Likewise.
2934 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2935 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2936 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2938 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2941 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
2942 (__read_nocancel): New macro.
2943 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2945 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
2947 (__read_nocancel): New prototype.
2948 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
2949 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
2950 with __read_nocancel.
2951 * intl/loadmsgcat.c (read): Likewise.
2952 * libio/fileops.c (_IO_file_read): Likewise.
2953 * locale/loadlocale.c (_nl_load_locale): Likewise.
2954 * login/utmp_file.c (getutent_r_file): Likewise.
2955 (internal_getut_r): Likewise.
2956 (getutline_r_file): Likewise.
2957 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2958 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2959 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2962 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
2963 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2964 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2966 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2968 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2970 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2972 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2974 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2977 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
2978 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
2981 2017-08-17 DJ Delorie <dj@redhat.com>
2983 * bug17079.c: Update to new test harness.
2984 * test-digits-dots.c: Likewise.
2985 * test-netdb.c: Likewise.
2986 * tst-field.c: Likewise.
2987 * tst-nss-getpwent.c: Likewise.
2988 * tst-nss-static.c: Likewise.
2989 * tst-nss-test1.c: Likewise.
2990 * tst-nss-test2.c: Likewise.
2991 * tst-nss-test3.c: Likewise.
2992 * tst-nss-test4.c: Likewise.
2993 * tst-nss-test5.c: Likewise.
2995 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2997 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
2998 (open_not_cancel_2): Likewise.
2999 (open_nocancel): New macro.
3000 (open64_nocancel): Likewise.
3001 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
3002 (open_not_cancel_2): Likewise.
3003 (__open_nocancel): New prototype.
3004 (__open64_nocancel): Likewise.
3005 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3007 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
3008 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
3009 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
3010 with __open_nocancel.
3011 * csu/check_fds.c (check_one_fd): Likewise.
3012 * gmon/gmon.c (write_gmon): Likewise.
3013 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
3014 * intl/loadmsgcat.c (open): Likewise.
3015 * libio/fileops.c (_IO_file_open): Likewise.
3016 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3017 * locale/loadlocale.c (_nl_load_locale): Likewise.
3018 * login/utmp_file.c (setutent_file): Likewise.
3019 * misc/daemon.c (daemon): Likewise.
3020 * nss/nss_db/db-open.c (internal_setent): Likewise.
3021 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3022 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
3023 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3024 (__opendir): Likewise.
3025 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3026 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3027 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3028 (gethostid): Likewise.
3029 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3030 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3033 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
3034 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3035 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3037 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3039 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3041 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3043 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3045 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3047 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3048 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3050 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
3052 * benchtests/bench-skeleton.c (main): Add support for
3053 latency benchmarking.
3054 * benchtests/scripts/bench.py: Add support for latency benchmarking.
3056 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
3058 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
3061 2017-08-17 Florian Weimer <fweimer@redhat.com>
3063 * include/sys/socket.h (__opensock): Remove internal_function.
3064 * socket/opensock.c (__opensock): Likewise.
3065 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
3067 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3070 * signal/bits/types/__sigval_t.h: New file.
3071 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
3072 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
3073 and define sigval_t using __sigval_t.
3074 * include/bits/types/__sigval_t.h: New file.
3075 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
3076 instead of <bits/types/__sigval_t.h>.
3077 (struct sigevent): Use __sigval_t instead of sigval_t.
3078 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
3079 instead of <bits/types/__sigval_t.h>.
3080 (siginfo_t): Use __sigval_t instead of sigval_t.
3081 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
3082 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3083 (struct sigevent): Use __sigval_t instead of sigval_t.
3084 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
3085 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3086 (siginfo_t): Use __sigval_t instead of sigval_t.
3087 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
3089 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3091 * NEWS: Remove "[Add new features here]" for 2.27.
3093 2017-08-16 Joseph Myers <joseph@codesourcery.com>
3095 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
3098 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3100 * NEWS: Mention x86-64 FMA optimization.
3102 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3105 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3107 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
3108 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
3109 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
3111 2017-08-16 Andreas Schwab <schwab@suse.de>
3115 * elf/ldd.bash.in: Never run file directly.
3117 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
3120 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
3121 (L(SP_INF_0)): Likewise.
3123 2017-08-15 Florian Weimer <fweimer@redhat.com>
3125 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
3128 2017-08-15 Florian Weimer <fweimer@redhat.com>
3130 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
3131 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
3132 BROKEN_THREAD_SIGNALS code.
3133 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
3134 request_list): Remove caller_pid member used for
3135 BROKEN_THREAD_SIGNALS.
3136 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
3137 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
3138 Remove BROKEN_THREAD_SIGNALS support.
3139 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3140 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
3142 2017-08-15 Florian Weimer <fweimer@redhat.com>
3144 * gmon/Makefile (tests): Add tst-gmon.
3145 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
3147 (tests-special): Add tst-gmon-prof.out.
3148 (tst-gmon.out): Depend on clean-tst-gmon-data.
3149 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
3150 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
3151 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
3153 * aclocal.m4 (GPROF): Set and substitute.
3154 * config.amke.in (GPROF): Set.
3155 * configure: Regenerate.
3157 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
3159 * elf/elf.h A (NT_PPC_TAR): New macro.
3160 (NT_PPC_PPR): Likewise.
3161 (NT_PPC_DSCR): Likewise.
3162 (NT_PPC_EBB): Likewise.
3163 (NT_PPC_PMU): Likewise.
3164 (NT_PPC_TM_CGPR): Likewise.
3165 (NT_PPC_TM_CFPR): Likewise.
3166 (NT_PPC_TM_CVMX): Likewise.
3167 (NT_PPC_TM_CVSX): Likewise.
3168 (NT_PPC_TM_SPR): Likewise.
3169 (NT_PPC_TM_CTAR): Likewise.
3170 (NT_PPC_TM_CPPR): Likewise.
3171 (NT_PPC_TM_CDSCR): Likewise.
3173 2017-08-15 Florian Weimer <fweimer@redhat.com>
3175 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
3176 regparm (2) instead of internal_function.
3177 (_MCOUNT_DECL): Adjust.
3179 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3181 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
3182 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3184 2017-08-14 Joseph Myers <joseph@codesourcery.com>
3186 * conform/data/sys/wait.h-data (si_value): Do not expect for
3189 2017-08-14 Florian Weimer <fweimer@redhat.com>
3192 NSS: Create stubs for accidentally exported lookup functions.
3193 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
3195 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
3196 (ether_hostton): Call __nss_ethers_lookup2 instead.
3197 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
3198 (ether_ntohost): Call __nss_ethers_lookup2 instead.
3199 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
3200 (setup): Call __nss_netgroup_lookup2 instead.
3201 * nss/Makefile (routines): Add compat-lookup.
3202 * nss/Versions (GLIBC_2.27): Add symbol version.
3203 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
3204 (DB_COMPAT_FCT): Remove.
3205 * nss/compat-lookup.c: New file.
3206 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
3208 * nss/service-lookup.c (NO_COMPAT): Remove definition.
3209 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
3210 (netname2user): Call __nss_publickey_lookup2 instead.
3211 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
3212 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
3215 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3216 Sergei Trofimovich <slyfox@inbox.ru>
3219 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
3220 Rename to MMAP2_PAGE_UNIT.
3221 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
3222 __OFF_T_MATCHES_OFF64_T is not defined.
3223 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
3225 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
3226 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
3228 2017-08-14 Florian Weimer <fweimer@redhat.com>
3230 i386: Do not set internal_function.
3231 * config.h.in (USE_REGPARMS, internal_function): Remove.
3232 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
3233 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
3235 2017-08-14 Florian Weimer <fweimer@redhat.com>
3237 * elf/dl-init.c (_dl_init): Remove internal_function.
3238 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
3239 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
3241 2017-08-14 Florian Weimer <fweimer@redhat.com>
3243 * elf/rtld.c (_dl_start): Remove internal_function.
3244 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
3247 2017-08-14 Florian Weimer <fweimer@redhat.com>
3249 * elf/dl-fini.c (_dl_fini): Remove internal_function
3250 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
3252 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
3254 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
3255 (bit_cpu_SHSTK): Likewise.
3256 (index_cpu_IBT): Likewise.
3257 (index_cpu_SHSTK): Likewise.
3258 (reg_IBT): Likewise.
3259 (reg_SHSTK): Likewise.
3260 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3261 Handle index_cpu_IBT and index_cpu_SHSTK.
3263 2017-08-14 Mike FABIAN <mfabian@redhat.com>
3266 * po/fr.po: Fix spelling mistake.
3268 2017-08-13 Florian Weimer <fweimer@redhat.com>
3270 * elf/dl-addr.c (_dl_addr): Remove internal_function.
3271 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
3272 (_dl_catch_error, _dl_receive_error): Likewise.
3273 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
3274 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
3275 (_dl_deallocate_tls): Likewise.
3276 * include/dlfcn.h (_dl_addr): Likewise.
3277 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
3278 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
3279 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
3282 2017-08-13 Florian Weimer <fweimer@redhat.com>
3284 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
3285 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
3287 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
3289 2017-08-13 Florian Weimer <fweimer@redhat.com>
3291 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
3293 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
3294 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
3295 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
3296 internal_function from _dl_make_stack_executable_hook member.
3297 (_dl_make_stack_executable): Remove internal_function.
3298 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
3300 * sysdeps/unix/sysv/linux/dl-execstack.c
3301 (_dl_make_stack_executable): Likewise.
3303 2017-08-13 Florian Weimer <fweimer@redhat.com>
3305 * sysdeps/unix/sysv/linux/netlinkaccess.h
3306 (__netlink_assert_response): Remove internal_function.
3307 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3308 (__netlink_assert_response): Likewise.
3310 2017-08-13 Florian Weimer <fweimer@redhat.com>
3312 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
3314 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
3316 2017-08-13 Florian Weimer <fweimer@redhat.com>
3318 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
3320 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
3321 * inet/netgroup.h (__internal_setnetgrent)
3322 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3323 * inet/getnetgrent_r.c (__internal_setnetgrent)
3324 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3325 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
3326 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
3327 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
3328 * nss/nsswitch.h (db_lookup_function): Likewise.
3330 2017-08-13 Florian Weimer <fweimer@redhat.com>
3332 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
3333 Remove internal_function.
3334 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
3335 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
3336 message argument on the stack.
3337 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
3340 2017-08-12 Mike FABIAN <mfabian@redhat.com>
3342 Adapt test case data to the changes in the thousands
3346 * localedata/tst-langinfo.sh: Adapt test case data.
3347 * stdlib/tst-strfmon_l.c: Likewise.
3348 * stdlib/tst-strtod4.c: Likewise.
3349 * stdlib/tst-strtod5i.c: Likewise.
3351 2017-08-11 Florian Weimer <fweimer@redhat.com>
3354 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
3355 Suppress pedantic warning resulting from statement expression.
3356 (__ASSERT_FUNCTION): Add missing __extension__.
3358 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3360 * benchtests/bench-memmove-large.c: Print output in JSON
3362 * benchtests/bench-memmove.c: Likewise.
3364 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
3365 * benchtests/bench-memchr.c (do_one_test): Likewise.
3366 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
3367 * benchtests/bench-memcpy.c (do_one_test): Likewise.
3368 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
3369 * benchtests/bench-memmove.c (do_one_test): Likewise.
3370 * benchtests/bench-memset-large.c (do_one_test): Likewise.
3371 * benchtests/bench-memset.c (do_one_test): Likewise.
3372 * benchtests/bench-string.h (test_init): Remove memsets.
3374 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3377 (Computing the Width of an Integer Data Type): Rename section to
3378 "Width of an Integer Type". Remove inaccurate statement regarding
3379 lack of C language facilities for determining width of integer
3380 types, and reorder content to improve flow and context of
3383 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
3385 * lang.texi (va_copy): Change standard from ISO to C99.
3386 (__va_copy): Add standard and header annotation.
3387 Update description for clarity of origins and current use.
3389 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3392 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
3393 xssqrtqp requires operands to be in Vector Registers
3394 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
3395 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
3396 (__ieee754_sqrtf128): Likewise.
3398 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
3400 * sysdeps/aarch64/memcmp.S (memcmp):
3401 Rewrite of optimized memcmp.
3403 2017-08-10 Florian Weimer <fweimer@redhat.com>
3405 Introduce ld.so exceptions.
3406 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
3407 (_dl_exception_create, _dl_exception_create_format)
3408 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
3409 (_dl_catch_exception): Declare.
3410 (_dl_catch_error): Update comment.
3411 * elf/dl-error-skeleton.c (struct catch): Replace objname,
3412 errstring, malloced members with exception member.
3413 (_dl_out_of_memory): Remove.
3414 (fatal_error): New function, extracted from _dl_signal_error.
3415 (_dl_signal_exception, _dl_signal_cexception): New functions.
3416 (_dl_signal_error): Call _dl_exception_create to allocate an
3418 (_dl_catch_exception): New function, based on _dl_catch_error.
3419 (_dl_catch_error): Implement using _dl_catch_exception.
3420 * elf/dl-exception.c: New file.
3421 * elf/Makefile (dl-routines): Add dl-exception.
3422 (elide-routines.os): Likewise.
3423 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
3424 _dl_exception_create_format, _dl_exception_free.
3425 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
3426 _dl_signal_exception.
3427 * elf/dl-lookup.c (make_string): Remove.
3428 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
3429 _dl_signal_cexception, _dl_exception_free.
3430 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
3431 _dl_signal_exception.
3432 * elf/dl-sym.c (do_sym): Likewise.
3433 * elf/dl-version.c (make_string): Remove.
3434 (match_symbol): Use _dl_exception_create_format,
3435 _dl_signal_cexception, _dl_exception_free.
3436 (_dl_check_map_versions): Likewise.
3437 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
3438 _dl_catch_exception.
3439 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3440 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3441 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3442 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3443 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3444 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3445 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3446 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3448 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3455 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3456 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3457 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3459 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3461 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3463 2017-08-10 Florian Weimer <fweimer@redhat.com>
3465 * inet/net-internal.h (__inet6_scopeid_pton): Remove
3466 attribute_hidden, internal_function.
3467 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
3470 2017-08-10 Florian Weimer <fweimer@redhat.com>
3472 * malloc/malloc.c (get_max_fast): Reimplement as an inline
3473 function which calls __builtin_unreachable.
3475 2017-08-10 Mike FABIAN <mfabian@redhat.com>
3477 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
3478 Indian monetary formatting
3479 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
3482 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
3484 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
3485 Fix typo in comment.
3488 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
3489 PTRACE_SEIZE_DEVEL): Remove.
3490 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3492 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3494 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3496 2017-08-09 Joseph Myers <joseph@codesourcery.com>
3498 * posix/bits/types.h (__qaddr_t): Remove.
3501 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
3502 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3504 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
3505 (ucontext_t): Use __ctx with uc_flags.
3506 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
3508 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3510 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
3511 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3513 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
3514 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3516 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
3518 (ucontext_t): Use __ctx with uc_flags.
3519 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
3520 (ucontext_t): Use __ctx with uc_flags.
3521 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
3522 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
3523 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
3524 (ucontext_t): Use __ctx with uc_flags.
3525 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
3526 undefine further down.
3527 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3529 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
3530 undefine further down.
3531 (ucontext_t): Use __ctx with uc_flags.
3532 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
3533 undefine further down.
3534 (ucontext_t): Use __ctx with uc_flags.
3535 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
3536 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
3537 Rename uc_pad to __glibc_reserved1.
3538 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
3539 undefine further down.
3540 (ucontext_t): Use __ctx with uc_flags.
3541 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
3543 (ucontext_t): Use __ctx with uc_flags.
3544 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
3545 __ctx with uc_flags.
3546 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
3547 (ucontext_t): Use __ctx with uc_flags.
3548 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
3549 __ctx with uc_flags.
3551 2017-08-09 Florian Weimer <fweimer@redhat.com>
3554 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
3555 before early return.
3557 2017-08-09 Andreas Schwab <schwab@suse.de>
3560 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
3564 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
3565 tst-compat-forwarder.
3566 (modules-names): Add tst-compat-forwarder-mod.
3567 ($(objpfx)tst-compat-forwarder): Depend on
3568 $(objpfx)tst-compat-forwarder-mod.so.
3569 * nptl/tst-compat-forwarder.c: New file.
3570 * nptl/tst-compat-forwarder-mod.c: New file.
3572 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3574 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
3577 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
3578 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3580 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
3582 (__libc_ifunc_impl_list): Add __memcpy_falkor.
3583 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3584 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
3585 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3587 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
3590 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3593 * manual/setjmp.texi (getcontex): Document uc_stack value
3594 compatibility differences.
3596 2017-08-08 Joseph Myers <joseph@codesourcery.com>
3598 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
3599 (old_malloc_hook): Likewise.
3600 (old_memalign_hook): Likewise.
3601 (old_realloc_hook): Likewise.
3602 (struct hdr): Likewise.
3604 (freehook): Likewise.
3605 (mallochook): Likewise.
3606 (memalignhook): Likewise.
3607 (reallochook): Likewise.
3609 * malloc/mtrace.c (mallwatch): Likewise.
3610 (tr_old_free_hook): Likewise.
3611 (tr_old_malloc_hook): Likewise.
3612 (tr_old_realloc_hook): Likewise.
3613 (tr_old_memalign_hook): Likewise.
3614 (tr_where): Likewise.
3615 (lock_and_info): Likewise.
3616 (tr_freehook): Likewise.
3617 (tr_mallochook): Likewise.
3618 (tr_reallochook): Likewise.
3619 (tr_memalignhook): Likewise.
3620 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
3621 * misc/mmap.c (__mmap): Likewise.
3622 * misc/mmap64.c (__mmap64): Likewise.
3623 * misc/mprotect.c (__mprotect): Likewise.
3624 * misc/msync.c (msync): Likewise.
3625 * misc/munmap.c (__munmap): Likewise.
3626 * posix/posix_madvise.c (posix_madvise): Likewise.
3627 * socket/send.c (__send): Likewise.
3628 * socket/sendto.c (__sendto): Likewise.
3629 * socket/setsockopt.c (__setsockopt): Likewise.
3630 * string/memcmp.c (__ptr_t): Remove macro.
3631 (MEMCMP): Use void * instead of ptr_t.
3632 * string/memrchr.c (__ptr_t): Remove macro.
3633 (__memrchr): Use void * instead of ptr_t.
3634 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
3635 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3636 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3637 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
3638 * sysdeps/mach/msync.c (msync): Likewise.
3639 * sysdeps/mach/munmap.c (__munmap): Likewise.
3640 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
3642 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3643 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
3644 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
3645 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
3646 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3647 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3648 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
3649 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
3651 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3652 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
3653 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
3654 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
3655 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
3656 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
3657 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
3658 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
3659 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
3661 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
3662 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
3663 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
3664 (MEMCMP): Use void * instead of ptr_t.
3665 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
3666 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
3668 2017-08-08 Florian Weimer <fweimer@redhat.com>
3670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
3673 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
3676 * csu/libc-tls.c: Include <startup.h> first.
3677 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
3678 * elf/dl-tunables.c: Include <startup.h> first.
3679 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
3680 * sysdeps/generic/startup.h: New file.
3681 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
3682 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
3683 (I386_USE_SYSENTER): New. Defined to 0.
3685 2017-08-08 Andreas Schwab <schwab@suse.de>
3688 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
3689 * nptl/pt-system.c (system): Likewise.
3691 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3694 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
3696 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
3697 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
3698 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
3699 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
3700 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3701 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3702 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3704 2017-08-07 Joseph Myers <joseph@codesourcery.com>
3707 * bits/sigaction.h (struct sigaction): Define sa_handler and
3708 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
3709 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3710 [__USE_XOPEN_EXTENDED].
3711 (SA_RESTART): Likewise.
3712 (SA_NODEFER): Likewise.
3713 (SA_RESETHAND): Likewise.
3714 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
3715 (struct sigaction): Define sa_handler and sa_sigaction using union
3716 also for [__USE_XOPEN_EXTENDED].
3717 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3718 [__USE_XOPEN_EXTENDED].
3719 (SA_RESTART): Likewise.
3720 (SA_NODEFER): Likewise.
3721 (SA_RESETHAND): Likewise.
3722 * sysdeps/unix/sysv/linux/bits/sigaction.h
3723 (struct sigaction): Define sa_handler and sa_sigaction using union
3724 also for [__USE_XOPEN_EXTENDED].
3725 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3726 [__USE_XOPEN_EXTENDED].
3727 (SA_RESTART): Likewise.
3728 (SA_NODEFER): Likewise.
3729 (SA_RESETHAND): Likewise.
3730 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
3731 (struct sigaction): Define sa_handler and sa_sigaction using union
3732 also for [__USE_XOPEN_EXTENDED].
3733 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3734 [__USE_XOPEN_EXTENDED].
3735 (SA_RESTART): Likewise.
3736 (SA_NODEFER): Likewise.
3737 (SA_RESETHAND): Likewise.
3738 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
3739 (struct sigaction): Define sa_handler and sa_sigaction using union
3740 also for [__USE_XOPEN_EXTENDED].
3741 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3742 [__USE_XOPEN_EXTENDED].
3743 (SA_RESTART): Likewise.
3744 (SA_NODEFER): Likewise.
3745 (SA_RESETHAND): Likewise.
3746 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3747 (struct sigaction): Define sa_handler and sa_sigaction using union
3748 also for [__USE_XOPEN_EXTENDED].
3749 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3750 [__USE_XOPEN_EXTENDED].
3751 (SA_RESTART): Likewise.
3752 (SA_NODEFER): Likewise.
3753 (SA_RESETHAND): Likewise.
3754 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3755 (struct sigaction): Define sa_handler and sa_sigaction using union
3756 also for [__USE_XOPEN_EXTENDED].
3757 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3758 [__USE_XOPEN_EXTENDED].
3759 (SA_RESTART): Likewise.
3760 (SA_NODEFER): Likewise.
3761 (SA_RESETHAND): Likewise.
3762 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3763 (struct sigaction): Define sa_handler and sa_sigaction using union
3764 also for [__USE_XOPEN_EXTENDED].
3765 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3766 [__USE_XOPEN_EXTENDED].
3767 (SA_RESTART): Likewise.
3768 (SA_NODEFER): Likewise. Define directly rather than as alias.
3769 (SA_RESETHAND): Likewise.
3770 (SA_INTERRUPT): Define only for [__USE_MISC].
3771 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
3772 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
3774 (SA_STACK): Define only for [__USE_MISC].
3775 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
3776 (struct sigaction): Define sa_handler and sa_sigaction using union
3777 also for [__USE_XOPEN_EXTENDED].
3778 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3779 [__USE_XOPEN_EXTENDED].
3780 (SA_RESTART): Likewise.
3781 (SA_NODEFER): Likewise.
3782 (SA_RESETHAND): Likewise.
3783 (SA_NOPTRACE): Define only for [__USE_MISC].
3785 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
3786 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
3787 (struct catalog_info): Likewise.
3788 * inet/htontest.c (lo): Likewise.
3790 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3791 * inet/inet_net.c (inet_network): Likewise.
3792 * inet/inet_netof.c (inet_netof): Likewise.
3793 * inet/rcmd.c (__ivaliduser): Likewise.
3794 (iruserok): Likewise.
3795 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
3796 * locale/programs/locale-spec.c (locale_special): Likewise.
3797 * nis/nis_findserv.c (struct findserv_req): Likewise.
3798 (__nis_findfastest_with_timeout): Likewise.
3799 * nss/test-netdb.c (test_network): Likewise.
3800 * resolv/inet_neta.c (inet_neta): Likewise.
3801 * resolv/ns_date.c (ns_datetosecs): Likewise.
3802 (SECS_PER_DAY): Likewise.
3803 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
3805 * resolv/res_comp.c (__putlong): Likewise.
3806 (__putshort): Likewise.
3807 (_getlong): Likewise.
3808 (_getshort): Likewise.
3809 * resolv/res_debug.c (p_time): Likewise.
3810 (precsize_ntoa): Likewise.
3811 (precsize_aton): Likewise.
3812 (latlon2ul): Likewise.
3813 (loc_aton): Likewise.
3814 (loc_ntoa): Likewise.
3815 * resolv/res_hconf.c (struct netaddr): Likewise.
3816 (_res_hconf_reorder_addrs): Likewise.
3817 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3818 (clnttcp_control): Likewise.
3819 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3820 (clntudp_control): Likewise.
3821 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3822 (clntunix_control): Likewise.
3823 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3824 * sunrpc/rpc/auth.h (union des_block): Likewise.
3825 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
3826 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
3827 (xdrrec_create): Likewise.
3828 (xdrrec_endofrecord): Likewise.
3829 (flush_out): Likewise.
3830 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
3831 (xdrstdio_putlong): Likewise.
3832 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
3835 * misc/sys/cdefs.h (__long_double_t): Remove.
3836 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
3837 instead of __long_double_t,
3838 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
3840 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3842 * benchtests/scripts/compare_strings.py: Avoid display error when
3843 running on a text terminal.
3845 * benchtests/scripts/compare_strings.py (main): Add an
3846 optional -base option.
3847 (process_results): New argument base_func.
3849 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
3851 * benchtests/bench-memcpy-large.c (test_name): Likewise.
3852 * benchtests/bench-memcpy-random.c (test_name): Likewise.
3854 2017-08-07 Andreas Schwab <schwab@suse.de>
3856 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
3857 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3858 * intl/Makefile ($(objpfx)tst-gettext.out)
3859 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
3860 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
3861 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3862 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3863 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
3864 * posix/Makefile ($(objpfx)globtest.out)
3865 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
3866 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
3867 ($(objpfx)tst-printf.out): Likewise.
3868 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
3869 ($(objpfx)tst-setcontext3.out): Likewise.
3871 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
3873 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3874 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
3875 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
3876 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
3877 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
3879 (CFLAGS-doasin-fma.c): New.
3880 (CFLAGS-dosincos-fma.c): Likewise.
3881 (CFLAGS-e_asin-fma.c): Likewise.
3882 (CFLAGS-e_atan2-fma.c): Likewise.
3883 (CFLAGS-e_exp-fma.c): Likewise.
3884 (CFLAGS-e_log-fma.c): Likewise.
3885 (CFLAGS-e_pow-fma.c): Likewise.
3886 (CFLAGS-halfulp-fma.c): Likewise.
3887 (CFLAGS-mpa-fma.c): Likewise.
3888 (CFLAGS-mpatan-fma.c): Likewise.
3889 (CFLAGS-mpatan2-fma.c): Likewise.
3890 (CFLAGS-mpexp-fma.c): Likewise.
3891 (CFLAGS-mplog-fma.c): Likewise.
3892 (CFLAGS-mpsqrt-fma.c): Likewise.
3893 (CFLAGS-mptan-fma.c): Likewise.
3894 (CFLAGS-s_atan-fma.c): Likewise.
3895 (CFLAGS-sincos32-fma.c): Likewise.
3896 (CFLAGS-slowexp-fma.c): Likewise.
3897 (CFLAGS-slowpow-fma.c): Likewise.
3898 (CFLAGS-s_sin-fma.c): Likewise.
3899 (CFLAGS-s_tan-fma.c): Likewise.
3900 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
3901 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
3902 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
3903 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
3904 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
3905 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
3906 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
3908 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
3909 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
3910 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
3911 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
3912 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
3913 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
3914 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
3915 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
3916 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
3917 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
3918 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
3919 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
3920 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
3921 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3922 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
3923 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
3924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3925 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3926 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3927 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3932 2017-08-04 Joseph Myers <joseph@codesourcery.com>
3934 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
3935 (min_of_type_f): New macro.
3936 (min_of_type_): Likewise.
3937 (min_of_type_l): Likewise.
3938 (min_of_type_f128): Likewise.
3939 (min_of_type): Define using __MATH_TG and taking an expression
3941 (math_check_force_underflow): Pass expression instead of type to
3943 (math_check_force_underflow_nonneg): Likewise.
3945 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3947 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3948 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
3949 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
3951 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3954 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
3955 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
3956 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
3957 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
3958 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
3959 memcpy_chk-nonshared, mempcpy_chk-nonshared,
3960 memmove_chk-nonshared and memset_chk-nonshared
3961 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
3962 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
3963 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
3964 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
3965 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
3966 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
3967 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
3968 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
3969 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
3970 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
3971 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
3972 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
3973 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
3974 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
3975 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
3976 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
3977 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
3978 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
3979 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
3980 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
3981 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
3982 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
3983 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
3984 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
3985 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
3986 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
3987 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
3988 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
3989 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
3990 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
3991 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
3992 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
3993 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
3994 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3995 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3996 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
3997 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
3998 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
3999 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
4000 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
4001 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
4003 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
4004 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
4005 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
4006 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
4007 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
4008 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
4009 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
4010 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
4011 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
4012 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
4013 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
4014 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
4015 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
4016 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
4017 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
4018 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
4019 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
4020 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
4021 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
4022 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
4023 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
4024 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
4025 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
4026 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
4027 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
4028 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
4029 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
4030 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4031 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
4032 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4033 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4034 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4035 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4036 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4037 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4039 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4040 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4041 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4042 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4043 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4044 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4045 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4046 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4047 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4048 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4049 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4050 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4051 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4052 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4053 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4054 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4055 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4056 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4057 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4058 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4059 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4060 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4061 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4062 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4063 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4065 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4067 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4068 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4070 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4072 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
4073 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
4074 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
4075 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
4076 svml_d_log2_core-sse2, svml_d_log4_core-sse,
4077 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
4078 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
4079 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
4080 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
4081 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
4082 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
4083 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
4084 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
4085 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
4086 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
4087 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
4088 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
4089 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
4090 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
4091 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
4092 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
4093 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
4094 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
4095 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
4096 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
4097 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
4098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
4099 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
4100 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
4101 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
4102 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
4103 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
4104 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
4105 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
4106 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
4107 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
4108 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
4109 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
4110 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
4111 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
4112 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
4113 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
4114 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
4115 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
4116 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
4117 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
4118 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
4119 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
4120 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
4121 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
4122 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
4123 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
4124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
4125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
4126 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
4127 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
4128 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
4129 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
4130 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
4132 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
4133 Don't include <sysdep.h> nor <init-arch.h>.
4134 (_ZGVbN2v_cos): Removed.
4135 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
4137 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
4138 Don't include <sysdep.h> nor <init-arch.h>.
4139 (_ZGVdN4v_cos): Removed.
4140 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
4142 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
4143 Don't include <sysdep.h> nor <init-arch.h>.
4144 (_ZGVeN8v_cos): Removed.
4145 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
4147 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
4148 Don't include <sysdep.h> nor <init-arch.h>.
4149 (_ZGVbN2v_exp): Removed.
4150 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
4152 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
4153 Don't include <sysdep.h> nor <init-arch.h>.
4154 (_ZGVdN4v_exp): Removed.
4155 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
4157 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
4158 Don't include <sysdep.h> nor <init-arch.h>.
4159 (_ZGVeN8v_exp): Removed.
4160 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
4162 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
4163 Don't include <sysdep.h> nor <init-arch.h>.
4164 (_ZGVbN2v_log): Removed.
4165 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
4167 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
4168 Don't include <sysdep.h> nor <init-arch.h>.
4169 (_ZGVdN4v_log): Removed.
4170 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
4172 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
4173 Don't include <sysdep.h> nor <init-arch.h>.
4174 (_ZGVeN8v_log): Removed.
4175 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
4177 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
4178 Don't include <sysdep.h> nor <init-arch.h>.
4179 (_ZGVbN2vv_pow): Removed.
4180 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
4182 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
4183 Don't include <sysdep.h> nor <init-arch.h>.
4184 (_ZGVdN4vv_pow): Removed.
4185 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
4187 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
4188 Don't include <sysdep.h> nor <init-arch.h>.
4189 (_ZGVeN8vv_pow): Removed.
4190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
4192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
4193 Don't include <sysdep.h> nor <init-arch.h>.
4194 (_ZGVbN2v_sin): Removed.
4195 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
4197 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
4198 Don't include <sysdep.h> nor <init-arch.h>.
4199 (_ZGVbN4v_sin): Removed.
4200 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
4202 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
4203 Don't include <sysdep.h> nor <init-arch.h>.
4204 (_ZGVbN8v_sin): Removed.
4205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
4207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
4208 Don't include <sysdep.h> nor <init-arch.h>.
4209 (_ZGVbN2vvv_sincos): Removed.
4210 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
4212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
4213 Don't include <sysdep.h> nor <init-arch.h>.
4214 (_ZGVdN4vvv_sincos): Removed.
4215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
4217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
4218 Don't include <sysdep.h> nor <init-arch.h>.
4219 (_ZGVeN8vvv_sincos): Removed.
4220 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
4222 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
4223 Don't include <sysdep.h> nor <init-arch.h>.
4224 (_ZGVeN16v_cosf): Removed.
4225 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
4227 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
4228 Don't include <sysdep.h> nor <init-arch.h>.
4229 (_ZGVbN4v_cosf): Removed.
4230 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
4232 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
4233 Don't include <sysdep.h> nor <init-arch.h>.
4234 (_ZGVdN8v_cosf): Removed.
4235 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
4237 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
4238 Don't include <sysdep.h> nor <init-arch.h>.
4239 (_ZGVeN16v_expf): Removed.
4240 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
4242 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
4243 Don't include <sysdep.h> nor <init-arch.h>.
4244 (_ZGVbN4v_expf): Removed.
4245 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
4247 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
4248 Don't include <sysdep.h> nor <init-arch.h>.
4249 (_ZGVdN8v_expf): Removed.
4250 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
4252 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
4253 Don't include <sysdep.h> nor <init-arch.h>.
4254 (_ZGVeN16v_logf): Removed.
4255 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
4257 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
4258 Don't include <sysdep.h> nor <init-arch.h>.
4259 (_ZGVbN4v_logf): Removed.
4260 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
4262 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
4263 Don't include <sysdep.h> nor <init-arch.h>.
4264 (_ZGVdN8v_logf): Removed.
4265 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
4267 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
4268 Don't include <sysdep.h> nor <init-arch.h>.
4269 (_ZGVeN16vv_powf): Removed.
4270 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
4272 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
4273 Don't include <sysdep.h> nor <init-arch.h>.
4274 (_ZGVbN4vv_powf): Removed.
4275 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
4277 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
4278 Don't include <sysdep.h> nor <init-arch.h>.
4279 (_ZGVdN8vv_powf): Removed.
4280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
4282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
4283 Don't include <sysdep.h> nor <init-arch.h>.
4284 (_ZGVeN16vvv_sincosf): Removed.
4285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
4287 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
4288 Don't include <sysdep.h> nor <init-arch.h>.
4289 (_ZGVbN4vvv_sincosf): Removed.
4290 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
4292 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
4293 Don't include <sysdep.h> nor <init-arch.h>.
4294 (_ZGVdN8vvv_sincosf): Removed.
4295 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
4297 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
4298 Don't include <sysdep.h> nor <init-arch.h>.
4299 (_ZGVeN16v_sinf): Removed.
4300 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
4302 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
4303 Don't include <sysdep.h> nor <init-arch.h>.
4304 (_ZGVbN4v_sinf): Removed.
4305 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
4307 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
4308 Don't include <sysdep.h> nor <init-arch.h>.
4309 (_ZGVdN8v_sinf): Removed.
4311 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4313 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4314 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
4315 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
4316 s_rint-sse4_1 and s_rintf-sse4_1.
4317 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
4318 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4319 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4320 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4321 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4322 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
4323 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
4324 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4325 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4326 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
4327 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
4328 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4330 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
4331 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
4332 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4334 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
4335 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
4336 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4338 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
4339 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
4340 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4341 (__floorf): Removed.
4342 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
4343 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
4344 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4345 (__nearbyint): Removed.
4346 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
4347 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
4348 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4349 (__nearbyintf): Removed.
4350 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
4351 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
4352 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4354 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
4355 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
4356 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4359 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4361 * sysdeps/i386/start.S (_start): Check Check PIC instead of
4362 SHARED. Avoid dynamic relocation against main in static PIE.
4364 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4367 * elf/Makefile (CFLAGS-tst-prelink.c): New.
4368 (LDFLAGS-tst-prelink): Likewise.
4370 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4372 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
4373 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
4374 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
4375 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4376 (INTERNAL_SYSCALL_NCS): Likewise.
4377 (LOADARGS_1): Likewise.
4378 (LOADARGS_5): Likewise.
4379 (RESTOREARGS_1): Likewise.
4380 (RESTOREARGS_5): Likewise.
4382 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4384 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
4385 (MEMPCPY_SYMBOL): Likewise.
4386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4387 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
4388 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
4390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4391 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4393 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
4394 (__hidden_ver1): Don't use in libc.a.
4395 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4396 (__mempcpy): Don't create a weak alias in libc.a.
4397 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
4399 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
4400 (__hidden_ver1): Don't use in libc.a.
4402 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4404 * config.make.in (have-insert): New.
4405 * configure.ac (libc_cv_insert): New. Set to yes if linker
4406 supports INSERT in linker script.
4407 (AC_SUBST(libc_cv_insert): New.
4408 * configure: Regenerated.
4409 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
4410 if $(have-insert) == yes.
4412 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4414 * elf/Makefile (tests): Add vismain only if
4415 $(have-protected-data) == yes.
4416 (tests-pie): Likewise.
4418 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4421 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4422 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
4424 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4427 * sysdeps/i386/i586/memset.S
4428 (__memset_zero_constant_len_parameter): Removed.
4429 * sysdeps/i386/i686/memset.S
4430 (__memset_zero_constant_len_parameter): Likewise.
4431 * sysdeps/i386/i686/multiarch/memset_chk.S
4432 (__memset_zero_constant_len_parameter): Likewise.
4433 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
4436 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4438 * stdlib/getentropy.c (getentropy): Change return type to int.
4440 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4442 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4444 2017-08-03 Joseph Myers <joseph@codesourcery.com>
4446 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
4448 * math/s_nexttowardf.c (__nexttowardf): Likewise.
4449 * sysdeps/generic/math_private.h (ieee_double_shape_type):
4451 (ieee_float_shape_type): Likewise.
4452 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
4453 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
4454 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4455 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4456 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4457 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
4458 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
4459 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4460 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4462 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4463 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4464 (__ieee754_yn): Likewise.
4465 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4466 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4467 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
4469 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4470 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
4471 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
4472 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
4474 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4475 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
4476 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
4477 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
4478 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
4479 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
4481 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4482 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
4483 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4484 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
4485 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4486 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
4487 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
4488 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
4489 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
4490 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4491 (__issignaling): Likewise.
4492 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
4493 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
4494 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4496 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4497 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4498 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
4499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
4501 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
4503 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
4504 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
4505 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
4506 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4507 (__erfcf): Likewise.
4508 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4509 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4510 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
4511 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
4513 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
4514 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
4516 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4517 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
4518 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4519 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
4520 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
4521 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4522 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
4523 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
4525 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
4527 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4529 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
4530 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4532 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4534 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4535 (__ieee754_ynl): Likewise.
4536 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4537 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
4539 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
4541 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4542 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
4543 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4545 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4546 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
4547 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
4548 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
4549 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
4550 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4551 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
4552 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
4554 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4555 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
4556 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
4558 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
4559 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
4560 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4561 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4562 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
4563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4565 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4567 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4569 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4571 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
4572 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4573 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4574 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
4575 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4576 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
4577 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
4579 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4582 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4584 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4585 (__ieee754_remainderl): Likewise.
4586 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4587 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4588 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4589 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4591 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4592 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4594 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4595 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
4596 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4597 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4598 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4599 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4601 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4602 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
4603 (__ieee754_y0l): Likewise.
4606 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4607 (__ieee754_y1l): Likewise.
4610 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4611 (__ieee754_ynl): Likewise.
4612 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4613 (__ieee754_lgammal_r): Likewise.
4614 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
4616 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4617 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
4618 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4619 (__erfcl): Likewise.
4620 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4621 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
4623 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
4624 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
4625 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4626 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
4627 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
4628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4631 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
4632 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4633 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
4634 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
4635 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4637 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
4638 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
4640 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
4641 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
4642 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
4643 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4644 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4646 2017-08-03 Florian Weimer <fweimer@redhat.com>
4649 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
4650 on memory allocation failure.
4652 2017-08-03 Alan Modra <amodra@gmail.com>
4654 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
4655 tst-tlsopt-powerpc.c with function name change and no test harness.
4656 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
4657 Call tls_get_addr_opt_test.
4658 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
4659 (modules-names): Add mod-tlsopt-powerpc.
4660 (mod-tlsopt-powerpc.so-no-z-defs): Define.
4661 (tst-tlsopt-powerpc): Depend on .so.
4662 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
4663 define. Expand use in TLS_GD and TLS_LD.
4665 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4667 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
4669 * sysdeps/posix/shm_open.c: Include <pthread.h>.
4671 2017-08-02 Joseph Myers <joseph@codesourcery.com>
4674 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
4675 comparing size with that of double.
4676 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4677 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4678 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4679 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4680 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4681 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
4682 unsigned __int128 types.
4684 2017-08-02 Steve Ellcey <sellcey@cavium.com>
4686 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
4687 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
4688 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
4689 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
4690 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
4692 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4694 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
4696 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4698 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
4700 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4701 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4702 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4703 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4704 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4706 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4708 2017-08-02 Joseph Myers <joseph@codesourcery.com>
4711 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
4712 bit-field expressions passed to sizeof or typeof.
4713 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4714 (__TGMATH_F128): Likewise.
4715 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4716 (__TGMATH_CF128): Likewise.
4717 (__TGMATH_UNARY_REAL_ONLY): Likewise.
4718 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
4719 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
4720 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
4721 (__TGMATH_BINARY_REAL_ONLY): Likewise.
4722 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4723 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4724 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4725 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4726 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
4727 (__TGMATH_UNARY_REAL_IMAG): Likewise.
4728 (__TGMATH_UNARY_IMAG): Likewise.
4729 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
4730 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4731 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
4733 (define_vars_for_type): Handle bit_field type specially.
4734 (Tests.__init__): Declare structure with bit-field element.
4736 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4739 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
4740 (MEMCPY_CHK): Define only if SHARED is defined.
4741 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
4743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
4746 See ChangeLog.18 for earlier changes.