]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add ChangeLog bugzilla mark for previous commit
[thirdparty/glibc.git] / ChangeLog
CommitLineData
65687ac7
AZ
12017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
7bbbb4b9 3 [BZ #18858]
65687ac7
AZ
4 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
5 Remove define.
6 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
7 Likewise.
8 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
9 Likewise.
10 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
11 Likewise.
12 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
13 Likewise.
14 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
15 Likewise.
16 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
17 Likewise.
18
ab5ac271
FW
192017-09-06 Florian Weimer <fweimer@redhat.com>
20
21 * malloc/dynarray_emplace_enlarge.c
22 (__libc_dynarray_emplace_enlarge): Add missing else.
23
a8304730
FW
242017-09-06 Florian Weimer <fweimer@redhat.com>
25
26 [BZ #22096]
27 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28 case of failure to obtain the global conf object.
29
5670c4ab
FW
302017-09-06 Florian Weimer <fweimer@redhat.com>
31
32 [BZ #22095]
33 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34 dynarray allocation failure.
35
c77eb969
FW
362017-09-06 Florian Weimer <fweimer@redhat.com>
37
38 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
39 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
40 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
41 New functions.
42 (response): Call them. Add 'p', '6' flag processing.
43 (test_reverse): New function.
44 (test_get2_any): Call it.
45 (test_no_inet6): Add 'p' test.
46 (test_inet6): Likewise.
47
5e9c4d17
FW
482017-09-06 Florian Weimer <fweimer@redhat.com>
49
50 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
51 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
52 the QNAME.
53 (test_gai): Adjust query names. Add additional tests.
54 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
55 test_get2. Adjust query names. Add additional tests.
56 (test_no_inet6): New function, extracted from threadfunc.
57 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
58 Add additional tests.
59
2ae5be04
MF
602017-09-06 Mike FABIAN <mfabian@redhat.com>
61
62 [BZ #22070]
63 * localedata/unicode-gen/utf8_gen.py: Set the width for
64 characters with Prepended_Concatenation_Mark property to 1
65 * localedata/charmaps/UTF-8: Updated using the improved script.
66
af83ed5c
MF
672017-09-06 Mike FABIAN <mfabian@redhat.com>
68
69 [BZ #21750]
70 * localedata/unicode-gen/utf8_gen.py: Improve the script to
71 use the range notation for all ranges of neighbouring characters
72 with the same width.
73
4f3647e4
JM
742017-09-05 Joseph Myers <joseph@codesourcery.com>
75
76 * sysdeps/generic/math-type-macros-double.h: Include
77 <math-svid-compat.h>.
78 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
79 * sysdeps/generic/math-type-macros-float.h: Include
80 <math-svid-compat.h>.
81 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
82 * sysdeps/generic/math-type-macros-ldouble.h: Include
83 <math-svid-compat.h>.
84 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
85 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
86 condition.
87 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
88 * math/w_acosf_compat.c: Likewise.
89 * math/w_acosh_compat.c: Likewise.
90 * math/w_acoshf_compat.c: Likewise.
91 * math/w_acoshl_compat.c: Likewise.
92 * math/w_acosl_compat.c: Likewise.
93 * math/w_asin_compat.c: Likewise.
94 * math/w_asinf_compat.c: Likewise.
95 * math/w_asinl_compat.c: Likewise.
96 * math/w_atan2_compat.c: Likewise.
97 * math/w_atan2f_compat.c: Likewise.
98 * math/w_atan2l_compat.c: Likewise.
99 * math/w_atanh_compat.c: Likewise.
100 * math/w_atanhf_compat.c: Likewise.
101 * math/w_atanhl_compat.c: Likewise.
102 * math/w_cosh_compat.c: Likewise.
103 * math/w_coshf_compat.c: Likewise.
104 * math/w_coshl_compat.c: Likewise.
105 * math/w_exp10_compat.c: Likewise.
106 * math/w_exp10f_compat.c: Likewise.
107 * math/w_exp10l_compat.c: Likewise.
108 * math/w_exp2_compat.c: Likewise.
109 * math/w_exp2f_compat.c: Likewise.
110 * math/w_exp2l_compat.c: Likewise.
111 * math/w_fmod_compat.c: Likewise.
112 * math/w_fmodf_compat.c: Likewise.
113 * math/w_fmodl_compat.c: Likewise.
114 * math/w_hypot_compat.c: Likewise.
115 * math/w_hypotf_compat.c: Likewise.
116 * math/w_hypotl_compat.c: Likewise.
117 * math/w_j0_compat.c: Likewise.
118 * math/w_j0f_compat.c: Likewise.
119 * math/w_j0l_compat.c: Likewise.
120 * math/w_j1_compat.c: Likewise.
121 * math/w_j1f_compat.c: Likewise.
122 * math/w_j1l_compat.c: Likewise.
123 * math/w_jn_compat.c: Likewise.
124 * math/w_jnf_compat.c: Likewise.
125 * math/w_jnl_compat.c: Likewise.
126 * math/w_lgamma_r_compat.c: Likewise.
127 * math/w_lgammaf_r_compat.c: Likewise.
128 * math/w_lgammal_r_compat.c: Likewise.
129 * math/w_log10_compat.c: Likewise.
130 * math/w_log10f_compat.c: Likewise.
131 * math/w_log10l_compat.c: Likewise.
132 * math/w_log2_compat.c: Likewise.
133 * math/w_log2f_compat.c: Likewise.
134 * math/w_log2l_compat.c: Likewise.
135 * math/w_log_compat.c: Likewise.
136 * math/w_logf_compat.c: Likewise.
137 * math/w_logl_compat.c: Likewise.
138 * math/w_pow_compat.c: Likewise.
139 * math/w_powf_compat.c: Likewise.
140 * math/w_powl_compat.c: Likewise.
141 * math/w_remainder_compat.c: Likewise.
142 * math/w_remainderf_compat.c: Likewise.
143 * math/w_remainderl_compat.c: Likewise.
144 * math/w_sinh_compat.c: Likewise.
145 * math/w_sinhf_compat.c: Likewise.
146 * math/w_sinhl_compat.c: Likewise.
147 * math/w_sqrt_compat.c: Likewise.
148 * math/w_sqrtf_compat.c: Likewise.
149 * math/w_sqrtl_compat.c: Likewise.
150 * math/w_tgamma_compat.c: Likewise.
151 * math/w_tgammaf_compat.c: Likewise.
152 * math/w_tgammal_compat.c: Likewise.
153 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
154 [LIBM_SVID_COMPAT].
155 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
156 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
157 [LIBM_SVID_COMPAT].
158 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
159 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
160 [LIBM_SVID_COMPAT].
161 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
162 * sysdeps/i386/fpu/w_sqrt.c: New file.
163 * sysdeps/ia64/fpu/w_acos.c: Likewise.
164 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
165 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
166 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
167 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
168 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
169 * sysdeps/ia64/fpu/w_asin.c: Likewise.
170 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
171 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
172 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
173 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
174 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
175 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
176 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
177 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
178 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
179 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
180 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
181 * sysdeps/ia64/fpu/w_exp.c: Likewise.
182 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
183 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
184 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
185 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
186 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
187 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
188 * sysdeps/ia64/fpu/w_expf.c: Likewise.
189 * sysdeps/ia64/fpu/w_expl.c: Likewise.
190 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
191 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
192 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
193 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
194 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
195 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
196 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
197 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
198 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
199 * sysdeps/ia64/fpu/w_log.c: Likewise.
200 * sysdeps/ia64/fpu/w_log10.c: Likewise.
201 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
202 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
203 * sysdeps/ia64/fpu/w_log2.c: Likewise.
204 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
205 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
206 * sysdeps/ia64/fpu/w_logf.c: Likewise.
207 * sysdeps/ia64/fpu/w_logl.c: Likewise.
208 * sysdeps/ia64/fpu/w_pow.c: Likewise.
209 * sysdeps/ia64/fpu/w_powf.c: Likewise.
210 * sysdeps/ia64/fpu/w_powl.c: Likewise.
211 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
212 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
213 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
214 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
215 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
216 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
217 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
218 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
219 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
220 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
221 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
222 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
223 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
224 [LIBM_SVID_COMPAT].
225 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
226 * sysdeps/ieee754/k_standard.c: Likewise.
227 * sysdeps/ieee754/k_standardf.c: Likewise.
228 * sysdeps/ieee754/k_standardl.c: Likewise.
229 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
230 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
231 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
232 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
233 long_double_symbol call on [LIBM_SVID_COMPAT].
234 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
235 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
236 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
237 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
238 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
239 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
240 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
241 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
242 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
243 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
244 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
245 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
246 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
247 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
248 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
249 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
250 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
251 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
252 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
253 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
254 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
255 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
256
05b38d64
SE
2572017-09-05 Steve Ellcey <sellcey@cavium.com>
258
259 * include/shlib-compat.h (TEST_COMPAT): New Macro.
260 * malloc/tst-mallocstate.c: Convert from test-skeleton
261 to test-driver. Ifdef code using TEST_COMPAT macro.
262 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
263 * math/test-matherr.c: Likewise.
264
99d67918
JM
2652017-09-05 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #22086]
268 * debug/pcprofiledump.c (main): Use byte-swapped mask when
269 comparing word with byte-swapped constant.
270
3f802aeb
MF
2712017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
272
273 [BZ #20498]
274 * locale/iso-639.def: add Miskito.
275 * localedata/SUPPORTED: Add miq_NI/UTF-8.
276 * localedata/locales/miq_NI: New file.
277
0a587a8a
L
2782017-09-04 H.J. Lu <hongjiu.lu@intel.com>
279
280 [BZ #18822]
281 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
282 (__mkdir): Likewise.
283 * io/chmod.c (__chmod): Add libc_hidden_def.
284 * io/mkdir.c (__mkdir): Likewise.
285 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
286 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
287 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
288 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
289
f3a129b8
JM
2902017-09-04 Joseph Myers <joseph@codesourcery.com>
291
1650e192
JM
292 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
293 version to 4.13.
294
f3a129b8
JM
295 [BZ #22082]
296 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
297 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
298
b38042f5
FW
2992017-09-04 Florian Weimer <fweimer@redhat.com>
300
301 * math/math.h: Issue warning if log is defined.
302
059b6404
JM
3032017-09-04 Joseph Myers <joseph@codesourcery.com>
304
305 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
306 kernel version to 4.13.
307
b794e16b
ST
3082017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
309
310 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
311 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
312 parameter.
01969395
ST
313 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
314 just <bits/types.h>.
dd2b31de 315 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 316 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 317 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 318 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
319 * misc/preadv2.c: Include <errno.h>.
320 * misc/preadv64v2.c: Include <errno.h>.
321 * misc/pwritev2.c: Include <errno.h>.
322 * misc/pwritev64v2.c: Include <errno.h>.
323 * sysdeps/posix/preadv2.c: Include <errno.h>.
324 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
325 Fix <unistd.h> inclusion.
326 * sysdeps/posix/pwritev2.c: Include <errno.h>.
327 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
328 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
329 __strtoul_internal): New functions.
127e7773
ST
330 * sysdeps/posix/pause.c: Include <sigsetops.h>.
331 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
332 * sysdeps/mach/hurd/i386/Makefile
333 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
334 [$(subdir) = csu] (sysdep-only-routines): Likewise.
335 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
336 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
337 __feraiseexcept_renamed to feraiseexcept instead of
338 __GI_feraiseexcept.
56bf5497 339 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 340 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
341 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
342 RWF_NOWAIT): Define to 0 if undefined already.
343 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
344 boils down to 0.
6547ec0a
ST
345 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
346 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 347
5a80d39d
JM
3482017-09-01 Joseph Myers <joseph@codesourcery.com>
349
350 * manual/math.texi (pow10): Do not document.
351 (pow10f): Likewise.
352 (pow10l): Likewise.
353 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
354 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
355 * math/libm-test-exp10.inc (pow10_test): Remove.
356 (do_test): Do not call pow10.
357 * math/w_exp10_compat.c (pow10): Make into compat symbol.
358 [NO_LONG_DOUBLE] (pow10l): Likewise.
359 * math/w_exp10f_compat.c (pow10f): Likewise.
360 * math/w_exp10l_compat.c (pow10l): Likewise.
361 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
362 (pow10): Make into compat symbol.
363 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
364 (pow10f): Make into compat symbol.
365 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
366 (pow10l): Make into compat symbol.
367 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
368 pow10.
369 (CFLAGS-nldbl-pow10.c): Remove variable..
370 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
371 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
372 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
373 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
374 Undefine and redefine.
375 (pow10l): Make into compat symbol.
376 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
377 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
378 * sysdeps/arm/libm-test-ulps: Likewise.
379 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
380 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
381 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
382 * sysdeps/microblaze/libm-test-ulps: Likewise.
383 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
384 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
385 * sysdeps/nios2/libm-test-ulps: Likewise.
386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
387 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
388 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
389 * sysdeps/sh/libm-test-ulps: Likewise.
390 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
391 * sysdeps/tile/libm-test-ulps: Likewise.
392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
393
3824fc38
PP
3942017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
395
396 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
397
b3008279
L
3982017-09-01 H.J. Lu <hongjiu.lu@intel.com>
399
400 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
401 "../ChangeLog.old/ChangeLog.8".
402 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
403 "../ChangeLog.old/ChangeLog.14".
404
136fa185
L
4052017-09-01 H.J. Lu <hongjiu.lu@intel.com>
406
407 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
408 Threads Library.
409
c18d50a2
JM
4102017-09-01 Joseph Myers <joseph@codesourcery.com>
411
412 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
413
bedbd859
L
4142017-09-01 H.J. Lu <hongjiu.lu@intel.com>
415
416 * csu/version.c (banner): Remove "by Roland McGrath et al.".
417 * nptl/Banner: Remove "by Ulrich Drepper et al.".
418
50c66c7a
PP
4192017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
420
421 * stdlib/tst-atexit-common.c (do_test): Test support for at least
422 32 atexit handlers.
423
a617bd11
ZW
4242017-09-01 Zack Weinberg <zackw@panix.com>
425
426 * math/math.h (HUGE_VAL): Improve commentary.
427
e0d2eb5a
AZ
4282017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
429 Andreas Schwab <schwab@suse.de>
430
431 [BZ #21530]
432 * include/stdio.h (__gen_tempfd): New function.
433 * stdio-common/Makefile (routines): Add gentempfd.
434 * stdio-common/gentempfd.c: New file.
435 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
436 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
437 unnamed file first.
438
f4a6be25
FW
4392017-09-01 Florian Weimer <fweimer@redhat.com>
440
441 [BZ #21915]
442 [BZ #21922]
443 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
444 result to determine success or failure, not the errno value.
445 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
446 (tst-nss-files-hosts-erange): Link with -ldl.
447 * nss/tst-nss-files-hosts-erange.c: New file.
448 * nss/tst-resolv-basic.c (response): Handle nodata.example.
449 (do_test): Add NO_DATA tests.
450 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
451 (do_test): Call it.
452
5f8340f5
FW
4532017-09-01 Florian Weimer <fweimer@redhat.com>
454
455 [BZ #21922]
456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
457 coming from gethostbyname2_r.
458
65329bd2
FW
4592017-09-01 Florian Weimer <fweimer@redhat.com>
460
461 * support/namespace.h (struct support_chroot_configuration): Add
462 hosts, host_conf.
463 (struct support_chroot): Add path_hosts, path_host_conf.
464 * support/support_chroot.c (write_file): New function.
465 (support_chroot_create): Call it to process /etc/resolv.conf,
466 /etc/hosts, /etc/host.conf.
467 (support_chroot_free): Update.
468
a2881ef0
FW
4692017-09-01 Florian Weimer <fweimer@redhat.com>
470
471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
472 status indicates it is set.
473
ad816a5e
FW
4742017-09-01 Florian Weimer <fweimer@redhat.com>
475
476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
477 function lookup failures more reliable.
478
53250a21
FW
4792017-09-01 Florian Weimer <fweimer@redhat.com>
480
481 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
482 (getcanonname): Likewise.
483 (gaih_inet): Likewise.
484
924b121c
FW
4852017-09-01 Florian Weimer <fweimer@redhat.com>
486
487 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
488 (getcanonname): Likewise.
489 (gaih_inet): Likewise.
490
d9ff799a
SE
4912017-08-31 Steve Ellcey <sellcey@cavium.com>
492 Richard Henderson <rth@twiddle.net>
493
494 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
495 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
496 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
497 (IREG_SIZE, OREG_SIZE): New macros.
498 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
499 (IREG_SIZE, OREG_SIZE): New macros.
500 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
501 (IREG_SIZE): New macro.
502 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
503 (IREG_SIZE): New macro.
504 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
505 New includes.
506 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
507 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
508 (__CONCATX): Handle exceptions correctly on large values that may
509 set FE_INVALID.
510 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
511 Initialize if not already set.
512 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
513
102dde84
AZ
5142017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
515
516 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
517 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
518 Likewise.
519 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
520 Likewise.
521 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
522 Likewise.
523 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
524 Likewise.
525 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
526 Likewise.
527 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
528 Likewise.
529 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
530 Likewise.
531 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
532 (NO_CANCELLATION): Likewise.
533 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
534 Likewise.
535 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
536 Likewise.
537 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
538 Likewise.
539 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
540 (NO_CANCELLATION): Likewise.
541 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
542 (NO_CANCELLATION): Likewise.
543 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
544 Likewise
545 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
546 Likewise.
547 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
548 Likewise.
549 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
550 Likewise.
551 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
552 hidden prototype.
553 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
554 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
555
9eee633b
SE
5562017-08-31 Steve Ellcey <sellcey@cavium.com>
557
558 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
559 in resolver call.
560
65284eb7
FW
5612017-08-31 Florian Weimer <fweimer@redhat.com>
562
563 * include/libc-symbols.h (internal_function): Remove.
564
41ad5ca6
FW
5652017-08-31 Florian Weimer <fweimer@redhat.com>
566
567 * stdlib/fmtmsg.c (internal_addseverity): Remove
568 internal_function.
569
2fa6d086
FW
5702017-08-31 Florian Weimer <fweimer@redhat.com>
571
572 * stdio-common/printf_fp.c (group_number): Remove
573 internal_function.
574 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
575
b41bd5bc
FW
5762017-08-31 Florian Weimer <fweimer@redhat.com>
577
578 * posix/fnmatch.c (internal_function): Remove definition.
579 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
580 * posix/regcomp.c (peek_token, init_word_char)
581 (duplicate_node_closure, fetch_token, peek_token)
582 (peek_token_bracket, build_range_exp, build_collating_symbol):
583 Likewise.
584 * posix/regex_internal.c (re_string_construct_common)
585 (create_ci_newstate, create_cd_newstate, re_string_allocate)
586 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
587 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
588 (re_string_translate_buffer, re_string_reconstruct)
589 (re_string_peek_byte_case, re_string_fetch_byte_case)
590 (re_string_destruct, re_string_context_at, re_node_set_alloc)
591 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
592 (re_node_set_add_intersect, re_node_set_init_union)
593 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
594 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
595 (re_dfa_add_node, calc_state_hash, re_acquire_state)
596 (re_acquire_state_context): Likewise.
597 * posix/regex_internal.h (internal_function): Remove definition.
598 (re_string_realloc_buffers, build_wcs_buffer)
599 (build_wcs_upper_buffer, build_upper_buffer)
600 (re_string_translate_buffer, re_string_context_at)
601 (re_string_char_size_at, re_string_wchar_at)
602 (re_string_elem_size_at): Likewise.
603 * posix/regexec.c (match_ctx_init, match_ctx_clean)
604 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
605 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
606 (re_search_internal, re_search_2_stub, re_search_stub)
607 (re_copy_regs, prune_impossible_nodes, check_matching)
608 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
609 (free_fail_stack_return, sift_states_iter_mb)
610 (sift_states_backward, build_sifted_states)
611 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
612 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
613 (check_subexp_limits, sift_states_bkref, merge_state_array)
614 (find_recover_state, transit_state, merge_state_with_log)
615 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
616 (transit_state_mb, transit_state_bkref, get_subexp)
617 (get_subexp_sub, find_subexp_node, check_arrival)
618 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
619 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
620 (check_node_accept_bytes, find_collation_sequence_value)
621 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
622 (acquire_init_state_context, check_halt_node_context)
623 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
624 (sub_epsilon_src_nodes): Likewise.
625 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
626 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
627 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
628 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
629 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
630 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
631 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
632 * sysdeps/posix/ttyname.c (getttyname): Likewise.
633 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
634 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
635 (PREADV): Likewise.
636 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
637 (PREADV): Likewise.
638 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
639 (PWRITEV): Likewise.
640 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
641 (PWRITEV): Likewise.
642 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
643 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
644
83b09837
FW
6452017-08-31 Florian Weimer <fweimer@redhat.com>
646
647 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
648 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
649 Remove internal_function.
650 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
651 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
652 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
653 (__deallocate_stack, __libc_pthread_init)
654 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
655 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
656 (__libc_disable_asynccancel, __librt_disable_asynccancel):
657 Likewise.
658 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
659 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
660 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
661 Likewise.
662 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
663 (__pthread_mutex_unlock_usercnt): Likewise.
664
116ac301
FW
6652017-08-31 Florian Weimer <fweimer@redhat.com>
666
667 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
668 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
669 (fts_safe_changedir): Remove internal_function.
670 * io/ftw.c (internal_function): Remove definition.
671 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
672
9da93bd7
FW
6732017-08-31 Florian Weimer <fweimer@redhat.com>
674
675 * inet/deadline.c (__deadline_current_time)
676 (__deadline_from_timeval, __deadline_to_ms): Remove
677 internal_function.
678 * inet/getnameinfo.c (nrl_domainname): Likewise.
679 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
680 * inet/inet6_option.c (add_pad): Likewise.
681 * inet/net-internal.h (__deadline_current_time)
682 (__deadline_from_timeval, __deadline_to_ms): Likewise.
683 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
684 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
685 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
686
a60eca2e
JM
6872017-08-31 Joseph Myers <joseph@codesourcery.com>
688
c0c49d60
JM
689 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
690 include <bits/nan.h>.
691 * math/Makefile (headers): Remove bits/nan.h.
692 * bits/nan.h: Remove.
693 * sysdeps/ieee754/bits/nan.h: Likewise.
694 * sysdeps/mips/bits/nan.h: Likewise.
695
5ef1b213
JM
696 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
697 not include <bits/inf.h>.
698 * math/Makefile (headers): Remove bits/inf.h.
699 * bits/inf.h: Remove.
700 * sysdeps/ieee754/bits/inf.h: Likewise.
701
a60eca2e
JM
702 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
703 bits/huge_vall.h or bits/huge_val_flt128.h.
704 (HUGE_VAL): Define directly here.
705 [__USE_ISOC99] (HUGE_VALF): Likewise.
706 [__USE_ISOC99] (HUGE_VALL): Likewise.
707 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
708 (HUGE_VAL_F128): Likewise.
709 * math/Makefile (headers): Remove bits/huge_val.h,
710 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
711 * bits/huge_val.h: Remove.
712 * bits/huge_val_flt128.h: Likewise.
713 * bits/huge_valf.h: Likewise.
714 * bits/huge_vall.h: Likewise.
715 * sysdeps/ia64/bits/huge_vall.h: Likewise.
716 * sysdeps/ieee754/bits/huge_val.h: Likewise.
717 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
718 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
719 * sysdeps/sh/bits/huge_val.h: Likewise.
720 * sysdeps/sparc/bits/huge_vall.h: Likewise.
721 * sysdeps/x86/bits/huge_vall.h: Likewise.
722
17e00cc6
FW
7232017-08-31 Florian Weimer <fweimer@redhat.com>
724
725 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
726 internal_function.
727 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
728 Likewise.
729 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
730 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
731 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
732 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
735 * elf/dl-libc.c (dlerror_run): Likewise.
736 * elf/dl-load.c (add_name_to_object, decompose_rpath)
737 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
738 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
739 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
740 Likewise.
741 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
742 (_dl_higher_prime_number, _dl_strtoul): Likewise.
743 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
744 * elf/dl-profile.c (_dl_start_profile): Likewise.
745 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
746 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
747 Likewise.
748 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
749 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
750 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
751 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
752 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
753 (_dl_allocate_tls_storage): Likewise.
754 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
755 (_dl_check_all_versions): Likewise.
756 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
757 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
758 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
759 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
760 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
761 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
762 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
763 internal_function from __dl_start.
764 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
765 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
766 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
767 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
768 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
769 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
770 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
771 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
772 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
773 (_dl_next_ld_env_entry, _dl_important_hwcaps)
774 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
775 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
776 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
777 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
778 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
779 Likewise.
780 (struct rtld_global_ro): Remove internal_function from the
781 _dl_lookup_symbol_x member.
782 (_dl_symbol_value): Remove. No longer defined anywhere.
783 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
784 internal_function.
785 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
786 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
787 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
788 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
789 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
790 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
791 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
792 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
793 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
794 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
795 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
796 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
797
8d2f9410
FW
7982017-08-31 Florian Weimer <fweimer@redhat.com>
799
800 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
801 Remove internal_function.
802 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
803 Likewise.
804 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
805 Likewise.
806
86e4919f
FW
8072017-08-31 Florian Weimer <fweimer@redhat.com>
808
809 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
810 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
811 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
812
59bd52b0
FW
8132017-08-31 Florian Weimer <fweimer@redhat.com>
814
815 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
816 (__gai_enqueue_request): Remove internal_function.
817 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
818 (__gai_remove_request, __gai_notify, __gai_notify_only)
819 (__gai_sigqueue): Likewise.
820 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
821 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
822 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
823 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
824 Likewise.
825
fc3d9497
FW
8262017-08-31 Florian Weimer <fweimer@redhat.com>
827
828 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
829 * include/dirent.h (__opendirat, __getdents, __getdents64)
830 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
831 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
832 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
833 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
834 Likewise.
835 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
836
18c54fac
FW
8372017-08-31 Florian Weimer <fweimer@redhat.com>
838
839 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
840 internal_function.
841 (GETCWD_RETURN_TYPE): Likewise.
842
7e01f080
FW
8432017-08-31 Florian Weimer <fweimer@redhat.com>
844
845 * include/time.h (__tz_compute, __strptime_internal): Remove
846 internal_function.
847 * time/strptime_l.c (__strptime_internal): Likewise.
848 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
849
d7ccc6c9
FW
8502017-08-31 Florian Weimer <fweimer@redhat.com>
851
852 * iconv/gconv.c (__gconv): Remove internal_function.
853 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
854 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
855 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
856 (__gconv_release_cache): Likewise.
857 * iconv/gconv_close.c (__gconv_close): Likewise.
858 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
859 (read_conf_file, __gconv_get_path): Likewise.
860 * iconv/gconv_db.c (derivation_lookup, add_derivation)
861 (__gconv_release_step, gen_steps, increment_counter)
862 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
863 (__gconv_close_transform, free_modules_db): Likewise.
864 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
865 Likewise.
866 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
867 (__gconv_find_transform, __gconv_lookup_cache)
868 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
869 (__gconv_close_transform, __gconv_release_cache)
870 (__gconv_loaded_object, __gconv_release_shlib)
871 (__gconv_compare_alias): Likewise.
872 * iconv/gconv_open.c (__gconv_open): Likewise.
873 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
874 * iconv/iconvconfig.c (add_module): Likewise.
875 * intl/dcigettext.c (plural_lookup, guess_category_value)
876 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
877 * intl/eval-plural.h (plural_eval): Likewise.
878 * intl/finddomain.c (_nl_find_domain): Likewise.
879 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
880 (_nl_load_domain, _nl_find_msg): Likewise.
881 (internal_function): Remove definition.
882 * intl/loadinfo.h (internal_function): Likewise.
883 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
884 internal_function.
885 * intl/localealias.c (internal_function): Remove definition.
886 (read_alias_file): Remove internal_function.
887 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
888 * intl/plural-exp.h (internal_function): Remove definition.
889 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
890 internal_function.
891 * intl/plural.c: Regenerate.
892 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
893 * locale/coll-lookup.c (__collidx_table_lookup)
894 (__collseq_table_lookup): Likewise.
895 * locale/coll-lookup.h (__collidx_table_lookup)
896 (__collseq_table_lookup): Likewise.
897 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
898 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
899 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
900 (_nl_unload_locale): Likewise.
901 * locale/localeinfo.h (struct __locale_data): Remove
902 internal_function from cleanup member.
903 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
904 (_nl_remove_locale, _nl_load_locale_from_archive)
905 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
906 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
907 (_nl_cleanup_time): Remove internal_function.
908 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
909 (_nl_parse_alt_digit): Likewise.
910 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
911 (_nl_select_era_entry): Likewise.
912 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
913 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
914 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
915 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
916 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 917
dab0eece
FW
9182017-08-31 Florian Weimer <fweimer@redhat.com>
919
920 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
921 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
922 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
923 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
924 Likewise.
925 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
926 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
927 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
928 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
929 Likewise.
930 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
931
ab5bf7cf
FW
9322017-08-31 Florian Weimer <fweimer@redhat.com>
933
934 * misc/getttyent.c (skip, value): Remove internal_function.
935 * misc/syslog.c (openlog_internal): Likewise.
936 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
937
75b3047e
FW
9382017-08-31 Florian Weimer <fweimer@redhat.com>
939
940 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
941 (__nss_rewrite_field): Remove internal_function.
942 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
943 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
944 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
945 * nss/nsswitch.c (nss_parse_file, nss_getline)
946 (nss_parse_service_list, nss_new_service): Likewise.
947 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
948 * nss/valid_field.c (__nss_valid_field): Likewise.
949 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
950
0c71122c
FW
9512017-08-31 Florian Weimer <fweimer@redhat.com>
952
953 * malloc/arena.c (__malloc_fork_lock_parent)
954 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
955 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
956 internal_function from defintions.
957 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
958 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
959 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
960 internal_function from declarations.
961 * malloc/malloc.c (internal_function): Do not define.
962 (mem2mem_check): Remove internal_function from declaration.
963 (munmap_chunk, mremap_chunk): Remove internal_function.
964 * malloc/mtrace.c (tr_where): Likewise.
965
ca4ec803
FW
9662017-08-31 Florian Weimer <fweimer@redhat.com>
967
968 * include/rpc/pmap_clnt.h (__get_socket): Remove
969 internal_function.
970 * sunrpc/auth_des.c (synchronize): Likewise.
971 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
972 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
973 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
974 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
975 (key_call): Likewise.
976 * sunrpc/pm_getport.c (__get_socket): Likewise.
977 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
978 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
979 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
980 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
981 (invalidate): Likewise.
982 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
983 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
984 (set_input_fragment, get_input_bytes): Likewise.
985
24cffce7
FW
9862017-08-31 Florian Weimer <fweimer@redhat.com>
987
988 * malloc/malloc.c (_int_free): Remove locked variable and related
989 asserts.
990
ecd0747d
L
9912017-08-31 H.J. Lu <hongjiu.lu@intel.com>
992
993 [BZ #22051]
994 * Makerules (build-module-helper-objlist): Filter out
995 $(elf-objpfx)sofini.os.
996 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
997 needed.
998
5f0704b6
FW
9992017-08-31 Florian Weimer <fweimer@redhat.com>
1000
1001 * libio/fcloseall.c: Assume weak_alias is defined.
1002 * libio/feof.c: Likewise.
1003 * libio/fileno.c: Likewise.
1004 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
1005 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1006 definitions.
1007 (_IO_file_open): Call __open directly.
1008 (_IO_new_file_sync): Assume ESPIPE is defined.
1009 (_IO_file_seekoff_maybe_mmap): Call __read directly.
1010 (_IO_new_file_write): Call __write directly.
1011 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
1012 * libio/ftello64.c (__ftello64): Assume EIO is defined.
1013 * libio/genops.c: Assume _LIBC is defined.
1014 (save_for_backup): Remove internal_function.
1015 * libio/getc.c: Assume weak_alias is defined.
1016 * libio/getwc.c: Likewise.
1017 * libio/iofclose.c: Assume _LIBC is defined.
1018 * libio/iofdopen.c: Likewise.
1019 (_IO_fcntl): Remove macro definition.
1020 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
1021 Call __fcntl directly.
1022 * libio/iofflush.c: Assume weak_alias is defined.
1023 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
1024 defined.
1025 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
1026 * libio/iofgets.c: Likewise.
1027 * libio/iofopen.c: Assume _LIBC is defined.
1028 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
1029 * libio/iofputs.c: Assume weak_alias is defined.
1030 * libio/iofread.c: Likewise.
1031 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
1032 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1033 * libio/ioftell.c: Assume weak_alias is defined.
1034 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
1035 * libio/iofwide.c: Assume _LIBC is defined.
1036 (_IO_fwide): Drop SHARED conditional because it is implied by
1037 SHLIB_COMPAT.
1038 * libio/iofwrite.c: Assume weak_alias is defined.
1039 * libio/iogetdelim.c: Likewise.
1040 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
1041 * libio/iogetwline.c (wmemcpy): Remove macro definition.
1042 (_IO_getwline): Call __wmemcpy directly.
1043 * libio/iopopen.c: Assume _LIBC is defined.
1044 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1045 (_IO_close): Remove macro definitions.
1046 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
1047 _exit directly.
1048 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
1049 directly.
1050 * libio/ioputs.c: Assume weak_alias is defined.
1051 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
1052 * libio/iosetbuffer.c: Assume weak_alias is defined.
1053 * libio/iosetvbuf.c: Likewise.
1054 * libio/ioungetc.c: Likewise.
1055 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
1056 libc_hidden_def, libc_hidden_weak, NULL are defined.
1057 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
1058 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
1059 defined.
1060 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1061 definitions.
1062 (_IO_old_file_init_internal): Drop SHARED conditional because it
1063 is implied by SHLIB_COMPAT.
1064 (_IO_old_file_fopen): Call __open directly.
1065 (_IO_old_file_sync): Assume ESPIPE is defined.
1066 (_IO_old_file_write): Call __write directly.
1067 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
1068 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
1069 Call __fcntl directly.
1070 * libio/oldiofgetpos.c: Assume weak_alias is defined.
1071 (_IO_old_fgetpos): Assume EIO is defined.
1072 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
1073 (_IO_old_fgetpos64): Assume EIO is defined.
1074 * libio/oldiofsetpos.c: Assume weak_alias is defined.
1075 (_IO_old_fsetpos): Assume EIO is defined.
1076 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
1077 (_IO_old_fsetpos64): Assume EIO is defined.
1078 * libio/oldiopopen.c: Assume _LIBC is defined.
1079 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1080 (_IO_close): Remove macro definitions.
1081 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
1082 directly.
1083 (_IO_old_proc_close): Call __close, __waitpid directly.
1084 * libio/put.c: Assume weak_alias is defined.
1085 * libio/stdfiles.c: Assume _LIBC is defined.
1086 * libio/stdio.c: Likewise.
1087 * libio/wfileops.c: Likewise.
1088 (_IO_wfile_sync): Assume ESPIPE is defined.
1089 * libio/wgenops.c: Assume _LIBC is defined.
1090 (save_for_wbackup): Remove internal_function.
1091
5129873a
FW
10922017-08-31 Florian Weimer <fweimer@redhat.com>
1093
1094 * malloc/malloc.c (top_check): Change return type to void. Remove
1095 internal_function.
1096 * malloc/hooks.c (top_check): Likewise.
1097 (malloc_check, realloc_check, memalign_check): Adjust.
1098
4fa9b3bf
JM
10992017-08-30 Joseph Myers <joseph@codesourcery.com>
1100
1101 [BZ #21457]
1102 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1103 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
1104 sigcontext and namespace requirements.
1105 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1106 * sysdeps/m68k/sys/ucontext.h: Likewise.
1107 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
1108 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1109 <bits/sigcontext.h>.
1110 (__ctx): Define earlier.
1111 (mcontext_t): Define structure contents rather than using struct
1112 sigcontext.
1113 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
1114 __glibc_reserved1 instead of __reserved.
1115 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1116 <bits/sigcontext.h>.
1117 (__ctx): Define earlier.
1118 (mcontext_t): Define structure contents rather than using struct
1119 sigcontext.
1120 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
1121 mcontext_t instead of struct sigcontext.
1122 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1123 <bits/sigcontext.h>.
1124 (__ctx): Define earlier.
1125 (mcontext_t): Define structure contents rather than using struct
1126 sigcontext.
1127 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1128 <bits/sigcontext.h>.
1129 (__ctx): Define earlier.
1130 (mcontext_t): Define structure contents rather than using struct
1131 sigcontext.
1132 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
1133 mcontext_t instead of struct sigcontext.
1134 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
1135 mcontext_t instead of struct sigcontext.
1136 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1137 <bits/sigcontext.h>.
1138 (__ctx): New macro.
1139 (struct __ia64_fpreg_mcontext): New type.
1140 (mcontext_t): Define structure contents rather than using struct
1141 sigcontext.
1142 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
1143 (uc_sigmask): Define using __ctx.
1144 (uc_stack): Likewise.
1145 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
1146 <bits/sigcontext.h>.
1147 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1148 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1149 <bits/sigcontext.h>.
1150 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
1151 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1152 <bits/sigcontext.h>.
1153 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1154 <bits/sigcontext.h>.
1155 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1156 <bits/sigcontext.h>.
1157 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1158 <bits/sigcontext.h>.
1159 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1160 <bits/sigcontext.h>.
1161 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1162 <bits/sigcontext.h>.
1163 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1164 <bits/sigcontext.h>.
1165 (__ctx): Define earlier.
1166 (mcontext_t): Define structure contents rather than using struct
1167 sigcontext.
1168 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1169 <bits/sigcontext.h>. Include <bits/types.h>.
1170 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
1171 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
1172 (test-xfail-XPG42/ucontext.h/conform): Likewise.
1173 (test-xfail-UNIX98/signal.h/conform): Likewise.
1174 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1175 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1176 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1177 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1178 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1179 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1180 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1181 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1182 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1183
5898f454
FW
11842017-08-30 Florian Weimer <fweimer@redhat.com>
1185
1186 * malloc/dynarray_emplace_enlarge.c
1187 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
1188 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1189 * malloc/tst-dynarray.c (test_long_overflow): New function.
1190 (do_test): Call it.
1191
a9da0bb2
FW
11922017-08-30 Florian Weimer <fweimer@redhat.com>
1193
1194 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
1195 (set_arena_corrupt): Remove definitions.
1196 (mtrim): Do not check for corrupt arena.
1197 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
1198 Likewise.
1199
ac3ed168
FW
12002017-08-30 Florian Weimer <fweimer@redhat.com>
1201
1202 [BZ #21754]
1203 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
1204 check_action.
1205 (ptmalloc_init): Do not set or use check_action.
1206 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
1207 call to malloc_printerr. Remove return statement.
1208 (free_check): Likewise. Remove arena unlock.
1209 (top_check): Update comment. Adjust call to malloc_printerr.
1210 Remove heap repair code.
1211 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
1212 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
1213 (sysmalloc): Adjust call to malloc_printerr.
1214 (munmap_chunk, __libc_realloc): Likewise. Remove return
1215 statement.
1216 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
1217 Remove errout label and corresponding gotos.
1218 (_int_free): Likewise. Remove arena unlock.
1219 (do_set_mallopt_check): Do not set check_action.
1220 (malloc_printerr): Adjust parameter list. Do not mark arena as
1221 corrupt.
1222 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
1223 comment.
1224 * manual/probes.texi (Memory Allocation Probes): Remove
1225 memory_mallopt_check_action.
1226
44bcba80
SE
12272017-08-30 Steve Ellcey <sellcey@cavium.com>
1228
1229 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
1230 Use pointer to uint64_t instead of long int for sp.
1231
ec2c1fce
FW
12322017-08-30 Florian Weimer <fweimer@redhat.com>
1233
1234 [BZ #21754]
1235 * malloc/malloc.c (malloc_printerr): Always terminate the process,
1236 without printing a backtrace. Do not leak any information in the
1237 error message.
1238 * manual/memory.texi (Heap Consistency Checking): Update.
1239 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
1240
9ce673b6
FW
12412017-08-30 Florian Weimer <fweimer@redhat.com>
1242
1243 Do not scale NPTL tests with available number of CPUs.
1244 * nptl/tst-cond16.c (count): Set to constant value of 8.
1245 * nptl/tst-cond18.c (count): Likewise.
1246
2f1aef19
JM
12472017-08-29 Joseph Myers <joseph@codesourcery.com>
1248
1249 [BZ #22035]
1250 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
1251 Define to take a second argument that is a macro that
1252 concatentates a suffix, not the suffix itself.
1253 (__CONCAT_d): New macro.
1254 (__CONCAT_f): Likewise.
1255 (__CONCAT_l): Likewise.
1256
8325b477
PP
12572017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
1258
1259 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
1260 by child.
1261
319cbbf6
AZ
12622017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1263 Aurelien Jarno <aurelien@aurel32.net>
1264 Maciej W. Rozycki <macro@imgtec.com>
1265
1266 [BZ #21956]
1267 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
1268 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
1269 `mips16-syscall6' and `mips16-syscall7'.
1270 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
1271 (CFLAGS-mips16-syscall7.c): Remove.
1272 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
1273 Remove `__mips16_syscall5', `__mips16_syscall6' and
1274 `__mips16_syscall7'.
1275 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
1276 (__mips16_syscall0): Rename `__mips16_syscall_return' to
1277 `__mips_syscall_return'.
1278 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
1279 (__mips16_syscall1): Likewise.
1280 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
1281 (__mips16_syscall2): Likewise.
1282 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
1283 (__mips16_syscall3): Likewise.
1284 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
1285 (__mips16_syscall4): Likewise.
1286 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
1287 Remove.
1288 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
1289 Remove.
1290 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
1291 Remove.
1292 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
1293 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
1294 `__mips16_syscall5'. Remove prototype.
1295 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
1296 `__mips16_syscall6'. Remove prototype.
1297 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
1298 `__mips16_syscall7'. Remove prototype.
1299 (__nomips16, __mips16_syscall_return): Move to...
1300 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1301 (__nomips16, __mips_syscall_return): ... here.
1302 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
1303 `__mips16_syscall_return' to `__mips_syscall_return'.
1304 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
1305 `internal_syscall##nr'.
1306 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
1307 `internal_syscall##nr'.
1308 (FORCE_FRAME_POINTER): Remove.
1309 (__mips_syscall5): New prototype.
1310 (internal_syscall5): Rewrite to call `__mips_syscall5'.
1311 (__mips_syscall6): New prototype.
1312 (internal_syscall6): Rewrite to call `__mips_syscall6'.
1313 (__mips_syscall7): New prototype.
1314 (internal_syscall7): Rewrite to call `__mips_syscall7'.
1315 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
1316 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
1317 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
1318 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
1319 (sysdep_routines): Add libc-do-syscall.
1320 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
1321 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
1322
01b87c65
AZ
13232017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1324
1325 [BZ #21672]
1326 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
1327 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
1328 (advise_stack_range): New function.
1329 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
1330 stack non required to advise_stack_range at allocatestack.c
1331
16f138a4
SN
13322017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1333
1334 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
1335
251bccfa
FW
13362017-08-29 Florian Weimer <fweimer@redhat.com>
1337
1338 [BZ #22026]
1339 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
1340 __end_fct. Mangle __end_fct after setting it to NULL.
1341 * iconv/Makefile (tests): Add tst-gconv-init-failure.
1342 (modules-names, modules-names-tests): Add
1343 tst-gconv-init-failure-mod.
1344 (gconv-modules): New target.
1345 (tst-gconv-init-failure-mod.so): Link against libsupport.
1346 (tst-gconv-init-failure): Depend on gconv-modules,
1347 tst-gconv-init-failure-mod.so.
1348 * iconv/tst-gconv-init-failure-mod.c: New file.
1349 * iconv/tst-gconv-init-failure.c: Likewise.
1350 * iconv/test-gconv-modules: Likewise.
1351
e7c18b9d
FW
13522017-08-29 Florian Weimer <fweimer@redhat.com>
1353
1354 [BZ #22025]
1355 * iconv/gconv_db.c (free_derivation): Remove redundant
1356 parentheses.
1357 (gen_steps): Unconditionally mangle __btowc_fct after
1358 initialization.
1359 (increment_counter): Likewise. Do not call init_fct for internal
1360 modules.
1361
7daada03
JM
13622017-08-29 Joseph Myers <joseph@codesourcery.com>
1363
1364 [BZ #22028]
1365 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1366 (_MSUF_): Remove macro.
1367 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
1368 Likewise.
1369 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1370 (__REDIRFROM_X): New macro.
1371 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
1372 Likewise.
1373 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
1374 (__REDIRTO_X): Likewise.
1375 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
1376 arguments.
1377 (__MATH_REDIRCALL_2): Likewise.
1378 (__MATH_REDIRCALL_INTERNAL): Likewise.
1379 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1380 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
1381 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
1382 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1383 * math/test-finite-macros.c: New file.
1384 * math/Makefile (tests): Add test-finite-macros.
1385 (CFLAGS-test-finite-macros.c): New variable.
1386
1cf1232c
PF
13872017-08-29 Patsy Franklin <pfrankli@redhat.com>
1388 Jeff Law <law@redhat.com>
1389
1390 [BZ #22025]
1391 Mangle NULL pointers in iconv/gconv.
1392 * iconv/gconv_cache.c (find_module): Demangle init_fct before
1393 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
1394 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
1395 is non-NULL before demangling the end_fct. Check for NULL
1396 end_fct after demangling.
1397 (__gconv_release_step): Demangle the end_fct before checking
1398 it for NULL. Remove assert on __shlibc_handle != NULL.
1399 (gen_steps): Don't check btowc_fct for NULL before mangling.
1400 Demangle init_fct before checking for NULL.
1401 (increment_counter): Likewise.
1402 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
1403 end_fct for NULL before mangling.
1404 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
1405 for NULL.
1406
f8de9568
AK
14072017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
1408
1409 [BZ #21971]
1410 * locale/iso-639.def: add Morisyen.
1411
42496114
GG
14122017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1413
1414 [BZ #21930]
1415 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
1416 (iszero): New C++ implementation that does not use
1417 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
1418 signaling nans are enabled, since __builtin_types_compatible_p
1419 is a C-only feature.
1420 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
1421 defined, include ieee754_float128.h for access to the union and
1422 member ieee854_float128.ieee.
1423 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
1424 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
1425 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1426 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
1427 options of test-math-zero on powerpc64le.
1428
5e2bc4ff
L
14292017-08-28 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
1432 Change double to float.
1433
a48c0fb4
JM
14342017-08-28 Joseph Myers <joseph@codesourcery.com>
1435
1436 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
1437 unconditional.
1438 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
1439 conditional code; define contents only for [LIBM_SVID_COMPAT].
1440
ee17d4e9
FW
14412017-08-28 Florian Weimer <fweimer@redhat.com>
1442
1443 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
1444 (abi-lp64_be-options): Remove.
1445 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
1446 (abi-hard-options): Likewise.
1447 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
1448 (abi-o32_hard-options, abi-o32_soft_2008-options)
1449 (abi-o32_hard_2008-options, abi-n32_soft-options)
1450 (abi-n32_hard-options, abi-n32_soft_2008-options)
1451 (abi-n32_hard_2008-options, abi-n64_soft-options)
1452 (abi-n64_hard-options, abi-n64_soft_2008-options)
1453 (abi-n64_hard_2008-options): Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
1455 (abi-64-v1-options, abi-64-v2-options): Likewise.
1456 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
1457 (abi-64-options): Likewise.
1458 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
1459 (abi-64-options): Likewise.
1460 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
1461 (abi-64-options): Likewise.
1462 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
1463 (abi-64-options, abi-x32-options): Likewise.
1464
2dba5ce7
FW
14652017-08-28 Florian Weimer <fweimer@redhat.com>
1466
1467 Store supported list of SYS_* system calls in the source tree.
1468 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1469 (bits/syscall.h): Generate from list file.
1470 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
1471 [$(subdir) = misc] (tests): Add tst-syscall-list.
1472 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
1473 [$(subdir) = misc] (tst-syscall-list-macros.list)
1474 [$(subdir) = misc] (tst-syscall-list-nr.list)
1475 (tst-syscall-list-sys.list): Helper targets for new
1476 tst-syscall-list test.
1477 [$(subdir) = misc] (tst-syscall-list.out): Run test script
1478 tst-syscall-list.sh.
1479 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
1480 target. Do not include bits/syscall.d.
1481 [$(subdir) = misc] (generated): Do not update.
1482 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
1483 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
1484 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
1485 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
1486
5f3b183d
PP
14872017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1488
1489 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
1490 (tst-cxa_atexit, tst-on_exit): Likewise.
1491 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
1492 tst-cxa_atexit, and tst-on_exit.
1493 * stdlib/tst-atexit-common.c: New file.
1494 * stdlib/tst-atexit.c: New file.
1495 * stdlib/tst-at_quick_exit.c: New file.
1496 * stdlib/tst-cxa_atexit.c: New file.
1497 * stdlib/tst-on_exit.c: New file.
1498
2ef8d469
ST
14992017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1500
1501 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
1502 * mach/stack_chk_fail_local.c: New file.
1503 * hurd/stack_chk_fail_local.c: New file.
1504 * mach/Machrules ($(interface-library)-routines): Add
1505 stack_chk_fail_local.
99ee4d26
ST
1506 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
1507 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
1508 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
1509 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
1510 * hurd/Makefile (CFLAGS-hurdstartup.o,
1511 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 1512
7ab70c98
L
15132017-08-25 H.J. Lu <hongjiu.lu@intel.com>
1514
1515 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
1516 (index_cpu_*, index_arch_*): Removed.
1517
39e7a5a6
SN
15182017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1519
1520 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
1521 Use uint64_t instead of unsigned long.
1522
bba5c930
JM
15232017-08-25 Joseph Myers <joseph@codesourcery.com>
1524
a6ccdb08
JM
1525 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
1526 [__HAVE_DISTINCT_FLOAT128].
1527
23761119
JM
1528 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
1529 of <bits/math-finite.h>.
1530 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
1531 inclusion of <bits/math-finite.h>.
1532 * math/bits/math-finite.h (__REDIRTO_X): Do not define
1533 conditionally on [__MATH_DECLARING_LDOUBLE && defined
1534 __NO_LONG_DOUBLE_MATH].
1535 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
1536 (__MATH_REDIRCALL_2): Likewise.
1537 (__MATH_REDIRCALL_INTERNAL): Likewise.
1538 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1539 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
1540 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1541
bba5c930
JM
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1543 Remove file.
1544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1545 Likewise.
1546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1547 Likewise.
1548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1549 Likewise.
1550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1551 Likewise.
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1553 Likewise.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1555 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1559 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
1560 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
1561 w_sqrtf_compat-ppc32.
1562
3d7b66f6
GG
15632017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1564
1565 * math/math.h [defined __cplusplus] (issignaling): In the long
1566 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
1567 is not defined. Call __issignaling, otherwise.
1568
ebd6f007
AZ
15692017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1570
1571 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
1572 syscall definitions and replace __builtin_expect with __glibc_likely.
1573 * sysdeps/unix/syscall-template.S: Update comment about cancellable
1574 syscall.
1575 (SYSCALL_CANCELLABLE): Removedefinition
1576 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
1577 definition.
1578 (PSEUDO_END): Likewise.
1579 [IS_IN (libpthread)] (CENABLE): Likewise.
1580 [IS_IN (libpthread)] (CDISABLE): Likewise.
1581 [IS_IN (libc)] (CENABLE): Likewise.
1582 [IS_IN (libc)] (CENABLE): Likewise.
1583 [IS_IN (librt)] (CDISABLE): Likewise.
1584 [IS_IN (librt)] (CDISABLE): Likewise.
1585 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1586 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
1587 definition.
1588 (PSEUDO_END): Likewise.
1589 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
1590 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
1591 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1592 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1593 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1594 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1595 (CENABLE): Likewise.
1596 (CDISABLE): Likewise.
1597 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1598 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
1599 defintion.
1600 (PSEUDO_END): Likewise.
1601 [IS_IN (libpthread)] (CENABLE): Likewise.
1602 [IS_IN (libpthread)] (CDISABLE): Likewise.
1603 [IS_IN (libc)] (CENABLE): Likewise.
1604 [IS_IN (libc)] (CENABLE): Likewise.
1605 [IS_IN (librt)] (CDISABLE): Likewise.
1606 [IS_IN (librt)] (CDISABLE): Likewise.
1607 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1608 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
1609 definition.
1610 (PSEUDO_END): Likewise.
1611 [IS_IN (libpthread)] (CENABLE): Likewise.
1612 [IS_IN (libpthread)] (CDISABLE): Likewise.
1613 [IS_IN (libc)] (CENABLE): Likewise.
1614 [IS_IN (libc)] (CENABLE): Likewise.
1615 [IS_IN (librt)] (CDISABLE): Likewise.
1616 [IS_IN (librt)] (CDISABLE): Likewise.
1617 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1618 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
1619 definition.
1620 (PSEUDO_END): Likewise.
1621 [IS_IN (libpthread)] (CENABLE): Likewise.
1622 [IS_IN (libpthread)] (CDISABLE): Likewise.
1623 [IS_IN (libc)] (CENABLE): Likewise.
1624 [IS_IN (libc)] (CENABLE): Likewise.
1625 [IS_IN (librt)] (CDISABLE): Likewise.
1626 [IS_IN (librt)] (CDISABLE): Likewise.
1627 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1628 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
1629 definition.
1630 (PSEUDO_END): Likewise.
1631 [IS_IN (libpthread)] (CENABLE): Likewise.
1632 [IS_IN (libpthread)] (CDISABLE): Likewise.
1633 [IS_IN (libc)] (CENABLE): Likewise.
1634 [IS_IN (libc)] (CENABLE): Likewise.
1635 [IS_IN (librt)] (CDISABLE): Likewise.
1636 [IS_IN (librt)] (CDISABLE): Likewise.
1637 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1638 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
1639 definition.
1640 (PSEUDO_END): Likewise.
1641 [IS_IN (libpthread)] (CENABLE): Likewise.
1642 [IS_IN (libpthread)] (CDISABLE): Likewise.
1643 [IS_IN (libc)] (CENABLE): Likewise.
1644 [IS_IN (libc)] (CENABLE): Likewise.
1645 [IS_IN (librt)] (CDISABLE): Likewise.
1646 [IS_IN (librt)] (CDISABLE): Likewise.
1647 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1648 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
1649 definition.
1650 (PSEUDO_END): Likewise.
1651 [IS_IN (libpthread)] (CENABLE): Likewise.
1652 [IS_IN (libpthread)] (CDISABLE): Likewise.
1653 [IS_IN (libc)] (CENABLE): Likewise.
1654 [IS_IN (libc)] (CENABLE): Likewise.
1655 [IS_IN (librt)] (CDISABLE): Likewise.
1656 [IS_IN (librt)] (CDISABLE): Likewise.
1657 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1658 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
1659 Remove definition.
1660 (PSEUDO_END): Likewise.
1661 [IS_IN (libpthread)] (CENABLE): Likewise.
1662 [IS_IN (libpthread)] (CDISABLE): Likewise.
1663 [IS_IN (libc)] (CENABLE): Likewise.
1664 [IS_IN (libc)] (CENABLE): Likewise.
1665 [IS_IN (librt)] (CDISABLE): Likewise.
1666 [IS_IN (librt)] (CDISABLE): Likewise.
1667 (SINGLE_THREAD_P): Likewise.
1668 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
1669 definition.
1670 (PSEUDO_END): Likewise.
1671 [IS_IN (libpthread)] (CENABLE): Likewise.
1672 [IS_IN (libpthread)] (CDISABLE): Likewise.
1673 [IS_IN (libc)] (CENABLE): Likewise.
1674 [IS_IN (libc)] (CENABLE): Likewise.
1675 [IS_IN (librt)] (CDISABLE): Likewise.
1676 [IS_IN (librt)] (CDISABLE): Likewise.
1677 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1678 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
1679 definition.
1680 (PSEUDO_END): Likewise.
1681 [IS_IN (libpthread)] (CENABLE): Likewise.
1682 [IS_IN (libpthread)] (CDISABLE): Likewise.
1683 [IS_IN (libc)] (CENABLE): Likewise.
1684 [IS_IN (libc)] (CENABLE): Likewise.
1685 [IS_IN (librt)] (CDISABLE): Likewise.
1686 [IS_IN (librt)] (CDISABLE): Likewise.
1687 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1688 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
1689 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1690 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
1691 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
1692 definition.
1693 (PSEUDO_END): Likewise.
1694 [IS_IN (libpthread)] (CENABLE): Likewise.
1695 [IS_IN (libpthread)] (CDISABLE): Likewise.
1696 [IS_IN (libc)] (CENABLE): Likewise.
1697 [IS_IN (libc)] (CENABLE): Likewise.
1698 [IS_IN (librt)] (CDISABLE): Likewise.
1699 [IS_IN (librt)] (CDISABLE): Likewise.
1700 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
1702 definition.
1703 (PSEUDO_END): Likewise.
1704 [IS_IN (libpthread)] (CENABLE): Likewise.
1705 [IS_IN (libpthread)] (CDISABLE): Likewise.
1706 [IS_IN (libc)] (CENABLE): Likewise.
1707 [IS_IN (libc)] (CENABLE): Likewise.
1708 [IS_IN (librt)] (CDISABLE): Likewise.
1709 [IS_IN (librt)] (CDISABLE): Likewise.
1710 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1711 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
1712 definition.
1713 (PSEUDO_END): Likewise.
1714 [IS_IN (libpthread)] (CENABLE): Likewise.
1715 [IS_IN (libpthread)] (CDISABLE): Likewise.
1716 [IS_IN (libc)] (CENABLE): Likewise.
1717 [IS_IN (libc)] (CENABLE): Likewise.
1718 [IS_IN (librt)] (CDISABLE): Likewise.
1719 [IS_IN (librt)] (CDISABLE): Likewise.
1720 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
1722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1723 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
1724 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
1725 definition.
1726 (PSEUDO_END): Likewise.
1727 [IS_IN (libpthread)] (CENABLE): Likewise.
1728 [IS_IN (libpthread)] (CDISABLE): Likewise.
1729 [IS_IN (libc)] (CENABLE): Likewise.
1730 [IS_IN (libc)] (CENABLE): Likewise.
1731 [IS_IN (librt)] (CDISABLE): Likewise.
1732 [IS_IN (librt)] (CDISABLE): Likewise.
1733 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1734 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
1735 definition.
1736 (PSEUDO_END): Likewise.
1737 [IS_IN (libpthread)] (CENABLE): Likewise.
1738 [IS_IN (libpthread)] (CDISABLE): Likewise.
1739 [IS_IN (libc)] (CENABLE): Likewise.
1740 [IS_IN (libc)] (CENABLE): Likewise.
1741 [IS_IN (librt)] (CDISABLE): Likewise.
1742 [IS_IN (librt)] (CDISABLE): Likewise.
1743 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1744
8aa48656
SN
17452017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1746
1747 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
1748
fcaaca41
L
17492017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1752
376b40a2
L
17532017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1754
1755 [BZ #21982]
1756 * string/stratcliff.c (do_test): Declare size, nchars, inner,
1757 middle and outer with size_t instead of int. Repleace %d and
1758 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
1759 "MAX (outer, nchars - 64)" to support unsigned outer and
1760 nchars. Also exit loop when outer == 0.
1761
2b0b9a1c
AZ
17622017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1763
1764 * include/fcntl.h (__fcntl_nocancel): Remove definition.
1765 * include/signal.h (__sigsuspend_nocancel): Likewise.
1766 * include/time.h (__nanosleep_nocancel): Likewise.
1767 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
1768 * login/utmp_file.c: Include non cancellable syscall header.
1769 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
1770 prototype.
1771
b9eaca8f
L
17722017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1773
1774 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
1775 .byte sequences with AVX512F instructions.
1776 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
1777 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1778 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1779 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
1780 Likewise.
1781 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1782 Likewise.
1783
5a706f64
SE
17842017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1785 Steve Ellcey <sellcey@cavium.com>
1786
1787 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
1788 Use PTR_REG macro in cmp instruction.
1789
b513da7e
GG
17902017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1791
1792 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
1793 Change the return type of the ifunc resolver to match the return
1794 type of the target function.
1795
78ca091c
AZ
17962017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1797
b70b6026
AZ
1798 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
1799 (preadv64): Likewise.
1800 (pwrite64(: Likewise.
1801 (pwritev64): Likewise.
1802
78ca091c
AZ
1803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1804 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
1805 (LOAD_ARGS_0): Likewise.
1806 (LOAD_ARGS_1): Likewise.
1807 (LOAD_ARGS_2): Likewise.
1808 (LOAD_ARGS_3): Likewise.
1809 (LOAD_ARGS_4): Likewise.
1810 (LOAD_ARGS_5): Likewise.
1811 (LOAD_ARGS_6): Likewise.
1812 (LOAD_REGS_0): Likewise.
1813 (LOAD_REGS_1): Likewise.
1814 (LOAD_REGS_2): Likewise.
1815 (LOAD_REGS_3): Likewise.
1816 (LOAD_REGS_4): Likewise.
1817 (LOAD_REGS_5): Likewise.
1818 (LOAD_REGS_6): Likewise.
1819 (ASM_ARGS_0): Likewise.
1820 (ASM_ARGS_1): Likewise.
1821 (ASM_ARGS_2): Likewise.
1822 (ASM_ARGS_3): Likewise.
1823 (ASM_ARGS_4): Likewise.
1824 (ASM_ARGS_5): Likewise.
1825 (ASM_ARGS_6): Likewise.
1826 (LOAD_ARGS_TYPES_1): Likewise.
1827 (LOAD_ARGS_TYPES_2): Likewise.
1828 (LOAD_ARGS_TYPES_3): Likewise.
1829 (LOAD_ARGS_TYPES_4): Likewise.
1830 (LOAD_ARGS_TYPES_5): Likewise.
1831 (LOAD_ARGS_TYPES_6): Likewise.
1832 (LOAD_REGS_TYPES_1): Likewise.
1833 (LOAD_REGS_TYPES_2): Likewise.
1834 (LOAD_REGS_TYPES_3): Likewise.
1835 (LOAD_REGS_TYPES_4): Likewise.
1836 (LOAD_REGS_TYPES_5): Likewise.
1837 (LOAD_REGS_TYPES_6): Likewise.
1838 (TYPEFY): New define.
1839 (ARGIFY): Likewise.
1840 (internal_syscall0): Likewise.
1841 (internal_syscall1): Likewise.
1842 (internal_syscall2): Likewise.
1843 (internal_syscall3): Likewise.
1844 (internal_syscall4): Likewise.
1845 (internal_syscall5): Likewise.
1846 (internal_syscall6): Likewise.
1847 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
1848 (INTERNAL_SYSCALL_NCS): Remove define.
1849 (internal_syscall1): Add define.
1850
453a493d
GG
18512017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1852
1853 * math/w_remainder_compat.c: Remove duplicate inclusion of
1854 math-svid-compat.h.
1855 * math/w_remainderf_compat.c: Likewise.
1856 * math/w_remainderl_compat.c: Likewise.
1857
f2f048a5
GG
18582017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1859
1860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1861
d9bef9c0
JM
18622017-08-22 Joseph Myers <joseph@codesourcery.com>
1863
1864 [BZ #21684]
1865 * math/tgmath.h (__floating_type): Simplify definitions.
1866 (__real_integer_type): New macro.
1867 (__complex_integer_type): Likewise.
1868 (__expr_is_real): Likewise.
1869 (__tgmath_real_type_sub): Update comment to describe handling of
1870 complex types.
1871 (__tgmath_complex_type_sub): New macro.
1872 (__tgmath_complex_type): Likewise.
1873 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1874 (__TGMATH_CF128): Use __expr_is_real.
1875 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
1876 __expr_is_real.
1877 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1878 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
1879 * math/gen-tgmath-tests.py (Type.create_type): Create complex
1880 integer types.
1881
08d6eb46
AZ
18822017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1883
988f991b
AZ
1884 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
1885 macro.
1886 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
1887 alias.
1888 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
1889 Likewise.
1890
6f33fd04
AZ
1891 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
1892 nanosleep_not_cancel with __nanosleep_nocancel.
1893 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
1894 (__nanosleep_nocancel): New macro.
1895 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
1896 function.
1897 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
1898 macro.
1899 (__nanosleep_nocancel): New prototype.
1900
08d6eb46
AZ
1901 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
1902 pause_not_cancel with __pause_nocancel.
1903 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
1904 (__pause_nocancel): New macro.
1905 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
1906 macro.
1907 (__pause_nocancel): New prototype.
1908 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
1909
ee4e992e
MS
19102017-08-22 Martin Sebor <msebor@redhat.com>
1911
1912 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
1913 to return a pointer to the same type as the target function.
1914
20962acb
L
19152017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 [BZ #18822]
1918 [BZ #21986]
1919 * include/printf.h (__printf_fphex): Add attribute_hidden.
1920 (__guess_grouping): New prototype.
1921 * stdio-common/printf_fp.c (__guess_grouping): Removed.
1922 * stdio-common/reg-printf.c (__register_printf_specifier): Add
1923 libc_hidden_proto and libc_hidden_def.
1924 * stdlib/strfmon_l.c (__guess_grouping): Removed.
1925 (__vstrfmon_l): Remove the third argument passed to
1926 __guess_grouping.
1927
a16e8bc0
GG
19282017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1929
1930 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
1931 definition for issignaling that does not rely on __MATH_TG,
1932 since __MATH_TG uses __builtin_types_compatible_p, which is only
1933 available in C mode.
1934 (CFLAGS-test-math-issignaling.cc): New variable.
1935 * math/Makefile [CXX] (tests): Add test-math-issignaling.
1936 * math/test-math-issignaling.cc: New test for C++ implementation
1937 of type-generic issignaling.
1938 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1939 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
1940 options of test-math-issignaling on powerpc64le.
1941
8d2ec553
L
19422017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1943
1944 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1945 building libc.a.
1946 (hidden_proto): Likewise.
1947 (hidden_tls_proto): Likewise.
1948 (__hidden_proto): Likewise.
1949
a4d57b79
FW
19502017-08-22 Florian Weimer <fweimer@redhat.com>
1951
1952 math: Statically link tests of internal functionality.
1953 * math/Makefile (tests): Remove atest-exp, atest-sincos,
1954 atest-exp2.
1955 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
1956 (gmp-objs): Remove assignment.
1957 (atest-exp, atest-sincos, atest-exp2): Remove targets.
1958
75dfe623
JM
19592017-08-22 Joseph Myers <joseph@codesourcery.com>
1960
80f91666
JM
1961 [BZ #21987]
1962 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
1963 and copy to ...
1964 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
1965 ... here.
1966 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
1967 ... and here.
1968
75dfe623
JM
1969 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
1970 variable definitions above inclusion of ../Rules.
1971
ea99fcd0
JM
19722017-08-21 Joseph Myers <joseph@codesourcery.com>
1973
1974 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
1975 case calling __builtin_unreachable.
1976
19926de9
AZ
19772017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1978
a8410a5f
AZ
1979 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
1980 __waitpid_nocancel.
1981 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
1982 (__waitpid_nocancel): New macro.
1983 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
1984 macro.
1985 (__waitpid_nocancel): Replace macro with a function.
1986 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
1987 function.
1988
7369800c
AZ
1989 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
1990 __fcntl_nocancel.
1991 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
1992 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
1993
19926de9
AZ
1994 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
1995 __writev_nocancel_nostatus.
1996 (write_call_graph): Likewise.
1997 (write_bb_counts): Likewise.
1998 * resolv/herror.c (herror): Likewise.
1999 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
2000 macro.
2001 (__writev_nocancel_nostatus): New macro.
2002 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
2003 Remove macro.
2004 (__writev_nocancel_nostatus): New function.
2005
813378e9
JM
20062017-08-21 Joseph Myers <joseph@codesourcery.com>
2007
df1deda6
JM
2008 Revert:
2009 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2012 building libc.a.
2013 (hidden_proto): Likewise.
2014 (hidden_tls_proto): Likewise.
2015 (__hidden_proto): Likewise.
2016
831bbd55
JM
2017 [BZ #21973]
2018 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
2019 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2021 Likewise.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2023 Likewise.
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2025 Likewise.
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2027 Likewise.
2028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
2029 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2030 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2031 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2032 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2033 GLIBC_2.0 sqrtl symbol.
2034
813378e9
JM
2035 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
2036 [__USE_MISC] (_LIB_VERSION): Likewise.
2037 [__USE_MISC] (struct exception): Likewise.
2038 [__USE_MISC] (matherr): Likewise.
2039 [__USE_MISC] (DOMAIN): Likewise.
2040 [__USE_MISC] (SING): Likewise.
2041 [__USE_MISC] (OVERFLOW): Likewise.
2042 [__USE_MISC] (UNDERFLOW): Likewise.
2043 [__USE_MISC] (TLOSS): Likewise.
2044 [__USE_MISC] (PLOSS): Likewise.
2045 [__USE_MISC] (HUGE): Likewise.
2046 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
2047 * math/math-svid-compat.h: New file.
2048 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
2049 and matherrl.
2050 * include/math.h [!_ISOMAC] (__matherr): Remove.
2051 * manual/arith.texi (FP Exceptions): Do not document matherr.
2052 * math/Makefile (tests): Change test-matherr to test-matherr-3.
2053 (tests-internal): New variable.
2054 (install-lib): Do not add libieee.a.
2055 (non-lib.a): Likewise.
2056 (extra-objs): Do not add libieee.a and ieee-math.o.
2057 (CPPFLAGS-s_lib_version.c): Remove variable.
2058 ($(objpfx)libieee.a): Remove rule.
2059 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
2060 * math/ieee-math.c: Remove.
2061 * math/libm-test-support.c (matherr): Remove.
2062 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
2063 and license notices. Include <math-svid-compat.h> and
2064 <shlib-compat.h>.
2065 (matherr): Undefine as macro. Use compat_symbol_reference.
2066 (_LIB_VERSION): Likewise.
2067 * math/test-matherr-2.c: New file.
2068 * math/test-matherr-3.c: Likewise.
2069 * sysdeps/generic/math_private.h (__kernel_standard): Remove
2070 declaration.
2071 (__kernel_standard_f): Likewise.
2072 (__kernel_standard_l): Likewise.
2073 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
2074 <math_private.h>. Include <math-svid-compat.h>.
2075 (_LIB_VERSION): Undefine as macro.
2076 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
2077 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
2078 [LIBM_SVID_COMPAT], use compat_symbol.
2079 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
2080 <math_private.h>. Include <math-svid-compat.h>.
2081 (matherr): Undefine as macro.
2082 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
2083 compat_symbol.
2084 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
2085 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
2086 compat_symbol_reference.
2087 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
2088 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
2089 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
2090 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
2091 (MATHERR_D): Remove declaration.
2092 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
2093 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
2094 [LIBM_BUILD] (pmatherrf): Likewise.
2095 [LIBM_BUILD] (pmatherr): Likewise.
2096 [LIBM_BUILD] (pmatherrl): Likewise.
2097 (DOMAIN): Likewise.
2098 (SING): Likewise.
2099 (OVERFLOW): Likewise.
2100 (UNDERFLOW): Likewise.
2101 (TLOSS): Likewise.
2102 (PLOSS): Likewise.
2103 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
2104 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
2105 compat_symbol.
2106 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
2107 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
2108 compat_symbol.
2109 * math/lgamma-compat.h: Include <math-svid-compat.h>.
2110 * math/w_acos_compat.c: Likewise.
2111 * math/w_acosf_compat.c: Likewise.
2112 * math/w_acosh_compat.c: Likewise.
2113 * math/w_acoshf_compat.c: Likewise.
2114 * math/w_acoshl_compat.c: Likewise.
2115 * math/w_acosl_compat.c: Likewise.
2116 * math/w_asin_compat.c: Likewise.
2117 * math/w_asinf_compat.c: Likewise.
2118 * math/w_asinl_compat.c: Likewise.
2119 * math/w_atan2_compat.c: Likewise.
2120 * math/w_atan2f_compat.c: Likewise.
2121 * math/w_atan2l_compat.c: Likewise.
2122 * math/w_atanh_compat.c: Likewise.
2123 * math/w_atanhf_compat.c: Likewise.
2124 * math/w_atanhl_compat.c: Likewise.
2125 * math/w_cosh_compat.c: Likewise.
2126 * math/w_coshf_compat.c: Likewise.
2127 * math/w_coshl_compat.c: Likewise.
2128 * math/w_exp10_compat.c: Likewise.
2129 * math/w_exp10f_compat.c: Likewise.
2130 * math/w_exp10l_compat.c: Likewise.
2131 * math/w_exp2_compat.c: Likewise.
2132 * math/w_exp2f_compat.c: Likewise.
2133 * math/w_exp2l_compat.c: Likewise.
2134 * math/w_fmod_compat.c: Likewise.
2135 * math/w_fmodf_compat.c: Likewise.
2136 * math/w_fmodl_compat.c: Likewise.
2137 * math/w_hypot_compat.c: Likewise.
2138 * math/w_hypotf_compat.c: Likewise.
2139 * math/w_hypotl_compat.c: Likewise.
2140 * math/w_j0_compat.c: Likewise.
2141 * math/w_j0f_compat.c: Likewise.
2142 * math/w_j0l_compat.c: Likewise.
2143 * math/w_j1_compat.c: Likewise.
2144 * math/w_j1f_compat.c: Likewise.
2145 * math/w_j1l_compat.c: Likewise.
2146 * math/w_jn_compat.c: Likewise.
2147 * math/w_jnf_compat.c: Likewise.
2148 * math/w_jnl_compat.c: Likewise.
2149 * math/w_lgamma_main.c: Likewise.
2150 * math/w_lgamma_r_compat.c: Likewise.
2151 * math/w_lgammaf_main.c: Likewise.
2152 * math/w_lgammaf_r_compat.c: Likewise.
2153 * math/w_lgammal_main.c: Likewise.
2154 * math/w_lgammal_r_compat.c: Likewise.
2155 * math/w_log10_compat.c: Likewise.
2156 * math/w_log10f_compat.c: Likewise.
2157 * math/w_log10l_compat.c: Likewise.
2158 * math/w_log2_compat.c: Likewise.
2159 * math/w_log2f_compat.c: Likewise.
2160 * math/w_log2l_compat.c: Likewise.
2161 * math/w_log_compat.c: Likewise.
2162 * math/w_logf_compat.c: Likewise.
2163 * math/w_logl_compat.c: Likewise.
2164 * math/w_pow_compat.c: Likewise.
2165 * math/w_powf_compat.c: Likewise.
2166 * math/w_powl_compat.c: Likewise.
2167 * math/w_remainder_compat.c: Likewise.
2168 * math/w_remainderf_compat.c: Likewise.
2169 * math/w_remainderl_compat.c: Likewise.
2170 * math/w_scalb_compat.c: Likewise.
2171 * math/w_scalbf_compat.c: Likewise.
2172 * math/w_scalbl_compat.c: Likewise.
2173 * math/w_sinh_compat.c: Likewise.
2174 * math/w_sinhf_compat.c: Likewise.
2175 * math/w_sinhl_compat.c: Likewise.
2176 * math/w_sqrt_compat.c: Likewise.
2177 * math/w_sqrtf_compat.c: Likewise.
2178 * math/w_sqrtl_compat.c: Likewise.
2179 * math/w_tgamma_compat.c: Likewise.
2180 * math/w_tgammaf_compat.c: Likewise.
2181 * math/w_tgammal_compat.c: Likewise.
2182 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2183 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2184 * sysdeps/ieee754/k_standard.c: Likewise.
2185 * sysdeps/ieee754/k_standardf.c: Likewise.
2186 * sysdeps/ieee754/k_standardl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2189 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2191 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2192 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2193 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2194 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2195 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2197 Likewise.
2198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2199 Likewise.
2200 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2201 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2202 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2203 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2204
4504783c
FW
22052017-08-21 Florian Weimer <fweimer@redhat.com>
2206
2207 [BZ #21864]
2208 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
2209 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
2210 Move before inclusion of ../Rules.
2211
b5889d25
FW
22122017-08-21 Florian Weimer <fweimer@redhat.com>
2213
2214 [BZ #21972]
2215 * assert/assert.h (assert): Use static_cast (bool) for C++.
2216 Use the ternary operator in the warning branch for GNU C.
2217 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
2218 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
2219 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
2220 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
2221 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
2222
41e673c1
L
22232017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2224
2225 [BZ #18822]
2226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2227 (__syscall_clock_gettime): Add attribute_hidden.
2228 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
2229 (__start_context): Likewise.
2230
568ff429
L
22312017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2232
2233 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2234 building libc.a.
2235 (hidden_proto): Likewise.
2236 (hidden_tls_proto): Likewise.
2237 (__hidden_proto): Likewise.
2238
7c41b4a1
L
22392017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2240
2241 * include/libc-symbols.h (attribute_hidden): Enable hidden
2242 visibility in libc.a compiled with PIE.
2243
483d7068
L
22442017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2245
2246 [BZ #18822]
2247 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
2248 Add attribute_hidden.
2249
22502017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 [BZ #21864]
2253 * Makerules (all-nonlib): Add $(others-extras).
2254 * catgets/Makefile (others-extras): New.
2255 * elf/Makefile (others-extras): Likewise.
2256 * nss/Makefile (others-extras): Likewise.
2257
54e4b8f2
L
22582017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 [BZ #18822]
2261 * csu/libc-start.c (__libc_multiple_libcs): Removed.
2262 * elf/dl-open.c: Include <libc-internal.h>.
2263 (__libc_multiple_libcs): Removed.
2264 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
2265 <hp-timing.h>.
2266 * include/libc-internal.h (__libc_multiple_libcs): New.
2267 * misc/sbrk.c: Include <libc-internal.h>.
2268 (__libc_multiple_libcs): Removed.
2269
1dbbb1ec
L
22702017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2271
2272 [BZ #18822]
2273 * grp/initgroups.c (__nss_group_database): Removed.
2274 (__nss_initgroups_database): Likewise.
2275 * nscd/gai.c (__nss_hosts_database): Likewise.
2276 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2277 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
2278 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
2279 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
2280 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
2281 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
2282 attribute_hidden.
2283 * nss/nsswitch.c (__nss_database_custom): Define only if
2284 USE_NSCD is defined.
2285 (__nss_configure_lookup): Use __nss_database_custom only if
2286 USE_NSCD is defined.
2287 * nss/nsswitch.h (__nss_database_custom): Declare only if
2288 USE_NSCD is defined. Add attribute_hidden.
2289 (__nss_setent): Add attribute_hidden.
2290 (__nss_endent): Likewise.
2291 (__nss_getent_r): Likewise.
2292 (__nss_getent): Likewise.
2293 (DEFINE_DATABASE): Declare __nss_##arg##_database.
2294
2585d7b8
L
22952017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2296
2297 [BZ #18822]
2298 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
2299 libc_hidden_proto and libc_hidden_def.
2300
c8dfa99c
L
23012017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2302
2303 [BZ #18822]
2304 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
2305 Add libc_hidden_proto.
2306 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
2307 Add libc_hidden_def.
2308
7ed87317
L
23092017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 [BZ #21974]
2312 * gmon/Makefile (routines): Remove bb_init_func and
2313 bb_exit_func.
2314 (elide-routines.os): Removed.
9476b904
L
2315 * gmon/bb_exit_func.c: Likewise.
2316 * gmon/bb_init_func.c: Likewise.
7ed87317
L
2317 * include/sys/gmon.h (__bb): Likewise.
2318 (__bb_init_func): Likewise.
2319 (__bb_exit_func): Likewise.
91695eb1 2320 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 2321
94e6ba15
L
23222017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2323
2324 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
2325 * include/setjmp.h (____longjmp_chk): Here. Add
2326 attribute_hidden.
2327
7550717e
L
23282017-08-19 H.J. Lu <hongjiu.lu@intel.com>
2329
2330 [BZ #18822]
2331 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
2332 attribute_hidden.
2333 (__strspn_sse2): Likewise.
2334
0bb2fabc
AZ
23352017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2336
c181840c
AZ
2337 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
2338 (close_not_cancel_no_status): Likewise.
2339 (__close_nocancel): New macro.
2340 (__close_nocancel_nostatus): Likewise.
2341 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
2342 macro.
2343 (close_not_cancel): Likewise.
2344 (close_not_cancel_no_status): Likewise.
2345 (__close_nocancel): New prototype.
2346 (__close_nocancel_nostatus): New function.
2347 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
2348 * catgets/open_catalog.c (__open_catalog): Replace
2349 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
2350 * gmon/gmon.c (write_gmon): Likewise.
2351 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2352 * intl/loadmsgcat.c (close): Likewise.
2353 * io/ftw.c (open_dir_stream): Likewise.
2354 (ftw_startup): Likewise.
2355 * libio/fileops.c (_IO_file_open): Likewise.
2356 (_IO_file_close_mmap): Likewise.
2357 (_IO_file_close): Likewise.
2358 * libio/iopopen.c (_IO_dup2): Likewise.
2359 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2360 * locale/loadlocale.c (_nl_load_locale): Likewise.
2361 * login/utmp_file.c (pututline_file): Likewise.
2362 (endutent_file): Likewise.
2363 * misc/daemon.c (daemon): Likewise.
2364 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2365 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2366 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2367 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2369 * nscd/nscd_helper.c (open_socket): Likewise.
2370 (__nscd_open_socket): Likewise.
2371 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2372 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
2373 (__nscd_innetgr): Likewise.
2374 * nss/nss_db/db-open.c (internal_setent): Likewise.
2375 * resolv/res-close.c (__res_iclose): Likewise.
2376 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
2377 * sysdeps/posix/closedir.c (__closedir): Likewise.
2378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2379 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2380 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2381 (opendir_tail): Likewise.
2382 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2383 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
2384 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2385 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2386 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2387 (gethostid): Likewise.
2388 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2389 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2390 Likewise.
2391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2392 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
2393 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2394 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2395 Likewise.
2396 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
2397 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
2398 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2399 Likewise.
2400 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
2401 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2402 Likewise.
2403 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2404 Likewise.
2405 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2406 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2407 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2408 __close_nocancel.
2409
0bb2fabc
AZ
2410 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
2411 (openat_not_cancel_3): Likewise.
2412 (openat64_not_cancel_3): Likewise).
2413 (openat_not_cancel_3): Likewise).
2414 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
2415 macro.
2416 (openat_not_cancel_3): Likewise.
2417 (openat64_not_cancel): Likewise.
2418 (openat64_not_cancel_3): Likewise.
2419 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
2420 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
2421 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
2422 __open{64}_nocancel.
2423 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2424 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2425 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2426
65a086db
L
24272017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2428
2429 [BZ #18822]
2430 * include/argz.h (__argz_create_sep): New function prototype.
2431 (__argz_append): Likewise.
2432 (__argz_add): Likewise.
2433 (__argz_add_sep): Likewise.
2434 (__argz_delete): Likewise.
2435 (__argz_insert): Likewise.
2436 (__argz_replace): Likewise.
2437 * string/argz.h (__argz_create_sep): Removed.
2438 (__argz_append): Likewise.
2439 (__argz_add): Likewise.
2440 (__argz_add_sep): Likewise.
2441 (__argz_delete): Likewise.
2442 (__argz_insert): Likewise.
2443 (__argz_replace): Likewise.
2444
62753d2c
L
24452017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2446
2447 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
2448 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
2449 (GNU_PROPERTY_STACK_SIZE): Likewie.
2450 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
2451 (GNU_PROPERTY_LOPROC): Likewise.
2452 (GNU_PROPERTY_HIPROC): Likewise.
2453 (GNU_PROPERTY_LOUSER): Likewise.
2454 (GNU_PROPERTY_HIUSER): Likewise.
2455 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
2456 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
2457 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
2458 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
2459 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
2460 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
2461 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
2462 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
2463 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
2464 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
2465 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
2466 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
2467 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
2468 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
2469 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
2470 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
2471 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
2472 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
2473 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
2474 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
2475 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
2476 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
2477 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
2478
6913ad65
GG
24792017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2480
2481 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
2482 in C++ mode.
2483
47a67213
GG
24842017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2485
2486 [BZ #21930]
2487 * math/math.h (isinf): Check if in C or C++ mode before using
2488 __builtin_types_compatible_p, since this is a C mode feature.
2489
a748eb31
AZ
24902017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2491
c647fb88
AZ
2492 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
2493 (__write_nocancel): New macro.
2494 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
2495 Rewrite as a function prototype.
2496 (write_not_cancel): Remove macro.
2497 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
2498 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
2499 (write_gmon): Likewise.
2500 * libio/fileops.c (_IO_new_file_write): Likewise.
2501 * login/utmp_file.c (pututline_file): Likewise.
2502 (updwtmp_file): Likewise.
2503 * stdio-common/psiginfo.c (psiginfo): Likewise.
2504 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2505 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2506 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2507 Likewise.
2508 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2509 Likewise.
2510
a748eb31
AZ
2511 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
2512 (__read_nocancel): New macro.
2513 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2514 __read_nocancel.
2515 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
2516 macro.
2517 (__read_nocancel): New prototype.
2518 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
2519 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
2520 with __read_nocancel.
2521 * intl/loadmsgcat.c (read): Likewise.
2522 * libio/fileops.c (_IO_file_read): Likewise.
2523 * locale/loadlocale.c (_nl_load_locale): Likewise.
2524 * login/utmp_file.c (getutent_r_file): Likewise.
2525 (internal_getut_r): Likewise.
2526 (getutline_r_file): Likewise.
2527 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2528 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2529 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2530 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2531 Likewise.
2532 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
2533 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2534 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2535 Likewise.
2536 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2537 Likewise.
2538 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2539 Likewise.
2540 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2541 Likewise.
2542 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2543
098b9dd4
L
25442017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2545
2546 [BZ #21966]
2547 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
2548 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
2549 usable.
2550
a3fe6a20
DD
25512017-08-17 DJ Delorie <dj@redhat.com>
2552
2553 * bug17079.c: Update to new test harness.
2554 * test-digits-dots.c: Likewise.
2555 * test-netdb.c: Likewise.
2556 * tst-field.c: Likewise.
2557 * tst-nss-getpwent.c: Likewise.
2558 * tst-nss-static.c: Likewise.
2559 * tst-nss-test1.c: Likewise.
2560 * tst-nss-test2.c: Likewise.
2561 * tst-nss-test3.c: Likewise.
2562 * tst-nss-test4.c: Likewise.
2563 * tst-nss-test5.c: Likewise.
2564
c2284574
AZ
25652017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2566
2567 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
2568 (open_not_cancel_2): Likewise.
2569 (open_nocancel): New macro.
2570 (open64_nocancel): Likewise.
2571 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
2572 (open_not_cancel_2): Likewise.
2573 (__open_nocancel): New prototype.
2574 (__open64_nocancel): Likewise.
2575 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2576 __open_nocancel.
2577 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
2578 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
2579 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
2580 with __open_nocancel.
2581 * csu/check_fds.c (check_one_fd): Likewise.
2582 * gmon/gmon.c (write_gmon): Likewise.
2583 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
2584 * intl/loadmsgcat.c (open): Likewise.
2585 * libio/fileops.c (_IO_file_open): Likewise.
2586 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2587 * locale/loadlocale.c (_nl_load_locale): Likewise.
2588 * login/utmp_file.c (setutent_file): Likewise.
2589 * misc/daemon.c (daemon): Likewise.
2590 * nss/nss_db/db-open.c (internal_setent): Likewise.
2591 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2592 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
2593 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2594 (__opendir): Likewise.
2595 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2596 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2597 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2598 (gethostid): Likewise.
2599 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2600 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2601 Likewise.
2602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2603 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
2604 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2605 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2606 Likewise.
2607 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2608 Likewise.
2609 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2610 Likewise.
2611 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2612 Likewise.
2613 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2614 Likewise.
2615 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2616 Likewise.
2617 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2618 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2619
d4505b89
WD
26202017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
2621
2622 * benchtests/bench-skeleton.c (main): Add support for
2623 latency benchmarking.
2624 * benchtests/scripts/bench.py: Add support for latency benchmarking.
2625
34d6a3cb
L
26262017-08-17 H.J. Lu <hongjiu.lu@intel.com>
2627
2628 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
2629 the startup object.
2630
038d1caf
FW
26312017-08-17 Florian Weimer <fweimer@redhat.com>
2632
2633 * include/sys/socket.h (__opensock): Remove internal_function.
2634 * socket/opensock.c (__opensock): Likewise.
2635 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
2636
67f0aff0
JM
26372017-08-16 Joseph Myers <joseph@codesourcery.com>
2638
2639 [BZ #21944]
2640 * signal/bits/types/__sigval_t.h: New file.
2641 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
2642 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
2643 and define sigval_t using __sigval_t.
2644 * include/bits/types/__sigval_t.h: New file.
2645 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
2646 instead of <bits/types/__sigval_t.h>.
2647 (struct sigevent): Use __sigval_t instead of sigval_t.
2648 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
2649 instead of <bits/types/__sigval_t.h>.
2650 (siginfo_t): Use __sigval_t instead of sigval_t.
2651 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
2652 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2653 (struct sigevent): Use __sigval_t instead of sigval_t.
2654 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
2655 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2656 (siginfo_t): Use __sigval_t instead of sigval_t.
2657 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
2658
87e7bf4d
L
26592017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2660
2661 * NEWS: Remove "[Add new features here]" for 2.27.
2662
5047057f
JM
26632017-08-16 Joseph Myers <joseph@codesourcery.com>
2664
2665 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
2666 libc.so.
2667
20c7b195
L
26682017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2669
2670 * NEWS: Mention x86-64 FMA optimization.
2671
24a2e658
L
26722017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2673
2674 [BZ #21912]
2675 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2676 Add e_expf-fma.
2677 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
2678 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
2679 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
2680
eedca977
AS
26812017-08-16 Andreas Schwab <schwab@suse.de>
2682
403143e1
FW
2683 [BZ #16750]
2684 CVE-2009-5064
eedca977
AS
2685 * elf/ldd.bash.in: Never run file directly.
2686
f59f7adb
L
26872017-08-15 H.J. Lu <hongjiu.lu@intel.com>
2688
2689 [BZ #21955]
2690 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
2691 (L(SP_INF_0)): Likewise.
2692
6b11a6ad
FW
26932017-08-15 Florian Weimer <fweimer@redhat.com>
2694
2695 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
2696 run-built-tests.
2697
bbf5c438
FW
26982017-08-15 Florian Weimer <fweimer@redhat.com>
2699
2700 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
2701 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
2702 BROKEN_THREAD_SIGNALS code.
2703 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
2704 request_list): Remove caller_pid member used for
2705 BROKEN_THREAD_SIGNALS.
2706 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
2707 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2708 Remove BROKEN_THREAD_SIGNALS support.
2709 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2710 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
2711
6014c65d
FW
27122017-08-15 Florian Weimer <fweimer@redhat.com>
2713
2714 * gmon/Makefile (tests): Add tst-gmon.
2715 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
2716 Set.
2717 (tests-special): Add tst-gmon-prof.out.
2718 (tst-gmon.out): Depend on clean-tst-gmon-data.
2719 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
2720 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
2721 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
2722 startup object.
2723 * aclocal.m4 (GPROF): Set and substitute.
2724 * config.amke.in (GPROF): Set.
2725 * configure: Regenerate.
2726
ee72219a
GR
27272017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
2728
2729 * elf/elf.h A (NT_PPC_TAR): New macro.
2730 (NT_PPC_PPR): Likewise.
2731 (NT_PPC_DSCR): Likewise.
2732 (NT_PPC_EBB): Likewise.
2733 (NT_PPC_PMU): Likewise.
2734 (NT_PPC_TM_CGPR): Likewise.
2735 (NT_PPC_TM_CFPR): Likewise.
2736 (NT_PPC_TM_CVMX): Likewise.
2737 (NT_PPC_TM_CVSX): Likewise.
2738 (NT_PPC_TM_SPR): Likewise.
2739 (NT_PPC_TM_CTAR): Likewise.
2740 (NT_PPC_TM_CPPR): Likewise.
2741 (NT_PPC_TM_CDSCR): Likewise.
2742
4ebf934e
FW
27432017-08-15 Florian Weimer <fweimer@redhat.com>
2744
2745 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
2746 regparm (2) instead of internal_function.
2747 (_MCOUNT_DECL): Adjust.
2748
e9f57484
SL
27492017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2750
2751 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
2752 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2753
88ff4d55
JM
27542017-08-14 Joseph Myers <joseph@codesourcery.com>
2755
2756 * conform/data/sys/wait.h-data (si_value): Do not expect for
2757 XPG42.
2758
c88ffc23
FW
27592017-08-14 Florian Weimer <fweimer@redhat.com>
2760
2761 [BZ #21962]
2762 NSS: Create stubs for accidentally exported lookup functions.
2763 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
2764 Remove declaration.
2765 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
2766 (ether_hostton): Call __nss_ethers_lookup2 instead.
2767 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
2768 (ether_ntohost): Call __nss_ethers_lookup2 instead.
2769 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
2770 (setup): Call __nss_netgroup_lookup2 instead.
2771 * nss/Makefile (routines): Add compat-lookup.
2772 * nss/Versions (GLIBC_2.27): Add symbol version.
2773 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
2774 (DB_COMPAT_FCT): Remove.
2775 * nss/compat-lookup.c: New file.
2776 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
2777 from databases.def.
2778 * nss/service-lookup.c (NO_COMPAT): Remove definition.
2779 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
2780 (netname2user): Call __nss_publickey_lookup2 instead.
2781 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
2782 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
2783 instead.
2784
1f14d0c3
AZ
27852017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2786 Sergei Trofimovich <slyfox@inbox.ru>
2787
2788 [BZ #21908]
2789 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
2790 Rename to MMAP2_PAGE_UNIT.
2791 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
2792 __OFF_T_MATCHES_OFF64_T is not defined.
2793 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
2794 uint64_t.
2795 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
2796 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
2797
fbdc1e3e
FW
27982017-08-14 Florian Weimer <fweimer@redhat.com>
2799
2800 i386: Do not set internal_function.
2801 * config.h.in (USE_REGPARMS, internal_function): Remove.
2802 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
2803 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
2804
b3f85fd2
FW
28052017-08-14 Florian Weimer <fweimer@redhat.com>
2806
2807 * elf/dl-init.c (_dl_init): Remove internal_function.
2808 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
2809 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
2810
630bf491
FW
28112017-08-14 Florian Weimer <fweimer@redhat.com>
2812
2813 * elf/rtld.c (_dl_start): Remove internal_function.
2814 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
2815 _dl_start.
2816
9fa7449b
FW
28172017-08-14 Florian Weimer <fweimer@redhat.com>
2818
2819 * elf/dl-fini.c (_dl_fini): Remove internal_function
2820 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2821
73322d5f
L
28222017-08-14 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
2825 (bit_cpu_SHSTK): Likewise.
2826 (index_cpu_IBT): Likewise.
2827 (index_cpu_SHSTK): Likewise.
2828 (reg_IBT): Likewise.
2829 (reg_SHSTK): Likewise.
2830 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2831 Handle index_cpu_IBT and index_cpu_SHSTK.
2832
dbc303ef
MF
28332017-08-14 Mike FABIAN <mfabian@redhat.com>
2834
2835 [BZ #19982]
2836 * po/fr.po: Fix spelling mistake.
2837
3012cfb0
FW
28382017-08-13 Florian Weimer <fweimer@redhat.com>
2839
2840 * elf/dl-addr.c (_dl_addr): Remove internal_function.
2841 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
2842 (_dl_catch_error, _dl_receive_error): Likewise.
2843 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
2844 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
2845 (_dl_deallocate_tls): Likewise.
2846 * include/dlfcn.h (_dl_addr): Likewise.
2847 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
2848 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
2849 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
2850 Likewise.
2851
52bcdf26
FW
28522017-08-13 Florian Weimer <fweimer@redhat.com>
2853
2854 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
2855 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
2856 internal_function.
2857 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
2858
e1d2ae8d
FW
28592017-08-13 Florian Weimer <fweimer@redhat.com>
2860
2861 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
2862 internal_function.
2863 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
2864 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
2865 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
2866 internal_function from _dl_make_stack_executable_hook member.
2867 (_dl_make_stack_executable): Remove internal_function.
2868 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
2869 Likewise.
2870 * sysdeps/unix/sysv/linux/dl-execstack.c
2871 (_dl_make_stack_executable): Likewise.
2872
c4ce0382
FW
28732017-08-13 Florian Weimer <fweimer@redhat.com>
2874
2875 * sysdeps/unix/sysv/linux/netlinkaccess.h
2876 (__netlink_assert_response): Remove internal_function.
2877 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2878 (__netlink_assert_response): Likewise.
2879
c4d767f7
FW
28802017-08-13 Florian Weimer <fweimer@redhat.com>
2881
2882 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
2883 internal_function.
2884 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
2885
b2297409
FW
28862017-08-13 Florian Weimer <fweimer@redhat.com>
2887
2888 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
2889 internal_function.
2890 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
2891 * inet/netgroup.h (__internal_setnetgrent)
2892 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2893 * inet/getnetgrent_r.c (__internal_setnetgrent)
2894 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2895 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
2896 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
2897 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
2898 * nss/nsswitch.h (db_lookup_function): Likewise.
2899
1b0bfc69
FW
29002017-08-13 Florian Weimer <fweimer@redhat.com>
2901
2902 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
2903 Remove internal_function.
2904 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
2905 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
2906 message argument on the stack.
2907 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
2908 Likeweise.
2909
a6bd8722
MF
29102017-08-12 Mike FABIAN <mfabian@redhat.com>
2911
2912 Adapt test case data to the changes in the thousands
2913 separators.
2914
2915 [BZ #20756]
2916 * localedata/tst-langinfo.sh: Adapt test case data.
2917 * stdlib/tst-strfmon_l.c: Likewise.
2918 * stdlib/tst-strtod4.c: Likewise.
2919 * stdlib/tst-strtod5i.c: Likewise.
2920
8b2c63e4
FW
29212017-08-11 Florian Weimer <fweimer@redhat.com>
2922
2923 [BZ #21242]
2924 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
2925 Suppress pedantic warning resulting from statement expression.
2926 (__ASSERT_FUNCTION): Add missing __extension__.
2927
61c98291
SP
29282017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
2929
86c6519e
SP
2930 * benchtests/bench-memmove-large.c: Print output in JSON
2931 format.
2932 * benchtests/bench-memmove.c: Likewise.
2933
61c98291
SP
2934 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
2935 * benchtests/bench-memchr.c (do_one_test): Likewise.
2936 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
2937 * benchtests/bench-memcpy.c (do_one_test): Likewise.
2938 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
2939 * benchtests/bench-memmove.c (do_one_test): Likewise.
2940 * benchtests/bench-memset-large.c (do_one_test): Likewise.
2941 * benchtests/bench-memset.c (do_one_test): Likewise.
2942 * benchtests/bench-string.h (test_init): Remove memsets.
2943
925733a9
RJ
29442017-08-10 Rical Jasan <ricaljasan@pacific.net>
2945
2946 * manual/lang.texi
2947 (Computing the Width of an Integer Data Type): Rename section to
2948 "Width of an Integer Type". Remove inaccurate statement regarding
2949 lack of C language facilities for determining width of integer
2950 types, and reorder content to improve flow and context of
2951 discussion.
2952
4fcdfbfc
RJ
29532017-08-10 Rical Jasan <ricaljasan@pacific.net>
2954
2955 * lang.texi (va_copy): Change standard from ISO to C99.
2956 (__va_copy): Add standard and header annotation.
2957 Update description for clarity of origins and current use.
2958
4d98ace9
GG
29592017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2960
2961 [BZ #21941]
2962 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
2963 xssqrtqp requires operands to be in Vector Registers
2964 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
2965 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
2966 (__ieee754_sqrtf128): Likewise.
2967
92236903
WD
29682017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
2969
2970 * sysdeps/aarch64/memcmp.S (memcmp):
2971 Rewrite of optimized memcmp.
2972
2449ae7b
FW
29732017-08-10 Florian Weimer <fweimer@redhat.com>
2974
2975 Introduce ld.so exceptions.
2976 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
2977 (_dl_exception_create, _dl_exception_create_format)
2978 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
2979 (_dl_catch_exception): Declare.
2980 (_dl_catch_error): Update comment.
2981 * elf/dl-error-skeleton.c (struct catch): Replace objname,
2982 errstring, malloced members with exception member.
2983 (_dl_out_of_memory): Remove.
2984 (fatal_error): New function, extracted from _dl_signal_error.
2985 (_dl_signal_exception, _dl_signal_cexception): New functions.
2986 (_dl_signal_error): Call _dl_exception_create to allocate an
2987 exception object.
2988 (_dl_catch_exception): New function, based on _dl_catch_error.
2989 (_dl_catch_error): Implement using _dl_catch_exception.
2990 * elf/dl-exception.c: New file.
2991 * elf/Makefile (dl-routines): Add dl-exception.
2992 (elide-routines.os): Likewise.
2993 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
2994 _dl_exception_create_format, _dl_exception_free.
2995 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
2996 _dl_signal_exception.
2997 * elf/dl-lookup.c (make_string): Remove.
2998 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
2999 _dl_signal_cexception, _dl_exception_free.
3000 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
3001 _dl_signal_exception.
3002 * elf/dl-sym.c (do_sym): Likewise.
3003 * elf/dl-version.c (make_string): Remove.
3004 (match_symbol): Use _dl_exception_create_format,
3005 _dl_signal_cexception, _dl_exception_free.
3006 (_dl_check_map_versions): Likewise.
3007 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
3008 _dl_catch_exception.
3009 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3010 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3011 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3012 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3013 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3014 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3015 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3016 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3017 Likewise.
3018 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3020 (ld.so): Likewise.
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3022 (ld.so): Likewise.
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3024 Likewise.
3025 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3026 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3028 Likewise.
3029 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3030 Likewise.
3031 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3032
f87cc2bf
FW
30332017-08-10 Florian Weimer <fweimer@redhat.com>
3034
3035 * inet/net-internal.h (__inet6_scopeid_pton): Remove
3036 attribute_hidden, internal_function.
3037 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
3038 internal_function.
3039
eac43cbb
FW
30402017-08-10 Florian Weimer <fweimer@redhat.com>
3041
3042 * malloc/malloc.c (get_max_fast): Reimplement as an inline
3043 function which calls __builtin_unreachable.
3044
bd80111e
MF
30452017-08-10 Mike FABIAN <mfabian@redhat.com>
3046
3047 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
3048 Indian monetary formatting
3049 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
3050 test cases.
3051
60e2846e
DL
30522017-08-09 Dmitry V. Levin <ldv@altlinux.org>
3053
68dc02d1
DL
3054 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
3055 Fix typo in comment.
3056
60e2846e
DL
3057 [BZ #21928]
3058 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
3059 PTRACE_SEIZE_DEVEL): Remove.
3060 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3061 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3065
3d452dab
JM
30662017-08-09 Joseph Myers <joseph@codesourcery.com>
3067
24d9f53a
JM
3068 * posix/bits/types.h (__qaddr_t): Remove.
3069
3d452dab
JM
3070 [BZ #21457]
3071 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
3072 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3073 __glibc_reserved1.
3074 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
3075 (ucontext_t): Use __ctx with uc_flags.
3076 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
3077 (__ctxt): Likewise.
3078 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3079 __glibc_reserved1.
3080 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
3081 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3082 __glibc_reserved1.
3083 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
3084 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3085 __glibc_reserved1.
3086 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
3087 macro.
3088 (ucontext_t): Use __ctx with uc_flags.
3089 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
3090 (ucontext_t): Use __ctx with uc_flags.
3091 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
3092 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
3093 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
3094 (ucontext_t): Use __ctx with uc_flags.
3095 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
3096 undefine further down.
3097 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3098 __glibc_reserved1.
3099 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
3100 undefine further down.
3101 (ucontext_t): Use __ctx with uc_flags.
3102 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
3103 undefine further down.
3104 (ucontext_t): Use __ctx with uc_flags.
3105 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
3106 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
3107 Rename uc_pad to __glibc_reserved1.
3108 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
3109 undefine further down.
3110 (ucontext_t): Use __ctx with uc_flags.
3111 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
3112 further down.
3113 (ucontext_t): Use __ctx with uc_flags.
3114 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
3115 __ctx with uc_flags.
3116 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
3117 (ucontext_t): Use __ctx with uc_flags.
3118 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
3119 __ctx with uc_flags.
3120
30161498
FW
31212017-08-09 Florian Weimer <fweimer@redhat.com>
3122
3123 [BZ #21932]
3124 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
3125 before early return.
3126
5797b410
AS
31272017-08-09 Andreas Schwab <schwab@suse.de>
3128
139237a4 3129 [BZ #21041]
5797b410
AS
3130 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
3131 renamed alias.
3132
139237a4 3133 [BZ #21041]
40c06a3d
AS
3134 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
3135 tst-compat-forwarder.
3136 (modules-names): Add tst-compat-forwarder-mod.
3137 ($(objpfx)tst-compat-forwarder): Depend on
3138 $(objpfx)tst-compat-forwarder-mod.so.
3139 * nptl/tst-compat-forwarder.c: New file.
3140 * nptl/tst-compat-forwarder-mod.c: New file.
3141
36ada5f6
SP
31422017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3143
0e02b510
SP
3144 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
3145 comments.
3146
36ada5f6
SP
3147 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
3148 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3149 memcpy_falkor.
3150 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
3151 Bump.
3152 (__libc_ifunc_impl_list): Add __memcpy_falkor.
3153 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3154 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
3155 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3156 Add falkor.
3157 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
3158 New macro.
3159
9995c839
AZ
31602017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3161
3162 [BZ #759]
3163 * manual/setjmp.texi (getcontex): Document uc_stack value
3164 compatibility differences.
3165
f17a4233
JM
31662017-08-08 Joseph Myers <joseph@codesourcery.com>
3167
3168 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
3169 (old_malloc_hook): Likewise.
3170 (old_memalign_hook): Likewise.
3171 (old_realloc_hook): Likewise.
3172 (struct hdr): Likewise.
3173 (flood): Likewise.
3174 (freehook): Likewise.
3175 (mallochook): Likewise.
3176 (memalignhook): Likewise.
3177 (reallochook): Likewise.
3178 (mprobe): Likewise.
3179 * malloc/mtrace.c (mallwatch): Likewise.
3180 (tr_old_free_hook): Likewise.
3181 (tr_old_malloc_hook): Likewise.
3182 (tr_old_realloc_hook): Likewise.
3183 (tr_old_memalign_hook): Likewise.
3184 (tr_where): Likewise.
3185 (lock_and_info): Likewise.
3186 (tr_freehook): Likewise.
3187 (tr_mallochook): Likewise.
3188 (tr_reallochook): Likewise.
3189 (tr_memalignhook): Likewise.
3190 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
3191 * misc/mmap.c (__mmap): Likewise.
3192 * misc/mmap64.c (__mmap64): Likewise.
3193 * misc/mprotect.c (__mprotect): Likewise.
3194 * misc/msync.c (msync): Likewise.
3195 * misc/munmap.c (__munmap): Likewise.
3196 * posix/posix_madvise.c (posix_madvise): Likewise.
3197 * socket/send.c (__send): Likewise.
3198 * socket/sendto.c (__sendto): Likewise.
3199 * socket/setsockopt.c (__setsockopt): Likewise.
3200 * string/memcmp.c (__ptr_t): Remove macro.
3201 (MEMCMP): Use void * instead of ptr_t.
3202 * string/memrchr.c (__ptr_t): Remove macro.
3203 (__memrchr): Use void * instead of ptr_t.
3204 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
3205 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3206 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3207 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
3208 * sysdeps/mach/msync.c (msync): Likewise.
3209 * sysdeps/mach/munmap.c (__munmap): Likewise.
3210 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
3211 Likewise.
3212 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3213 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
3214 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
3215 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
3216 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3217 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3218 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
3219 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
3220 Likewise.
3221 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3222 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
3223 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
3224 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
3225 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
3226 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
3227 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
3228 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
3229 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
3230 Likewise.
3231 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
3232 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
3233 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
3234 (MEMCMP): Use void * instead of ptr_t.
3235 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
3236 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
3237
0df595b2
FW
32382017-08-08 Florian Weimer <fweimer@redhat.com>
3239
3240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
3241 return statement.
3242
086df229
L
32432017-08-08 H.J. Lu <hongjiu.lu@intel.com>
3244
3245 [BZ #21913]
3246 * csu/libc-tls.c: Include <startup.h> first.
3247 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
3248 * elf/dl-tunables.c: Include <startup.h> first.
3249 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
3250 * sysdeps/generic/startup.h: New file.
3251 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
3252 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
3253 (I386_USE_SYSENTER): New. Defined to 0.
3254
fc5ad702
AS
32552017-08-08 Andreas Schwab <schwab@suse.de>
3256
3257 [BZ #21041]
3258 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
3259 * nptl/pt-system.c (system): Likewise.
3260
852d6312
AZ
32612017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3262
3263 [BZ #21780]
3264 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
3265 EOPNOTSUPP.
3266 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
3267 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
3268 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
3269 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
3270 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3271 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3272 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3273
8b164787
JM
32742017-08-07 Joseph Myers <joseph@codesourcery.com>
3275
cd65836b
JM
3276 [BZ #21899]
3277 * bits/sigaction.h (struct sigaction): Define sa_handler and
3278 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
3279 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3280 [__USE_XOPEN_EXTENDED].
3281 (SA_RESTART): Likewise.
3282 (SA_NODEFER): Likewise.
3283 (SA_RESETHAND): Likewise.
3284 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
3285 (struct sigaction): Define sa_handler and sa_sigaction using union
3286 also for [__USE_XOPEN_EXTENDED].
3287 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3288 [__USE_XOPEN_EXTENDED].
3289 (SA_RESTART): Likewise.
3290 (SA_NODEFER): Likewise.
3291 (SA_RESETHAND): Likewise.
3292 * sysdeps/unix/sysv/linux/bits/sigaction.h
3293 (struct sigaction): Define sa_handler and sa_sigaction using union
3294 also for [__USE_XOPEN_EXTENDED].
3295 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3296 [__USE_XOPEN_EXTENDED].
3297 (SA_RESTART): Likewise.
3298 (SA_NODEFER): Likewise.
3299 (SA_RESETHAND): Likewise.
3300 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
3301 (struct sigaction): Define sa_handler and sa_sigaction using union
3302 also for [__USE_XOPEN_EXTENDED].
3303 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3304 [__USE_XOPEN_EXTENDED].
3305 (SA_RESTART): Likewise.
3306 (SA_NODEFER): Likewise.
3307 (SA_RESETHAND): Likewise.
3308 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
3309 (struct sigaction): Define sa_handler and sa_sigaction using union
3310 also for [__USE_XOPEN_EXTENDED].
3311 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3312 [__USE_XOPEN_EXTENDED].
3313 (SA_RESTART): Likewise.
3314 (SA_NODEFER): Likewise.
3315 (SA_RESETHAND): Likewise.
3316 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3317 (struct sigaction): Define sa_handler and sa_sigaction using union
3318 also for [__USE_XOPEN_EXTENDED].
3319 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3320 [__USE_XOPEN_EXTENDED].
3321 (SA_RESTART): Likewise.
3322 (SA_NODEFER): Likewise.
3323 (SA_RESETHAND): Likewise.
3324 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3325 (struct sigaction): Define sa_handler and sa_sigaction using union
3326 also for [__USE_XOPEN_EXTENDED].
3327 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3328 [__USE_XOPEN_EXTENDED].
3329 (SA_RESTART): Likewise.
3330 (SA_NODEFER): Likewise.
3331 (SA_RESETHAND): Likewise.
3332 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3333 (struct sigaction): Define sa_handler and sa_sigaction using union
3334 also for [__USE_XOPEN_EXTENDED].
3335 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3336 [__USE_XOPEN_EXTENDED].
3337 (SA_RESTART): Likewise.
3338 (SA_NODEFER): Likewise. Define directly rather than as alias.
3339 (SA_RESETHAND): Likewise.
3340 (SA_INTERRUPT): Define only for [__USE_MISC].
3341 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
3342 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
3343 [__USE_MISC].
3344 (SA_STACK): Define only for [__USE_MISC].
3345 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
3346 (struct sigaction): Define sa_handler and sa_sigaction using union
3347 also for [__USE_XOPEN_EXTENDED].
3348 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3349 [__USE_XOPEN_EXTENDED].
3350 (SA_RESTART): Likewise.
3351 (SA_NODEFER): Likewise.
3352 (SA_RESETHAND): Likewise.
3353 (SA_NOPTRACE): Define only for [__USE_MISC].
3354
d9fee042
JM
3355 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
3356 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
3357 (struct catalog_info): Likewise.
3358 * inet/htontest.c (lo): Likewise.
3359 (foo): Likewise.
3360 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3361 * inet/inet_net.c (inet_network): Likewise.
3362 * inet/inet_netof.c (inet_netof): Likewise.
3363 * inet/rcmd.c (__ivaliduser): Likewise.
3364 (iruserok): Likewise.
3365 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
3366 * locale/programs/locale-spec.c (locale_special): Likewise.
3367 * nis/nis_findserv.c (struct findserv_req): Likewise.
3368 (__nis_findfastest_with_timeout): Likewise.
3369 * nss/test-netdb.c (test_network): Likewise.
3370 * resolv/inet_neta.c (inet_neta): Likewise.
3371 * resolv/ns_date.c (ns_datetosecs): Likewise.
3372 (SECS_PER_DAY): Likewise.
3373 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
3374 Likewise.
3375 * resolv/res_comp.c (__putlong): Likewise.
3376 (__putshort): Likewise.
3377 (_getlong): Likewise.
3378 (_getshort): Likewise.
3379 * resolv/res_debug.c (p_time): Likewise.
3380 (precsize_ntoa): Likewise.
3381 (precsize_aton): Likewise.
3382 (latlon2ul): Likewise.
3383 (loc_aton): Likewise.
3384 (loc_ntoa): Likewise.
3385 * resolv/res_hconf.c (struct netaddr): Likewise.
3386 (_res_hconf_reorder_addrs): Likewise.
3387 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3388 (clnttcp_control): Likewise.
3389 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3390 (clntudp_control): Likewise.
3391 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3392 (clntunix_control): Likewise.
3393 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3394 * sunrpc/rpc/auth.h (union des_block): Likewise.
3395 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
3396 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
3397 (xdrrec_create): Likewise.
3398 (xdrrec_endofrecord): Likewise.
3399 (flush_out): Likewise.
3400 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
3401 (xdrstdio_putlong): Likewise.
3402 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
3403 Likewise.
3404
8b164787
JM
3405 * misc/sys/cdefs.h (__long_double_t): Remove.
3406 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
3407 instead of __long_double_t,
3408 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
3409
7ee38e60
SP
34102017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3411
dd3e86ad
SP
3412 * benchtests/scripts/compare_strings.py: Avoid display error when
3413 running on a text terminal.
3414
b115e819
SP
3415 * benchtests/scripts/compare_strings.py (main): Add an
3416 optional -base option.
3417 (process_results): New argument base_func.
3418
7ee38e60
SP
3419 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
3420 hardcoding memcpy.
3421 * benchtests/bench-memcpy-large.c (test_name): Likewise.
3422 * benchtests/bench-memcpy-random.c (test_name): Likewise.
3423
d5afb385
AS
34242017-08-07 Andreas Schwab <schwab@suse.de>
3425
3426 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
3427 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3428 * intl/Makefile ($(objpfx)tst-gettext.out)
3429 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
3430 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
3431 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3432 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3433 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
3434 * posix/Makefile ($(objpfx)globtest.out)
3435 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
3436 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
3437 ($(objpfx)tst-printf.out): Likewise.
3438 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
3439 ($(objpfx)tst-setcontext3.out): Likewise.
3440
57a72fa3
L
34412017-08-07 H.J. Lu <hongjiu.lu@intel.com>
3442
3443 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3444 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
3445 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
3446 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
3447 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
3448 and mptan-fma.
3449 (CFLAGS-doasin-fma.c): New.
3450 (CFLAGS-dosincos-fma.c): Likewise.
3451 (CFLAGS-e_asin-fma.c): Likewise.
3452 (CFLAGS-e_atan2-fma.c): Likewise.
3453 (CFLAGS-e_exp-fma.c): Likewise.
3454 (CFLAGS-e_log-fma.c): Likewise.
3455 (CFLAGS-e_pow-fma.c): Likewise.
3456 (CFLAGS-halfulp-fma.c): Likewise.
3457 (CFLAGS-mpa-fma.c): Likewise.
3458 (CFLAGS-mpatan-fma.c): Likewise.
3459 (CFLAGS-mpatan2-fma.c): Likewise.
3460 (CFLAGS-mpexp-fma.c): Likewise.
3461 (CFLAGS-mplog-fma.c): Likewise.
3462 (CFLAGS-mpsqrt-fma.c): Likewise.
3463 (CFLAGS-mptan-fma.c): Likewise.
3464 (CFLAGS-s_atan-fma.c): Likewise.
3465 (CFLAGS-sincos32-fma.c): Likewise.
3466 (CFLAGS-slowexp-fma.c): Likewise.
3467 (CFLAGS-slowpow-fma.c): Likewise.
3468 (CFLAGS-s_sin-fma.c): Likewise.
3469 (CFLAGS-s_tan-fma.c): Likewise.
3470 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
3471 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
3472 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
3473 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
3474 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
3475 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
3476 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
3477 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
3478 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
3479 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
3480 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
3481 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
3482 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
3483 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
3484 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
3485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
3486 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
3487 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
3488 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
3489 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
3490 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
3491 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3492 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
3493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
3494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3495 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3496 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3497 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3498 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3500 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3501
219dd320
JM
35022017-08-04 Joseph Myers <joseph@codesourcery.com>
3503
3504 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
3505 (min_of_type_f): New macro.
3506 (min_of_type_): Likewise.
3507 (min_of_type_l): Likewise.
3508 (min_of_type_f128): Likewise.
3509 (min_of_type): Define using __MATH_TG and taking an expression
3510 argument.
3511 (math_check_force_underflow): Pass expression instead of type to
3512 min_of_type.
3513 (math_check_force_underflow_nonneg): Likewise.
3514
64d4dea6
L
35152017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3518 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
3519 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
3520
973da22a
L
35212017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3522
3523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3524 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
3525 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
3526 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
3527 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
3528 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
3529 memcpy_chk-nonshared, mempcpy_chk-nonshared,
3530 memmove_chk-nonshared and memset_chk-nonshared
3531 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
3532 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
3533 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
3535 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
3536 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
3537 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
3538 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
3539 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
3540 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
3541 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
3542 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
3544 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
3546 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
3548 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
3550 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
3552 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
3554 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
3556 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
3558 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
3559 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
3561 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
3564 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
3567 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
3569 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
3570 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
3571 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
3573 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
3575 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
3577 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
3579 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
3581 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
3583 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
3584 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
3585 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
3586 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
3587 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
3588 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
3589 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
3591 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
3593 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
3595 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
3596 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
3597 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
3598 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
3599 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
3600 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3601 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
3602 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3603 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3604 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3605 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3610 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3613 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3615 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3618 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3637 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3638 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3639
8537e0f6
L
36402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
3643 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
3644 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
3645 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
3646 svml_d_log2_core-sse2, svml_d_log4_core-sse,
3647 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
3648 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
3649 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
3650 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
3651 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
3652 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
3653 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
3654 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
3655 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
3656 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
3657 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
3658 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
3659 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
3660 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
3661 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
3662 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
3663 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
3664 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
3665 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
3666 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
3667 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
3668 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
3669 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
3670 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
3671 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
3672 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
3673 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
3674 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
3675 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
3676 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
3677 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
3678 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
3679 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
3680 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
3681 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
3682 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
3683 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
3684 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
3685 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
3686 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
3687 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
3688 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
3689 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
3690 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
3691 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
3692 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
3693 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
3694 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
3695 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
3696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
3697 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
3698 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
3699 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
3700 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
3701 ...
3702 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
3703 Don't include <sysdep.h> nor <init-arch.h>.
3704 (_ZGVbN2v_cos): Removed.
3705 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
3706 ...
3707 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
3708 Don't include <sysdep.h> nor <init-arch.h>.
3709 (_ZGVdN4v_cos): Removed.
3710 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
3711 ...
3712 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
3713 Don't include <sysdep.h> nor <init-arch.h>.
3714 (_ZGVeN8v_cos): Removed.
3715 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
3716 ...
3717 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
3718 Don't include <sysdep.h> nor <init-arch.h>.
3719 (_ZGVbN2v_exp): Removed.
3720 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
3721 ...
3722 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
3723 Don't include <sysdep.h> nor <init-arch.h>.
3724 (_ZGVdN4v_exp): Removed.
3725 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
3726 ...
3727 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
3728 Don't include <sysdep.h> nor <init-arch.h>.
3729 (_ZGVeN8v_exp): Removed.
3730 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
3731 ...
3732 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
3733 Don't include <sysdep.h> nor <init-arch.h>.
3734 (_ZGVbN2v_log): Removed.
3735 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
3736 ...
3737 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
3738 Don't include <sysdep.h> nor <init-arch.h>.
3739 (_ZGVdN4v_log): Removed.
3740 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
3741 ...
3742 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
3743 Don't include <sysdep.h> nor <init-arch.h>.
3744 (_ZGVeN8v_log): Removed.
3745 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
3746 ...
3747 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
3748 Don't include <sysdep.h> nor <init-arch.h>.
3749 (_ZGVbN2vv_pow): Removed.
3750 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
3751 ...
3752 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
3753 Don't include <sysdep.h> nor <init-arch.h>.
3754 (_ZGVdN4vv_pow): Removed.
3755 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
3756 ...
3757 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
3758 Don't include <sysdep.h> nor <init-arch.h>.
3759 (_ZGVeN8vv_pow): Removed.
3760 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
3761 ...
3762 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
3763 Don't include <sysdep.h> nor <init-arch.h>.
3764 (_ZGVbN2v_sin): Removed.
3765 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
3766 ...
3767 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
3768 Don't include <sysdep.h> nor <init-arch.h>.
3769 (_ZGVbN4v_sin): Removed.
3770 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
3771 ...
3772 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
3773 Don't include <sysdep.h> nor <init-arch.h>.
3774 (_ZGVbN8v_sin): Removed.
3775 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
3776 ...
3777 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
3778 Don't include <sysdep.h> nor <init-arch.h>.
3779 (_ZGVbN2vvv_sincos): Removed.
3780 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
3781 ...
3782 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
3783 Don't include <sysdep.h> nor <init-arch.h>.
3784 (_ZGVdN4vvv_sincos): Removed.
3785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
3786 ...
3787 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
3788 Don't include <sysdep.h> nor <init-arch.h>.
3789 (_ZGVeN8vvv_sincos): Removed.
3790 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
3791 ...
3792 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
3793 Don't include <sysdep.h> nor <init-arch.h>.
3794 (_ZGVeN16v_cosf): Removed.
3795 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
3796 ...
3797 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
3798 Don't include <sysdep.h> nor <init-arch.h>.
3799 (_ZGVbN4v_cosf): Removed.
3800 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
3801 ...
3802 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
3803 Don't include <sysdep.h> nor <init-arch.h>.
3804 (_ZGVdN8v_cosf): Removed.
3805 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
3806 ...
3807 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
3808 Don't include <sysdep.h> nor <init-arch.h>.
3809 (_ZGVeN16v_expf): Removed.
3810 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
3811 ...
3812 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
3813 Don't include <sysdep.h> nor <init-arch.h>.
3814 (_ZGVbN4v_expf): Removed.
3815 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
3816 ...
3817 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
3818 Don't include <sysdep.h> nor <init-arch.h>.
3819 (_ZGVdN8v_expf): Removed.
3820 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
3821 ...
3822 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
3823 Don't include <sysdep.h> nor <init-arch.h>.
3824 (_ZGVeN16v_logf): Removed.
3825 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
3826 ...
3827 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
3828 Don't include <sysdep.h> nor <init-arch.h>.
3829 (_ZGVbN4v_logf): Removed.
3830 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
3831 ...
3832 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
3833 Don't include <sysdep.h> nor <init-arch.h>.
3834 (_ZGVdN8v_logf): Removed.
3835 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
3836 ...
3837 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
3838 Don't include <sysdep.h> nor <init-arch.h>.
3839 (_ZGVeN16vv_powf): Removed.
3840 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
3841 ...
3842 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
3843 Don't include <sysdep.h> nor <init-arch.h>.
3844 (_ZGVbN4vv_powf): Removed.
3845 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
3846 ...
3847 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
3848 Don't include <sysdep.h> nor <init-arch.h>.
3849 (_ZGVdN8vv_powf): Removed.
3850 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
3851 ...
3852 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
3853 Don't include <sysdep.h> nor <init-arch.h>.
3854 (_ZGVeN16vvv_sincosf): Removed.
3855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
3856 ...
3857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
3858 Don't include <sysdep.h> nor <init-arch.h>.
3859 (_ZGVbN4vvv_sincosf): Removed.
3860 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
3861 ...
3862 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
3863 Don't include <sysdep.h> nor <init-arch.h>.
3864 (_ZGVdN8vvv_sincosf): Removed.
3865 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
3866 ...
3867 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
3868 Don't include <sysdep.h> nor <init-arch.h>.
3869 (_ZGVeN16v_sinf): Removed.
3870 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
3871 ...
3872 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
3873 Don't include <sysdep.h> nor <init-arch.h>.
3874 (_ZGVbN4v_sinf): Removed.
3875 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
3876 ...
3877 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
3878 Don't include <sysdep.h> nor <init-arch.h>.
3879 (_ZGVdN8v_sinf): Removed.
3880
10a87ca4
L
38812017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3882
3883 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3884 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
3885 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
3886 s_rint-sse4_1 and s_rintf-sse4_1.
3887 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
3888 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3889 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3890 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3891 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3892 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
3893 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
3894 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3895 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3896 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
3897 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
3898 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3899 (__ceil): Removed.
3900 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
3901 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
3902 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3903 (__ceilf): Removed.
3904 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
3905 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
3906 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3907 (__floor): Removed.
3908 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
3909 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
3910 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3911 (__floorf): Removed.
3912 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
3913 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
3914 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3915 (__nearbyint): Removed.
3916 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
3917 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
3918 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3919 (__nearbyintf): Removed.
3920 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
3921 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
3922 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3923 (__rint): Removed.
3924 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
3925 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
3926 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3927 (__rintf): Removed.
3928
1e8e527d
L
39292017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3930
3931 * sysdeps/i386/start.S (_start): Check Check PIC instead of
3932 SHARED. Avoid dynamic relocation against main in static PIE.
3933
e13daad7
L
39342017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3935
3936 [BZ #21815]
3937 * elf/Makefile (CFLAGS-tst-prelink.c): New.
3938 (LDFLAGS-tst-prelink): Likewise.
3939
627c69c8
L
39402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3941
3942 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
3943 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
3944 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
3945 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3946 (INTERNAL_SYSCALL_NCS): Likewise.
3947 (LOADARGS_1): Likewise.
3948 (LOADARGS_5): Likewise.
3949 (RESTOREARGS_1): Likewise.
3950 (RESTOREARGS_5): Likewise.
3951
fc11ff8d
L
39522017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3953
3954 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
3955 (MEMPCPY_SYMBOL): Likewise.
3956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3957 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
3958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
3959 in libc.a.
3960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3961 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3962 Likewise.
3963 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
3964 (__hidden_ver1): Don't use in libc.a.
3965 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3966 (__mempcpy): Don't create a weak alias in libc.a.
3967 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
3968 libc.a.
3969 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
3970 (__hidden_ver1): Don't use in libc.a.
3971
19f1a11e
L
39722017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3973
3974 * config.make.in (have-insert): New.
3975 * configure.ac (libc_cv_insert): New. Set to yes if linker
3976 supports INSERT in linker script.
3977 (AC_SUBST(libc_cv_insert): New.
3978 * configure: Regenerated.
3979 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
3980 if $(have-insert) == yes.
3981
3093fd5e
L
39822017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3983
3984 * elf/Makefile (tests): Add vismain only if
3985 $(have-protected-data) == yes.
3986 (tests-pie): Likewise.
3987
d2cf37c0
L
39882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3989
3990 [BZ #21871]
3991 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3992 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
3993
c8a0e6ec
L
39942017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3995
3996 [BZ #21790]
3997 * sysdeps/i386/i586/memset.S
3998 (__memset_zero_constant_len_parameter): Removed.
3999 * sysdeps/i386/i686/memset.S
4000 (__memset_zero_constant_len_parameter): Likewise.
4001 * sysdeps/i386/i686/multiarch/memset_chk.S
4002 (__memset_zero_constant_len_parameter): Likewise.
4003 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
4004 Likewise.
4005
2b34e271
AJ
40062017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4007
4008 * stdlib/getentropy.c (getentropy): Change return type to int.
4009
144bdab0
AJ
40102017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4011
4012 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4013
24ab7723
JM
40142017-08-03 Joseph Myers <joseph@codesourcery.com>
4015
4016 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
4017 u_intN_t.
4018 * math/s_nexttowardf.c (__nexttowardf): Likewise.
4019 * sysdeps/generic/math_private.h (ieee_double_shape_type):
4020 Likewise.
4021 (ieee_float_shape_type): Likewise.
4022 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
4023 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
4024 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4025 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4026 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4027 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
4028 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
4029 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4030 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4031 Likewise.
4032 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4033 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4034 (__ieee754_yn): Likewise.
4035 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4036 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4037 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
4038 Likewise.
4039 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4040 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
4041 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
4042 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
4043 (__erfc): Likewise.
4044 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4045 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
4046 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
4047 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
4048 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
4049 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
4050 Likewise.
4051 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4052 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
4053 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4054 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
4055 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4056 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
4057 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
4058 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
4059 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
4060 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4061 (__issignaling): Likewise.
4062 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
4063 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
4064 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4065 Likewise.
4066 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4067 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4068 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
4069 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
4070 Likewise.
4071 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
4072 Likewise.
4073 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
4074 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
4075 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
4076 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4077 (__erfcf): Likewise.
4078 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4079 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4080 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
4081 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
4082 Likewise.
4083 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
4084 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
4085 Likewise.
4086 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4087 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
4088 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4089 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
4090 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
4091 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4092 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
4093 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
4094 Likewise.
4095 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
4096 Likewise.
4097 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4098 Likewise.
4099 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
4100 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4101 Likewise.
4102 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4103 Likewise.
4104 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4105 (__ieee754_ynl): Likewise.
4106 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4107 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
4108 Likewise.
4109 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
4110 Likewise.
4111 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4112 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
4113 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4114 Likewise.
4115 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4116 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
4117 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
4118 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
4119 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
4120 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
4122 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
4123 Likewise.
4124 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4125 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
4126 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
4127 Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
4129 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
4130 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4131 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4132 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
4133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4134 Likewise.
4135 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4136 Likewise.
4137 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4138 Likewise.
4139 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4140 Likewise.
4141 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
4142 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4143 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4144 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
4145 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4146 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
4148 Likewise.
4149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4150 Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4153 Likewise.
4154 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4155 (__ieee754_remainderl): Likewise.
4156 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4157 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4160 Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4163 Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4165 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
4166 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4167 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4168 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4170 Likewise.
4171 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4172 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
4173 (__ieee754_y0l): Likewise.
4174 (pzero): Likewise.
4175 (qzero): Likewise.
4176 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4177 (__ieee754_y1l): Likewise.
4178 (pone): Likewise.
4179 (qone): Likewise.
4180 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4181 (__ieee754_ynl): Likewise.
4182 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4183 (__ieee754_lgammal_r): Likewise.
4184 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
4185 Likewise.
4186 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4187 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
4188 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4189 (__erfcl): Likewise.
4190 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4191 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
4192 Likewise.
4193 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
4194 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
4195 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4196 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
4197 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
4198 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4199 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4200 Likewise.
4201 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
4202 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4203 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
4204 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
4205 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4206 Likewise.
4207 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
4208 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
4209 Likewise.
4210 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
4211 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
4212 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
4213 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4214 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4215
964263bb
FW
42162017-08-03 Florian Weimer <fweimer@redhat.com>
4217
4218 [BZ #21885]
4219 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
4220 on memory allocation failure.
4221
e98c925f
AM
42222017-08-03 Alan Modra <amodra@gmail.com>
4223
4224 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
4225 tst-tlsopt-powerpc.c with function name change and no test harness.
4226 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
4227 Call tls_get_addr_opt_test.
4228 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
4229 (modules-names): Add mod-tlsopt-powerpc.
4230 (mod-tlsopt-powerpc.so-no-z-defs): Define.
4231 (tst-tlsopt-powerpc): Depend on .so.
4232 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
4233 define. Expand use in TLS_GD and TLS_LD.
4234
8ee1abdb
ST
42352017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4236
4237 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
4238 function.
3da5756e 4239 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 4240
42df8d59
JM
42412017-08-02 Joseph Myers <joseph@codesourcery.com>
4242
4243 [BZ #21686]
4244 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
4245 comparing size with that of double.
4246 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4247 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4248 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4249 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4250 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4251 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
4252 unsigned __int128 types.
4253
b7f95f49
SE
42542017-08-02 Steve Ellcey <sellcey@cavium.com>
4255
4256 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
4257 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
4258 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
4259 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
4260 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
4261
5b736bc9
L
42622017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4263
4264 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
4265
dfc93c41
L
42662017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
4269 of SHARED.
4270 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4271 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4273 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4274 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4275 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4276 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4277
2fee621d
JM
42782017-08-02 Joseph Myers <joseph@codesourcery.com>
4279
4280 [BZ #21685]
4281 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
4282 bit-field expressions passed to sizeof or typeof.
4283 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4284 (__TGMATH_F128): Likewise.
4285 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4286 (__TGMATH_CF128): Likewise.
4287 (__TGMATH_UNARY_REAL_ONLY): Likewise.
4288 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
4289 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
4290 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
4291 (__TGMATH_BINARY_REAL_ONLY): Likewise.
4292 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4293 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4294 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4295 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4296 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
4297 (__TGMATH_UNARY_REAL_IMAG): Likewise.
4298 (__TGMATH_UNARY_IMAG): Likewise.
4299 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
4300 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4301 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
4302 type.
4303 (define_vars_for_type): Handle bit_field type specially.
4304 (Tests.__init__): Declare structure with bit-field element.
4305
b358255f
L
43062017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4307
4308 [BZ #21791]
4309 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
4310 (MEMCPY_CHK): Define only if SHARED is defined.
4311 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
4312 Likewise.
4313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
4314 Likewise.
edf66db1
SP
4315
4316See ChangeLog.18 for earlier changes.