1 2017-09-06 Florian Weimer <fweimer@redhat.com>
3 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
4 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
5 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
7 (response): Call them. Add 'p', '6' flag processing.
8 (test_reverse): New function.
9 (test_get2_any): Call it.
10 (test_no_inet6): Add 'p' test.
11 (test_inet6): Likewise.
13 2017-09-06 Florian Weimer <fweimer@redhat.com>
15 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
16 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
18 (test_gai): Adjust query names. Add additional tests.
19 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
20 test_get2. Adjust query names. Add additional tests.
21 (test_no_inet6): New function, extracted from threadfunc.
22 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
25 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28 * localedata/unicode-gen/utf8_gen.py: Set the width for
29 characters with Prepended_Concatenation_Mark property to 1
30 * localedata/charmaps/UTF-8: Updated using the improved script.
32 2017-09-06 Mike FABIAN <mfabian@redhat.com>
35 * localedata/unicode-gen/utf8_gen.py: Improve the script to
36 use the range notation for all ranges of neighbouring characters
39 2017-09-05 Joseph Myers <joseph@codesourcery.com>
41 * sysdeps/generic/math-type-macros-double.h: Include
43 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
44 * sysdeps/generic/math-type-macros-float.h: Include
46 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
47 * sysdeps/generic/math-type-macros-ldouble.h: Include
49 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
50 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
52 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
53 * math/w_acosf_compat.c: Likewise.
54 * math/w_acosh_compat.c: Likewise.
55 * math/w_acoshf_compat.c: Likewise.
56 * math/w_acoshl_compat.c: Likewise.
57 * math/w_acosl_compat.c: Likewise.
58 * math/w_asin_compat.c: Likewise.
59 * math/w_asinf_compat.c: Likewise.
60 * math/w_asinl_compat.c: Likewise.
61 * math/w_atan2_compat.c: Likewise.
62 * math/w_atan2f_compat.c: Likewise.
63 * math/w_atan2l_compat.c: Likewise.
64 * math/w_atanh_compat.c: Likewise.
65 * math/w_atanhf_compat.c: Likewise.
66 * math/w_atanhl_compat.c: Likewise.
67 * math/w_cosh_compat.c: Likewise.
68 * math/w_coshf_compat.c: Likewise.
69 * math/w_coshl_compat.c: Likewise.
70 * math/w_exp10_compat.c: Likewise.
71 * math/w_exp10f_compat.c: Likewise.
72 * math/w_exp10l_compat.c: Likewise.
73 * math/w_exp2_compat.c: Likewise.
74 * math/w_exp2f_compat.c: Likewise.
75 * math/w_exp2l_compat.c: Likewise.
76 * math/w_fmod_compat.c: Likewise.
77 * math/w_fmodf_compat.c: Likewise.
78 * math/w_fmodl_compat.c: Likewise.
79 * math/w_hypot_compat.c: Likewise.
80 * math/w_hypotf_compat.c: Likewise.
81 * math/w_hypotl_compat.c: Likewise.
82 * math/w_j0_compat.c: Likewise.
83 * math/w_j0f_compat.c: Likewise.
84 * math/w_j0l_compat.c: Likewise.
85 * math/w_j1_compat.c: Likewise.
86 * math/w_j1f_compat.c: Likewise.
87 * math/w_j1l_compat.c: Likewise.
88 * math/w_jn_compat.c: Likewise.
89 * math/w_jnf_compat.c: Likewise.
90 * math/w_jnl_compat.c: Likewise.
91 * math/w_lgamma_r_compat.c: Likewise.
92 * math/w_lgammaf_r_compat.c: Likewise.
93 * math/w_lgammal_r_compat.c: Likewise.
94 * math/w_log10_compat.c: Likewise.
95 * math/w_log10f_compat.c: Likewise.
96 * math/w_log10l_compat.c: Likewise.
97 * math/w_log2_compat.c: Likewise.
98 * math/w_log2f_compat.c: Likewise.
99 * math/w_log2l_compat.c: Likewise.
100 * math/w_log_compat.c: Likewise.
101 * math/w_logf_compat.c: Likewise.
102 * math/w_logl_compat.c: Likewise.
103 * math/w_pow_compat.c: Likewise.
104 * math/w_powf_compat.c: Likewise.
105 * math/w_powl_compat.c: Likewise.
106 * math/w_remainder_compat.c: Likewise.
107 * math/w_remainderf_compat.c: Likewise.
108 * math/w_remainderl_compat.c: Likewise.
109 * math/w_sinh_compat.c: Likewise.
110 * math/w_sinhf_compat.c: Likewise.
111 * math/w_sinhl_compat.c: Likewise.
112 * math/w_sqrt_compat.c: Likewise.
113 * math/w_sqrtf_compat.c: Likewise.
114 * math/w_sqrtl_compat.c: Likewise.
115 * math/w_tgamma_compat.c: Likewise.
116 * math/w_tgammaf_compat.c: Likewise.
117 * math/w_tgammal_compat.c: Likewise.
118 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
120 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
121 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
123 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
124 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
126 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
127 * sysdeps/i386/fpu/w_sqrt.c: New file.
128 * sysdeps/ia64/fpu/w_acos.c: Likewise.
129 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
130 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
131 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
132 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
133 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
134 * sysdeps/ia64/fpu/w_asin.c: Likewise.
135 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
136 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
137 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
138 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
139 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
140 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
141 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
142 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
143 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
144 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
145 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
146 * sysdeps/ia64/fpu/w_exp.c: Likewise.
147 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
148 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
149 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
150 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
151 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
152 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
153 * sysdeps/ia64/fpu/w_expf.c: Likewise.
154 * sysdeps/ia64/fpu/w_expl.c: Likewise.
155 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
156 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
157 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
158 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
159 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
160 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
161 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
162 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
163 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
164 * sysdeps/ia64/fpu/w_log.c: Likewise.
165 * sysdeps/ia64/fpu/w_log10.c: Likewise.
166 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
167 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
168 * sysdeps/ia64/fpu/w_log2.c: Likewise.
169 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
170 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
171 * sysdeps/ia64/fpu/w_logf.c: Likewise.
172 * sysdeps/ia64/fpu/w_logl.c: Likewise.
173 * sysdeps/ia64/fpu/w_pow.c: Likewise.
174 * sysdeps/ia64/fpu/w_powf.c: Likewise.
175 * sysdeps/ia64/fpu/w_powl.c: Likewise.
176 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
177 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
178 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
179 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
180 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
181 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
182 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
183 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
184 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
185 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
186 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
187 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
188 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
190 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
191 * sysdeps/ieee754/k_standard.c: Likewise.
192 * sysdeps/ieee754/k_standardf.c: Likewise.
193 * sysdeps/ieee754/k_standardl.c: Likewise.
194 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
195 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
196 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
197 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
198 long_double_symbol call on [LIBM_SVID_COMPAT].
199 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
200 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
201 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
202 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
203 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
204 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
205 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
206 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
207 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
208 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
209 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
210 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
211 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
212 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
213 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
214 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
215 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
216 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
217 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
218 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
219 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
220 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
222 2017-09-05 Steve Ellcey <sellcey@cavium.com>
224 * include/shlib-compat.h (TEST_COMPAT): New Macro.
225 * malloc/tst-mallocstate.c: Convert from test-skeleton
226 to test-driver. Ifdef code using TEST_COMPAT macro.
227 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
228 * math/test-matherr.c: Likewise.
230 2017-09-05 Joseph Myers <joseph@codesourcery.com>
233 * debug/pcprofiledump.c (main): Use byte-swapped mask when
234 comparing word with byte-swapped constant.
236 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
239 * locale/iso-639.def: add Miskito.
240 * localedata/SUPPORTED: Add miq_NI/UTF-8.
241 * localedata/locales/miq_NI: New file.
243 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
246 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
248 * io/chmod.c (__chmod): Add libc_hidden_def.
249 * io/mkdir.c (__mkdir): Likewise.
250 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
251 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
252 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
253 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
255 2017-09-04 Joseph Myers <joseph@codesourcery.com>
257 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
261 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
262 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
264 2017-09-04 Florian Weimer <fweimer@redhat.com>
266 * math/math.h: Issue warning if log is defined.
268 2017-09-04 Joseph Myers <joseph@codesourcery.com>
270 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
271 kernel version to 4.13.
273 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
275 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
276 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
278 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
280 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
281 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
282 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
283 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
284 * misc/preadv2.c: Include <errno.h>.
285 * misc/preadv64v2.c: Include <errno.h>.
286 * misc/pwritev2.c: Include <errno.h>.
287 * misc/pwritev64v2.c: Include <errno.h>.
288 * sysdeps/posix/preadv2.c: Include <errno.h>.
289 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
290 Fix <unistd.h> inclusion.
291 * sysdeps/posix/pwritev2.c: Include <errno.h>.
292 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
293 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
294 __strtoul_internal): New functions.
295 * sysdeps/posix/pause.c: Include <sigsetops.h>.
296 * sysdeps/posix/system.c: Include <sigsetops.h>.
297 * sysdeps/mach/hurd/i386/Makefile
298 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
299 [$(subdir) = csu] (sysdep-only-routines): Likewise.
300 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
301 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
302 __feraiseexcept_renamed to feraiseexcept instead of
304 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
305 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
306 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
307 RWF_NOWAIT): Define to 0 if undefined already.
308 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
310 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
311 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
313 2017-09-01 Joseph Myers <joseph@codesourcery.com>
315 * manual/math.texi (pow10): Do not document.
318 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
319 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
320 * math/libm-test-exp10.inc (pow10_test): Remove.
321 (do_test): Do not call pow10.
322 * math/w_exp10_compat.c (pow10): Make into compat symbol.
323 [NO_LONG_DOUBLE] (pow10l): Likewise.
324 * math/w_exp10f_compat.c (pow10f): Likewise.
325 * math/w_exp10l_compat.c (pow10l): Likewise.
326 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
327 (pow10): Make into compat symbol.
328 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
329 (pow10f): Make into compat symbol.
330 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
331 (pow10l): Make into compat symbol.
332 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
334 (CFLAGS-nldbl-pow10.c): Remove variable..
335 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
336 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
337 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
338 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
339 Undefine and redefine.
340 (pow10l): Make into compat symbol.
341 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
342 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
343 * sysdeps/arm/libm-test-ulps: Likewise.
344 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
345 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
346 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
347 * sysdeps/microblaze/libm-test-ulps: Likewise.
348 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
349 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
350 * sysdeps/nios2/libm-test-ulps: Likewise.
351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
352 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
353 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
354 * sysdeps/sh/libm-test-ulps: Likewise.
355 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
356 * sysdeps/tile/libm-test-ulps: Likewise.
357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
359 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
361 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
363 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
365 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
366 "../ChangeLog.old/ChangeLog.8".
367 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
368 "../ChangeLog.old/ChangeLog.14".
370 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
372 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
375 2017-09-01 Joseph Myers <joseph@codesourcery.com>
377 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
379 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
381 * csu/version.c (banner): Remove "by Roland McGrath et al.".
382 * nptl/Banner: Remove "by Ulrich Drepper et al.".
384 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
386 * stdlib/tst-atexit-common.c (do_test): Test support for at least
389 2017-09-01 Zack Weinberg <zackw@panix.com>
391 * math/math.h (HUGE_VAL): Improve commentary.
393 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
394 Andreas Schwab <schwab@suse.de>
397 * include/stdio.h (__gen_tempfd): New function.
398 * stdio-common/Makefile (routines): Add gentempfd.
399 * stdio-common/gentempfd.c: New file.
400 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
401 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
404 2017-09-01 Florian Weimer <fweimer@redhat.com>
408 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
409 result to determine success or failure, not the errno value.
410 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
411 (tst-nss-files-hosts-erange): Link with -ldl.
412 * nss/tst-nss-files-hosts-erange.c: New file.
413 * nss/tst-resolv-basic.c (response): Handle nodata.example.
414 (do_test): Add NO_DATA tests.
415 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
418 2017-09-01 Florian Weimer <fweimer@redhat.com>
421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
422 coming from gethostbyname2_r.
424 2017-09-01 Florian Weimer <fweimer@redhat.com>
426 * support/namespace.h (struct support_chroot_configuration): Add
428 (struct support_chroot): Add path_hosts, path_host_conf.
429 * support/support_chroot.c (write_file): New function.
430 (support_chroot_create): Call it to process /etc/resolv.conf,
431 /etc/hosts, /etc/host.conf.
432 (support_chroot_free): Update.
434 2017-09-01 Florian Weimer <fweimer@redhat.com>
436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
437 status indicates it is set.
439 2017-09-01 Florian Weimer <fweimer@redhat.com>
441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
442 function lookup failures more reliable.
444 2017-09-01 Florian Weimer <fweimer@redhat.com>
446 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
447 (getcanonname): Likewise.
448 (gaih_inet): Likewise.
450 2017-09-01 Florian Weimer <fweimer@redhat.com>
452 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
453 (getcanonname): Likewise.
454 (gaih_inet): Likewise.
456 2017-08-31 Steve Ellcey <sellcey@cavium.com>
457 Richard Henderson <rth@twiddle.net>
459 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
460 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
461 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
462 (IREG_SIZE, OREG_SIZE): New macros.
463 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
464 (IREG_SIZE, OREG_SIZE): New macros.
465 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
466 (IREG_SIZE): New macro.
467 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
468 (IREG_SIZE): New macro.
469 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
471 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
472 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
473 (__CONCATX): Handle exceptions correctly on large values that may
475 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
476 Initialize if not already set.
477 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
479 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
481 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
482 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
484 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
486 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
488 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
490 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
492 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
494 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
496 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
497 (NO_CANCELLATION): Likewise.
498 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
500 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
502 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
505 (NO_CANCELLATION): Likewise.
506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
507 (NO_CANCELLATION): Likewise.
508 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
510 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
512 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
514 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
516 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
518 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
519 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
521 2017-08-31 Steve Ellcey <sellcey@cavium.com>
523 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
526 2017-08-31 Florian Weimer <fweimer@redhat.com>
528 * include/libc-symbols.h (internal_function): Remove.
530 2017-08-31 Florian Weimer <fweimer@redhat.com>
532 * stdlib/fmtmsg.c (internal_addseverity): Remove
535 2017-08-31 Florian Weimer <fweimer@redhat.com>
537 * stdio-common/printf_fp.c (group_number): Remove
539 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
541 2017-08-31 Florian Weimer <fweimer@redhat.com>
543 * posix/fnmatch.c (internal_function): Remove definition.
544 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
545 * posix/regcomp.c (peek_token, init_word_char)
546 (duplicate_node_closure, fetch_token, peek_token)
547 (peek_token_bracket, build_range_exp, build_collating_symbol):
549 * posix/regex_internal.c (re_string_construct_common)
550 (create_ci_newstate, create_cd_newstate, re_string_allocate)
551 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
552 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
553 (re_string_translate_buffer, re_string_reconstruct)
554 (re_string_peek_byte_case, re_string_fetch_byte_case)
555 (re_string_destruct, re_string_context_at, re_node_set_alloc)
556 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
557 (re_node_set_add_intersect, re_node_set_init_union)
558 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
559 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
560 (re_dfa_add_node, calc_state_hash, re_acquire_state)
561 (re_acquire_state_context): Likewise.
562 * posix/regex_internal.h (internal_function): Remove definition.
563 (re_string_realloc_buffers, build_wcs_buffer)
564 (build_wcs_upper_buffer, build_upper_buffer)
565 (re_string_translate_buffer, re_string_context_at)
566 (re_string_char_size_at, re_string_wchar_at)
567 (re_string_elem_size_at): Likewise.
568 * posix/regexec.c (match_ctx_init, match_ctx_clean)
569 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
570 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
571 (re_search_internal, re_search_2_stub, re_search_stub)
572 (re_copy_regs, prune_impossible_nodes, check_matching)
573 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
574 (free_fail_stack_return, sift_states_iter_mb)
575 (sift_states_backward, build_sifted_states)
576 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
577 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
578 (check_subexp_limits, sift_states_bkref, merge_state_array)
579 (find_recover_state, transit_state, merge_state_with_log)
580 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
581 (transit_state_mb, transit_state_bkref, get_subexp)
582 (get_subexp_sub, find_subexp_node, check_arrival)
583 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
584 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
585 (check_node_accept_bytes, find_collation_sequence_value)
586 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
587 (acquire_init_state_context, check_halt_node_context)
588 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
589 (sub_epsilon_src_nodes): Likewise.
590 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
591 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
592 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
593 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
594 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
595 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
596 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
597 * sysdeps/posix/ttyname.c (getttyname): Likewise.
598 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
599 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
601 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
603 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
605 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
607 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
608 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
610 2017-08-31 Florian Weimer <fweimer@redhat.com>
612 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
613 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
614 Remove internal_function.
615 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
616 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
617 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
618 (__deallocate_stack, __libc_pthread_init)
619 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
620 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
621 (__libc_disable_asynccancel, __librt_disable_asynccancel):
623 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
624 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
625 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
627 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
628 (__pthread_mutex_unlock_usercnt): Likewise.
630 2017-08-31 Florian Weimer <fweimer@redhat.com>
632 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
633 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
634 (fts_safe_changedir): Remove internal_function.
635 * io/ftw.c (internal_function): Remove definition.
636 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
638 2017-08-31 Florian Weimer <fweimer@redhat.com>
640 * inet/deadline.c (__deadline_current_time)
641 (__deadline_from_timeval, __deadline_to_ms): Remove
643 * inet/getnameinfo.c (nrl_domainname): Likewise.
644 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
645 * inet/inet6_option.c (add_pad): Likewise.
646 * inet/net-internal.h (__deadline_current_time)
647 (__deadline_from_timeval, __deadline_to_ms): Likewise.
648 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
649 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
650 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
652 2017-08-31 Joseph Myers <joseph@codesourcery.com>
654 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
655 include <bits/nan.h>.
656 * math/Makefile (headers): Remove bits/nan.h.
657 * bits/nan.h: Remove.
658 * sysdeps/ieee754/bits/nan.h: Likewise.
659 * sysdeps/mips/bits/nan.h: Likewise.
661 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
662 not include <bits/inf.h>.
663 * math/Makefile (headers): Remove bits/inf.h.
664 * bits/inf.h: Remove.
665 * sysdeps/ieee754/bits/inf.h: Likewise.
667 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
668 bits/huge_vall.h or bits/huge_val_flt128.h.
669 (HUGE_VAL): Define directly here.
670 [__USE_ISOC99] (HUGE_VALF): Likewise.
671 [__USE_ISOC99] (HUGE_VALL): Likewise.
672 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
673 (HUGE_VAL_F128): Likewise.
674 * math/Makefile (headers): Remove bits/huge_val.h,
675 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
676 * bits/huge_val.h: Remove.
677 * bits/huge_val_flt128.h: Likewise.
678 * bits/huge_valf.h: Likewise.
679 * bits/huge_vall.h: Likewise.
680 * sysdeps/ia64/bits/huge_vall.h: Likewise.
681 * sysdeps/ieee754/bits/huge_val.h: Likewise.
682 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
683 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
684 * sysdeps/sh/bits/huge_val.h: Likewise.
685 * sysdeps/sparc/bits/huge_vall.h: Likewise.
686 * sysdeps/x86/bits/huge_vall.h: Likewise.
688 2017-08-31 Florian Weimer <fweimer@redhat.com>
690 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
692 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
694 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
695 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
696 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
697 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
698 * elf/dl-fini.c (_dl_sort_fini): Likewise.
699 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
700 * elf/dl-libc.c (dlerror_run): Likewise.
701 * elf/dl-load.c (add_name_to_object, decompose_rpath)
702 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
703 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
704 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
706 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
707 (_dl_higher_prime_number, _dl_strtoul): Likewise.
708 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
709 * elf/dl-profile.c (_dl_start_profile): Likewise.
710 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
711 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
713 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
714 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
715 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
716 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
717 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
718 (_dl_allocate_tls_storage): Likewise.
719 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
720 (_dl_check_all_versions): Likewise.
721 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
722 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
723 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
724 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
725 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
726 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
727 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
728 internal_function from __dl_start.
729 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
730 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
731 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
732 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
733 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
734 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
735 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
736 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
737 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
738 (_dl_next_ld_env_entry, _dl_important_hwcaps)
739 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
740 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
741 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
742 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
743 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
745 (struct rtld_global_ro): Remove internal_function from the
746 _dl_lookup_symbol_x member.
747 (_dl_symbol_value): Remove. No longer defined anywhere.
748 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
750 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
751 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
752 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
753 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
754 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
755 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
756 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
757 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
758 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
759 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
760 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
761 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
763 2017-08-31 Florian Weimer <fweimer@redhat.com>
765 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
766 Remove internal_function.
767 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
769 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
772 2017-08-31 Florian Weimer <fweimer@redhat.com>
774 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
775 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
776 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
778 2017-08-31 Florian Weimer <fweimer@redhat.com>
780 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
781 (__gai_enqueue_request): Remove internal_function.
782 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
783 (__gai_remove_request, __gai_notify, __gai_notify_only)
784 (__gai_sigqueue): Likewise.
785 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
786 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
787 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
788 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
791 2017-08-31 Florian Weimer <fweimer@redhat.com>
793 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
794 * include/dirent.h (__opendirat, __getdents, __getdents64)
795 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
796 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
797 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
798 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
800 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
802 2017-08-31 Florian Weimer <fweimer@redhat.com>
804 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
806 (GETCWD_RETURN_TYPE): Likewise.
808 2017-08-31 Florian Weimer <fweimer@redhat.com>
810 * include/time.h (__tz_compute, __strptime_internal): Remove
812 * time/strptime_l.c (__strptime_internal): Likewise.
813 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
815 2017-08-31 Florian Weimer <fweimer@redhat.com>
817 * iconv/gconv.c (__gconv): Remove internal_function.
818 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
819 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
820 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
821 (__gconv_release_cache): Likewise.
822 * iconv/gconv_close.c (__gconv_close): Likewise.
823 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
824 (read_conf_file, __gconv_get_path): Likewise.
825 * iconv/gconv_db.c (derivation_lookup, add_derivation)
826 (__gconv_release_step, gen_steps, increment_counter)
827 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
828 (__gconv_close_transform, free_modules_db): Likewise.
829 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
831 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
832 (__gconv_find_transform, __gconv_lookup_cache)
833 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
834 (__gconv_close_transform, __gconv_release_cache)
835 (__gconv_loaded_object, __gconv_release_shlib)
836 (__gconv_compare_alias): Likewise.
837 * iconv/gconv_open.c (__gconv_open): Likewise.
838 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
839 * iconv/iconvconfig.c (add_module): Likewise.
840 * intl/dcigettext.c (plural_lookup, guess_category_value)
841 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
842 * intl/eval-plural.h (plural_eval): Likewise.
843 * intl/finddomain.c (_nl_find_domain): Likewise.
844 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
845 (_nl_load_domain, _nl_find_msg): Likewise.
846 (internal_function): Remove definition.
847 * intl/loadinfo.h (internal_function): Likewise.
848 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
850 * intl/localealias.c (internal_function): Remove definition.
851 (read_alias_file): Remove internal_function.
852 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
853 * intl/plural-exp.h (internal_function): Remove definition.
854 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
856 * intl/plural.c: Regenerate.
857 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
858 * locale/coll-lookup.c (__collidx_table_lookup)
859 (__collseq_table_lookup): Likewise.
860 * locale/coll-lookup.h (__collidx_table_lookup)
861 (__collseq_table_lookup): Likewise.
862 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
863 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
864 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
865 (_nl_unload_locale): Likewise.
866 * locale/localeinfo.h (struct __locale_data): Remove
867 internal_function from cleanup member.
868 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
869 (_nl_remove_locale, _nl_load_locale_from_archive)
870 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
871 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
872 (_nl_cleanup_time): Remove internal_function.
873 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
874 (_nl_parse_alt_digit): Likewise.
875 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
876 (_nl_select_era_entry): Likewise.
877 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
878 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
879 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
880 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
881 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
883 2017-08-31 Florian Weimer <fweimer@redhat.com>
885 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
886 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
887 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
888 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
890 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
891 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
892 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
893 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
895 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
897 2017-08-31 Florian Weimer <fweimer@redhat.com>
899 * misc/getttyent.c (skip, value): Remove internal_function.
900 * misc/syslog.c (openlog_internal): Likewise.
901 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
903 2017-08-31 Florian Weimer <fweimer@redhat.com>
905 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
906 (__nss_rewrite_field): Remove internal_function.
907 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
908 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
909 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
910 * nss/nsswitch.c (nss_parse_file, nss_getline)
911 (nss_parse_service_list, nss_new_service): Likewise.
912 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
913 * nss/valid_field.c (__nss_valid_field): Likewise.
914 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
916 2017-08-31 Florian Weimer <fweimer@redhat.com>
918 * malloc/arena.c (__malloc_fork_lock_parent)
919 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
920 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
921 internal_function from defintions.
922 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
923 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
924 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
925 internal_function from declarations.
926 * malloc/malloc.c (internal_function): Do not define.
927 (mem2mem_check): Remove internal_function from declaration.
928 (munmap_chunk, mremap_chunk): Remove internal_function.
929 * malloc/mtrace.c (tr_where): Likewise.
931 2017-08-31 Florian Weimer <fweimer@redhat.com>
933 * include/rpc/pmap_clnt.h (__get_socket): Remove
935 * sunrpc/auth_des.c (synchronize): Likewise.
936 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
937 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
938 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
939 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
940 (key_call): Likewise.
941 * sunrpc/pm_getport.c (__get_socket): Likewise.
942 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
943 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
944 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
945 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
946 (invalidate): Likewise.
947 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
948 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
949 (set_input_fragment, get_input_bytes): Likewise.
951 2017-08-31 Florian Weimer <fweimer@redhat.com>
953 * malloc/malloc.c (_int_free): Remove locked variable and related
956 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
959 * Makerules (build-module-helper-objlist): Filter out
960 $(elf-objpfx)sofini.os.
961 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
964 2017-08-31 Florian Weimer <fweimer@redhat.com>
966 * libio/fcloseall.c: Assume weak_alias is defined.
967 * libio/feof.c: Likewise.
968 * libio/fileno.c: Likewise.
969 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
970 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
972 (_IO_file_open): Call __open directly.
973 (_IO_new_file_sync): Assume ESPIPE is defined.
974 (_IO_file_seekoff_maybe_mmap): Call __read directly.
975 (_IO_new_file_write): Call __write directly.
976 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
977 * libio/ftello64.c (__ftello64): Assume EIO is defined.
978 * libio/genops.c: Assume _LIBC is defined.
979 (save_for_backup): Remove internal_function.
980 * libio/getc.c: Assume weak_alias is defined.
981 * libio/getwc.c: Likewise.
982 * libio/iofclose.c: Assume _LIBC is defined.
983 * libio/iofdopen.c: Likewise.
984 (_IO_fcntl): Remove macro definition.
985 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
986 Call __fcntl directly.
987 * libio/iofflush.c: Assume weak_alias is defined.
988 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
990 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
991 * libio/iofgets.c: Likewise.
992 * libio/iofopen.c: Assume _LIBC is defined.
993 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
994 * libio/iofputs.c: Assume weak_alias is defined.
995 * libio/iofread.c: Likewise.
996 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
997 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
998 * libio/ioftell.c: Assume weak_alias is defined.
999 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
1000 * libio/iofwide.c: Assume _LIBC is defined.
1001 (_IO_fwide): Drop SHARED conditional because it is implied by
1003 * libio/iofwrite.c: Assume weak_alias is defined.
1004 * libio/iogetdelim.c: Likewise.
1005 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
1006 * libio/iogetwline.c (wmemcpy): Remove macro definition.
1007 (_IO_getwline): Call __wmemcpy directly.
1008 * libio/iopopen.c: Assume _LIBC is defined.
1009 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1010 (_IO_close): Remove macro definitions.
1011 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
1013 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
1015 * libio/ioputs.c: Assume weak_alias is defined.
1016 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
1017 * libio/iosetbuffer.c: Assume weak_alias is defined.
1018 * libio/iosetvbuf.c: Likewise.
1019 * libio/ioungetc.c: Likewise.
1020 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
1021 libc_hidden_def, libc_hidden_weak, NULL are defined.
1022 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
1023 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
1025 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1027 (_IO_old_file_init_internal): Drop SHARED conditional because it
1028 is implied by SHLIB_COMPAT.
1029 (_IO_old_file_fopen): Call __open directly.
1030 (_IO_old_file_sync): Assume ESPIPE is defined.
1031 (_IO_old_file_write): Call __write directly.
1032 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
1033 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
1034 Call __fcntl directly.
1035 * libio/oldiofgetpos.c: Assume weak_alias is defined.
1036 (_IO_old_fgetpos): Assume EIO is defined.
1037 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
1038 (_IO_old_fgetpos64): Assume EIO is defined.
1039 * libio/oldiofsetpos.c: Assume weak_alias is defined.
1040 (_IO_old_fsetpos): Assume EIO is defined.
1041 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
1042 (_IO_old_fsetpos64): Assume EIO is defined.
1043 * libio/oldiopopen.c: Assume _LIBC is defined.
1044 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1045 (_IO_close): Remove macro definitions.
1046 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
1048 (_IO_old_proc_close): Call __close, __waitpid directly.
1049 * libio/put.c: Assume weak_alias is defined.
1050 * libio/stdfiles.c: Assume _LIBC is defined.
1051 * libio/stdio.c: Likewise.
1052 * libio/wfileops.c: Likewise.
1053 (_IO_wfile_sync): Assume ESPIPE is defined.
1054 * libio/wgenops.c: Assume _LIBC is defined.
1055 (save_for_wbackup): Remove internal_function.
1057 2017-08-31 Florian Weimer <fweimer@redhat.com>
1059 * malloc/malloc.c (top_check): Change return type to void. Remove
1061 * malloc/hooks.c (top_check): Likewise.
1062 (malloc_check, realloc_check, memalign_check): Adjust.
1064 2017-08-30 Joseph Myers <joseph@codesourcery.com>
1067 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1068 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
1069 sigcontext and namespace requirements.
1070 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1071 * sysdeps/m68k/sys/ucontext.h: Likewise.
1072 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
1073 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1074 <bits/sigcontext.h>.
1075 (__ctx): Define earlier.
1076 (mcontext_t): Define structure contents rather than using struct
1078 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
1079 __glibc_reserved1 instead of __reserved.
1080 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1081 <bits/sigcontext.h>.
1082 (__ctx): Define earlier.
1083 (mcontext_t): Define structure contents rather than using struct
1085 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
1086 mcontext_t instead of struct sigcontext.
1087 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1088 <bits/sigcontext.h>.
1089 (__ctx): Define earlier.
1090 (mcontext_t): Define structure contents rather than using struct
1092 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1093 <bits/sigcontext.h>.
1094 (__ctx): Define earlier.
1095 (mcontext_t): Define structure contents rather than using struct
1097 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
1098 mcontext_t instead of struct sigcontext.
1099 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
1100 mcontext_t instead of struct sigcontext.
1101 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1102 <bits/sigcontext.h>.
1104 (struct __ia64_fpreg_mcontext): New type.
1105 (mcontext_t): Define structure contents rather than using struct
1107 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
1108 (uc_sigmask): Define using __ctx.
1109 (uc_stack): Likewise.
1110 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
1111 <bits/sigcontext.h>.
1112 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1113 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1114 <bits/sigcontext.h>.
1115 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
1116 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1117 <bits/sigcontext.h>.
1118 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1119 <bits/sigcontext.h>.
1120 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1121 <bits/sigcontext.h>.
1122 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1123 <bits/sigcontext.h>.
1124 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1125 <bits/sigcontext.h>.
1126 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1127 <bits/sigcontext.h>.
1128 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1129 <bits/sigcontext.h>.
1130 (__ctx): Define earlier.
1131 (mcontext_t): Define structure contents rather than using struct
1133 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1134 <bits/sigcontext.h>. Include <bits/types.h>.
1135 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
1136 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
1137 (test-xfail-XPG42/ucontext.h/conform): Likewise.
1138 (test-xfail-UNIX98/signal.h/conform): Likewise.
1139 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1140 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1141 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1142 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1143 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1144 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1145 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1146 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1147 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1149 2017-08-30 Florian Weimer <fweimer@redhat.com>
1151 * malloc/dynarray_emplace_enlarge.c
1152 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
1153 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1154 * malloc/tst-dynarray.c (test_long_overflow): New function.
1157 2017-08-30 Florian Weimer <fweimer@redhat.com>
1159 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
1160 (set_arena_corrupt): Remove definitions.
1161 (mtrim): Do not check for corrupt arena.
1162 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
1165 2017-08-30 Florian Weimer <fweimer@redhat.com>
1168 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
1170 (ptmalloc_init): Do not set or use check_action.
1171 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
1172 call to malloc_printerr. Remove return statement.
1173 (free_check): Likewise. Remove arena unlock.
1174 (top_check): Update comment. Adjust call to malloc_printerr.
1175 Remove heap repair code.
1176 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
1177 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
1178 (sysmalloc): Adjust call to malloc_printerr.
1179 (munmap_chunk, __libc_realloc): Likewise. Remove return
1181 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
1182 Remove errout label and corresponding gotos.
1183 (_int_free): Likewise. Remove arena unlock.
1184 (do_set_mallopt_check): Do not set check_action.
1185 (malloc_printerr): Adjust parameter list. Do not mark arena as
1187 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
1189 * manual/probes.texi (Memory Allocation Probes): Remove
1190 memory_mallopt_check_action.
1192 2017-08-30 Steve Ellcey <sellcey@cavium.com>
1194 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
1195 Use pointer to uint64_t instead of long int for sp.
1197 2017-08-30 Florian Weimer <fweimer@redhat.com>
1200 * malloc/malloc.c (malloc_printerr): Always terminate the process,
1201 without printing a backtrace. Do not leak any information in the
1203 * manual/memory.texi (Heap Consistency Checking): Update.
1204 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
1206 2017-08-30 Florian Weimer <fweimer@redhat.com>
1208 Do not scale NPTL tests with available number of CPUs.
1209 * nptl/tst-cond16.c (count): Set to constant value of 8.
1210 * nptl/tst-cond18.c (count): Likewise.
1212 2017-08-29 Joseph Myers <joseph@codesourcery.com>
1215 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
1216 Define to take a second argument that is a macro that
1217 concatentates a suffix, not the suffix itself.
1218 (__CONCAT_d): New macro.
1219 (__CONCAT_f): Likewise.
1220 (__CONCAT_l): Likewise.
1222 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
1224 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
1227 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1228 Aurelien Jarno <aurelien@aurel32.net>
1229 Maciej W. Rozycki <macro@imgtec.com>
1232 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
1233 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
1234 `mips16-syscall6' and `mips16-syscall7'.
1235 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
1236 (CFLAGS-mips16-syscall7.c): Remove.
1237 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
1238 Remove `__mips16_syscall5', `__mips16_syscall6' and
1239 `__mips16_syscall7'.
1240 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
1241 (__mips16_syscall0): Rename `__mips16_syscall_return' to
1242 `__mips_syscall_return'.
1243 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
1244 (__mips16_syscall1): Likewise.
1245 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
1246 (__mips16_syscall2): Likewise.
1247 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
1248 (__mips16_syscall3): Likewise.
1249 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
1250 (__mips16_syscall4): Likewise.
1251 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
1253 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
1255 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
1257 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
1258 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
1259 `__mips16_syscall5'. Remove prototype.
1260 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
1261 `__mips16_syscall6'. Remove prototype.
1262 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
1263 `__mips16_syscall7'. Remove prototype.
1264 (__nomips16, __mips16_syscall_return): Move to...
1265 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1266 (__nomips16, __mips_syscall_return): ... here.
1267 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
1268 `__mips16_syscall_return' to `__mips_syscall_return'.
1269 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
1270 `internal_syscall##nr'.
1271 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
1272 `internal_syscall##nr'.
1273 (FORCE_FRAME_POINTER): Remove.
1274 (__mips_syscall5): New prototype.
1275 (internal_syscall5): Rewrite to call `__mips_syscall5'.
1276 (__mips_syscall6): New prototype.
1277 (internal_syscall6): Rewrite to call `__mips_syscall6'.
1278 (__mips_syscall7): New prototype.
1279 (internal_syscall7): Rewrite to call `__mips_syscall7'.
1280 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
1281 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
1282 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
1283 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
1284 (sysdep_routines): Add libc-do-syscall.
1285 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
1286 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
1288 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1291 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
1292 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
1293 (advise_stack_range): New function.
1294 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
1295 stack non required to advise_stack_range at allocatestack.c
1297 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1299 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
1301 2017-08-29 Florian Weimer <fweimer@redhat.com>
1304 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
1305 __end_fct. Mangle __end_fct after setting it to NULL.
1306 * iconv/Makefile (tests): Add tst-gconv-init-failure.
1307 (modules-names, modules-names-tests): Add
1308 tst-gconv-init-failure-mod.
1309 (gconv-modules): New target.
1310 (tst-gconv-init-failure-mod.so): Link against libsupport.
1311 (tst-gconv-init-failure): Depend on gconv-modules,
1312 tst-gconv-init-failure-mod.so.
1313 * iconv/tst-gconv-init-failure-mod.c: New file.
1314 * iconv/tst-gconv-init-failure.c: Likewise.
1315 * iconv/test-gconv-modules: Likewise.
1317 2017-08-29 Florian Weimer <fweimer@redhat.com>
1320 * iconv/gconv_db.c (free_derivation): Remove redundant
1322 (gen_steps): Unconditionally mangle __btowc_fct after
1324 (increment_counter): Likewise. Do not call init_fct for internal
1327 2017-08-29 Joseph Myers <joseph@codesourcery.com>
1330 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1331 (_MSUF_): Remove macro.
1332 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
1334 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1335 (__REDIRFROM_X): New macro.
1336 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
1338 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
1339 (__REDIRTO_X): Likewise.
1340 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
1342 (__MATH_REDIRCALL_2): Likewise.
1343 (__MATH_REDIRCALL_INTERNAL): Likewise.
1344 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1345 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
1346 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
1347 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1348 * math/test-finite-macros.c: New file.
1349 * math/Makefile (tests): Add test-finite-macros.
1350 (CFLAGS-test-finite-macros.c): New variable.
1352 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
1353 Jeff Law <law@redhat.com>
1356 Mangle NULL pointers in iconv/gconv.
1357 * iconv/gconv_cache.c (find_module): Demangle init_fct before
1358 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
1359 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
1360 is non-NULL before demangling the end_fct. Check for NULL
1361 end_fct after demangling.
1362 (__gconv_release_step): Demangle the end_fct before checking
1363 it for NULL. Remove assert on __shlibc_handle != NULL.
1364 (gen_steps): Don't check btowc_fct for NULL before mangling.
1365 Demangle init_fct before checking for NULL.
1366 (increment_counter): Likewise.
1367 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
1368 end_fct for NULL before mangling.
1369 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
1372 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
1375 * locale/iso-639.def: add Morisyen.
1377 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1380 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
1381 (iszero): New C++ implementation that does not use
1382 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
1383 signaling nans are enabled, since __builtin_types_compatible_p
1384 is a C-only feature.
1385 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
1386 defined, include ieee754_float128.h for access to the union and
1387 member ieee854_float128.ieee.
1388 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
1389 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
1390 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1391 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
1392 options of test-math-zero on powerpc64le.
1394 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
1396 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
1397 Change double to float.
1399 2017-08-28 Joseph Myers <joseph@codesourcery.com>
1401 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
1403 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
1404 conditional code; define contents only for [LIBM_SVID_COMPAT].
1406 2017-08-28 Florian Weimer <fweimer@redhat.com>
1408 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
1409 (abi-lp64_be-options): Remove.
1410 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
1411 (abi-hard-options): Likewise.
1412 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
1413 (abi-o32_hard-options, abi-o32_soft_2008-options)
1414 (abi-o32_hard_2008-options, abi-n32_soft-options)
1415 (abi-n32_hard-options, abi-n32_soft_2008-options)
1416 (abi-n32_hard_2008-options, abi-n64_soft-options)
1417 (abi-n64_hard-options, abi-n64_soft_2008-options)
1418 (abi-n64_hard_2008-options): Likewise.
1419 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
1420 (abi-64-v1-options, abi-64-v2-options): Likewise.
1421 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
1422 (abi-64-options): Likewise.
1423 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
1424 (abi-64-options): Likewise.
1425 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
1426 (abi-64-options): Likewise.
1427 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
1428 (abi-64-options, abi-x32-options): Likewise.
1430 2017-08-28 Florian Weimer <fweimer@redhat.com>
1432 Store supported list of SYS_* system calls in the source tree.
1433 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1434 (bits/syscall.h): Generate from list file.
1435 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
1436 [$(subdir) = misc] (tests): Add tst-syscall-list.
1437 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
1438 [$(subdir) = misc] (tst-syscall-list-macros.list)
1439 [$(subdir) = misc] (tst-syscall-list-nr.list)
1440 (tst-syscall-list-sys.list): Helper targets for new
1441 tst-syscall-list test.
1442 [$(subdir) = misc] (tst-syscall-list.out): Run test script
1443 tst-syscall-list.sh.
1444 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
1445 target. Do not include bits/syscall.d.
1446 [$(subdir) = misc] (generated): Do not update.
1447 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
1448 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
1449 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
1450 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
1452 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1454 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
1455 (tst-cxa_atexit, tst-on_exit): Likewise.
1456 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
1457 tst-cxa_atexit, and tst-on_exit.
1458 * stdlib/tst-atexit-common.c: New file.
1459 * stdlib/tst-atexit.c: New file.
1460 * stdlib/tst-at_quick_exit.c: New file.
1461 * stdlib/tst-cxa_atexit.c: New file.
1462 * stdlib/tst-on_exit.c: New file.
1464 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1466 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
1467 * mach/stack_chk_fail_local.c: New file.
1468 * hurd/stack_chk_fail_local.c: New file.
1469 * mach/Machrules ($(interface-library)-routines): Add
1470 stack_chk_fail_local.
1471 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
1472 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
1473 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
1474 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
1475 * hurd/Makefile (CFLAGS-hurdstartup.o,
1476 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
1478 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
1480 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
1481 (index_cpu_*, index_arch_*): Removed.
1483 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1485 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
1486 Use uint64_t instead of unsigned long.
1488 2017-08-25 Joseph Myers <joseph@codesourcery.com>
1490 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
1491 [__HAVE_DISTINCT_FLOAT128].
1493 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
1494 of <bits/math-finite.h>.
1495 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
1496 inclusion of <bits/math-finite.h>.
1497 * math/bits/math-finite.h (__REDIRTO_X): Do not define
1498 conditionally on [__MATH_DECLARING_LDOUBLE && defined
1499 __NO_LONG_DOUBLE_MATH].
1500 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
1501 (__MATH_REDIRCALL_2): Likewise.
1502 (__MATH_REDIRCALL_INTERNAL): Likewise.
1503 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1504 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
1505 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1519 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1521 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1522 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1524 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
1525 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
1526 w_sqrtf_compat-ppc32.
1528 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1530 * math/math.h [defined __cplusplus] (issignaling): In the long
1531 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
1532 is not defined. Call __issignaling, otherwise.
1534 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1536 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
1537 syscall definitions and replace __builtin_expect with __glibc_likely.
1538 * sysdeps/unix/syscall-template.S: Update comment about cancellable
1540 (SYSCALL_CANCELLABLE): Removedefinition
1541 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
1543 (PSEUDO_END): Likewise.
1544 [IS_IN (libpthread)] (CENABLE): Likewise.
1545 [IS_IN (libpthread)] (CDISABLE): Likewise.
1546 [IS_IN (libc)] (CENABLE): Likewise.
1547 [IS_IN (libc)] (CENABLE): Likewise.
1548 [IS_IN (librt)] (CDISABLE): Likewise.
1549 [IS_IN (librt)] (CDISABLE): Likewise.
1550 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1551 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
1553 (PSEUDO_END): Likewise.
1554 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
1555 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
1556 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1557 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1558 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1559 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1560 (CENABLE): Likewise.
1561 (CDISABLE): Likewise.
1562 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1563 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
1565 (PSEUDO_END): Likewise.
1566 [IS_IN (libpthread)] (CENABLE): Likewise.
1567 [IS_IN (libpthread)] (CDISABLE): Likewise.
1568 [IS_IN (libc)] (CENABLE): Likewise.
1569 [IS_IN (libc)] (CENABLE): Likewise.
1570 [IS_IN (librt)] (CDISABLE): Likewise.
1571 [IS_IN (librt)] (CDISABLE): Likewise.
1572 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1573 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
1575 (PSEUDO_END): Likewise.
1576 [IS_IN (libpthread)] (CENABLE): Likewise.
1577 [IS_IN (libpthread)] (CDISABLE): Likewise.
1578 [IS_IN (libc)] (CENABLE): Likewise.
1579 [IS_IN (libc)] (CENABLE): Likewise.
1580 [IS_IN (librt)] (CDISABLE): Likewise.
1581 [IS_IN (librt)] (CDISABLE): Likewise.
1582 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1583 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
1585 (PSEUDO_END): Likewise.
1586 [IS_IN (libpthread)] (CENABLE): Likewise.
1587 [IS_IN (libpthread)] (CDISABLE): Likewise.
1588 [IS_IN (libc)] (CENABLE): Likewise.
1589 [IS_IN (libc)] (CENABLE): Likewise.
1590 [IS_IN (librt)] (CDISABLE): Likewise.
1591 [IS_IN (librt)] (CDISABLE): Likewise.
1592 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1593 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
1595 (PSEUDO_END): Likewise.
1596 [IS_IN (libpthread)] (CENABLE): Likewise.
1597 [IS_IN (libpthread)] (CDISABLE): Likewise.
1598 [IS_IN (libc)] (CENABLE): Likewise.
1599 [IS_IN (libc)] (CENABLE): Likewise.
1600 [IS_IN (librt)] (CDISABLE): Likewise.
1601 [IS_IN (librt)] (CDISABLE): Likewise.
1602 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1603 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
1605 (PSEUDO_END): Likewise.
1606 [IS_IN (libpthread)] (CENABLE): Likewise.
1607 [IS_IN (libpthread)] (CDISABLE): Likewise.
1608 [IS_IN (libc)] (CENABLE): Likewise.
1609 [IS_IN (libc)] (CENABLE): Likewise.
1610 [IS_IN (librt)] (CDISABLE): Likewise.
1611 [IS_IN (librt)] (CDISABLE): Likewise.
1612 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1613 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
1615 (PSEUDO_END): Likewise.
1616 [IS_IN (libpthread)] (CENABLE): Likewise.
1617 [IS_IN (libpthread)] (CDISABLE): Likewise.
1618 [IS_IN (libc)] (CENABLE): Likewise.
1619 [IS_IN (libc)] (CENABLE): Likewise.
1620 [IS_IN (librt)] (CDISABLE): Likewise.
1621 [IS_IN (librt)] (CDISABLE): Likewise.
1622 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1623 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
1625 (PSEUDO_END): Likewise.
1626 [IS_IN (libpthread)] (CENABLE): Likewise.
1627 [IS_IN (libpthread)] (CDISABLE): Likewise.
1628 [IS_IN (libc)] (CENABLE): Likewise.
1629 [IS_IN (libc)] (CENABLE): Likewise.
1630 [IS_IN (librt)] (CDISABLE): Likewise.
1631 [IS_IN (librt)] (CDISABLE): Likewise.
1632 (SINGLE_THREAD_P): Likewise.
1633 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
1635 (PSEUDO_END): Likewise.
1636 [IS_IN (libpthread)] (CENABLE): Likewise.
1637 [IS_IN (libpthread)] (CDISABLE): Likewise.
1638 [IS_IN (libc)] (CENABLE): Likewise.
1639 [IS_IN (libc)] (CENABLE): Likewise.
1640 [IS_IN (librt)] (CDISABLE): Likewise.
1641 [IS_IN (librt)] (CDISABLE): Likewise.
1642 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1643 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
1645 (PSEUDO_END): Likewise.
1646 [IS_IN (libpthread)] (CENABLE): Likewise.
1647 [IS_IN (libpthread)] (CDISABLE): Likewise.
1648 [IS_IN (libc)] (CENABLE): Likewise.
1649 [IS_IN (libc)] (CENABLE): Likewise.
1650 [IS_IN (librt)] (CDISABLE): Likewise.
1651 [IS_IN (librt)] (CDISABLE): Likewise.
1652 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1653 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
1654 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1655 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
1656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
1658 (PSEUDO_END): Likewise.
1659 [IS_IN (libpthread)] (CENABLE): Likewise.
1660 [IS_IN (libpthread)] (CDISABLE): Likewise.
1661 [IS_IN (libc)] (CENABLE): Likewise.
1662 [IS_IN (libc)] (CENABLE): Likewise.
1663 [IS_IN (librt)] (CDISABLE): Likewise.
1664 [IS_IN (librt)] (CDISABLE): Likewise.
1665 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1666 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
1668 (PSEUDO_END): Likewise.
1669 [IS_IN (libpthread)] (CENABLE): Likewise.
1670 [IS_IN (libpthread)] (CDISABLE): Likewise.
1671 [IS_IN (libc)] (CENABLE): Likewise.
1672 [IS_IN (libc)] (CENABLE): Likewise.
1673 [IS_IN (librt)] (CDISABLE): Likewise.
1674 [IS_IN (librt)] (CDISABLE): Likewise.
1675 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1676 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
1678 (PSEUDO_END): Likewise.
1679 [IS_IN (libpthread)] (CENABLE): Likewise.
1680 [IS_IN (libpthread)] (CDISABLE): Likewise.
1681 [IS_IN (libc)] (CENABLE): Likewise.
1682 [IS_IN (libc)] (CENABLE): Likewise.
1683 [IS_IN (librt)] (CDISABLE): Likewise.
1684 [IS_IN (librt)] (CDISABLE): Likewise.
1685 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1688 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
1689 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
1691 (PSEUDO_END): Likewise.
1692 [IS_IN (libpthread)] (CENABLE): Likewise.
1693 [IS_IN (libpthread)] (CDISABLE): Likewise.
1694 [IS_IN (libc)] (CENABLE): Likewise.
1695 [IS_IN (libc)] (CENABLE): Likewise.
1696 [IS_IN (librt)] (CDISABLE): Likewise.
1697 [IS_IN (librt)] (CDISABLE): Likewise.
1698 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1699 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
1701 (PSEUDO_END): Likewise.
1702 [IS_IN (libpthread)] (CENABLE): Likewise.
1703 [IS_IN (libpthread)] (CDISABLE): Likewise.
1704 [IS_IN (libc)] (CENABLE): Likewise.
1705 [IS_IN (libc)] (CENABLE): Likewise.
1706 [IS_IN (librt)] (CDISABLE): Likewise.
1707 [IS_IN (librt)] (CDISABLE): Likewise.
1708 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1710 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1712 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
1714 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1716 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1718 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1721 * string/stratcliff.c (do_test): Declare size, nchars, inner,
1722 middle and outer with size_t instead of int. Repleace %d and
1723 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
1724 "MAX (outer, nchars - 64)" to support unsigned outer and
1725 nchars. Also exit loop when outer == 0.
1727 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1729 * include/fcntl.h (__fcntl_nocancel): Remove definition.
1730 * include/signal.h (__sigsuspend_nocancel): Likewise.
1731 * include/time.h (__nanosleep_nocancel): Likewise.
1732 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
1733 * login/utmp_file.c: Include non cancellable syscall header.
1734 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
1737 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1739 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
1740 .byte sequences with AVX512F instructions.
1741 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
1742 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1743 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
1746 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1749 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1750 Steve Ellcey <sellcey@cavium.com>
1752 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
1753 Use PTR_REG macro in cmp instruction.
1755 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1757 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
1758 Change the return type of the ifunc resolver to match the return
1759 type of the target function.
1761 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1763 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
1764 (preadv64): Likewise.
1765 (pwrite64(: Likewise.
1766 (pwritev64): Likewise.
1768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1769 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
1770 (LOAD_ARGS_0): Likewise.
1771 (LOAD_ARGS_1): Likewise.
1772 (LOAD_ARGS_2): Likewise.
1773 (LOAD_ARGS_3): Likewise.
1774 (LOAD_ARGS_4): Likewise.
1775 (LOAD_ARGS_5): Likewise.
1776 (LOAD_ARGS_6): Likewise.
1777 (LOAD_REGS_0): Likewise.
1778 (LOAD_REGS_1): Likewise.
1779 (LOAD_REGS_2): Likewise.
1780 (LOAD_REGS_3): Likewise.
1781 (LOAD_REGS_4): Likewise.
1782 (LOAD_REGS_5): Likewise.
1783 (LOAD_REGS_6): Likewise.
1784 (ASM_ARGS_0): Likewise.
1785 (ASM_ARGS_1): Likewise.
1786 (ASM_ARGS_2): Likewise.
1787 (ASM_ARGS_3): Likewise.
1788 (ASM_ARGS_4): Likewise.
1789 (ASM_ARGS_5): Likewise.
1790 (ASM_ARGS_6): Likewise.
1791 (LOAD_ARGS_TYPES_1): Likewise.
1792 (LOAD_ARGS_TYPES_2): Likewise.
1793 (LOAD_ARGS_TYPES_3): Likewise.
1794 (LOAD_ARGS_TYPES_4): Likewise.
1795 (LOAD_ARGS_TYPES_5): Likewise.
1796 (LOAD_ARGS_TYPES_6): Likewise.
1797 (LOAD_REGS_TYPES_1): Likewise.
1798 (LOAD_REGS_TYPES_2): Likewise.
1799 (LOAD_REGS_TYPES_3): Likewise.
1800 (LOAD_REGS_TYPES_4): Likewise.
1801 (LOAD_REGS_TYPES_5): Likewise.
1802 (LOAD_REGS_TYPES_6): Likewise.
1803 (TYPEFY): New define.
1805 (internal_syscall0): Likewise.
1806 (internal_syscall1): Likewise.
1807 (internal_syscall2): Likewise.
1808 (internal_syscall3): Likewise.
1809 (internal_syscall4): Likewise.
1810 (internal_syscall5): Likewise.
1811 (internal_syscall6): Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
1813 (INTERNAL_SYSCALL_NCS): Remove define.
1814 (internal_syscall1): Add define.
1816 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1818 * math/w_remainder_compat.c: Remove duplicate inclusion of
1820 * math/w_remainderf_compat.c: Likewise.
1821 * math/w_remainderl_compat.c: Likewise.
1823 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1827 2017-08-22 Joseph Myers <joseph@codesourcery.com>
1830 * math/tgmath.h (__floating_type): Simplify definitions.
1831 (__real_integer_type): New macro.
1832 (__complex_integer_type): Likewise.
1833 (__expr_is_real): Likewise.
1834 (__tgmath_real_type_sub): Update comment to describe handling of
1836 (__tgmath_complex_type_sub): New macro.
1837 (__tgmath_complex_type): Likewise.
1838 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1839 (__TGMATH_CF128): Use __expr_is_real.
1840 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
1842 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1843 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
1844 * math/gen-tgmath-tests.py (Type.create_type): Create complex
1847 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1849 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
1851 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
1853 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
1856 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
1857 nanosleep_not_cancel with __nanosleep_nocancel.
1858 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
1859 (__nanosleep_nocancel): New macro.
1860 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
1862 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
1864 (__nanosleep_nocancel): New prototype.
1866 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
1867 pause_not_cancel with __pause_nocancel.
1868 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
1869 (__pause_nocancel): New macro.
1870 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
1872 (__pause_nocancel): New prototype.
1873 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
1875 2017-08-22 Martin Sebor <msebor@redhat.com>
1877 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
1878 to return a pointer to the same type as the target function.
1880 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1884 * include/printf.h (__printf_fphex): Add attribute_hidden.
1885 (__guess_grouping): New prototype.
1886 * stdio-common/printf_fp.c (__guess_grouping): Removed.
1887 * stdio-common/reg-printf.c (__register_printf_specifier): Add
1888 libc_hidden_proto and libc_hidden_def.
1889 * stdlib/strfmon_l.c (__guess_grouping): Removed.
1890 (__vstrfmon_l): Remove the third argument passed to
1893 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1895 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
1896 definition for issignaling that does not rely on __MATH_TG,
1897 since __MATH_TG uses __builtin_types_compatible_p, which is only
1898 available in C mode.
1899 (CFLAGS-test-math-issignaling.cc): New variable.
1900 * math/Makefile [CXX] (tests): Add test-math-issignaling.
1901 * math/test-math-issignaling.cc: New test for C++ implementation
1902 of type-generic issignaling.
1903 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1904 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
1905 options of test-math-issignaling on powerpc64le.
1907 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1909 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1911 (hidden_proto): Likewise.
1912 (hidden_tls_proto): Likewise.
1913 (__hidden_proto): Likewise.
1915 2017-08-22 Florian Weimer <fweimer@redhat.com>
1917 math: Statically link tests of internal functionality.
1918 * math/Makefile (tests): Remove atest-exp, atest-sincos,
1920 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
1921 (gmp-objs): Remove assignment.
1922 (atest-exp, atest-sincos, atest-exp2): Remove targets.
1924 2017-08-22 Joseph Myers <joseph@codesourcery.com>
1927 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
1929 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
1931 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
1934 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
1935 variable definitions above inclusion of ../Rules.
1937 2017-08-21 Joseph Myers <joseph@codesourcery.com>
1939 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
1940 case calling __builtin_unreachable.
1942 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1944 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
1946 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
1947 (__waitpid_nocancel): New macro.
1948 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
1950 (__waitpid_nocancel): Replace macro with a function.
1951 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
1954 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
1956 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
1957 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
1959 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
1960 __writev_nocancel_nostatus.
1961 (write_call_graph): Likewise.
1962 (write_bb_counts): Likewise.
1963 * resolv/herror.c (herror): Likewise.
1964 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
1966 (__writev_nocancel_nostatus): New macro.
1967 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
1969 (__writev_nocancel_nostatus): New function.
1971 2017-08-21 Joseph Myers <joseph@codesourcery.com>
1974 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1976 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1978 (hidden_proto): Likewise.
1979 (hidden_tls_proto): Likewise.
1980 (__hidden_proto): Likewise.
1983 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
1984 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1993 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
1994 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1995 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1996 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1997 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1998 GLIBC_2.0 sqrtl symbol.
2000 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
2001 [__USE_MISC] (_LIB_VERSION): Likewise.
2002 [__USE_MISC] (struct exception): Likewise.
2003 [__USE_MISC] (matherr): Likewise.
2004 [__USE_MISC] (DOMAIN): Likewise.
2005 [__USE_MISC] (SING): Likewise.
2006 [__USE_MISC] (OVERFLOW): Likewise.
2007 [__USE_MISC] (UNDERFLOW): Likewise.
2008 [__USE_MISC] (TLOSS): Likewise.
2009 [__USE_MISC] (PLOSS): Likewise.
2010 [__USE_MISC] (HUGE): Likewise.
2011 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
2012 * math/math-svid-compat.h: New file.
2013 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
2015 * include/math.h [!_ISOMAC] (__matherr): Remove.
2016 * manual/arith.texi (FP Exceptions): Do not document matherr.
2017 * math/Makefile (tests): Change test-matherr to test-matherr-3.
2018 (tests-internal): New variable.
2019 (install-lib): Do not add libieee.a.
2020 (non-lib.a): Likewise.
2021 (extra-objs): Do not add libieee.a and ieee-math.o.
2022 (CPPFLAGS-s_lib_version.c): Remove variable.
2023 ($(objpfx)libieee.a): Remove rule.
2024 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
2025 * math/ieee-math.c: Remove.
2026 * math/libm-test-support.c (matherr): Remove.
2027 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
2028 and license notices. Include <math-svid-compat.h> and
2030 (matherr): Undefine as macro. Use compat_symbol_reference.
2031 (_LIB_VERSION): Likewise.
2032 * math/test-matherr-2.c: New file.
2033 * math/test-matherr-3.c: Likewise.
2034 * sysdeps/generic/math_private.h (__kernel_standard): Remove
2036 (__kernel_standard_f): Likewise.
2037 (__kernel_standard_l): Likewise.
2038 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
2039 <math_private.h>. Include <math-svid-compat.h>.
2040 (_LIB_VERSION): Undefine as macro.
2041 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
2042 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
2043 [LIBM_SVID_COMPAT], use compat_symbol.
2044 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
2045 <math_private.h>. Include <math-svid-compat.h>.
2046 (matherr): Undefine as macro.
2047 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
2049 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
2050 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
2051 compat_symbol_reference.
2052 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
2053 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
2054 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
2055 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
2056 (MATHERR_D): Remove declaration.
2057 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
2058 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
2059 [LIBM_BUILD] (pmatherrf): Likewise.
2060 [LIBM_BUILD] (pmatherr): Likewise.
2061 [LIBM_BUILD] (pmatherrl): Likewise.
2064 (OVERFLOW): Likewise.
2065 (UNDERFLOW): Likewise.
2068 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
2069 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
2071 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
2072 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
2074 * math/lgamma-compat.h: Include <math-svid-compat.h>.
2075 * math/w_acos_compat.c: Likewise.
2076 * math/w_acosf_compat.c: Likewise.
2077 * math/w_acosh_compat.c: Likewise.
2078 * math/w_acoshf_compat.c: Likewise.
2079 * math/w_acoshl_compat.c: Likewise.
2080 * math/w_acosl_compat.c: Likewise.
2081 * math/w_asin_compat.c: Likewise.
2082 * math/w_asinf_compat.c: Likewise.
2083 * math/w_asinl_compat.c: Likewise.
2084 * math/w_atan2_compat.c: Likewise.
2085 * math/w_atan2f_compat.c: Likewise.
2086 * math/w_atan2l_compat.c: Likewise.
2087 * math/w_atanh_compat.c: Likewise.
2088 * math/w_atanhf_compat.c: Likewise.
2089 * math/w_atanhl_compat.c: Likewise.
2090 * math/w_cosh_compat.c: Likewise.
2091 * math/w_coshf_compat.c: Likewise.
2092 * math/w_coshl_compat.c: Likewise.
2093 * math/w_exp10_compat.c: Likewise.
2094 * math/w_exp10f_compat.c: Likewise.
2095 * math/w_exp10l_compat.c: Likewise.
2096 * math/w_exp2_compat.c: Likewise.
2097 * math/w_exp2f_compat.c: Likewise.
2098 * math/w_exp2l_compat.c: Likewise.
2099 * math/w_fmod_compat.c: Likewise.
2100 * math/w_fmodf_compat.c: Likewise.
2101 * math/w_fmodl_compat.c: Likewise.
2102 * math/w_hypot_compat.c: Likewise.
2103 * math/w_hypotf_compat.c: Likewise.
2104 * math/w_hypotl_compat.c: Likewise.
2105 * math/w_j0_compat.c: Likewise.
2106 * math/w_j0f_compat.c: Likewise.
2107 * math/w_j0l_compat.c: Likewise.
2108 * math/w_j1_compat.c: Likewise.
2109 * math/w_j1f_compat.c: Likewise.
2110 * math/w_j1l_compat.c: Likewise.
2111 * math/w_jn_compat.c: Likewise.
2112 * math/w_jnf_compat.c: Likewise.
2113 * math/w_jnl_compat.c: Likewise.
2114 * math/w_lgamma_main.c: Likewise.
2115 * math/w_lgamma_r_compat.c: Likewise.
2116 * math/w_lgammaf_main.c: Likewise.
2117 * math/w_lgammaf_r_compat.c: Likewise.
2118 * math/w_lgammal_main.c: Likewise.
2119 * math/w_lgammal_r_compat.c: Likewise.
2120 * math/w_log10_compat.c: Likewise.
2121 * math/w_log10f_compat.c: Likewise.
2122 * math/w_log10l_compat.c: Likewise.
2123 * math/w_log2_compat.c: Likewise.
2124 * math/w_log2f_compat.c: Likewise.
2125 * math/w_log2l_compat.c: Likewise.
2126 * math/w_log_compat.c: Likewise.
2127 * math/w_logf_compat.c: Likewise.
2128 * math/w_logl_compat.c: Likewise.
2129 * math/w_pow_compat.c: Likewise.
2130 * math/w_powf_compat.c: Likewise.
2131 * math/w_powl_compat.c: Likewise.
2132 * math/w_remainder_compat.c: Likewise.
2133 * math/w_remainderf_compat.c: Likewise.
2134 * math/w_remainderl_compat.c: Likewise.
2135 * math/w_scalb_compat.c: Likewise.
2136 * math/w_scalbf_compat.c: Likewise.
2137 * math/w_scalbl_compat.c: Likewise.
2138 * math/w_sinh_compat.c: Likewise.
2139 * math/w_sinhf_compat.c: Likewise.
2140 * math/w_sinhl_compat.c: Likewise.
2141 * math/w_sqrt_compat.c: Likewise.
2142 * math/w_sqrtf_compat.c: Likewise.
2143 * math/w_sqrtl_compat.c: Likewise.
2144 * math/w_tgamma_compat.c: Likewise.
2145 * math/w_tgammaf_compat.c: Likewise.
2146 * math/w_tgammal_compat.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2148 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2149 * sysdeps/ieee754/k_standard.c: Likewise.
2150 * sysdeps/ieee754/k_standardf.c: Likewise.
2151 * sysdeps/ieee754/k_standardl.c: Likewise.
2152 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2153 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2154 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2156 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2157 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2158 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2159 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2160 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2165 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2166 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2167 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2168 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2170 2017-08-21 Florian Weimer <fweimer@redhat.com>
2173 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
2174 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
2175 Move before inclusion of ../Rules.
2177 2017-08-21 Florian Weimer <fweimer@redhat.com>
2180 * assert/assert.h (assert): Use static_cast (bool) for C++.
2181 Use the ternary operator in the warning branch for GNU C.
2182 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
2183 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
2184 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
2185 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
2186 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
2188 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2191 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2192 (__syscall_clock_gettime): Add attribute_hidden.
2193 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
2194 (__start_context): Likewise.
2196 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2198 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2200 (hidden_proto): Likewise.
2201 (hidden_tls_proto): Likewise.
2202 (__hidden_proto): Likewise.
2204 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2206 * include/libc-symbols.h (attribute_hidden): Enable hidden
2207 visibility in libc.a compiled with PIE.
2209 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2212 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
2213 Add attribute_hidden.
2215 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2218 * Makerules (all-nonlib): Add $(others-extras).
2219 * catgets/Makefile (others-extras): New.
2220 * elf/Makefile (others-extras): Likewise.
2221 * nss/Makefile (others-extras): Likewise.
2223 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2226 * csu/libc-start.c (__libc_multiple_libcs): Removed.
2227 * elf/dl-open.c: Include <libc-internal.h>.
2228 (__libc_multiple_libcs): Removed.
2229 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
2231 * include/libc-internal.h (__libc_multiple_libcs): New.
2232 * misc/sbrk.c: Include <libc-internal.h>.
2233 (__libc_multiple_libcs): Removed.
2235 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2238 * grp/initgroups.c (__nss_group_database): Removed.
2239 (__nss_initgroups_database): Likewise.
2240 * nscd/gai.c (__nss_hosts_database): Likewise.
2241 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2242 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
2243 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
2244 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
2245 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
2246 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
2248 * nss/nsswitch.c (__nss_database_custom): Define only if
2249 USE_NSCD is defined.
2250 (__nss_configure_lookup): Use __nss_database_custom only if
2251 USE_NSCD is defined.
2252 * nss/nsswitch.h (__nss_database_custom): Declare only if
2253 USE_NSCD is defined. Add attribute_hidden.
2254 (__nss_setent): Add attribute_hidden.
2255 (__nss_endent): Likewise.
2256 (__nss_getent_r): Likewise.
2257 (__nss_getent): Likewise.
2258 (DEFINE_DATABASE): Declare __nss_##arg##_database.
2260 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2263 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
2264 libc_hidden_proto and libc_hidden_def.
2266 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2269 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
2270 Add libc_hidden_proto.
2271 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
2272 Add libc_hidden_def.
2274 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2277 * gmon/Makefile (routines): Remove bb_init_func and
2279 (elide-routines.os): Removed.
2280 * gmon/bb_exit_func.c: Likewise.
2281 * gmon/bb_init_func.c: Likewise.
2282 * include/sys/gmon.h (__bb): Likewise.
2283 (__bb_init_func): Likewise.
2284 (__bb_exit_func): Likewise.
2285 * sysdeps/alpha/bb_init_func.S: Likewise.
2287 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2289 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
2290 * include/setjmp.h (____longjmp_chk): Here. Add
2293 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
2296 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
2298 (__strspn_sse2): Likewise.
2300 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2302 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
2303 (close_not_cancel_no_status): Likewise.
2304 (__close_nocancel): New macro.
2305 (__close_nocancel_nostatus): Likewise.
2306 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
2308 (close_not_cancel): Likewise.
2309 (close_not_cancel_no_status): Likewise.
2310 (__close_nocancel): New prototype.
2311 (__close_nocancel_nostatus): New function.
2312 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
2313 * catgets/open_catalog.c (__open_catalog): Replace
2314 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
2315 * gmon/gmon.c (write_gmon): Likewise.
2316 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2317 * intl/loadmsgcat.c (close): Likewise.
2318 * io/ftw.c (open_dir_stream): Likewise.
2319 (ftw_startup): Likewise.
2320 * libio/fileops.c (_IO_file_open): Likewise.
2321 (_IO_file_close_mmap): Likewise.
2322 (_IO_file_close): Likewise.
2323 * libio/iopopen.c (_IO_dup2): Likewise.
2324 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2325 * locale/loadlocale.c (_nl_load_locale): Likewise.
2326 * login/utmp_file.c (pututline_file): Likewise.
2327 (endutent_file): Likewise.
2328 * misc/daemon.c (daemon): Likewise.
2329 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2330 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2331 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2332 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2333 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2334 * nscd/nscd_helper.c (open_socket): Likewise.
2335 (__nscd_open_socket): Likewise.
2336 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2337 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
2338 (__nscd_innetgr): Likewise.
2339 * nss/nss_db/db-open.c (internal_setent): Likewise.
2340 * resolv/res-close.c (__res_iclose): Likewise.
2341 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
2342 * sysdeps/posix/closedir.c (__closedir): Likewise.
2343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2344 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2345 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2346 (opendir_tail): Likewise.
2347 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2348 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
2349 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2350 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2351 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2352 (gethostid): Likewise.
2353 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2356 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2357 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
2358 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2359 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2361 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
2362 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
2363 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2365 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
2366 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2368 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2370 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2371 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2372 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2375 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
2376 (openat_not_cancel_3): Likewise.
2377 (openat64_not_cancel_3): Likewise).
2378 (openat_not_cancel_3): Likewise).
2379 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
2381 (openat_not_cancel_3): Likewise.
2382 (openat64_not_cancel): Likewise.
2383 (openat64_not_cancel_3): Likewise.
2384 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
2385 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
2386 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
2387 __open{64}_nocancel.
2388 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2389 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2390 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2392 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2395 * include/argz.h (__argz_create_sep): New function prototype.
2396 (__argz_append): Likewise.
2397 (__argz_add): Likewise.
2398 (__argz_add_sep): Likewise.
2399 (__argz_delete): Likewise.
2400 (__argz_insert): Likewise.
2401 (__argz_replace): Likewise.
2402 * string/argz.h (__argz_create_sep): Removed.
2403 (__argz_append): Likewise.
2404 (__argz_add): Likewise.
2405 (__argz_add_sep): Likewise.
2406 (__argz_delete): Likewise.
2407 (__argz_insert): Likewise.
2408 (__argz_replace): Likewise.
2410 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2412 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
2413 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
2414 (GNU_PROPERTY_STACK_SIZE): Likewie.
2415 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
2416 (GNU_PROPERTY_LOPROC): Likewise.
2417 (GNU_PROPERTY_HIPROC): Likewise.
2418 (GNU_PROPERTY_LOUSER): Likewise.
2419 (GNU_PROPERTY_HIUSER): Likewise.
2420 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
2421 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
2422 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
2423 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
2424 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
2425 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
2426 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
2427 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
2428 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
2429 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
2430 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
2431 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
2432 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
2433 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
2434 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
2435 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
2436 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
2437 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
2438 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
2439 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
2440 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
2441 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
2442 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
2444 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2446 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
2449 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2452 * math/math.h (isinf): Check if in C or C++ mode before using
2453 __builtin_types_compatible_p, since this is a C mode feature.
2455 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2457 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
2458 (__write_nocancel): New macro.
2459 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
2460 Rewrite as a function prototype.
2461 (write_not_cancel): Remove macro.
2462 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
2463 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
2464 (write_gmon): Likewise.
2465 * libio/fileops.c (_IO_new_file_write): Likewise.
2466 * login/utmp_file.c (pututline_file): Likewise.
2467 (updwtmp_file): Likewise.
2468 * stdio-common/psiginfo.c (psiginfo): Likewise.
2469 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2470 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2471 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2473 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2476 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
2477 (__read_nocancel): New macro.
2478 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2480 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
2482 (__read_nocancel): New prototype.
2483 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
2484 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
2485 with __read_nocancel.
2486 * intl/loadmsgcat.c (read): Likewise.
2487 * libio/fileops.c (_IO_file_read): Likewise.
2488 * locale/loadlocale.c (_nl_load_locale): Likewise.
2489 * login/utmp_file.c (getutent_r_file): Likewise.
2490 (internal_getut_r): Likewise.
2491 (getutline_r_file): Likewise.
2492 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2493 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2494 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2495 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2497 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
2498 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2499 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2501 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2503 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2505 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2507 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2509 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2512 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
2513 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
2516 2017-08-17 DJ Delorie <dj@redhat.com>
2518 * bug17079.c: Update to new test harness.
2519 * test-digits-dots.c: Likewise.
2520 * test-netdb.c: Likewise.
2521 * tst-field.c: Likewise.
2522 * tst-nss-getpwent.c: Likewise.
2523 * tst-nss-static.c: Likewise.
2524 * tst-nss-test1.c: Likewise.
2525 * tst-nss-test2.c: Likewise.
2526 * tst-nss-test3.c: Likewise.
2527 * tst-nss-test4.c: Likewise.
2528 * tst-nss-test5.c: Likewise.
2530 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2532 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
2533 (open_not_cancel_2): Likewise.
2534 (open_nocancel): New macro.
2535 (open64_nocancel): Likewise.
2536 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
2537 (open_not_cancel_2): Likewise.
2538 (__open_nocancel): New prototype.
2539 (__open64_nocancel): Likewise.
2540 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2542 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
2543 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
2544 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
2545 with __open_nocancel.
2546 * csu/check_fds.c (check_one_fd): Likewise.
2547 * gmon/gmon.c (write_gmon): Likewise.
2548 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
2549 * intl/loadmsgcat.c (open): Likewise.
2550 * libio/fileops.c (_IO_file_open): Likewise.
2551 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2552 * locale/loadlocale.c (_nl_load_locale): Likewise.
2553 * login/utmp_file.c (setutent_file): Likewise.
2554 * misc/daemon.c (daemon): Likewise.
2555 * nss/nss_db/db-open.c (internal_setent): Likewise.
2556 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2557 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
2558 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2559 (__opendir): Likewise.
2560 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2561 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2562 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2563 (gethostid): Likewise.
2564 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2567 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2568 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
2569 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2570 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2572 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2574 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2576 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2578 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2580 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2582 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2583 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2585 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
2587 * benchtests/bench-skeleton.c (main): Add support for
2588 latency benchmarking.
2589 * benchtests/scripts/bench.py: Add support for latency benchmarking.
2591 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
2593 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
2596 2017-08-17 Florian Weimer <fweimer@redhat.com>
2598 * include/sys/socket.h (__opensock): Remove internal_function.
2599 * socket/opensock.c (__opensock): Likewise.
2600 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
2602 2017-08-16 Joseph Myers <joseph@codesourcery.com>
2605 * signal/bits/types/__sigval_t.h: New file.
2606 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
2607 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
2608 and define sigval_t using __sigval_t.
2609 * include/bits/types/__sigval_t.h: New file.
2610 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
2611 instead of <bits/types/__sigval_t.h>.
2612 (struct sigevent): Use __sigval_t instead of sigval_t.
2613 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
2614 instead of <bits/types/__sigval_t.h>.
2615 (siginfo_t): Use __sigval_t instead of sigval_t.
2616 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
2617 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2618 (struct sigevent): Use __sigval_t instead of sigval_t.
2619 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
2620 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2621 (siginfo_t): Use __sigval_t instead of sigval_t.
2622 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
2624 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2626 * NEWS: Remove "[Add new features here]" for 2.27.
2628 2017-08-16 Joseph Myers <joseph@codesourcery.com>
2630 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
2633 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2635 * NEWS: Mention x86-64 FMA optimization.
2637 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2640 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2642 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
2643 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
2644 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
2646 2017-08-16 Andreas Schwab <schwab@suse.de>
2650 * elf/ldd.bash.in: Never run file directly.
2652 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
2655 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
2656 (L(SP_INF_0)): Likewise.
2658 2017-08-15 Florian Weimer <fweimer@redhat.com>
2660 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
2663 2017-08-15 Florian Weimer <fweimer@redhat.com>
2665 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
2666 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
2667 BROKEN_THREAD_SIGNALS code.
2668 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
2669 request_list): Remove caller_pid member used for
2670 BROKEN_THREAD_SIGNALS.
2671 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
2672 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2673 Remove BROKEN_THREAD_SIGNALS support.
2674 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2675 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
2677 2017-08-15 Florian Weimer <fweimer@redhat.com>
2679 * gmon/Makefile (tests): Add tst-gmon.
2680 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
2682 (tests-special): Add tst-gmon-prof.out.
2683 (tst-gmon.out): Depend on clean-tst-gmon-data.
2684 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
2685 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
2686 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
2688 * aclocal.m4 (GPROF): Set and substitute.
2689 * config.amke.in (GPROF): Set.
2690 * configure: Regenerate.
2692 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
2694 * elf/elf.h A (NT_PPC_TAR): New macro.
2695 (NT_PPC_PPR): Likewise.
2696 (NT_PPC_DSCR): Likewise.
2697 (NT_PPC_EBB): Likewise.
2698 (NT_PPC_PMU): Likewise.
2699 (NT_PPC_TM_CGPR): Likewise.
2700 (NT_PPC_TM_CFPR): Likewise.
2701 (NT_PPC_TM_CVMX): Likewise.
2702 (NT_PPC_TM_CVSX): Likewise.
2703 (NT_PPC_TM_SPR): Likewise.
2704 (NT_PPC_TM_CTAR): Likewise.
2705 (NT_PPC_TM_CPPR): Likewise.
2706 (NT_PPC_TM_CDSCR): Likewise.
2708 2017-08-15 Florian Weimer <fweimer@redhat.com>
2710 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
2711 regparm (2) instead of internal_function.
2712 (_MCOUNT_DECL): Adjust.
2714 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2716 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
2717 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2719 2017-08-14 Joseph Myers <joseph@codesourcery.com>
2721 * conform/data/sys/wait.h-data (si_value): Do not expect for
2724 2017-08-14 Florian Weimer <fweimer@redhat.com>
2727 NSS: Create stubs for accidentally exported lookup functions.
2728 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
2730 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
2731 (ether_hostton): Call __nss_ethers_lookup2 instead.
2732 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
2733 (ether_ntohost): Call __nss_ethers_lookup2 instead.
2734 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
2735 (setup): Call __nss_netgroup_lookup2 instead.
2736 * nss/Makefile (routines): Add compat-lookup.
2737 * nss/Versions (GLIBC_2.27): Add symbol version.
2738 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
2739 (DB_COMPAT_FCT): Remove.
2740 * nss/compat-lookup.c: New file.
2741 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
2743 * nss/service-lookup.c (NO_COMPAT): Remove definition.
2744 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
2745 (netname2user): Call __nss_publickey_lookup2 instead.
2746 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
2747 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
2750 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2751 Sergei Trofimovich <slyfox@inbox.ru>
2754 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
2755 Rename to MMAP2_PAGE_UNIT.
2756 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
2757 __OFF_T_MATCHES_OFF64_T is not defined.
2758 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
2760 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
2761 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
2763 2017-08-14 Florian Weimer <fweimer@redhat.com>
2765 i386: Do not set internal_function.
2766 * config.h.in (USE_REGPARMS, internal_function): Remove.
2767 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
2768 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
2770 2017-08-14 Florian Weimer <fweimer@redhat.com>
2772 * elf/dl-init.c (_dl_init): Remove internal_function.
2773 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
2774 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
2776 2017-08-14 Florian Weimer <fweimer@redhat.com>
2778 * elf/rtld.c (_dl_start): Remove internal_function.
2779 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
2782 2017-08-14 Florian Weimer <fweimer@redhat.com>
2784 * elf/dl-fini.c (_dl_fini): Remove internal_function
2785 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2787 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
2789 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
2790 (bit_cpu_SHSTK): Likewise.
2791 (index_cpu_IBT): Likewise.
2792 (index_cpu_SHSTK): Likewise.
2793 (reg_IBT): Likewise.
2794 (reg_SHSTK): Likewise.
2795 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2796 Handle index_cpu_IBT and index_cpu_SHSTK.
2798 2017-08-14 Mike FABIAN <mfabian@redhat.com>
2801 * po/fr.po: Fix spelling mistake.
2803 2017-08-13 Florian Weimer <fweimer@redhat.com>
2805 * elf/dl-addr.c (_dl_addr): Remove internal_function.
2806 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
2807 (_dl_catch_error, _dl_receive_error): Likewise.
2808 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
2809 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
2810 (_dl_deallocate_tls): Likewise.
2811 * include/dlfcn.h (_dl_addr): Likewise.
2812 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
2813 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
2814 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
2817 2017-08-13 Florian Weimer <fweimer@redhat.com>
2819 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
2820 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
2822 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
2824 2017-08-13 Florian Weimer <fweimer@redhat.com>
2826 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
2828 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
2829 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
2830 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
2831 internal_function from _dl_make_stack_executable_hook member.
2832 (_dl_make_stack_executable): Remove internal_function.
2833 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
2835 * sysdeps/unix/sysv/linux/dl-execstack.c
2836 (_dl_make_stack_executable): Likewise.
2838 2017-08-13 Florian Weimer <fweimer@redhat.com>
2840 * sysdeps/unix/sysv/linux/netlinkaccess.h
2841 (__netlink_assert_response): Remove internal_function.
2842 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2843 (__netlink_assert_response): Likewise.
2845 2017-08-13 Florian Weimer <fweimer@redhat.com>
2847 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
2849 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
2851 2017-08-13 Florian Weimer <fweimer@redhat.com>
2853 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
2855 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
2856 * inet/netgroup.h (__internal_setnetgrent)
2857 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2858 * inet/getnetgrent_r.c (__internal_setnetgrent)
2859 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2860 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
2861 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
2862 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
2863 * nss/nsswitch.h (db_lookup_function): Likewise.
2865 2017-08-13 Florian Weimer <fweimer@redhat.com>
2867 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
2868 Remove internal_function.
2869 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
2870 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
2871 message argument on the stack.
2872 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
2875 2017-08-12 Mike FABIAN <mfabian@redhat.com>
2877 Adapt test case data to the changes in the thousands
2881 * localedata/tst-langinfo.sh: Adapt test case data.
2882 * stdlib/tst-strfmon_l.c: Likewise.
2883 * stdlib/tst-strtod4.c: Likewise.
2884 * stdlib/tst-strtod5i.c: Likewise.
2886 2017-08-11 Florian Weimer <fweimer@redhat.com>
2889 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
2890 Suppress pedantic warning resulting from statement expression.
2891 (__ASSERT_FUNCTION): Add missing __extension__.
2893 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
2895 * benchtests/bench-memmove-large.c: Print output in JSON
2897 * benchtests/bench-memmove.c: Likewise.
2899 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
2900 * benchtests/bench-memchr.c (do_one_test): Likewise.
2901 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
2902 * benchtests/bench-memcpy.c (do_one_test): Likewise.
2903 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
2904 * benchtests/bench-memmove.c (do_one_test): Likewise.
2905 * benchtests/bench-memset-large.c (do_one_test): Likewise.
2906 * benchtests/bench-memset.c (do_one_test): Likewise.
2907 * benchtests/bench-string.h (test_init): Remove memsets.
2909 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
2912 (Computing the Width of an Integer Data Type): Rename section to
2913 "Width of an Integer Type". Remove inaccurate statement regarding
2914 lack of C language facilities for determining width of integer
2915 types, and reorder content to improve flow and context of
2918 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
2920 * lang.texi (va_copy): Change standard from ISO to C99.
2921 (__va_copy): Add standard and header annotation.
2922 Update description for clarity of origins and current use.
2924 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2927 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
2928 xssqrtqp requires operands to be in Vector Registers
2929 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
2930 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
2931 (__ieee754_sqrtf128): Likewise.
2933 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
2935 * sysdeps/aarch64/memcmp.S (memcmp):
2936 Rewrite of optimized memcmp.
2938 2017-08-10 Florian Weimer <fweimer@redhat.com>
2940 Introduce ld.so exceptions.
2941 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
2942 (_dl_exception_create, _dl_exception_create_format)
2943 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
2944 (_dl_catch_exception): Declare.
2945 (_dl_catch_error): Update comment.
2946 * elf/dl-error-skeleton.c (struct catch): Replace objname,
2947 errstring, malloced members with exception member.
2948 (_dl_out_of_memory): Remove.
2949 (fatal_error): New function, extracted from _dl_signal_error.
2950 (_dl_signal_exception, _dl_signal_cexception): New functions.
2951 (_dl_signal_error): Call _dl_exception_create to allocate an
2953 (_dl_catch_exception): New function, based on _dl_catch_error.
2954 (_dl_catch_error): Implement using _dl_catch_exception.
2955 * elf/dl-exception.c: New file.
2956 * elf/Makefile (dl-routines): Add dl-exception.
2957 (elide-routines.os): Likewise.
2958 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
2959 _dl_exception_create_format, _dl_exception_free.
2960 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
2961 _dl_signal_exception.
2962 * elf/dl-lookup.c (make_string): Remove.
2963 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
2964 _dl_signal_cexception, _dl_exception_free.
2965 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
2966 _dl_signal_exception.
2967 * elf/dl-sym.c (do_sym): Likewise.
2968 * elf/dl-version.c (make_string): Remove.
2969 (match_symbol): Use _dl_exception_create_format,
2970 _dl_signal_cexception, _dl_exception_free.
2971 (_dl_check_map_versions): Likewise.
2972 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
2973 _dl_catch_exception.
2974 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2975 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2976 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2977 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2978 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2979 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2980 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2981 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2983 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2990 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2991 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2992 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2994 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2996 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2998 2017-08-10 Florian Weimer <fweimer@redhat.com>
3000 * inet/net-internal.h (__inet6_scopeid_pton): Remove
3001 attribute_hidden, internal_function.
3002 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
3005 2017-08-10 Florian Weimer <fweimer@redhat.com>
3007 * malloc/malloc.c (get_max_fast): Reimplement as an inline
3008 function which calls __builtin_unreachable.
3010 2017-08-10 Mike FABIAN <mfabian@redhat.com>
3012 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
3013 Indian monetary formatting
3014 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
3017 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
3019 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
3020 Fix typo in comment.
3023 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
3024 PTRACE_SEIZE_DEVEL): Remove.
3025 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3026 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3027 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3028 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3029 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3031 2017-08-09 Joseph Myers <joseph@codesourcery.com>
3033 * posix/bits/types.h (__qaddr_t): Remove.
3036 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
3037 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3039 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
3040 (ucontext_t): Use __ctx with uc_flags.
3041 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
3043 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3045 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
3046 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3048 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
3049 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3051 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
3053 (ucontext_t): Use __ctx with uc_flags.
3054 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
3055 (ucontext_t): Use __ctx with uc_flags.
3056 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
3057 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
3058 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
3059 (ucontext_t): Use __ctx with uc_flags.
3060 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
3061 undefine further down.
3062 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3064 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
3065 undefine further down.
3066 (ucontext_t): Use __ctx with uc_flags.
3067 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
3068 undefine further down.
3069 (ucontext_t): Use __ctx with uc_flags.
3070 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
3071 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
3072 Rename uc_pad to __glibc_reserved1.
3073 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
3074 undefine further down.
3075 (ucontext_t): Use __ctx with uc_flags.
3076 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
3078 (ucontext_t): Use __ctx with uc_flags.
3079 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
3080 __ctx with uc_flags.
3081 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
3082 (ucontext_t): Use __ctx with uc_flags.
3083 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
3084 __ctx with uc_flags.
3086 2017-08-09 Florian Weimer <fweimer@redhat.com>
3089 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
3090 before early return.
3092 2017-08-09 Andreas Schwab <schwab@suse.de>
3095 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
3099 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
3100 tst-compat-forwarder.
3101 (modules-names): Add tst-compat-forwarder-mod.
3102 ($(objpfx)tst-compat-forwarder): Depend on
3103 $(objpfx)tst-compat-forwarder-mod.so.
3104 * nptl/tst-compat-forwarder.c: New file.
3105 * nptl/tst-compat-forwarder-mod.c: New file.
3107 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3109 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
3112 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
3113 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3115 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
3117 (__libc_ifunc_impl_list): Add __memcpy_falkor.
3118 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3119 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
3120 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3122 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
3125 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3128 * manual/setjmp.texi (getcontex): Document uc_stack value
3129 compatibility differences.
3131 2017-08-08 Joseph Myers <joseph@codesourcery.com>
3133 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
3134 (old_malloc_hook): Likewise.
3135 (old_memalign_hook): Likewise.
3136 (old_realloc_hook): Likewise.
3137 (struct hdr): Likewise.
3139 (freehook): Likewise.
3140 (mallochook): Likewise.
3141 (memalignhook): Likewise.
3142 (reallochook): Likewise.
3144 * malloc/mtrace.c (mallwatch): Likewise.
3145 (tr_old_free_hook): Likewise.
3146 (tr_old_malloc_hook): Likewise.
3147 (tr_old_realloc_hook): Likewise.
3148 (tr_old_memalign_hook): Likewise.
3149 (tr_where): Likewise.
3150 (lock_and_info): Likewise.
3151 (tr_freehook): Likewise.
3152 (tr_mallochook): Likewise.
3153 (tr_reallochook): Likewise.
3154 (tr_memalignhook): Likewise.
3155 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
3156 * misc/mmap.c (__mmap): Likewise.
3157 * misc/mmap64.c (__mmap64): Likewise.
3158 * misc/mprotect.c (__mprotect): Likewise.
3159 * misc/msync.c (msync): Likewise.
3160 * misc/munmap.c (__munmap): Likewise.
3161 * posix/posix_madvise.c (posix_madvise): Likewise.
3162 * socket/send.c (__send): Likewise.
3163 * socket/sendto.c (__sendto): Likewise.
3164 * socket/setsockopt.c (__setsockopt): Likewise.
3165 * string/memcmp.c (__ptr_t): Remove macro.
3166 (MEMCMP): Use void * instead of ptr_t.
3167 * string/memrchr.c (__ptr_t): Remove macro.
3168 (__memrchr): Use void * instead of ptr_t.
3169 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
3170 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3171 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3172 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
3173 * sysdeps/mach/msync.c (msync): Likewise.
3174 * sysdeps/mach/munmap.c (__munmap): Likewise.
3175 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
3177 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3178 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
3179 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
3180 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
3181 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3182 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3183 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
3184 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
3186 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3187 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
3188 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
3189 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
3190 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
3191 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
3192 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
3193 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
3194 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
3196 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
3197 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
3198 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
3199 (MEMCMP): Use void * instead of ptr_t.
3200 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
3201 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
3203 2017-08-08 Florian Weimer <fweimer@redhat.com>
3205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
3208 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
3211 * csu/libc-tls.c: Include <startup.h> first.
3212 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
3213 * elf/dl-tunables.c: Include <startup.h> first.
3214 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
3215 * sysdeps/generic/startup.h: New file.
3216 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
3217 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
3218 (I386_USE_SYSENTER): New. Defined to 0.
3220 2017-08-08 Andreas Schwab <schwab@suse.de>
3223 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
3224 * nptl/pt-system.c (system): Likewise.
3226 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3229 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
3231 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
3232 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
3233 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
3234 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
3235 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3236 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3237 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3239 2017-08-07 Joseph Myers <joseph@codesourcery.com>
3242 * bits/sigaction.h (struct sigaction): Define sa_handler and
3243 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
3244 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3245 [__USE_XOPEN_EXTENDED].
3246 (SA_RESTART): Likewise.
3247 (SA_NODEFER): Likewise.
3248 (SA_RESETHAND): Likewise.
3249 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
3250 (struct sigaction): Define sa_handler and sa_sigaction using union
3251 also for [__USE_XOPEN_EXTENDED].
3252 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3253 [__USE_XOPEN_EXTENDED].
3254 (SA_RESTART): Likewise.
3255 (SA_NODEFER): Likewise.
3256 (SA_RESETHAND): Likewise.
3257 * sysdeps/unix/sysv/linux/bits/sigaction.h
3258 (struct sigaction): Define sa_handler and sa_sigaction using union
3259 also for [__USE_XOPEN_EXTENDED].
3260 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3261 [__USE_XOPEN_EXTENDED].
3262 (SA_RESTART): Likewise.
3263 (SA_NODEFER): Likewise.
3264 (SA_RESETHAND): Likewise.
3265 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
3266 (struct sigaction): Define sa_handler and sa_sigaction using union
3267 also for [__USE_XOPEN_EXTENDED].
3268 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3269 [__USE_XOPEN_EXTENDED].
3270 (SA_RESTART): Likewise.
3271 (SA_NODEFER): Likewise.
3272 (SA_RESETHAND): Likewise.
3273 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
3274 (struct sigaction): Define sa_handler and sa_sigaction using union
3275 also for [__USE_XOPEN_EXTENDED].
3276 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3277 [__USE_XOPEN_EXTENDED].
3278 (SA_RESTART): Likewise.
3279 (SA_NODEFER): Likewise.
3280 (SA_RESETHAND): Likewise.
3281 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3282 (struct sigaction): Define sa_handler and sa_sigaction using union
3283 also for [__USE_XOPEN_EXTENDED].
3284 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3285 [__USE_XOPEN_EXTENDED].
3286 (SA_RESTART): Likewise.
3287 (SA_NODEFER): Likewise.
3288 (SA_RESETHAND): Likewise.
3289 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3290 (struct sigaction): Define sa_handler and sa_sigaction using union
3291 also for [__USE_XOPEN_EXTENDED].
3292 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3293 [__USE_XOPEN_EXTENDED].
3294 (SA_RESTART): Likewise.
3295 (SA_NODEFER): Likewise.
3296 (SA_RESETHAND): Likewise.
3297 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3298 (struct sigaction): Define sa_handler and sa_sigaction using union
3299 also for [__USE_XOPEN_EXTENDED].
3300 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3301 [__USE_XOPEN_EXTENDED].
3302 (SA_RESTART): Likewise.
3303 (SA_NODEFER): Likewise. Define directly rather than as alias.
3304 (SA_RESETHAND): Likewise.
3305 (SA_INTERRUPT): Define only for [__USE_MISC].
3306 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
3307 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
3309 (SA_STACK): Define only for [__USE_MISC].
3310 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
3311 (struct sigaction): Define sa_handler and sa_sigaction using union
3312 also for [__USE_XOPEN_EXTENDED].
3313 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3314 [__USE_XOPEN_EXTENDED].
3315 (SA_RESTART): Likewise.
3316 (SA_NODEFER): Likewise.
3317 (SA_RESETHAND): Likewise.
3318 (SA_NOPTRACE): Define only for [__USE_MISC].
3320 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
3321 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
3322 (struct catalog_info): Likewise.
3323 * inet/htontest.c (lo): Likewise.
3325 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3326 * inet/inet_net.c (inet_network): Likewise.
3327 * inet/inet_netof.c (inet_netof): Likewise.
3328 * inet/rcmd.c (__ivaliduser): Likewise.
3329 (iruserok): Likewise.
3330 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
3331 * locale/programs/locale-spec.c (locale_special): Likewise.
3332 * nis/nis_findserv.c (struct findserv_req): Likewise.
3333 (__nis_findfastest_with_timeout): Likewise.
3334 * nss/test-netdb.c (test_network): Likewise.
3335 * resolv/inet_neta.c (inet_neta): Likewise.
3336 * resolv/ns_date.c (ns_datetosecs): Likewise.
3337 (SECS_PER_DAY): Likewise.
3338 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
3340 * resolv/res_comp.c (__putlong): Likewise.
3341 (__putshort): Likewise.
3342 (_getlong): Likewise.
3343 (_getshort): Likewise.
3344 * resolv/res_debug.c (p_time): Likewise.
3345 (precsize_ntoa): Likewise.
3346 (precsize_aton): Likewise.
3347 (latlon2ul): Likewise.
3348 (loc_aton): Likewise.
3349 (loc_ntoa): Likewise.
3350 * resolv/res_hconf.c (struct netaddr): Likewise.
3351 (_res_hconf_reorder_addrs): Likewise.
3352 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3353 (clnttcp_control): Likewise.
3354 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3355 (clntudp_control): Likewise.
3356 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3357 (clntunix_control): Likewise.
3358 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3359 * sunrpc/rpc/auth.h (union des_block): Likewise.
3360 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
3361 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
3362 (xdrrec_create): Likewise.
3363 (xdrrec_endofrecord): Likewise.
3364 (flush_out): Likewise.
3365 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
3366 (xdrstdio_putlong): Likewise.
3367 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
3370 * misc/sys/cdefs.h (__long_double_t): Remove.
3371 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
3372 instead of __long_double_t,
3373 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
3375 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3377 * benchtests/scripts/compare_strings.py: Avoid display error when
3378 running on a text terminal.
3380 * benchtests/scripts/compare_strings.py (main): Add an
3381 optional -base option.
3382 (process_results): New argument base_func.
3384 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
3386 * benchtests/bench-memcpy-large.c (test_name): Likewise.
3387 * benchtests/bench-memcpy-random.c (test_name): Likewise.
3389 2017-08-07 Andreas Schwab <schwab@suse.de>
3391 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
3392 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3393 * intl/Makefile ($(objpfx)tst-gettext.out)
3394 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
3395 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
3396 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3397 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3398 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
3399 * posix/Makefile ($(objpfx)globtest.out)
3400 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
3401 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
3402 ($(objpfx)tst-printf.out): Likewise.
3403 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
3404 ($(objpfx)tst-setcontext3.out): Likewise.
3406 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
3408 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3409 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
3410 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
3411 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
3412 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
3414 (CFLAGS-doasin-fma.c): New.
3415 (CFLAGS-dosincos-fma.c): Likewise.
3416 (CFLAGS-e_asin-fma.c): Likewise.
3417 (CFLAGS-e_atan2-fma.c): Likewise.
3418 (CFLAGS-e_exp-fma.c): Likewise.
3419 (CFLAGS-e_log-fma.c): Likewise.
3420 (CFLAGS-e_pow-fma.c): Likewise.
3421 (CFLAGS-halfulp-fma.c): Likewise.
3422 (CFLAGS-mpa-fma.c): Likewise.
3423 (CFLAGS-mpatan-fma.c): Likewise.
3424 (CFLAGS-mpatan2-fma.c): Likewise.
3425 (CFLAGS-mpexp-fma.c): Likewise.
3426 (CFLAGS-mplog-fma.c): Likewise.
3427 (CFLAGS-mpsqrt-fma.c): Likewise.
3428 (CFLAGS-mptan-fma.c): Likewise.
3429 (CFLAGS-s_atan-fma.c): Likewise.
3430 (CFLAGS-sincos32-fma.c): Likewise.
3431 (CFLAGS-slowexp-fma.c): Likewise.
3432 (CFLAGS-slowpow-fma.c): Likewise.
3433 (CFLAGS-s_sin-fma.c): Likewise.
3434 (CFLAGS-s_tan-fma.c): Likewise.
3435 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
3436 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
3437 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
3438 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
3439 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
3440 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
3441 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
3442 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
3443 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
3444 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
3445 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
3446 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
3447 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
3448 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
3449 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
3450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
3451 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
3452 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
3453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
3454 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
3455 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
3456 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3457 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
3458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
3459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3460 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3461 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3462 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3467 2017-08-04 Joseph Myers <joseph@codesourcery.com>
3469 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
3470 (min_of_type_f): New macro.
3471 (min_of_type_): Likewise.
3472 (min_of_type_l): Likewise.
3473 (min_of_type_f128): Likewise.
3474 (min_of_type): Define using __MATH_TG and taking an expression
3476 (math_check_force_underflow): Pass expression instead of type to
3478 (math_check_force_underflow_nonneg): Likewise.
3480 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3482 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3483 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
3484 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
3486 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3489 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
3490 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
3491 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
3492 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
3493 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
3494 memcpy_chk-nonshared, mempcpy_chk-nonshared,
3495 memmove_chk-nonshared and memset_chk-nonshared
3496 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
3497 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
3498 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
3499 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
3500 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
3501 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
3502 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
3503 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
3504 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
3505 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
3506 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
3507 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
3508 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
3509 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
3510 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
3511 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
3512 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
3513 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
3514 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
3515 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
3516 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
3517 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
3518 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
3519 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
3521 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
3523 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
3524 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
3526 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
3527 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
3529 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3530 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
3532 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
3534 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
3535 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
3536 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
3538 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
3540 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
3542 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
3544 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
3546 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
3548 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
3549 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
3550 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
3551 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
3552 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
3553 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
3554 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
3556 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
3558 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
3560 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
3561 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
3562 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
3563 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
3564 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
3565 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3566 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
3567 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3589 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3593 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3595 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3596 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3597 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3598 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3599 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3600 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3601 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3602 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3603 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3605 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3607 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
3608 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
3609 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
3610 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
3611 svml_d_log2_core-sse2, svml_d_log4_core-sse,
3612 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
3613 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
3614 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
3615 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
3616 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
3617 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
3618 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
3619 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
3620 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
3621 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
3622 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
3623 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
3624 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
3625 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
3626 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
3627 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
3628 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
3629 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
3630 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
3631 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
3632 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
3633 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
3634 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
3635 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
3636 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
3637 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
3638 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
3639 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
3640 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
3641 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
3642 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
3643 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
3644 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
3645 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
3646 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
3647 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
3648 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
3649 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
3650 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
3651 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
3652 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
3653 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
3654 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
3655 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
3656 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
3657 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
3658 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
3659 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
3660 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
3661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
3662 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
3663 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
3664 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
3665 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
3667 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
3668 Don't include <sysdep.h> nor <init-arch.h>.
3669 (_ZGVbN2v_cos): Removed.
3670 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
3672 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
3673 Don't include <sysdep.h> nor <init-arch.h>.
3674 (_ZGVdN4v_cos): Removed.
3675 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
3677 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
3678 Don't include <sysdep.h> nor <init-arch.h>.
3679 (_ZGVeN8v_cos): Removed.
3680 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
3682 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
3683 Don't include <sysdep.h> nor <init-arch.h>.
3684 (_ZGVbN2v_exp): Removed.
3685 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
3687 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
3688 Don't include <sysdep.h> nor <init-arch.h>.
3689 (_ZGVdN4v_exp): Removed.
3690 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
3692 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
3693 Don't include <sysdep.h> nor <init-arch.h>.
3694 (_ZGVeN8v_exp): Removed.
3695 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
3697 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
3698 Don't include <sysdep.h> nor <init-arch.h>.
3699 (_ZGVbN2v_log): Removed.
3700 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
3702 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
3703 Don't include <sysdep.h> nor <init-arch.h>.
3704 (_ZGVdN4v_log): Removed.
3705 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
3707 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
3708 Don't include <sysdep.h> nor <init-arch.h>.
3709 (_ZGVeN8v_log): Removed.
3710 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
3712 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
3713 Don't include <sysdep.h> nor <init-arch.h>.
3714 (_ZGVbN2vv_pow): Removed.
3715 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
3717 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
3718 Don't include <sysdep.h> nor <init-arch.h>.
3719 (_ZGVdN4vv_pow): Removed.
3720 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
3722 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
3723 Don't include <sysdep.h> nor <init-arch.h>.
3724 (_ZGVeN8vv_pow): Removed.
3725 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
3727 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
3728 Don't include <sysdep.h> nor <init-arch.h>.
3729 (_ZGVbN2v_sin): Removed.
3730 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
3732 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
3733 Don't include <sysdep.h> nor <init-arch.h>.
3734 (_ZGVbN4v_sin): Removed.
3735 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
3737 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
3738 Don't include <sysdep.h> nor <init-arch.h>.
3739 (_ZGVbN8v_sin): Removed.
3740 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
3742 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
3743 Don't include <sysdep.h> nor <init-arch.h>.
3744 (_ZGVbN2vvv_sincos): Removed.
3745 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
3747 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
3748 Don't include <sysdep.h> nor <init-arch.h>.
3749 (_ZGVdN4vvv_sincos): Removed.
3750 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
3752 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
3753 Don't include <sysdep.h> nor <init-arch.h>.
3754 (_ZGVeN8vvv_sincos): Removed.
3755 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
3757 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
3758 Don't include <sysdep.h> nor <init-arch.h>.
3759 (_ZGVeN16v_cosf): Removed.
3760 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
3762 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
3763 Don't include <sysdep.h> nor <init-arch.h>.
3764 (_ZGVbN4v_cosf): Removed.
3765 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
3767 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
3768 Don't include <sysdep.h> nor <init-arch.h>.
3769 (_ZGVdN8v_cosf): Removed.
3770 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
3772 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
3773 Don't include <sysdep.h> nor <init-arch.h>.
3774 (_ZGVeN16v_expf): Removed.
3775 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
3777 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
3778 Don't include <sysdep.h> nor <init-arch.h>.
3779 (_ZGVbN4v_expf): Removed.
3780 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
3782 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
3783 Don't include <sysdep.h> nor <init-arch.h>.
3784 (_ZGVdN8v_expf): Removed.
3785 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
3787 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
3788 Don't include <sysdep.h> nor <init-arch.h>.
3789 (_ZGVeN16v_logf): Removed.
3790 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
3792 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
3793 Don't include <sysdep.h> nor <init-arch.h>.
3794 (_ZGVbN4v_logf): Removed.
3795 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
3797 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
3798 Don't include <sysdep.h> nor <init-arch.h>.
3799 (_ZGVdN8v_logf): Removed.
3800 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
3802 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
3803 Don't include <sysdep.h> nor <init-arch.h>.
3804 (_ZGVeN16vv_powf): Removed.
3805 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
3807 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
3808 Don't include <sysdep.h> nor <init-arch.h>.
3809 (_ZGVbN4vv_powf): Removed.
3810 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
3812 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
3813 Don't include <sysdep.h> nor <init-arch.h>.
3814 (_ZGVdN8vv_powf): Removed.
3815 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
3817 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
3818 Don't include <sysdep.h> nor <init-arch.h>.
3819 (_ZGVeN16vvv_sincosf): Removed.
3820 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
3822 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
3823 Don't include <sysdep.h> nor <init-arch.h>.
3824 (_ZGVbN4vvv_sincosf): Removed.
3825 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
3827 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
3828 Don't include <sysdep.h> nor <init-arch.h>.
3829 (_ZGVdN8vvv_sincosf): Removed.
3830 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
3832 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
3833 Don't include <sysdep.h> nor <init-arch.h>.
3834 (_ZGVeN16v_sinf): Removed.
3835 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
3837 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
3838 Don't include <sysdep.h> nor <init-arch.h>.
3839 (_ZGVbN4v_sinf): Removed.
3840 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
3842 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
3843 Don't include <sysdep.h> nor <init-arch.h>.
3844 (_ZGVdN8v_sinf): Removed.
3846 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3848 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3849 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
3850 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
3851 s_rint-sse4_1 and s_rintf-sse4_1.
3852 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
3853 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3854 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3855 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3856 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3857 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
3858 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
3859 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3860 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3861 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
3862 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
3863 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3865 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
3866 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
3867 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3869 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
3870 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
3871 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3873 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
3874 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
3875 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3876 (__floorf): Removed.
3877 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
3878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
3879 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3880 (__nearbyint): Removed.
3881 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
3882 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
3883 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3884 (__nearbyintf): Removed.
3885 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
3886 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
3887 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3889 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
3890 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
3891 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3894 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3896 * sysdeps/i386/start.S (_start): Check Check PIC instead of
3897 SHARED. Avoid dynamic relocation against main in static PIE.
3899 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3902 * elf/Makefile (CFLAGS-tst-prelink.c): New.
3903 (LDFLAGS-tst-prelink): Likewise.
3905 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3907 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
3908 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
3909 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
3910 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3911 (INTERNAL_SYSCALL_NCS): Likewise.
3912 (LOADARGS_1): Likewise.
3913 (LOADARGS_5): Likewise.
3914 (RESTOREARGS_1): Likewise.
3915 (RESTOREARGS_5): Likewise.
3917 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3919 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
3920 (MEMPCPY_SYMBOL): Likewise.
3921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3922 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
3923 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
3925 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3926 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3928 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
3929 (__hidden_ver1): Don't use in libc.a.
3930 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3931 (__mempcpy): Don't create a weak alias in libc.a.
3932 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
3934 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
3935 (__hidden_ver1): Don't use in libc.a.
3937 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3939 * config.make.in (have-insert): New.
3940 * configure.ac (libc_cv_insert): New. Set to yes if linker
3941 supports INSERT in linker script.
3942 (AC_SUBST(libc_cv_insert): New.
3943 * configure: Regenerated.
3944 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
3945 if $(have-insert) == yes.
3947 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3949 * elf/Makefile (tests): Add vismain only if
3950 $(have-protected-data) == yes.
3951 (tests-pie): Likewise.
3953 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3956 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3957 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
3959 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3962 * sysdeps/i386/i586/memset.S
3963 (__memset_zero_constant_len_parameter): Removed.
3964 * sysdeps/i386/i686/memset.S
3965 (__memset_zero_constant_len_parameter): Likewise.
3966 * sysdeps/i386/i686/multiarch/memset_chk.S
3967 (__memset_zero_constant_len_parameter): Likewise.
3968 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
3971 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
3973 * stdlib/getentropy.c (getentropy): Change return type to int.
3975 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
3977 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3979 2017-08-03 Joseph Myers <joseph@codesourcery.com>
3981 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
3983 * math/s_nexttowardf.c (__nexttowardf): Likewise.
3984 * sysdeps/generic/math_private.h (ieee_double_shape_type):
3986 (ieee_float_shape_type): Likewise.
3987 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
3988 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
3989 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3990 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3991 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3992 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
3993 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
3994 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3995 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3997 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3998 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3999 (__ieee754_yn): Likewise.
4000 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4001 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4002 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
4004 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4005 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
4006 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
4007 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
4009 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4010 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
4011 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
4012 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
4013 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
4014 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
4016 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4017 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
4018 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4019 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
4020 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4021 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
4022 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
4023 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
4024 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
4025 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4026 (__issignaling): Likewise.
4027 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
4028 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
4029 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4031 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4032 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4033 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
4034 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
4036 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
4038 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
4039 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
4040 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
4041 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4042 (__erfcf): Likewise.
4043 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4044 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4045 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
4046 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
4048 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
4049 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
4051 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4052 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
4053 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4054 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
4055 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
4056 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4057 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
4058 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
4060 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
4062 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4064 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
4065 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4067 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4069 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4070 (__ieee754_ynl): Likewise.
4071 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4072 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
4074 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
4076 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4077 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
4078 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4080 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4081 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
4082 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
4083 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
4084 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
4087 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
4089 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
4093 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4100 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4102 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4104 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4106 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4108 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
4110 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
4114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4119 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4120 (__ieee754_remainderl): Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4126 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4129 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4130 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
4131 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4132 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4133 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4134 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4136 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4137 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
4138 (__ieee754_y0l): Likewise.
4141 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4142 (__ieee754_y1l): Likewise.
4145 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4146 (__ieee754_ynl): Likewise.
4147 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4148 (__ieee754_lgammal_r): Likewise.
4149 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
4151 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4152 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4154 (__erfcl): Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
4158 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
4159 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
4160 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
4162 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
4163 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4164 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4166 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
4167 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4168 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
4169 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
4170 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4172 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
4173 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
4175 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
4176 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
4177 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
4178 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4179 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4181 2017-08-03 Florian Weimer <fweimer@redhat.com>
4184 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
4185 on memory allocation failure.
4187 2017-08-03 Alan Modra <amodra@gmail.com>
4189 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
4190 tst-tlsopt-powerpc.c with function name change and no test harness.
4191 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
4192 Call tls_get_addr_opt_test.
4193 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
4194 (modules-names): Add mod-tlsopt-powerpc.
4195 (mod-tlsopt-powerpc.so-no-z-defs): Define.
4196 (tst-tlsopt-powerpc): Depend on .so.
4197 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
4198 define. Expand use in TLS_GD and TLS_LD.
4200 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4202 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
4204 * sysdeps/posix/shm_open.c: Include <pthread.h>.
4206 2017-08-02 Joseph Myers <joseph@codesourcery.com>
4209 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
4210 comparing size with that of double.
4211 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4212 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4213 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4214 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4215 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4216 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
4217 unsigned __int128 types.
4219 2017-08-02 Steve Ellcey <sellcey@cavium.com>
4221 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
4222 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
4223 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
4224 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
4225 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
4227 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4229 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
4231 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4233 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
4235 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4236 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4237 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4238 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4239 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4241 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4243 2017-08-02 Joseph Myers <joseph@codesourcery.com>
4246 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
4247 bit-field expressions passed to sizeof or typeof.
4248 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4249 (__TGMATH_F128): Likewise.
4250 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4251 (__TGMATH_CF128): Likewise.
4252 (__TGMATH_UNARY_REAL_ONLY): Likewise.
4253 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
4254 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
4255 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
4256 (__TGMATH_BINARY_REAL_ONLY): Likewise.
4257 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4258 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4259 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4260 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4261 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
4262 (__TGMATH_UNARY_REAL_IMAG): Likewise.
4263 (__TGMATH_UNARY_IMAG): Likewise.
4264 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
4265 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4266 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
4268 (define_vars_for_type): Handle bit_field type specially.
4269 (Tests.__init__): Declare structure with bit-field element.
4271 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4274 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
4275 (MEMCPY_CHK): Define only if SHARED is defined.
4276 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
4278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
4281 See ChangeLog.18 for earlier changes.