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