1 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
4 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
5 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
7 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
8 (__ttyname_r): Likewise.
10 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
13 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
15 * manual/terminal.texi (Is It a Terminal):
16 Mention ENODEV for ttyname and ttyname_r.
18 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
30 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32 * signal/sigrelse.c (sigrelse): Optimize implementation.
34 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
35 (__sigpause): Rely on __sigsuspend to implement single thread
36 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
38 2017-11-15 Joseph Myers <joseph@codesourcery.com>
40 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
41 kernel version to 4.14.
43 2017-11-15 Steve Ellcey <sellcey@cavium.com>
46 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
47 Check if ifname is too long.
49 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
51 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
53 2017-11-15 Mike FABIAN <mfabian@redhat.com>
55 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
56 was accidentally lost.
58 2017-11-15 Mike FABIAN <mfabian@redhat.com>
60 * localedata/locales/az_IR: Add standard copyright header.
62 2017-11-15 Florian Weimer <fweimer@redhat.com>
65 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
66 not just the top one. Output a new "subheaps" statistic.
68 2017-11-15 Florian Weimer <fweimer@redhat.com>
71 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
72 under the per-arena lock.
73 * malloc/Makefile (tests): Add tst-malloc_info.
74 (tst-malloc_info): Link with libpthread.
75 * malloc/tst-malloc_info.c: New file.
77 2017-11-15 Joseph Myers <joseph@codesourcery.com>
80 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
81 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
82 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
83 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
84 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
85 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
86 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
87 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
88 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
89 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
90 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
91 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
92 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
93 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
94 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
95 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
96 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
97 (__floating_type): Likewise.
98 (__real_integer_type): Likewise.
99 (__complex_integer_type): Likewise.
100 (__expr_is_real): Likewise.
101 (__tgmath_real_type_sub): Likewise.
102 (__tgmath_real_type): Likewise.
103 (__tgmath_complex_type_sub): Likewise.
104 (__tgmath_complex_type): Likewise.
105 (__TGMATH_F128): Likewise.
106 (__TGMATH_CF128): Likewise.
107 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
109 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
112 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
114 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
115 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
116 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
117 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
119 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
120 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
122 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
123 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
124 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
126 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
127 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
128 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
132 2017-11-14 Joseph Myers <joseph@codesourcery.com>
134 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
135 for stpncpy calls for GCC 8.
136 (test_strncat): Disable -Wstringop-truncation warning for strncat
137 calls for GCC 8. Disable -Wstringop-overflow= warning for one
138 strncat call for GCC 7.
139 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
141 (test_memcmp): Use memcpy instead of strncpy for calls not copying
144 * string/bug-strncat1.c: Include <libc-diag.h>.
145 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
147 2017-11-13 Claude Paroz <claude@2xlibre.net>
150 * localedata/locales/aa_DJ: Improved readibility by replacing
151 <Uxxxx> sequences in the ASCII printable range by their ASCII
152 character equivalents.
153 * localedata/locales/aa_ER: Likewise.
154 * localedata/locales/aa_ER@saaho: Likewise.
155 * localedata/locales/aa_ET: Likewise.
156 * localedata/locales/af_ZA: Likewise.
157 * localedata/locales/agr_PE: Likewise.
158 * localedata/locales/ak_GH: Likewise.
159 * localedata/locales/am_ET: Likewise.
160 * localedata/locales/anp_IN: Likewise.
161 * localedata/locales/ar_AE: Likewise.
162 * localedata/locales/ar_BH: Likewise.
163 * localedata/locales/ar_DZ: Likewise.
164 * localedata/locales/ar_EG: Likewise.
165 * localedata/locales/ar_IN: Likewise.
166 * localedata/locales/ar_IQ: Likewise.
167 * localedata/locales/ar_JO: Likewise.
168 * localedata/locales/ar_KW: Likewise.
169 * localedata/locales/ar_LB: Likewise.
170 * localedata/locales/ar_LY: Likewise.
171 * localedata/locales/ar_MA: Likewise.
172 * localedata/locales/ar_OM: Likewise.
173 * localedata/locales/ar_QA: Likewise.
174 * localedata/locales/ar_SA: Likewise.
175 * localedata/locales/ar_SD: Likewise.
176 * localedata/locales/ar_SS: Likewise.
177 * localedata/locales/ar_SY: Likewise.
178 * localedata/locales/ar_TN: Likewise.
179 * localedata/locales/ar_YE: Likewise.
180 * localedata/locales/as_IN: Likewise.
181 * localedata/locales/ast_ES: Likewise.
182 * localedata/locales/ayc_PE: Likewise.
183 * localedata/locales/az_AZ: Likewise.
184 * localedata/locales/az_IR: Likewise.
185 * localedata/locales/be_BY: Likewise.
186 * localedata/locales/be_BY@latin: Likewise.
187 * localedata/locales/bem_ZM: Likewise.
188 * localedata/locales/ber_DZ: Likewise.
189 * localedata/locales/ber_MA: Likewise.
190 * localedata/locales/bg_BG: Likewise.
191 * localedata/locales/bhb_IN: Likewise.
192 * localedata/locales/bho_IN: Likewise.
193 * localedata/locales/bi_VU: Likewise.
194 * localedata/locales/bn_BD: Likewise.
195 * localedata/locales/bn_IN: Likewise.
196 * localedata/locales/bo_CN: Likewise.
197 * localedata/locales/bo_IN: Likewise.
198 * localedata/locales/br_FR: Likewise.
199 * localedata/locales/brx_IN: Likewise.
200 * localedata/locales/bs_BA: Likewise.
201 * localedata/locales/byn_ER: Likewise.
202 * localedata/locales/ca_AD: Likewise.
203 * localedata/locales/ca_ES: Likewise.
204 * localedata/locales/ca_FR: Likewise.
205 * localedata/locales/ca_IT: Likewise.
206 * localedata/locales/ce_RU: Likewise.
207 * localedata/locales/chr_US: Likewise.
208 * localedata/locales/cmn_TW: Likewise.
209 * localedata/locales/crh_UA: Likewise.
210 * localedata/locales/cs_CZ: Likewise.
211 * localedata/locales/csb_PL: Likewise.
212 * localedata/locales/cv_RU: Likewise.
213 * localedata/locales/cy_GB: Likewise.
214 * localedata/locales/da_DK: Likewise.
215 * localedata/locales/de_AT: Likewise.
216 * localedata/locales/de_BE: Likewise.
217 * localedata/locales/de_CH: Likewise.
218 * localedata/locales/de_DE: Likewise.
219 * localedata/locales/de_IT: Likewise.
220 * localedata/locales/de_LI: Likewise.
221 * localedata/locales/de_LU: Likewise.
222 * localedata/locales/doi_IN: Likewise.
223 * localedata/locales/dv_MV: Likewise.
224 * localedata/locales/dz_BT: Likewise.
225 * localedata/locales/el_CY: Likewise.
226 * localedata/locales/el_GR: Likewise.
227 * localedata/locales/en_AG: Likewise.
228 * localedata/locales/en_AU: Likewise.
229 * localedata/locales/en_BW: Likewise.
230 * localedata/locales/en_CA: Likewise.
231 * localedata/locales/en_DK: Likewise.
232 * localedata/locales/en_GB: Likewise.
233 * localedata/locales/en_HK: Likewise.
234 * localedata/locales/en_IE: Likewise.
235 * localedata/locales/en_IL: Likewise.
236 * localedata/locales/en_IN: Likewise.
237 * localedata/locales/en_NG: Likewise.
238 * localedata/locales/en_NZ: Likewise.
239 * localedata/locales/en_PH: Likewise.
240 * localedata/locales/en_SG: Likewise.
241 * localedata/locales/en_US: Likewise.
242 * localedata/locales/en_ZA: Likewise.
243 * localedata/locales/en_ZM: Likewise.
244 * localedata/locales/en_ZW: Likewise.
245 * localedata/locales/eo: Likewise.
246 * localedata/locales/es_AR: Likewise.
247 * localedata/locales/es_BO: Likewise.
248 * localedata/locales/es_CL: Likewise.
249 * localedata/locales/es_CO: Likewise.
250 * localedata/locales/es_CR: Likewise.
251 * localedata/locales/es_CU: Likewise.
252 * localedata/locales/es_DO: Likewise.
253 * localedata/locales/es_EC: Likewise.
254 * localedata/locales/es_ES: Likewise.
255 * localedata/locales/es_GT: Likewise.
256 * localedata/locales/es_HN: Likewise.
257 * localedata/locales/es_MX: Likewise.
258 * localedata/locales/es_NI: Likewise.
259 * localedata/locales/es_PA: Likewise.
260 * localedata/locales/es_PE: Likewise.
261 * localedata/locales/es_PR: Likewise.
262 * localedata/locales/es_PY: Likewise.
263 * localedata/locales/es_SV: Likewise.
264 * localedata/locales/es_US: Likewise.
265 * localedata/locales/es_UY: Likewise.
266 * localedata/locales/es_VE: Likewise.
267 * localedata/locales/et_EE: Likewise.
268 * localedata/locales/eu_ES: Likewise.
269 * localedata/locales/eu_ES@euro: Likewise.
270 * localedata/locales/fa_IR: Likewise.
271 * localedata/locales/ff_SN: Likewise.
272 * localedata/locales/fi_FI: Likewise.
273 * localedata/locales/fil_PH: Likewise.
274 * localedata/locales/fo_FO: Likewise.
275 * localedata/locales/fr_BE: Likewise.
276 * localedata/locales/fr_CA: Likewise.
277 * localedata/locales/fr_CH: Likewise.
278 * localedata/locales/fr_FR: Likewise.
279 * localedata/locales/fr_LU: Likewise.
280 * localedata/locales/fur_IT: Likewise.
281 * localedata/locales/fy_DE: Likewise.
282 * localedata/locales/fy_NL: Likewise.
283 * localedata/locales/ga_IE: Likewise.
284 * localedata/locales/gd_GB: Likewise.
285 * localedata/locales/gez_ER: Likewise.
286 * localedata/locales/gez_ET: Likewise.
287 * localedata/locales/gl_ES: Likewise.
288 * localedata/locales/gu_IN: Likewise.
289 * localedata/locales/gv_GB: Likewise.
290 * localedata/locales/ha_NG: Likewise.
291 * localedata/locales/hak_TW: Likewise.
292 * localedata/locales/he_IL: Likewise.
293 * localedata/locales/hi_IN: Likewise.
294 * localedata/locales/hif_FJ: Likewise.
295 * localedata/locales/hne_IN: Likewise.
296 * localedata/locales/hr_HR: Likewise.
297 * localedata/locales/hsb_DE: Likewise.
298 * localedata/locales/ht_HT: Likewise.
299 * localedata/locales/hu_HU: Likewise.
300 * localedata/locales/hy_AM: Likewise.
301 * localedata/locales/i18n: Likewise.
302 * localedata/locales/ia_FR: Likewise.
303 * localedata/locales/id_ID: Likewise.
304 * localedata/locales/ig_NG: Likewise.
305 * localedata/locales/ik_CA: Likewise.
306 * localedata/locales/is_IS: Likewise.
307 * localedata/locales/it_CH: Likewise.
308 * localedata/locales/it_IT: Likewise.
309 * localedata/locales/iu_CA: Likewise.
310 * localedata/locales/ja_JP: Likewise.
311 * localedata/locales/ka_GE: Likewise.
312 * localedata/locales/kk_KZ: Likewise.
313 * localedata/locales/kl_GL: Likewise.
314 * localedata/locales/kn_IN: Likewise.
315 * localedata/locales/ko_KR: Likewise.
316 * localedata/locales/kok_IN: Likewise.
317 * localedata/locales/ks_IN: Likewise.
318 * localedata/locales/ks_IN@devanagari: Likewise.
319 * localedata/locales/ku_TR: Likewise.
320 * localedata/locales/kw_GB: Likewise.
321 * localedata/locales/ky_KG: Likewise.
322 * localedata/locales/lb_LU: Likewise.
323 * localedata/locales/lg_UG: Likewise.
324 * localedata/locales/li_BE: Likewise.
325 * localedata/locales/li_NL: Likewise.
326 * localedata/locales/lij_IT: Likewise.
327 * localedata/locales/ln_CD: Likewise.
328 * localedata/locales/lo_LA: Likewise.
329 * localedata/locales/lt_LT: Likewise.
330 * localedata/locales/lv_LV: Likewise.
331 * localedata/locales/lzh_TW: Likewise.
332 * localedata/locales/mag_IN: Likewise.
333 * localedata/locales/mai_IN: Likewise.
334 * localedata/locales/mg_MG: Likewise.
335 * localedata/locales/mhr_RU: Likewise.
336 * localedata/locales/mi_NZ: Likewise.
337 * localedata/locales/mk_MK: Likewise.
338 * localedata/locales/ml_IN: Likewise.
339 * localedata/locales/mn_MN: Likewise.
340 * localedata/locales/mni_IN: Likewise.
341 * localedata/locales/mr_IN: Likewise.
342 * localedata/locales/ms_MY: Likewise.
343 * localedata/locales/mt_MT: Likewise.
344 * localedata/locales/my_MM: Likewise.
345 * localedata/locales/nan_TW: Likewise.
346 * localedata/locales/nan_TW@latin: Likewise.
347 * localedata/locales/nb_NO: Likewise.
348 * localedata/locales/nds_DE: Likewise.
349 * localedata/locales/nds_NL: Likewise.
350 * localedata/locales/ne_NP: Likewise.
351 * localedata/locales/nhn_MX: Likewise.
352 * localedata/locales/niu_NU: Likewise.
353 * localedata/locales/niu_NZ: Likewise.
354 * localedata/locales/nl_AW: Likewise.
355 * localedata/locales/nl_BE: Likewise.
356 * localedata/locales/nl_NL: Likewise.
357 * localedata/locales/nn_NO: Likewise.
358 * localedata/locales/nr_ZA: Likewise.
359 * localedata/locales/nso_ZA: Likewise.
360 * localedata/locales/oc_FR: Likewise.
361 * localedata/locales/om_ET: Likewise.
362 * localedata/locales/om_KE: Likewise.
363 * localedata/locales/or_IN: Likewise.
364 * localedata/locales/os_RU: Likewise.
365 * localedata/locales/pa_IN: Likewise.
366 * localedata/locales/pa_PK: Likewise.
367 * localedata/locales/pap_AW: Likewise.
368 * localedata/locales/pap_CW: Likewise.
369 * localedata/locales/pl_PL: Likewise.
370 * localedata/locales/ps_AF: Likewise.
371 * localedata/locales/pt_BR: Likewise.
372 * localedata/locales/pt_PT: Likewise.
373 * localedata/locales/quz_PE: Likewise.
374 * localedata/locales/raj_IN: Likewise.
375 * localedata/locales/ro_RO: Likewise.
376 * localedata/locales/ru_RU: Likewise.
377 * localedata/locales/ru_UA: Likewise.
378 * localedata/locales/rw_RW: Likewise.
379 * localedata/locales/sa_IN: Likewise.
380 * localedata/locales/sat_IN: Likewise.
381 * localedata/locales/sc_IT: Likewise.
382 * localedata/locales/sd_IN: Likewise.
383 * localedata/locales/sd_IN@devanagari: Likewise.
384 * localedata/locales/se_NO: Likewise.
385 * localedata/locales/sgs_LT: Likewise.
386 * localedata/locales/shs_CA: Likewise.
387 * localedata/locales/si_LK: Likewise.
388 * localedata/locales/sid_ET: Likewise.
389 * localedata/locales/sk_SK: Likewise.
390 * localedata/locales/sl_SI: Likewise.
391 * localedata/locales/sm_WS: Likewise.
392 * localedata/locales/so_DJ: Likewise.
393 * localedata/locales/so_ET: Likewise.
394 * localedata/locales/so_KE: Likewise.
395 * localedata/locales/so_SO: Likewise.
396 * localedata/locales/sq_AL: Likewise.
397 * localedata/locales/sq_MK: Likewise.
398 * localedata/locales/sr_ME: Likewise.
399 * localedata/locales/sr_RS: Likewise.
400 * localedata/locales/sr_RS@latin: Likewise.
401 * localedata/locales/ss_ZA: Likewise.
402 * localedata/locales/st_ZA: Likewise.
403 * localedata/locales/sv_FI: Likewise.
404 * localedata/locales/sv_SE: Likewise.
405 * localedata/locales/sw_KE: Likewise.
406 * localedata/locales/sw_TZ: Likewise.
407 * localedata/locales/szl_PL: Likewise.
408 * localedata/locales/ta_IN: Likewise.
409 * localedata/locales/ta_LK: Likewise.
410 * localedata/locales/tcy_IN: Likewise.
411 * localedata/locales/te_IN: Likewise.
412 * localedata/locales/tg_TJ: Likewise.
413 * localedata/locales/th_TH: Likewise.
414 * localedata/locales/the_NP: Likewise.
415 * localedata/locales/ti_ER: Likewise.
416 * localedata/locales/ti_ET: Likewise.
417 * localedata/locales/tig_ER: Likewise.
418 * localedata/locales/tk_TM: Likewise.
419 * localedata/locales/tl_PH: Likewise.
420 * localedata/locales/tn_ZA: Likewise.
421 * localedata/locales/to_TO: Likewise.
422 * localedata/locales/tpi_PG: Likewise.
423 * localedata/locales/tr_CY: Likewise.
424 * localedata/locales/tr_TR: Likewise.
425 * localedata/locales/ts_ZA: Likewise.
426 * localedata/locales/tt_RU: Likewise.
427 * localedata/locales/tt_RU@iqtelif: Likewise.
428 * localedata/locales/ug_CN: Likewise.
429 * localedata/locales/uk_UA: Likewise.
430 * localedata/locales/unm_US: Likewise.
431 * localedata/locales/ur_IN: Likewise.
432 * localedata/locales/ur_PK: Likewise.
433 * localedata/locales/uz_UZ: Likewise.
434 * localedata/locales/uz_UZ@cyrillic: Likewise.
435 * localedata/locales/ve_ZA: Likewise.
436 * localedata/locales/vi_VN: Likewise.
437 * localedata/locales/wa_BE: Likewise.
438 * localedata/locales/wae_CH: Likewise.
439 * localedata/locales/wal_ET: Likewise.
440 * localedata/locales/wo_SN: Likewise.
441 * localedata/locales/xh_ZA: Likewise.
442 * localedata/locales/yi_US: Likewise.
443 * localedata/locales/yo_NG: Likewise.
444 * localedata/locales/yue_HK: Likewise.
445 * localedata/locales/yuw_PG: Likewise.
446 * localedata/locales/zh_CN: Likewise.
447 * localedata/locales/zh_HK: Likewise.
448 * localedata/locales/zh_SG: Likewise.
449 * localedata/locales/zh_TW: Likewise.
450 * localedata/locales/zu_ZA: Likewise.
452 2017-11-13 Florian Weimer <fweimer@redhat.com>
454 * support/next_to_fault.h, support/next_to_fault.c: New files.
455 * support/Makefile (libsupport-routines): Add next_to_fault.
456 * resolv/tst-inet_pton.c (struct next_to_fault)
457 (next_to_fault_allocate, next_to_fault_free): Remove.
458 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
460 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
462 * elf/dl-support.c: Include <dl-procruntime.c>.
463 * include/link.h: Include <link_map.h>.
464 * sysdeps/generic/dl-procruntime.c: New file.
465 * sysdeps/generic/link_map.h: Likewise.
466 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
467 the writable ld.so namespace.
469 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
471 timezone: pacify GCC -Wstringop-truncation
472 Problem reported by Martin Sebor in:
473 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
474 * timezone/zic.c (writezone): Use memcpy, not strncpy.
476 2017-11-12 Florian Weimer <fweimer@redhat.com>
478 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
480 (tests): Add tst-xreadlink.
481 * support/support.h (xstrndup): Declare.
482 * support/xunistd.h (xunlink, xreadlink): Declare.
483 * support/temp_file.h (support_create_temp_directory): Declare.
484 * support/temp_file.c (support_create_temp_directory): New function.
485 * support/support_chroot.c (support_chroot_create): Use it.
486 * support/xreadlink.c: New file.
487 * support/xstrndup.c: Likewise.
488 * support/xunlink.c: Likewise.
489 * support/tst-xreadlink.c: Likewise.
491 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
493 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
495 2017-11-11 Florian Weimer <fweimer@redhat.com>
499 * resolv/res_comp.c (printable_string, binary_hnok)
500 (binary_leading_dash): New functions.
501 (res_hnok): Reimplement using these functions and ns_name_pton.
502 (res_ownok): Likewise.
503 (res_mailok): Reimplement using printable_string, ns_name_pton and
505 (res_dnok): Reimplement using printable_string and ns_name_pton.
506 * resolv/tst-res_hnok.c (tests): Add additional tests.
507 (LETTERDIGITS, PRINTABLE): Define.
508 (do_test): Adjust one_char results.
510 2017-11-11 Florian Weimer <fweimer@redhat.com>
513 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
514 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
516 2017-11-11 Florian Weimer <fweimer@redhat.com>
518 * resolv/tst-ns_name_pton.c: New file.
519 * resolv/Makefile (tests): Add tst-ns_name_pton.
520 (tst-ns_name_pton): Link against libresolv.
522 2017-11-11 Florian Weimer <fweimer@redhat.com>
524 * resolv/tst-res_hnok.c: New file.
525 * resolv/Makefile (tests): Add tst-res_hnok.
526 (tst-res_hnok): Link against libresolv.
528 2017-11-11 Florian Weimer <fweimer@redhat.com>
530 * resolv/tst-resolv-network.c: Use test framework instead explicit
533 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
535 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
537 [!_ISOMAC] (STR_HELPER): New.
538 [!_ISOMAC] (STR): Likewise.
539 [!_ISOMAC] (TEST_SIZE): Likewise.
540 [!_ISOMAC] (TEST_ALIGN): Likewise.
541 [!_ISOMAC] (TEST_OFFSET): Likewise.
542 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
543 field offsets of jmp_buf as well as sigjmp_buf.
544 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
545 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
546 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
547 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
548 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
549 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
550 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
551 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
552 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
553 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
555 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
557 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
562 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
563 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
564 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
565 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
566 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
571 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
572 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
575 2017-11-07 Joseph Myers <joseph@codesourcery.com>
578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
579 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
581 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
583 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
585 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
587 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
589 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
591 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
593 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
595 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
597 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
599 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
601 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
603 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
605 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
607 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
609 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
611 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
613 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
615 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
617 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
619 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
621 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
623 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
625 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
627 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
629 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
631 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
633 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
635 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
637 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
639 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
641 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
643 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
645 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
647 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
649 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
651 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
653 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
655 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
657 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
659 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
661 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
663 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
665 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
667 * stdlib/tst-strtod.h (F16): New macro.
673 (IF_FLOAT16): Likewise.
674 (IF_FLOAT32): Likewise.
675 (IF_FLOAT64): Likewise.
676 (IF_FLOAT32X): Likewise.
677 (IF_FLOAT64X): Likewise.
678 (IF_FLOAT128X): Likewise.
679 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
680 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
681 (STRTOD_TEST_FOREACH): Likewise.
682 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
683 (CHOOSE_f64): Likewise.
684 (CHOOSE_f32x): Likewise.
685 (CHOOSE_f64x): Likewise.
687 2017-11-07 Andreas Schwab <schwab@suse.de>
689 * nptl/Makefile (tests-internal): Remove tst-typesizes.
691 2017-11-07 Mike FABIAN <mfabian@redhat.com>
694 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
696 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
699 2017-11-07 Claude Paroz <claude@2xlibre.net>
702 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
704 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
706 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
709 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
712 * nptl/allocatestack.c (allocate_stack): Check if
713 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
714 __PTHREAD_MUTEX_HAVE_PREV is defined.
715 * nptl/descr.h (pthread): Likewise.
716 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
718 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
719 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
720 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
721 * sysdeps/nptl/bits/thread-shared-types.h
722 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
724 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
725 of __WORDSIZE for internal layout.
726 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
727 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
728 instead of __WORDSIZE whether to use an union for __spins and __list
730 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
732 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
733 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
735 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
736 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
738 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
739 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
741 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
742 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
744 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
745 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
747 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
748 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
750 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
751 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
753 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
754 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
756 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
757 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
759 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
760 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
762 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
763 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
765 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
766 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
768 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
769 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
771 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
772 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
774 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
775 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
778 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
780 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
781 checks for expected input type size.
782 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
783 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
785 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
786 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
787 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
788 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
789 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
790 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
791 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
792 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
793 superflous runtime assert check.
794 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
796 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
798 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
800 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
802 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
804 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
806 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
807 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
808 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
810 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
812 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
814 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
816 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
818 * nptl/pthread_attr_setinheritsched.c
819 (__pthread_attr_setinheritsched): Likewise.
820 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
822 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
824 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
825 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
826 __old_pthread_attr_setstack): Likewise.
827 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
829 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
831 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
833 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
834 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
836 * nptl/tst-typesizes.c: Remove file.
838 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
839 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
840 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
841 checks for internal pthread_mutex_t offsets.
842 * sysdeps/aarch64/nptl/pthread-offsets.h
843 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
844 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
845 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
846 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
847 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
848 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
849 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
850 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
851 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
852 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
853 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
854 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
855 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
856 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
857 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
858 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
859 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
860 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
862 2017-11-07 Florian Weimer <fweimer@redhat.com>
864 * bits/mman-linux.h: Move ...
865 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
867 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
870 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
872 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
873 Redefine STRNLEN as __strnlen_power8.
875 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
877 * signal/sighold.c (sighold): Optimize implementation.
879 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
880 __NR_rt_sigqueueinfo.
882 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
884 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
885 assume __NR_rt_sigtimedwait.
886 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
887 and add LIBC_CANCEL_HANDLED for cancellation marking.
888 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
890 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
891 (sysdeps_routines): Add memchr_noneon.
892 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
893 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
894 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
895 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
896 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
897 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
898 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
900 * sysdeps/arm/arm-ifunc.h: New file.
901 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
902 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
903 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
904 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
905 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
906 (__memcpy_neon): Avoid create hidden alias.
907 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
908 (__memcpy_vfp): Likewise.
909 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
910 (sysdep_routines): Add memcpy_arm.
911 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
913 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
916 * Makerules (make-link-multidir): New.
917 * config.make.in (multidir): New.
918 * configure.ac (libc_cv_multidir): New. AC_SUBST.
919 * configure: Regenerated.
920 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
921 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
922 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
925 2017-11-06 Joseph Myers <joseph@codesourcery.com>
928 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
929 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
931 2017-11-04 Mike FABIAN <mfabian@redhat.com>
933 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
936 2017-11-04 Florian Weimer <fweimer@redhat.com>
938 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
940 2017-11-03 Joseph Myers <joseph@codesourcery.com>
942 * math/math.h [__HAVE_DISTINCT_FLOAT16
943 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
944 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
945 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
946 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
947 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
948 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
949 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
950 (__MATH_TG_F32): New macro.
951 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
952 (__MATH_TG_F64X): Likewise.
953 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
954 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
956 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
958 * po/de.po: Update translations.
959 * po/ru.po: Likewise.
961 2017-11-03 Florian Weimer <fweimer@redhat.com>
963 * manual/filesys.texi (Hard Links): Document linkat.
965 2017-11-03 Joseph Myers <joseph@codesourcery.com>
967 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
968 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
969 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
970 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
971 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
972 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
973 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
974 the same as _Float128.
975 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
976 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
977 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
980 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
982 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
984 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
986 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
987 (strtof32x): Likewise.
988 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
989 (strtof64x): Likewise.
990 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
991 (strtof128x): Likewise.
992 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
993 (strfromf16): Likewise.
994 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
995 (strfromf32): Likewise.
996 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
997 (strfromf64): Likewise.
998 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
999 (strfromf32x): Likewise.
1000 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1001 (strfromf64x): Likewise.
1002 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1003 (strfromf128x): Likewise.
1004 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
1005 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
1006 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
1007 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
1008 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
1009 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
1011 2017-11-03 Richard Henderson <rth@twiddle.net>
1013 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
1015 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1017 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
1019 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1021 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
1022 DT_TLSDESC_GOT initialization.
1023 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
1024 (_dl_tlsdesc_resolve_hold): Likewise.
1025 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
1026 (_dl_tlsdesc_resolve_hold): Likewise.
1027 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
1028 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1030 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1032 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
1034 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1037 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
1038 non-lazily for R_ARM_TLS_DESC.
1040 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1043 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
1044 R_ARM_TLS_DESC case.
1045 (elf_machine_lazy_rel): Remove the prelink check.
1047 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1049 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
1050 DT_TLSDESC_GOT initialization.
1051 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
1052 (_dl_tlsdesc_resolve_rela): Likewise.
1053 (_dl_tlsdesc_resolve_hold): Likewise.
1054 (_dl_tlsdesc_undefweak): Remove ldar.
1055 (_dl_tlsdesc_dynamic): Likewise.
1056 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
1057 (_dl_tlsdesc_resolve_rela): Likewise.
1058 (_dl_tlsdesc_resolve_hold): Likewise.
1059 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
1060 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1061 (_dl_tlsdesc_resolve_rela): Likewise.
1062 (_dl_tlsdesc_resolve_hold): Likewise.
1064 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1066 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
1067 binding and initialization non-lazily for R_AARCH64_TLSDESC.
1069 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1071 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
1072 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1074 2017-11-02 Joseph Myers <joseph@codesourcery.com>
1076 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
1078 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
1079 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
1080 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
1081 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
1082 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
1083 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
1084 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
1085 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
1086 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
1087 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
1088 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
1090 2017-11-02 Mike FABIAN <mfabian@redhat.com>
1093 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
1094 * localedata/locales/tpi_PG: Add standard header.
1096 2017-11-02 Florian Weimer <fweimer@redhat.com>
1098 test-errno-linux: quotactl can fail with EPERM in containers.
1099 * sysdeps/unix/sysv/linux/test-errno-linux.c
1100 (LIST, LIST_FORWARD): New macros.
1101 (check_error_in_list): New function.
1102 (test_wrp_rv): Accept list of permitted error codes.
1103 (test_wrp_rv2): Remove.
1104 (test_wrp): Call test_wrp_rv with list of error codes.
1105 (test_wrp2): Accept list of error codes.
1106 (do_test): Adjust. Allow EPERM for quotactl.
1108 2017-11-02 Florian Weimer <fweimer@redhat.com>
1110 * stdio-common/bug16.c (do_test): Use array_length.
1111 * stdio-common/errlist.c (_sys_nerr): Likewise.
1112 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
1113 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
1114 * stdio-common/psiginfo.c (psiginfo): Use array_length.
1115 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
1116 (do_test): Use array_length.
1117 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
1118 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
1119 * stdio-common/tst-printf-round.c (do_test): Likewise.
1120 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
1121 (CHECK): Use array_length.
1122 * stdio-common/tstdiomisc.c (t3, F): Likewise.
1123 * stdio-common/tstscanf.c (main): Likewise.
1124 * stdio-common/vfprintf.c (process_string_arg): Likewise.
1126 2017-11-02 Florian Weimer <fweimer@redhat.com>
1128 Add array_length and array_end macros.
1129 * include/array_length.h: New file.
1131 2017-11-02 Florian Weimer <fweimer@redhat.com>
1134 * posix/tst-glob-tilde.c (do_noescape): New variable.
1135 (one_test): Process it.
1136 (do_test): Set do_noescape. Add unescaping test case.
1138 2017-11-01 Joseph Myers <joseph@codesourcery.com>
1141 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
1142 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
1143 with appropriate macros defined and undefined.
1144 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
1145 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1146 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
1147 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1148 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
1149 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1150 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
1151 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1152 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
1153 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1156 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
1157 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
1158 that for long double. Do not condition define and undefine of
1159 _Mdouble_complex_ on [__CFLOAT128].
1161 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
1163 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1164 of <sysdeps/generic/sysdep.h>.
1165 (ALIGNARG): Removed.
1166 (ASM_SIZE_DIRECTIVE): Likewise.
1169 (ENTRY_CHK): Likewise.
1170 (END_CHK): Likewise.
1171 (syscall_error): Likewise.
1173 (PSEUDO_END): Likewise.
1175 (atom_text_section): Likewise.
1176 * sysdeps/x86/sysdep.h: New file.
1177 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1178 of <sysdeps/generic/sysdep.h>.
1179 (ALIGNARG): Removed.
1180 (ASM_SIZE_DIRECTIVE): Likewise.
1183 (ENTRY_CHK): Likewise.
1184 (END_CHK): Likewise.
1185 (syscall_error): Likewise.
1187 (PSEUDO_END): Likewise.
1189 (atom_text_section): Likewise.
1191 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
1193 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
1194 category of LC_CTYPE set to "i18n:2012".
1195 * localedata/locales/i18n_ctype: Regenerate.
1197 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
1199 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
1200 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1201 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1202 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1204 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
1205 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1207 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
1209 2017-10-31 Joseph Myers <joseph@codesourcery.com>
1212 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
1214 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
1216 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
1218 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1219 (CMPLXF32X): Likewise.
1220 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1221 (CMPLXF64X): Likewise.
1222 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1223 (CMPLXF128X): Likewise.
1226 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
1227 (__MATH_EVAL_FMT2): Define to add 0.0f.
1229 2017-10-31 Alan Modra <amodra@gmail.com>
1231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
1233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
1236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
1238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
1242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
1248 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
1249 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
1250 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1251 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1264 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1265 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1266 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1267 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
1268 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
1271 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
1272 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1273 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
1274 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
1275 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1276 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1277 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1278 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1279 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1280 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
1281 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
1286 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1288 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1289 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1291 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1296 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1297 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
1298 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1299 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
1300 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
1304 include sysdep.h and math_ldbl_opt.h.
1306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
1307 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
1308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
1310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
1322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
1324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
1325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
1326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
1327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
1328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
1329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
1331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1333 2017-10-31 Alan Modra <amodra@gmail.com>
1335 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
1336 string/strncase_l.c, not string/strncase.c.
1337 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
1338 (libc_hidden_def): Redefine.
1340 2017-10-31 Alan Modra <amodra@gmail.com>
1342 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
1343 (__STRCMP, STRCMP, __strcasecmp_l): Define.
1344 (__strcasecmp): Don't define.
1346 2017-10-31 Alan Modra <amodra@gmail.com>
1348 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
1350 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1351 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1352 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1354 2017-10-31 Alan Modra <amodra@gmail.com>
1356 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
1359 2017-10-31 Alan Modra <amodra@gmail.com>
1361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
1362 Redefine only when SHARED.
1364 2017-10-30 Joseph Myers <joseph@codesourcery.com>
1366 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1367 Include <bits/math-finite.h> with appropriate macros defined and
1369 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1370 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1371 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1372 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1373 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1375 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
1376 [!_Mlong_double_] (_Mlong_double_): Likewise.
1377 [!_Mfloat16_] (_Mfloat16_): Likewise.
1378 [!_Mfloat32_] (_Mfloat32_): Likewise.
1379 [!_Mfloat64_] (_Mfloat64_): Likewise.
1380 [!_Mfloat128_] (_Mfloat128_): Likewise.
1381 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
1382 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
1383 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
1384 (_Mdouble_): Define without indirection through those macros.
1385 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
1386 [!_Mfloat128_] (_Mfloat128_): Likewise.
1387 [_Mlong_double_] (_Mlong_double_): Likewise.
1388 (_Mdouble_): Define without indirection through those macros.
1389 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
1390 not add -D_Mlong_double_=double.
1391 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
1392 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
1394 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1396 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
1398 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1400 * sysdeps/x86/libc-start.c: Reformat.
1402 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1405 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
1409 (L(Src2)): Likewise.
1410 (L(1)): Renamed to ...
1413 2017-10-30 Joseph Myers <joseph@codesourcery.com>
1415 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
1416 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
1417 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
1418 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
1419 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
1420 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
1421 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
1422 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
1423 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
1424 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
1425 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
1426 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
1427 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
1428 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
1429 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
1430 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
1431 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
1432 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
1433 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
1434 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
1435 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
1436 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
1437 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
1438 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
1439 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
1440 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
1441 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
1442 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
1443 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
1444 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
1445 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
1446 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
1447 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
1448 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
1449 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
1450 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
1451 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
1452 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
1453 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
1454 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
1455 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
1456 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
1457 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
1458 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
1459 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
1460 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
1461 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
1462 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
1463 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
1464 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
1465 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
1466 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
1467 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
1468 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
1469 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
1470 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
1471 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
1472 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
1473 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
1474 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
1475 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
1476 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
1477 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
1478 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
1479 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
1480 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
1482 2017-10-30 Florian Weimer <fweimer@redhat.com>
1484 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
1486 * io/tst-mkdirat.c (do_test): Likewise.
1487 * io/tst-mkfifoat.c (do_test): Likewise.
1488 * io/tst-mknodat.c (do_test): Likewise.
1489 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
1490 * locale/programs/locale.c (select_dirs): Likewise.
1491 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
1492 * posix/bug-glob2.c (my_readdir): Likewise.
1493 * posix/tst-dir.c (main): Likewise.
1494 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
1495 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
1497 2017-10-30 Florian Weimer <fweimer@redhat.com>
1499 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
1502 2017-10-30 Florian Weimer <fweimer@redhat.com>
1504 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
1505 Convert to support/test-driver.c.
1506 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
1507 New macro parameters.
1508 (PRINTF): Remove macro. Use test_verbose conditionals instead.
1509 * posix/tst-gnuglob.c: New file.
1510 * posix/tst-gnuglob64.c: Likewise.
1511 * posix/Makefile (tests): Add tst-gnuglob64.
1513 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
1516 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
1517 and use a better translation for March in “mon”.
1518 * localedata/locales/csb_PL: Use more ASCII to improve the
1519 readability of the source.
1521 2017-10-30 Mike FABIAN <mfabian@redhat.com>
1524 * localedata/locales/km_KH: Use ASCII as much
1525 as possible for better readability of the source and
1526 remove useless comments.
1527 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
1528 was commented out and apparently wrong anyway because it was
1529 using Lao characters. If Buddhist era should be used
1530 for km_KH, a native speaker should write the correct formaat
1532 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
1533 (According to CLDR, the first weekday for Cambodia is Sunday).
1534 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
1535 (These were using Lao characters which must be wrong. If we get
1536 the correct data from a native speaker, we could add it back, until
1537 then it is better not to have name_mr and name_mrs at all than
1540 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
1542 * locale/loadlocale.c: Correct size of
1543 _nl_value_type_LC_<category> arrays.
1545 2017-10-27 Joseph Myers <joseph@codesourcery.com>
1547 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1548 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
1549 with appropriate macros defined and undefined.
1550 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1551 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1552 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1553 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1554 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1556 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
1558 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
1561 2017-10-27 Mike FABIAN <mfabian@redhat.com>
1563 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
1564 with lowercase letters to make it agree with CLDR.
1566 2017-10-27 Mike FABIAN <mfabian@redhat.com>
1569 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
1570 first letters of yesstr and nostr in yesexpr and noexpr,
1571 not for the full words.
1572 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1573 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
1574 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
1575 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
1576 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
1577 first letters of yesstr and nostr in yesexpr and noexpr,
1578 until now only English was matched in yesexpr and noexpr.
1579 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
1580 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
1581 fil but not for tl. As tl and fil are very similar, using fil
1582 is probably better than using English.
1584 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
1587 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
1588 in yesstr and nostr.
1590 2017-10-26 Joseph Myers <joseph@codesourcery.com>
1592 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1593 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
1594 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
1596 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
1598 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
1600 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
1602 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1603 (SNANF128X): Likewise.
1605 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1606 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
1607 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1608 (HUGE_VAL_F32): Likewise.
1609 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1610 (HUGE_VAL_F64): Likewise.
1611 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1612 (HUGE_VAL_F32X): Likewise.
1613 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1614 (HUGE_VAL_F64X): Likewise.
1615 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1616 (HUGE_VAL_F128X): Likewise.
1618 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1620 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
1621 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
1622 for the br_FR locale.
1624 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1627 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
1629 2017-10-25 Carlos O'Donell <carlos@redhat.com>
1631 * locale/programs/record-status.h: Define globals, and function
1632 prototypes. Move function bodies...
1633 * locale/programs/record-status.c: ... to here. New file.
1634 * iconv/Makefile (iconv_prog-modules): Add record-status.
1635 * locale/Makefile (lib-modules): Likewise.
1636 * iconv/iconv_prog.c: Remove verbose.
1637 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
1638 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
1639 record a warning about ASCII compatibility.
1640 * locale/programs/ld-monetary.c (monetary_finish): If
1641 warn_int_curr_symbol is true then record a warning about the symbol
1642 not being in our ISO 4217 list.
1643 * locale/programs/locale.c: Include record-status.h. Remove verbose.
1644 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
1645 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
1646 (OPT_NO_WARN): Define.
1648 (options): Add entry for --no-warnings, and --warnings.
1649 (set_warnings): New function to enable/disable warnings.
1650 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
1651 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
1652 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
1653 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
1654 Pass flags to generate_locale.
1655 (generate_locale): Accept new flag argument and pass it to localedef
1657 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
1658 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
1660 * localedata/Makefile (test-input-data): Use full file name.
1661 * localedata/da_DK.in: Rename to...
1662 * localedata/da_DK.ISO-8859-1.in: ...this.
1663 * localedata/de_DE.in: Rename to...
1664 * localedata/de_DE.ISO-8859-1.in: ...this.
1665 * localedata/en_US.in: Rename to...
1666 * localedata/en_US.ISO-8859-1.in: ...this.
1667 * localedata/fr_FR.in: Rename to...
1668 * localedata/fr_FR.UTF-8.in: ... this.
1669 * localedata/hr_HR.in: Rename to...
1670 * localedata/hr_HR.ISO-8859-2.in: ...this.
1671 * localedata/hu_HU.in: Rename to...
1672 * localedata/hu_HU.UTF-8.in: ...this.
1673 * localedata/si_LK.in: Rename to...
1674 * localedata/si_LK.UTF-8.in: ...this.
1675 * localedata/sv_SE.in: Rename to...
1676 * localedata/sv_SE.ISO-8859-1.in: ...this.
1677 * localedata/tr_TR.in: Rename to...
1678 * localedata/tr_TR.UTF-8.in: ...this.
1679 * localedata/uk_UA.in: Rename to...
1680 * localedata/uk_UA.UTF-8.in: ...this.
1681 * localedata/sort-test.sh: Test file is locale name with the
1684 * localedata/unicode-gen/Makefile (check_i18n): Rename to
1685 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
1687 * localedata/locales/i18n_ctype: Regenerate.
1688 * localedata/locales/tr_TR: Likewise.
1689 * localedata/locales/translit_circle: Likewise.
1690 * localedata/locales/translit_cjk_compat: Likewise.
1691 * localedata/locales/translit_combining: Likewise.
1692 * localedata/locales/translit_compat: Likewise.
1693 * localedata/locales/translit_font: Likewise.
1694 * localedata/locales/translit_fraction: Likewise.
1696 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1698 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
1699 lxvd2x/stxvd2x with lvx/stvx.
1700 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1702 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
1704 * include/alloc_buffer.h: Replace "if if " with "if " in
1706 * sysdeps/mips/memcpy.S: Likkewise.
1707 * sysdeps/mips/memset.S: Likewise.
1708 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1710 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
1712 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
1715 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1718 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
1720 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
1721 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
1722 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
1723 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
1724 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
1725 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
1726 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
1728 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1730 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
1731 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
1732 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
1733 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
1734 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
1735 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
1736 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
1737 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
1738 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
1739 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
1740 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
1741 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
1743 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1745 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
1746 as possible for better readability of the source.
1747 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
1748 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
1749 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
1750 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
1751 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
1752 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
1753 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
1754 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
1755 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
1756 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
1757 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
1758 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
1759 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
1760 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
1761 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
1762 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
1763 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
1764 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
1765 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
1766 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
1767 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
1768 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
1769 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
1770 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
1771 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
1772 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
1773 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
1774 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
1775 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
1776 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
1777 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
1778 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
1779 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
1780 * localedata/locales/en_US (LC_MESSAGES): Likewise.
1781 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
1782 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
1783 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
1784 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
1785 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
1786 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
1787 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
1788 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
1789 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
1790 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
1791 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
1792 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
1793 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
1794 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
1795 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
1796 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
1797 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
1798 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
1799 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
1800 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
1801 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
1802 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
1803 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
1804 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1805 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
1806 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
1807 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
1808 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
1809 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
1810 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
1811 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
1812 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
1813 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
1814 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
1815 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
1816 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
1817 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
1818 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
1819 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
1820 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
1821 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
1822 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
1823 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
1824 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
1825 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
1826 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
1827 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
1828 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
1829 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
1830 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
1831 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
1832 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
1833 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
1834 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
1835 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
1836 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
1837 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
1838 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
1839 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
1840 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
1841 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
1842 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
1843 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
1844 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
1845 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
1846 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
1847 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
1848 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
1849 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
1850 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
1851 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
1852 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
1853 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
1854 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
1855 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
1856 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
1857 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
1858 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
1859 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
1860 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
1861 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
1862 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
1863 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
1864 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
1865 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
1866 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
1867 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
1868 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
1869 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
1870 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
1871 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
1872 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
1873 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
1874 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
1875 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
1876 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
1877 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
1878 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
1879 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
1880 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
1881 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
1882 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
1883 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
1884 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
1885 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
1886 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
1887 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
1888 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
1889 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
1890 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
1891 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
1892 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
1893 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
1894 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
1895 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
1896 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
1897 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
1898 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
1899 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
1900 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
1901 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
1902 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
1903 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
1904 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
1905 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
1906 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
1907 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
1908 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
1909 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
1910 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
1911 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
1912 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
1913 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
1914 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
1915 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
1916 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
1917 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
1918 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
1919 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
1920 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
1922 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1924 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
1925 (Use first letters of yesstr and nostr correctly instead of using
1928 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1930 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
1931 (Use first letters of yesstr and nostr correctly).
1933 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1935 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
1936 also check for the first characters of yesstr and nostr.
1937 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
1938 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
1940 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1942 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
1943 also check for Chinese characters.
1945 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1947 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
1948 match also for the contents of yesstr and nostr. As the first letter
1949 of yesstr and nostr is equal, checking only for the first letter
1952 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1954 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
1955 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
1957 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1959 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
1960 of main contributor.
1962 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1964 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
1965 instead of using English.
1967 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1969 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
1970 by including the first letters of nostr and yesexpr in the regexp.
1971 Also make it more readable by using ASCII where possible.
1973 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1975 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
1976 the first letter of nostr in the regexp. It agrees with CLDR now.
1977 Also make it more readable by using ASCII where possible.
1979 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1981 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
1982 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
1983 these strings contain a U+17D6 (which somewhat looks like a colon)
1984 instead of a real colon to separate the full words for “yes”
1985 and “no” from the single letter responses.
1987 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1989 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
1990 it agree with CLDR (include the first letter of yesstr).
1991 Also make it more readable by using ASCII where possible.
1993 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1995 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
1996 and improve yesexpr and noexpr. The yesstr and nostr apparently
1997 came from CLDR. And CLDR has a bug there: these strings contain
1998 a U+0903 (which looks like a colon) instead of a real colon
1999 to separate the full words for “yes” and “no” from the single
2002 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2004 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
2005 letters of the full yesstr and nostr in yesexpr and noexpr.
2007 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2009 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
2010 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
2011 * localedata/locales/an_ES: Make source more readable by using ASCII
2014 2017-10-24 Mike FABIAN <mfabian@redhat.com>
2017 * localedata/locales/yuw_PG: New file.
2018 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
2019 * locale/iso-639.def: Add Yau (Uruwa).
2021 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2023 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
2025 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2027 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
2028 (__libc_realloc): Likewise.
2029 (_mid_memalign): Likewise.
2030 (__libc_calloc): Likewise.
2032 2017-10-23 Mike FABIAN <mfabian@redhat.com>
2034 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
2035 by adding the generic +1 and -0 as in all other locales.
2036 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
2037 day names and make it more readable by using ASCII where possible.
2039 2017-10-24 Joseph Myers <joseph@codesourcery.com>
2041 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
2042 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
2044 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2046 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
2047 WNOHANG in waitpid call.
2049 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
2051 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
2052 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
2054 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
2055 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
2056 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
2057 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
2058 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
2059 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
2060 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
2061 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
2064 2017-10-23 Michael Collison <michael.collison@arm.com>
2066 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
2067 with __builtin_sqrt.
2068 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
2069 with __builtin_sqrtf.
2070 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
2071 with __builtin_ceil.
2072 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
2073 with __builtin_ceilf.
2074 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
2075 with __builtin_floor.
2076 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
2077 with __builtin_floorf.
2078 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
2080 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
2081 with __builtin_fmaf.
2082 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
2083 with __builtin_fmax.
2084 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
2085 with __builtin_fmaxf.
2086 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
2087 with __builtin_fmin.
2088 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
2089 with __builtin_fminf.
2090 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
2091 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
2092 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
2093 with builtin_rint and conversion to int.
2094 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
2095 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
2096 with builtin_llround.
2097 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
2098 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
2099 with builtin_rint and conversion to long int.
2100 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
2101 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
2102 with builtin_lround.
2103 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
2104 with builtin_lroundf.
2105 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
2106 statements with __builtin_nearbyint.
2107 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
2108 statements with __builtin_nearbyintf.
2109 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
2110 with __builtin_rint.
2111 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
2112 with __builtin_rintf.
2113 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
2114 with __builtin_round.
2115 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
2116 with __builtin_roundf.
2117 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
2118 with __builtin_trunc.
2119 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
2120 with __builtin_truncf.
2121 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
2122 and s_l[l]round[f].c too.
2124 2017-10-23 Alan Modra <amodra@gmail.com>
2126 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
2127 Adjust stack after restoring regs. Add missing LR cfi_restore.
2129 2017-10-23 Alan Modra <amodra@gmail.com>
2131 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
2132 Move LR save and frame setup/teardown and LR restore to
2133 immediately around memset call. Provide cfi.
2135 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2137 * sysdeps/i386/fpu/e_powf.S: Removed.
2138 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
2139 * sysdeps/i386/fpu/w_powf.c: Likewise.
2140 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
2141 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2142 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2144 (CFLAGS-e_powf-sse2.c): New.
2145 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
2146 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
2148 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2150 * sysdeps/i386/fpu/e_log2f.S: Removed.
2151 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
2152 * sysdeps/i386/fpu/w_log2f.c: Likewise.
2153 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
2154 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2155 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2157 (CFLAGS-e_log2f-sse2.c): New.
2158 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
2159 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
2161 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2163 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2165 (CFLAGS-e_powf-fma.c): New.
2166 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
2167 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
2169 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2171 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2173 (CFLAGS-e_log2f-fma.c): New.
2174 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
2175 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
2177 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2179 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2181 (CFLAGS-e_logf-fma.c): New.
2182 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
2183 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
2185 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2187 * sysdeps/i386/fpu/e_logf.S: Removed.
2188 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
2189 * sysdeps/i386/fpu/w_logf.c: Likewise.
2190 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
2191 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
2192 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2193 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2195 (CFLAGS-e_logf-sse2.c): New.
2196 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
2197 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
2199 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2201 * sysdeps/i386/fpu/e_exp2f.S: Removed.
2202 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
2203 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
2204 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2205 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2207 (CFLAGS-e_exp2f-sse2.c): New.
2208 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
2209 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
2211 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2213 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2215 (CFLAGS-e_exp2f-fma.c): New.
2216 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
2217 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
2219 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2221 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
2222 * sysdeps/i386/fpu/e_expf.S: Likewise.
2223 * sysdeps/i386/fpu/math_errf.c: Likewise.
2224 * sysdeps/i386/fpu/w_expf.c: Likewise.
2225 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
2226 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2227 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
2228 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
2229 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2230 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2232 (CFLAGS-e_expf-sse2.c): New.
2233 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
2234 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
2236 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2238 * sysdeps/x86_64/fpu/e_expf.S: Removed.
2239 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
2240 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
2241 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
2243 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
2245 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
2246 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2248 (__redirect_expf): This.
2249 (SYMBOL_NAME): Changed to expf.
2250 (__ieee754_expf): Renamed to ...
2252 (__GI___expf): This.
2253 (__ieee754_expf): Add strong_alias.
2254 (__expf_finite): Likewise.
2256 Include <sysdeps/ieee754/flt-32/e_expf.c>.
2258 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
2261 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
2264 2017-10-21 Florian Weimer <fweimer@redhat.com>
2266 * posix/Makefile (tests): Add tst-glob-tilde.
2267 (tests-special): Add tst-glob-tilde-mem.out
2268 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
2269 (tst-glob-tilde-mem.out): Add mtrace check.
2270 * posix/tst-glob-tilde.c: New file.
2272 2017-10-20 Joseph Myers <joseph@codesourcery.com>
2274 * bits/floatn-common.h: New file.
2275 * math/Makefile (headers): Add bits/floatn-common.h.
2276 * bits/floatn.h: Include <bits/floatn-common.h>.
2277 * sysdeps/ia64/bits/floatn.h: Likewise.
2278 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2279 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
2280 * sysdeps/powerpc/bits/floatn.h: Likewise.
2281 * sysdeps/x86/bits/floatn.h: Likewise.
2283 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2285 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
2286 indicates whether compiler emits an warning for alias for
2287 functions with incompatible types.
2290 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
2291 the auxiliary process is terminated by a signal before calling _exit
2294 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2297 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
2299 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
2300 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
2301 and bit_arch_XSAVEC_Usable if needed.
2302 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
2303 and bit_arch_Use_dl_runtime_resolve_opt.
2304 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2306 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2307 (bit_arch_Prefer_No_AVX512): Updated.
2308 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
2309 (bit_arch_XSAVEC_Usable): New.
2310 (STATE_SAVE_OFFSET): Likewise.
2311 (STATE_SAVE_MASK): Likewise.
2312 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
2313 (cpu_features): Add xsave_state_size and xsave_state_full_size.
2314 (index_arch_Use_dl_runtime_resolve_opt): Removed.
2315 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2316 (index_arch_XSAVEC_Usable): New.
2317 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2318 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
2319 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
2321 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
2322 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
2323 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
2324 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
2325 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
2326 _dl_runtime_resolve_xsavec.
2327 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
2329 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
2330 instead of VEC_SIZE.
2331 (REGISTER_SAVE_BND0): Removed.
2332 (REGISTER_SAVE_BND1): Likewise.
2333 (REGISTER_SAVE_BND3): Likewise.
2334 (REGISTER_SAVE_RAX): Always defined to 0.
2336 (_dl_runtime_resolve_avx): Likewise.
2337 (_dl_runtime_resolve_avx_slow): Likewise.
2338 (_dl_runtime_resolve_avx_opt): Likewise.
2339 (_dl_runtime_resolve_avx512): Likewise.
2340 (_dl_runtime_resolve_avx512_opt): Likewise.
2341 (_dl_runtime_resolve_sse): Likewise.
2342 (_dl_runtime_resolve_sse_vex): Likewise.
2344 (_dl_runtime_resolve_fxsave): Likewise.
2345 (USE_XSAVE): Likewise.
2346 (_dl_runtime_resolve_xsave): Likewise.
2347 (USE_XSAVEC): Likewise.
2348 (_dl_runtime_resolve_xsavec): Likewise.
2349 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
2351 (_dl_runtime_resolve_avx512_opt): Likewise.
2352 (_dl_runtime_resolve_avx): Likewise.
2353 (_dl_runtime_resolve_avx_opt): Likewise.
2354 (_dl_runtime_resolve_sse): Likewise.
2355 (_dl_runtime_resolve_sse_vex): Likewise.
2356 (_dl_runtime_resolve_fxsave): New.
2357 (_dl_runtime_resolve_xsave): Likewise.
2358 (_dl_runtime_resolve_xsavec): Likewise.
2360 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
2364 * posix/glob.c (__glob): Fix one-byte overflow.
2366 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2368 * malloc/malloc.c (sysdep-cancel.h): Add include.
2370 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2372 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
2374 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
2376 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
2377 (tests): Remove $(objpfx)ga_test depdendency.
2378 * resolv/ga_test.c: Remove file.
2380 2017-10-20 Mike FABIAN <mfabian@redhat.com>
2383 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
2384 * localedata/locales/kab_DZ: New file.
2386 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2388 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2389 _dl_relocate_static_pie instead of _dl_start to compute load
2390 address in static PIE.
2392 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2394 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
2396 2017-10-20 Mike FABIAN <mfabian@redhat.com>
2399 * localedata/SUPPORTED: Add shn_MM/UTF-8.
2400 * localedata/locales/shn_MM: New file.
2402 2017-10-20 Florian Weimer <fweimer@redhat.com>
2405 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
2406 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
2407 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
2408 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
2409 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
2410 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
2412 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
2414 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2416 2017-10-19 Joseph Myers <joseph@codesourcery.com>
2418 * sysdeps/mips/ieee754/bits/floatn.h: New file.
2421 * sysdeps/mips/bits/long-double.h: Move to ....
2422 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
2424 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
2426 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
2428 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
2429 H.J. Lu <hongjiu.lu@intel.com>
2432 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2433 GLRO(dl_platform) to NULL.
2434 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
2435 (modules-names): Add tst-platformmod-1 and
2436 x86_64/tst-platformmod-2.
2437 (CFLAGS-tst-platform-1.c): New.
2438 (CFLAGS-tst-platformmod-1.c): Likewise.
2439 (CFLAGS-tst-platformmod-2.c): Likewise.
2440 (LDFLAGS-tst-platformmod-2.so): Likewise.
2441 ($(objpfx)tst-platform-1): Likewise.
2442 ($(objpfx)tst-platform-1.out): Likewise.
2443 (tst-platform-1-ENV): Likewise.
2444 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
2445 * sysdeps/x86_64/tst-platform-1.c: New file.
2446 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
2447 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
2449 2017-10-19 Mike FABIAN <mfabian@redhat.com>
2452 * locale/iso-639.def: Add Karbi.
2453 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
2454 * localedata/locales/mjw_IN: New file.
2456 2017-10-18 Joseph Myers <joseph@codesourcery.com>
2458 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
2459 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2460 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
2461 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
2462 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2463 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2464 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
2466 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2467 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2468 * manual/math.texi (Mathematics): Document additional architecture
2469 support for _Float128.
2470 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2471 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2472 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2473 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2474 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2475 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2477 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2478 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2479 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2480 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2483 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2486 2017-10-18 Renlin Li <renlin.li@arm.com>
2488 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
2489 _DYNAMIC symbol to calculate load address.
2491 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
2493 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
2494 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
2496 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
2497 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
2499 2017-10-18 Mike FABIAN <mfabian@redhat.com>
2502 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
2503 and improve readability by using more ASCII.
2504 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
2505 and improve readability by using more ASCII.
2507 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
2509 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
2510 not all targets support atomics on bool.
2512 2017-10-17 Joseph Myers <joseph@codesourcery.com>
2514 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
2515 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
2517 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2518 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
2519 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2520 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
2521 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2522 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
2524 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2526 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
2529 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2532 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
2533 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
2534 (do_check_remalloced_chunk): Fix build bug.
2535 (do_check_malloc_state): Add assert that checks arena->top.
2536 (malloc_consolidate): Remove initialization.
2537 (int_mallinfo): Remove call to malloc_consolidate.
2538 (__libc_mallopt): Clarify why malloc_consolidate is needed.
2540 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2542 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
2543 (have_fastchunks): Remove.
2544 (clear_fastchunks): Remove.
2545 (set_fastchunks): Remove.
2546 (malloc_state): Add have_fastchunks.
2547 (malloc_init_state): Use have_fastchunks.
2548 (do_check_malloc_state): Remove incorrect invariant checks.
2549 (_int_malloc): Use have_fastchunks.
2550 (_int_free): Likewise.
2551 (malloc_consolidate): Likewise.
2553 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2555 * malloc/malloc.c (tcache_put): Inline.
2556 (tcache_get): Inline.
2558 2017-10-17 Jordi Mallach <jordi@gnu.org>
2560 Aurelien Jarno <aurelien@aurel32.net>
2562 * localedata/locales/ca_ES@valencia: New file.
2563 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
2565 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
2568 * math/math.h: Let signbit use the builtin in C++ mode with gcc
2571 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2573 * scripts/build-many-glibcs.py (Context.add_all_configs):
2574 Add arm-linux-gnueabihf multiarch extra_glibcs.
2576 * sysdeps/generic/ifunc-init.h: New file.
2577 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
2579 2017-10-17 Mike FABIAN <mfabian@redhat.com>
2582 * localedata/locales/el_GR: Set n_cs_precedes to 0.
2583 * localedata/locales/el_CY: copy "el_GR" because it is identical.
2584 * stdlib/tst-strfmon_l.c: adapt test case.
2586 2017-10-16 Joseph Myers <joseph@codesourcery.com>
2588 * sysdeps/generic/float128-abi.h: New file.
2589 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
2590 non-__prefixed symbols to ....
2591 * math/Versions: ... here. Include <float128-abi.h>.
2592 * stdlib/Versions ... and here. Include <float128-abi.h>
2594 2017-10-16 Florian Weimer <fweimer@redhat.com>
2596 * version.h (VERSION): Switch to ".9000" as the development
2599 2017-10-16 Florian Weimer <fweimer@redhat.com>
2602 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
2603 compat_symbol_reference to access non-default version.
2605 2017-10-16 Florian Weimer <fweimer@redhat.com>
2607 * malloc/Makefile (others-extras): Set to mcheck-init.o.
2609 2017-10-16 Carlos O'Donell <carlos@redhat.com>
2611 * include/shlib-compat.h (compat_symbol_reference): Update
2614 2017-10-16 Joseph Myers <joseph@codesourcery.com>
2616 * math/Makefile (test-types): Add
2617 $(type-float128-$(float128-alias-fcts)).
2618 * math/test-float128.h (TYPE_STR): Define conditional on
2619 [FLT128_MANT_DIG == LDBL_MANT_DIG].
2620 (ULP_IDX): Likewise.
2621 (ULP_I_IDX): Likewise.
2623 * stdlib/strtold.c: Include <bits/floatn.h>
2624 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
2625 and later undefine as macro. Define as weak alias if
2627 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
2628 and later undefine as macro. Define as weak alias if
2630 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
2631 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
2632 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2633 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2634 Define and later undefine as macro. Define as weak alias if
2636 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
2638 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
2639 Define and later undefine as macro. Define as weak alias if
2641 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2642 Define and later undefine as macro. Define as weak alias if
2645 2017-10-15 Carlos O'Donell <carlos@redhat.com>
2647 * localedata/collate-test.c (allocate_arrays): Don't use \n in
2648 record_verbose messages.
2650 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
2653 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
2654 to silence -O3 -Wall warning with GCC 7.
2656 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
2658 * Makeconfig (+link-static-before-libc): Use the first of
2659 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
2660 * gmon/Makefile (tests): Add tst-gmon-static.
2661 (tests-static): Likewise.
2662 (CFLAGS-tst-gmon-static.c): New.
2663 (CRT-tst-gmon-static): Likewise.
2664 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
2665 (tst-gmon-static-ENV): Likewise.
2666 (tests-special): Likewise.
2667 ($(objpfx)tst-gmon-static.out): Likewise.
2668 (clean-tst-gmon-static-data): Likewise.
2669 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
2670 * gmon/tst-gmon-static-gprof.sh: New file.
2671 * gmon/tst-gmon-static.c: Likewise.
2673 2017-10-13 Carlos O'Donell <carlos@redhat.com>
2676 * locale/programs/linereader.c (get_string): Don't warn on
2677 non-symbolic character.
2680 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
2684 * locale/programs/record-status.h: New file
2685 * locale/programs/locale.c: Add comment.
2686 * locale/programs/charmap-dir.c: Don't include error.h.
2687 (charmap_opendir): Use record_error.
2688 * locale/programs/charmap.c: Don't include error.h.
2689 (charmap_read): Use record_error, and record_warning.
2690 (parse_charmap): Likewise.
2691 * locale/programs/ld-address.c: Don't include error.h.
2692 (address_finish): Use record_error, and record_warning.
2693 * locale/programs/ld-collate.c: Don't include error.h.
2694 (collate_finish): Use record_error, and record_error_at_line.
2695 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
2696 (ctype_class_new): Likewise.
2697 (ctype_map_new): Likewise.
2698 (set_one_default): Likewise.
2699 (set_class_defaults): Likewise.
2700 (translit_flatten): Likewise.
2701 (allocate_arrays): Use record_error, and record_verbose.
2702 * locale/programs/ld-identification.c: Don't include error.h.
2703 (indentation_finish): Use record_error and record_warning.
2704 * locale/programs/ld-measurement.c: Don't include error.h.
2705 (measurement_finish): Use record_error.
2706 * locale/programs/ld-messages.c
2707 (message_finish): Likewise.
2708 * locale/programs/ld-monetary.c
2709 (monetary_finish): Likewise.
2710 * locale/programs/ld-name.c (name_finish): Use record_error
2712 * locale/programs/ld-numeric.c
2713 (numeric_finish): Use record_error.
2714 * locale/programs/ld-paper.c: Don't include error.h.
2715 (paper_finish): Use record_error.
2716 * locale/programs/ld-telephone.c: Don't include error.h.
2717 (telephone_finish): Use record_error.
2718 * locale/programs/ld-time.c (time_finish): Likewise.
2719 * locale/programs/linereader.h (lr_error): Make inline func.
2720 * locale/programs/localedef.c: Define recorded_warning_count,
2721 and recorded_error_count.
2722 (main): Use record_error. Use recorded_error_count and
2723 recorded_warning_count to issue correct error returns.
2724 (add_to_readlist): Use record_error.
2725 (find_locale): Likewise.
2726 (load_locale): Likewise.
2727 * locale/programs/localedef.h: Remove be_quiet
2728 and WITH_CUR_LOCALE.
2729 * locale/programs/locarchive.c (compare_from_file): Use
2731 * locale/programs/locfile.c (write_locale_data): Use
2733 * locale/programs/repertoire.c: Dont include error.h.
2734 (repertoire_complain): Use record_error.
2735 * localedata/tst-fmon.sh: Expect failures from localedef.
2736 * localedata/tst-locale.sh: Likewise.
2737 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
2739 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
2740 (REPORTS): Likewise.
2742 (i18n): Rename to...
2743 (i18n_ctype): ...this.
2744 (i18n-report): Rename to...
2745 (i18n_ctype-report): ...this.
2746 * localedata/locales/i18n_ctype: Regenerate.
2747 * localedata/locales/i18n: copy i18n_ctype.
2749 2017-10-13 Joseph Myers <joseph@codesourcery.com>
2751 * stdlib/strfroml.c: Include <bits/floatn.h>.
2752 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
2753 Define before include of <stdlib.h> and undefine afterwards, then
2754 define as weak alias.
2756 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
2757 Undefine and restore default definition. Use
2758 libm_alias_ldouble_other.
2760 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
2763 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
2766 2017-10-13 James Clarke <jrtc27@jrtc27.com>
2768 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2769 Assign sym_map to be map for local symbols, as TLS relocations
2770 use sym_map to determine whether the symbol is defined and to
2771 extract the TLS information.
2772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2773 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2775 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2778 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
2779 (math_force_eval): Add powerpc version.
2782 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
2784 (do_test): Likewise.
2785 * stdio-common/tst-printf.sh: Likewise.
2786 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
2787 ifdef clause in order to set the carry bit right. Replace r0 by
2788 0 without changing the behavior.
2790 2017-10-13 Joseph Myers <joseph@codesourcery.com>
2792 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
2793 <libm-alias-ldouble.h>.
2794 (fabsl): Define using libm_alias_ldouble.
2795 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
2796 <libm-alias-ldouble.h>.
2797 (fabsl): Define using libm_alias_ldouble.
2799 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
2800 Remove conditional code.
2802 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
2803 Rename to __clog10_internal_l.
2804 (__clog10_internal_l): Define aliases using
2805 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
2808 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2810 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
2811 * benchtests/sincosf-inputs: New file.
2812 * benchtests/cosf-inputs: New file.
2813 * benchtests/sinf-inputs: New file.
2815 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2817 * posix/tst-spawn.c (do_test): Wait for both children.
2819 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
2822 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
2823 tests-pie): Add tst-gmon-pie.
2824 (CFLAGS-tst-gmon-pie.c): New.
2825 (CRT-tst-gmon-pie): Likewise.
2826 (tst-gmon-pie-ENV): Likewise.
2827 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
2828 ($(objpfx)tst-gmon-pie.out): Likewise.
2829 (clean-tst-gmon-pie-data): Likewise.
2830 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
2831 * gmon/gmon.c [PIC]: Include <link.h>.
2832 [PIC] (callback): New function.
2833 (write_hist): Add an argument for load address. Subtract load
2835 (write_call_graph): Likewise.
2836 (write_gmon): Call __dl_iterate_phdr to get load address, pass
2837 it to write_hist and write_call_graph.
2838 * gmon/tst-gmon-pie.c: New file.
2840 2017-10-11 Joseph Myers <joseph@codesourcery.com>
2842 * math/Makefile (test-types-basic): New variable.
2843 (test-types): Likewise.
2844 (libm-test-support): Use $(test-types) instead of $(types).
2845 (libm-tests-base-normal): Likewise.
2846 (libm-tests-base-finite): Likewise.
2847 (libm-tests-base-inline): Likewise.
2848 (generated): Likewise.
2849 ($(objpfx)libm-test-support-$(t).c): Likewise.
2850 (libm-tests-for-type iterator): Likewise.
2851 (libm-test-support iterator): Likewise.
2852 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
2853 (ulp_idx): Use ULP_IDX.
2854 * math/test-ldouble.h: Include <float.h>.
2855 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
2856 (ULP_IDX): New macro.
2857 (ULP_I_IDX): Likewise.
2858 * math/test-double.h (ULP_IDX): Likewise.
2859 (ULP_I_IDX): Likewise.
2860 * math/test-float.h (ULP_IDX): Likewise.
2861 (ULP_I_IDX): Likewise.
2862 * math/test-float128.h (ULP_IDX): Likewise.
2863 (ULP_I_IDX): Likewise.
2865 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2867 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
2868 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2869 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2870 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
2871 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2872 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
2873 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
2874 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2876 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2877 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
2878 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2879 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2880 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2881 (SINGLE_THREAD_BY_GLOBAL): Define.
2882 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2884 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2886 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2888 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2890 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
2891 (SINGLE_THREAD_BY_GLOBAL): Likewise.
2892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2895 2017-10-11 Andreas Schwab <schwab@suse.de>
2897 * nis/Makefile (aux): Remove.
2898 * nscd/Makefile (aux): Add nscd_hash.
2899 (nscd-modules): Likewise.
2900 ($(objpfx)nscd): Don't depend on libnsl.
2901 * nscd/nscd_hash.c: New file.
2902 * nscd/nscd_hash.h: Likewise.
2903 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
2904 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
2905 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
2906 instead of <nis/rpcsvc/nis.h>.
2907 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
2909 2017-10-11 Florian Weimer <fweimer@redhat.com>
2912 Avoid large NSS buffers with many addresses, aliases.
2913 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
2914 using dynarrays and struct alloc_buffer.
2915 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
2916 (tst-nss-files-hosts-multi): Link with -ldl.
2917 * nss/tst-nss-files-hosts-multi.c: New file.
2919 2017-10-11 Florian Weimer <fweimer@redhat.com>
2922 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
2923 scratch_buffer. Eliminate gotos.
2925 2017-10-11 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
2928 libm_alias_ldouble_other.
2929 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
2930 undefine and redefine.
2931 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2932 (exp10l): Do not define here.
2933 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
2934 (weak_alias): Undefine and redefine.
2935 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
2936 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2937 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
2938 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
2940 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
2941 [!__fma] (fma): Define using libm_alias_double.
2942 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
2943 [!__fmaf] (fmaf): Define using libm_alias_float.
2944 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
2945 (fmal): Define using libm_alias_ldouble.
2947 2017-10-10 Joseph Myers <joseph@codesourcery.com>
2949 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
2951 (libm_alias_double_other): Likewise.
2952 (libm_alias_double_r): Use libm_alias_double_other_r.
2953 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
2955 (libm_alias_float_other): Likewise.
2956 (libm_alias_float_r): Use libm_alias_float_other_r.
2957 * sysdeps/generic/libm-alias-float128.h
2958 (libm_alias_float128_other_r): New macro.
2959 (libm_alias_float128_other): Likewise.
2960 (libm_alias_float128_r): Use libm_alias_float128_other_r.
2961 * sysdeps/generic/libm-alias-ldouble.h
2962 (libm_alias_ldouble_other_r): New macro.
2963 (libm_alias_ldouble_other): Likewise.
2964 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
2965 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
2966 (libm_alias_double_other_r): New macro.
2967 (libm_alias_double_other): Likewise.
2968 (libm_alias_double_r): Use libm_alias_double_other_r.
2969 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
2970 (libm_alias_ldouble_other_r): New macro.
2971 (libm_alias_ldouble_other): Likewise.
2972 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
2973 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
2974 [!USE_AS_COMPAT]: Use libm_alias_double_other.
2975 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
2976 [!USE_AS_COMPAT]: Use libm_alias_float_other.
2977 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
2978 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
2979 * math/w_exp2f.c: Use libm_alias_float_other.
2980 * math/w_expf.c: Likewise.
2981 * math/w_log2f.c: Likewise.
2982 * math/w_logf.c: Likewise.
2983 * math/w_powf.c: Likewise.
2984 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
2985 [!__exp2f]: Use libm_alias_float_other.
2986 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
2987 [!__expf]: Use libm_alias_float_other.
2988 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
2989 [!__log2f]: Use libm_alias_float_other.
2990 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
2991 [!__logf]: Use libm_alias_float_other.
2992 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
2993 [!__powf]: Use libm_alias_float_other.
2995 2017-10-10 Florian Weimer <fweimer@redhat.com>
2997 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
2999 (_nss_files_gethostbyname3_r): Call it.
3001 2017-10-09 Joseph Myers <joseph@codesourcery.com>
3003 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
3004 error. Remove default definition of declare_mgen_alias.
3005 [!declare_mgen_alias_r]: Likewise.
3006 * sysdeps/generic/math-type-macros-double.h
3007 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
3008 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
3009 (declare_mgen_alias_r): Likewise.
3010 * sysdeps/generic/math-type-macros-float128.h
3011 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
3012 * sysdeps/generic/math-type-macros-ldouble.h
3013 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
3014 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
3016 (declare_mgen_alias_r_s): Likewise.
3017 (declare_mgen_alias_r): Likewise.
3018 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
3019 (lgamma_r): Define using libm_alias_double_r.
3020 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
3021 (lgammaf_r): Define using libm_alias_float_r.
3022 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
3023 (lgammal_r): Define using libm_alias_ldouble_r.
3024 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
3025 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3027 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3029 * lib/glob.c (__glob_pattern_type): Remove now-spurious
3032 2017-10-09 Joseph Myers <joseph@codesourcery.com>
3034 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
3036 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
3039 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
3040 [__cplusplus >= 201103] (__USE_ISOC99): Define.
3041 * math/Makefile (test-math-cxx11): New test.
3042 * math/test-math-cxx11.cc: New file.
3044 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
3046 * login/openpty.c (openpty): Close slave pty file descriptor on error.
3048 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
3049 call to allocate the slave pty file descriptor.
3051 2017-10-06 Joseph Myers <joseph@codesourcery.com>
3053 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
3054 [!__fma] (fma): Define using libm_alias_double.
3055 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
3056 [!__fma] (fma): Define using libm_alias_double.
3058 * sysdeps/ieee754/float128/float128_private.h: Include
3059 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
3060 (libm_alias_ldouble_r): Undefine and redefine.
3061 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
3062 <libm-alias-ldouble.h>.
3063 (asinhl): Define using libm_alias_ldouble.
3064 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
3065 <libm-alias-ldouble.h>.
3066 (atanl): Define using libm_alias_ldouble.
3067 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
3068 <libm-alias-ldouble.h>.
3069 (cbrtl): Define using libm_alias_ldouble.
3070 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
3071 <libm-alias-ldouble.h>.
3072 (ceill): Define using libm_alias_ldouble.
3073 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
3074 <libm-alias-ldouble.h>.
3075 (copysignl): Define using libm_alias_ldouble.
3076 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
3077 <libm-alias-ldouble.h>.
3078 (cosl): Define using libm_alias_ldouble.
3079 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
3080 <libm-alias-ldouble.h>.
3081 (erfl): Define using libm_alias_ldouble.
3083 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
3084 <libm-alias-ldouble.h>.
3085 (expm1l): Define using libm_alias_ldouble.
3086 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
3087 <libm-alias-ldouble.h>.
3088 (fabsl): Define using libm_alias_ldouble.
3089 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
3090 <libm-alias-ldouble.h>.
3091 (floorl): Define using libm_alias_ldouble.
3092 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
3093 <libm-alias-ldouble.h>.
3094 (fmal): Define using libm_alias_ldouble.
3095 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
3096 <libm-alias-ldouble.h>.
3097 (frexpl): Define using libm_alias_ldouble.
3098 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
3100 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
3101 <libm-alias-ldouble.h>.
3102 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
3104 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
3105 <libm-alias-ldouble.h>.
3106 (getpayloadl): Define using libm_alias_ldouble.
3107 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
3108 <libm-alias-ldouble.h>.
3109 (llrintl): Define using libm_alias_ldouble.
3110 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
3111 <libm-alias-ldouble.h>.
3112 (llroundl): Define using libm_alias_ldouble.
3113 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
3114 <libm-alias-ldouble.h>.
3115 (logbl): Define using libm_alias_ldouble.
3116 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
3117 <libm-alias-ldouble.h>.
3118 (lrintl): Define using libm_alias_ldouble.
3119 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
3120 <libm-alias-ldouble.h>.
3121 (lroundl): Define using libm_alias_ldouble.
3122 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
3123 <libm-alias-ldouble.h>.
3124 (modfl): Define using libm_alias_ldouble.
3125 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
3126 <libm-alias-ldouble.h>.
3127 (nearbyintl): Define using libm_alias_ldouble.
3128 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
3129 <libm-alias-ldouble.h>.
3130 (nextafterl): Define using libm_alias_ldouble.
3131 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
3132 <libm-alias-ldouble.h>.
3133 (nextupl): Define using libm_alias_ldouble.
3134 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
3135 <libm-alias-ldouble.h>.
3136 (remquol): Define using libm_alias_ldouble.
3137 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
3138 <libm-alias-ldouble.h>.
3139 (rintl): Define using libm_alias_ldouble.
3140 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
3141 <libm-alias-ldouble.h>.
3142 (roundevenl): Define using libm_alias_ldouble.
3143 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
3144 <libm-alias-ldouble.h>.
3145 (roundl): Define using libm_alias_ldouble.
3146 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
3147 using libm_alias_ldouble.
3148 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
3149 <libm-alias-ldouble.h>.
3150 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
3151 Define using libm_alias_ldouble.
3152 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
3153 <libm-alias-ldouble.h>.
3154 (sincosl): Define using libm_alias_ldouble.
3155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
3156 <libm-alias-ldouble.h>.
3157 (sinl): Define using libm_alias_ldouble.
3158 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
3159 <libm-alias-ldouble.h>.
3160 (tanhl): Define using libm_alias_ldouble.
3161 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
3162 <libm-alias-ldouble.h>.
3163 (tanl): Define using libm_alias_ldouble.
3164 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3165 <libm-alias-ldouble.h>.
3166 (totalorderl): Define using libm_alias_ldouble.
3167 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3168 <libm-alias-ldouble.h>.
3169 (totalordermagl): Define using libm_alias_ldouble.
3170 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
3171 <libm-alias-ldouble.h>.
3172 (truncl): Define using libm_alias_ldouble.
3173 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
3175 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
3177 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
3178 <libm-alias-ldouble.h>.
3179 (weak_alias): Do not undefine and redefine.
3180 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3181 (copysignl): Define with long_double_symbol only if [IS_IN
3183 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
3184 <libm-alias-ldouble.h>.
3185 (weak_alias): Do not undefine and redefine.
3186 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3187 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
3188 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
3189 <libm-alias-ldouble.h>.
3190 (weak_alias): Do not undefine and redefine.
3191 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3192 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
3193 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
3194 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
3195 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
3197 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
3200 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
3203 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
3209 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
3210 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
3214 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
3218 2017-10-06 Carlos O'Donell <carlos@redhat.com>
3221 * malloc/malloc.c (tcache_shutting_down): Use bool type.
3222 (tcache_thread_freeres): Set tcache_shutting_down before
3224 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
3225 * malloc/tst-malloc-tcache-leak.c: New file.
3227 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3229 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
3230 back to powerpc32 file.
3231 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3232 (memrchr): Add __memrchr_power8 to ifunc list.
3233 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
3234 extra bytes for unaligned inputs.
3236 2017-10-06 Joseph Myers <joseph@codesourcery.com>
3238 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
3239 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3244 2017-10-05 Joseph Myers <joseph@codesourcery.com>
3246 * sysdeps/arm/libm-test-ulps: Update.
3248 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
3249 <libm-alias-ldouble.h>.
3250 (asinhl): Define using libm_alias_ldouble.
3251 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
3252 <libm-alias-ldouble.h>.
3253 (cbrtl): Define using libm_alias_ldouble.
3254 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
3255 <libm-alias-ldouble.h>.
3256 (copysignl): Define using libm_alias_ldouble.
3257 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
3258 <libm-alias-ldouble.h>.
3259 (cosl): Define using libm_alias_ldouble.
3260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
3261 <libm-alias-ldouble.h>.
3262 (erfl): Define using libm_alias_ldouble.
3264 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
3265 <libm-alias-ldouble.h>.
3266 (fmal): Define using libm_alias_ldouble.
3267 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
3268 <libm-alias-ldouble.h>.
3269 (frexpl): Define using libm_alias_ldouble.
3270 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
3272 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
3273 <libm-alias-ldouble.h>.
3274 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
3276 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
3277 <libm-alias-ldouble.h>.
3278 (getpayloadl): Define using libm_alias_ldouble.
3279 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
3280 <libm-alias-ldouble.h>.
3281 (llrintl): Define using libm_alias_ldouble.
3282 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
3283 <libm-alias-ldouble.h>.
3284 (llroundl): Define using libm_alias_ldouble.
3285 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
3286 <libm-alias-ldouble.h>.
3287 (lrintl): Define using libm_alias_ldouble.
3288 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
3289 <libm-alias-ldouble.h>.
3290 (lroundl): Define using libm_alias_ldouble.
3291 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
3292 <libm-alias-ldouble.h>.
3293 (modfl): Define using libm_alias_ldouble.
3294 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
3295 <libm-alias-ldouble.h>.
3296 (nextupl): Define using libm_alias_ldouble.
3297 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
3298 <libm-alias-ldouble.h>.
3299 (remquol): Define using libm_alias_ldouble.
3300 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
3301 <libm-alias-ldouble.h>.
3302 (roundevenl): Define using libm_alias_ldouble.
3303 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
3304 <libm-alias-ldouble.h>.
3305 (roundl): Define using libm_alias_ldouble.
3306 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
3307 using libm_alias_ldouble.
3308 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
3309 <libm-alias-ldouble.h>.
3310 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
3311 <libm-alias-ldouble.h>.
3312 (setpayloadsigl): Define using libm_alias_ldouble.
3313 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
3314 <libm-alias-ldouble.h>.
3315 (sincosl): Define using libm_alias_ldouble.
3316 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
3317 <libm-alias-ldouble.h>.
3318 (sinl): Define using libm_alias_ldouble.
3319 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
3320 <libm-alias-ldouble.h>.
3321 (tanhl): Define using libm_alias_ldouble.
3322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
3323 <libm-alias-ldouble.h>.
3324 (tanl): Define using libm_alias_ldouble.
3325 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3326 <libm-alias-ldouble.h>.
3327 (totalorderl): Define using libm_alias_ldouble.
3328 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3329 <libm-alias-ldouble.h>.
3330 (totalordermagl): Define using libm_alias_ldouble.
3331 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
3333 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
3336 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
3338 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3340 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3341 (__libc_ifunc_impl_list): Likewise.
3342 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3343 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
3345 * benchtests/bench-memmove-walk.c: New file.
3346 * benchtests/Makefile (string-benchset): Add it.
3348 * benchtests/bench-memset-walk.c: New file.
3349 * benchtests/Makefile (string-benchset): Add it.
3351 * benchtests/bench-memcpy-walk.c: New file.
3352 * benchtests/Makefile (string-benchset): Add it.
3354 2017-10-05 Florian Weimer <fweimer@redhat.com>
3356 nscd: Eliminate compilation time dependency in the build output.
3357 * nscd/nscd_stat.c (STATDATA_VERSION)
3358 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
3359 (STATDATA_VERSION_FULL): New macro definitions.
3360 (compilation): Remove.
3361 (struct statdata): Adjust version member.
3362 (send_stats): Set version from STATDATA_VERSION_FULL.
3363 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
3365 2017-10-05 Joseph Myers <joseph@codesourcery.com>
3367 * configure.ac (--enable-add-ons): Remove option.
3368 (machine): Do not mention add-ons in comment.
3369 (LIBC_PRECONFIGURE): Likewise.
3370 (add_ons): Remove variable and sanity checks and logic to locate
3372 (add_ons_automatic): Remove variable.
3373 (configured_add_ons): Likewise.
3374 (add_ons_sfx): Likewise.
3375 (add_ons_pfx): Likewise.
3376 (add_on_subdirs): Likewise.
3377 (sysnames_add_ons): Likewise. Remove loop over add-ons and
3378 consideration of add-ons in Implies handling.
3379 (sysdeps_add_ons): Likewise.
3380 * configure: Regenerated.
3381 * libidn/configure.ac: Remove.
3382 * libidn/configure: Likewise.
3383 * sysdeps/unix/inet/configure.ac: New file.
3384 * sysdeps/unix/inet/configure: New generated file.
3385 * sysdeps/unix/inet/Subdirs: Add libidn.
3386 * Makeconfig (sysdeps-srcdirs): Remove variable.
3387 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
3388 ($(common-objpfx)config.status): Do not depend on add-on files.
3389 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
3391 (all-subdirs): Do not include $(add-on-subdirs).
3392 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
3393 * config.make.in (add-ons): Remove variable.
3394 (add-on-subdirs): Likewise.
3395 (sysdeps-add-ons): Likewise.
3396 * manual/Makefile (add-chapters): Remove.
3397 ($(objpfx)texis): Do not depend on $(add-chapters).
3398 (nonexamples): Do not handle $(add-chapters).
3399 (examples): Do not handle $(add-ons).
3400 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
3402 * manual/install.texi (Installation): Do not mention add-ons.
3403 (--enable-add-ons): Do not document configure option.
3404 * INSTALL: Regenerated.
3405 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
3406 * manual/maint.texi (Hierarchy Conventions): Do not mention
3408 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
3410 * scripts/gen-sorted.awk: Do not handle Subdirs files from
3412 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
3413 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
3415 2017-10-05 Andreas Schwab <schwab@suse.de>
3418 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
3419 (_IO_flush_all_lockp): Always lock list_all_lock.
3420 (_IO_flush_all_linebuffered): Likewise.
3421 (_IO_unbuffer_all): Likewise.
3423 2017-10-05 Florian Weimer <fweimer@redhat.com>
3426 Do not flush stdio streams on abort.
3427 * stdlib/abort.c (fflush): Remove macro definition.
3428 (abort): Remove stages related to stdio flushing.
3430 2017-10-05 Florian Weimer <fweimer@redhat.com>
3432 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
3434 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
3436 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3438 2017-10-05 Florian Weimer <fweimer@redhat.com>
3440 * support/support_format_hostent.c (support_format_hostent): Add
3441 more error information for NETDB_INTERNAL.
3443 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3445 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
3446 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
3447 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
3448 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
3449 AC_DEFINE if multi-arch is enabled.
3450 * sysdeps/i386/configure: Regenerated.
3452 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3454 * Makeconfig (+link-static-before-libc): Use
3455 $(DEFAULT-LDFLAGS-$(@F)).
3456 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
3457 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
3458 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
3460 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3462 * elf/Makefile (tests): Add tst-main1.
3463 (modules-names): Add tst-main1mod.
3464 ($(objpfx)tst-main1): New.
3465 (CRT-tst-main1): Likewise.
3466 (LDFLAGS-tst-main1): Likewise.
3467 (LDLIBS-tst-main1): Likewise.
3468 (tst-main1mod.so-no-z-defs): Likewise.
3469 * elf/tst-main1.c: New file.
3470 * elf/tst-main1mod.c: Likewise.
3472 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3474 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
3476 2017-10-04 Joseph Myers <joseph@codesourcery.com>
3478 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
3479 (fma): Define using libm_alias_double.
3480 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
3481 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
3483 (fmal): Do not define as compat symbol here.
3484 * sysdeps/alpha/fpu/s_fma.c: New file.
3486 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3488 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
3490 2017-10-04 Joseph Myers <joseph@codesourcery.com>
3493 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
3495 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3497 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
3498 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3499 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
3500 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3502 Include <math_ldbl_opt.h>
3503 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3505 (compat_symbol): Undefine and redefine.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
3508 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3509 (compat_symbol): Undefine and redefine.
3510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
3511 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
3512 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
3514 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
3515 GLIBC_2.0 copysignl symbol.
3516 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3517 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
3519 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
3521 2017-10-04 Florian Weimer <fweimer@redhat.com>
3523 * scripts/check-local-headers.sh: Ignore nspr4 header file
3524 directory in addition to nspr.
3526 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
3529 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
3530 * configure: Regenerate.
3531 * crypt/Makefile (nss-cpp-flags): New variable.
3532 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
3533 (CPPFLAGS-md5-crypt.c): Use it.
3534 * scripts/check-local-headers.sh: Ignore nspr header file
3537 2017-10-04 Andreas Schwab <schwab@suse.de>
3539 * nis/Makefile (services): Remove compat.
3540 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
3541 ($(objpfx)libnss_compat.so): Remove rule.
3542 * nis/Versions (libnss_compat): Remove.
3543 * nss/Makefile (services): Add compat.
3544 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
3545 * nss/Versions (libnss_compat): Define.
3546 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
3547 Don't include <rpc/types.h>. Replace bool_t by bool.
3548 * nss/nss_compat/compat-initgroups.c: Likewise.
3549 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
3550 instead of <rpcsrv/ypclnt.h>.
3551 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
3552 yp_get_default_domain.
3553 * nss/nss_compat/compat-pwd.c: Likewise.
3554 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
3555 yp_get_default_domain.
3556 * nss/nss_compat/nisdomain.c: New file.
3557 * nss/nss_compat/nisdomain.h: Likewise.
3559 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3562 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
3563 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3565 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3568 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
3569 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
3571 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3573 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
3574 "movl main@GOTOFF(%ebx), %eax".
3576 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3578 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
3579 allow undefined _DYNAMIC in PIE libc.a.
3580 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
3583 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3585 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
3588 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3590 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
3593 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3595 * math/test-math-iscanonical.cc (error): Replace bool with int.
3597 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3599 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
3600 (modf): Define using libm_alias_double, only if [!__modf].
3601 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
3602 <libm-alias-double.h>.
3603 (modf): Define using libm_alias_double, only if [!__modf].
3604 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
3606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
3607 (weak_alias): Do not undefine and redefine.
3608 (strong_alias): Likewise.
3609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
3610 (weak_alias): Likewise.
3611 (strong_alias): Likewise.
3613 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
3614 (logb): Define using libm_alias_double, only if [!__logb].
3615 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
3616 <libm-alias-double.h>.
3617 (logb): Define using libm_alias_double, only if [!__logb].
3618 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
3619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
3620 (weak_alias): Do not undefine and redefine.
3621 (strong_alias): Likewise.
3622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
3623 (weak_alias): Likewise.
3624 (strong_alias): Likewise.
3626 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3628 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
3629 Check SHARED instead PIC.
3631 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3633 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
3634 [!__fmaf] (fmaf): Define using libm_alias_float.
3636 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
3637 (frexp): Define using libm_alias_double.
3638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
3639 <libm-alias-double.h>.
3640 (frexp): Define using libm_alias_double.
3641 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
3644 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3647 * math/math.h: Trivial fix for unbalanced parentheses in comment.
3648 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
3649 (CFLAGS-test-math-iscanonical.cc): New variable.
3650 * math/test-math-iscanonical.cc: New file.
3651 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
3652 Provide a C++ implementation based on function overloading,
3653 rather than using __MATH_TG, which uses C-only builtins.
3654 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
3656 * sysdeps/powerpc/powerpc64le/Makefile
3657 (CFLAGS-test-math-iscanonical.cc): New variable.
3659 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3661 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
3662 (ceil): Define using libm_alias_double.
3663 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
3664 (floor): Define using libm_alias_double.
3665 * sysdeps/ieee754/dbl-64/s_llround.c: Include
3666 <libm-alias-double.h>.
3667 (llround): Define using libm_alias_double.
3668 * sysdeps/ieee754/dbl-64/s_lround.c: Include
3669 <libm-alias-double.h>.
3670 (lround): Define using libm_alias_double.
3671 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
3672 <libm-alias-double.h>.
3673 (nearbyint): Define using libm_alias_double.
3674 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
3675 <libm-alias-double.h>.
3676 (remquo): Define using libm_alias_double.
3677 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
3678 (rint): Define using libm_alias_double.
3679 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
3680 (round): Define using libm_alias_double.
3681 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
3682 (trunc): Define using libm_alias_double.
3683 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
3684 <libm-alias-double.h>.
3685 (ceil): Define using libm_alias_double.
3686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
3687 <libm-alias-double.h>.
3688 (floor): Define using libm_alias_double.
3689 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
3690 <libm-alias-double.h>.
3691 (llround): Define using libm_alias_double.
3692 [_LP64] (lround): Likewise.
3693 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
3694 <libm-alias-double.h>.
3695 [!_LP64] (lround): Define using libm_alias_double.
3696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
3697 <libm-alias-double.h>.
3698 (nearbyint): Define using libm_alias_double.
3699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
3700 <libm-alias-double.h>.
3701 (remquo): Define using libm_alias_double.
3702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
3703 <libm-alias-double.h>.
3704 (rint): Define using libm_alias_double.
3705 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
3706 <libm-alias-double.h>.
3707 (round): Define using libm_alias_double.
3708 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
3709 <libm-alias-double.h>.
3710 (trunc): Define using libm_alias_double.
3711 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
3712 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
3713 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
3714 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
3715 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
3716 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
3717 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
3718 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
3719 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
3721 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3723 * math/w_remainder.c: New file.
3724 * math/w_remainderf.c: New file.
3725 * math/w_remainderl.c: New file.
3727 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3729 * elf/rtld.c (BOOTSTRAP_MAP): New.
3730 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
3731 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3733 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3735 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3738 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3740 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
3741 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
3742 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
3743 rtld_hidden_data_ver): Define to empty.
3744 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
3745 __assert_perror_fail): Likewise.
3746 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3747 (__rewinddir): Likewise.
3748 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3749 (__profile_frequency): Likewise.
3750 * include/setjmp.h (__sigsetjmp): Likewise.
3751 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
3752 __libc_sigaction): Likewise.
3753 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
3754 not set hidden attribute.
3755 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
3756 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
3757 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
3758 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
3759 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
3760 __fxstatat64): Likewise.
3761 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3762 (__uname): Likewise.
3763 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3764 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
3765 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
3766 (NO_RTLD_HIDDEN): Set.
3767 * sysdeps/mach/hurd/configure: Refresh.
3768 * config.h.in: Refresh.
3770 2017-10-02 Joseph Myers <joseph@codesourcery.com>
3772 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
3773 (atan): Define using libm_alias_double.
3774 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
3775 (tan): Define using libm_alias_double.
3776 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
3777 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
3780 define as weak alias of __atan. Do not define any aliases if
3782 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
3783 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
3784 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
3785 as weak alias of __tan. Do not define any aliases if [__tan].
3786 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
3787 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
3788 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
3790 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
3791 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
3792 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
3793 and define as weak alias of __atan.
3794 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
3796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
3797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
3798 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
3799 define as weak alias of __tan.
3801 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3803 * math/w_lgamma.c: New file.
3804 * math/w_lgammaf.c: New file.
3805 * math/w_lgammal.c: New file.
3807 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3809 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
3810 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
3811 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
3812 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
3813 * sysdeps/ieee754/flt-32/w_logf.c: New file.
3814 * sysdeps/ieee754/flt-32/w_powf.c: New file.
3815 * sysdeps/i386/fpu/w_log2f.c: New file.
3816 * sysdeps/i386/fpu/w_logf.c: New file.
3817 * sysdeps/i386/fpu/w_powf.c: New file.
3818 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
3819 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
3820 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
3822 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3823 H.J. Lu <hongjiu.lu@intel.com>
3825 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
3826 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
3827 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
3828 * sysdeps/ieee754/flt-32/w_expf.c: New file.
3829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
3831 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
3832 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
3833 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
3834 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
3835 * sysdeps/i386/fpu/w_exp2f.c: New file.
3836 * sysdeps/i386/fpu/w_expf.c: New file.
3837 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
3838 * sysdeps/x86_64/fpu/w_expf.c: New file.
3840 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3842 * math/Versions (logf): New libm symbol at GLIBC_2.27.
3845 * math/w_log2f.c: New file.
3846 * math/w_logf.c: New file.
3847 * math/w_powf.c: New file.
3848 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
3849 * math/w_logf_compat.c (__logf_compat): Likewise.
3850 * math/w_powf_compat.c (__powf_compat): Likewise.
3851 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
3852 * sysdeps/ia64/fpu/e_logf.S: Likewise.
3853 * sysdeps/ia64/fpu/e_powf.S: Likewise.
3854 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3855 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3856 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3857 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3858 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3860 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3861 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3862 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3863 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3864 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3865 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3874 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3875 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3876 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3877 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3878 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3883 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3887 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3889 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3890 (sysdep_routines): Add memrchr_power8.
3891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3892 (memrchr): Add __memrchr_power8 to list of memrchr functions.
3893 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
3895 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3896 (memrchr): Add __memrchr_power8 to ifunc list.
3897 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
3899 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3902 * sysdeps/unix/sysv/linux/posix_fadvise64.c
3903 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
3905 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3906 (__posix_fallocate64_l64): Likewise.
3908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3911 * sysdeps/unix/sysv/linux/sched_setaffinity.c
3912 (__sched_setaffinity_new): Add libc_hidden_proto and
3915 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3918 * include/glob.h (__glob64): Add libc_hidden_proto.
3919 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
3922 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3925 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
3928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3931 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
3933 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3936 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
3939 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3942 * csu/version.c (__libc_print_version): Add attribute_hidden.
3944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3947 * include/libc-internal.h (__init_misc): Add attribute_hidden.
3949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3952 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
3954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3957 * nscd/nscd_helper.c (__nis_hash): New prototype.
3959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3962 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
3963 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
3965 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3966 * termios/tcgetattr.c (__tcgetattr): Likewise.
3968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3971 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
3972 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
3973 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
3974 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
3975 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
3977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3980 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
3982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3985 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
3986 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
3988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3991 * intl/hash-string.h (__hash_string): Add attribute_hidden.
3993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3996 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
3997 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
3999 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4002 * include/ifreq.h: New file.
4003 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
4004 (__ifreq): Likewise.
4005 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
4006 (__ifreq): Likewise.
4008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4011 * include/idna.h: New file.
4012 * inet/getnameinfo.c: Include <idna.h> instead of
4014 (__idna_to_unicode_lzlz): Removed.
4015 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
4017 (__idna_to_ascii_lz): Removed.
4018 (__idna_to_unicode_lzlz): Likewise.
4020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4023 * include/plural-exp.h: New file.
4024 * intl/plural-exp.c: Include <plural-exp.h> instead of
4027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4030 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
4031 "getsourcefilter.h".
4032 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
4033 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
4034 "getsourcefilter.h".
4035 (__get_sol): Removed.
4037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4040 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
4042 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
4044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4047 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
4050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4053 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
4055 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4058 * include/search.h (__tdestroy): Add libc_hidden_proto.
4059 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
4061 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4064 * include/assert.h (__assert_fail_base): Add attribute_hidden.
4066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4069 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
4072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4075 * include/signal.h (__kill): Add libc_hidden_proto.
4076 (__sigblock): Likewise.
4077 (__sigprocmask): Likewise.
4078 (__sigaltstack): Likewise.
4079 * signal/kill.c (__kill): Add libc_hidden_def.
4080 * signal/sigblock.c (__sigblock): Likewise.
4081 * signal/sigprocmask.c (__sigprocmask): Likewise.
4082 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4083 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4084 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4085 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4086 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
4088 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4090 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4091 (__sigprocmask): Likewise.
4092 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
4094 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4095 (__sigprocmask): Likewise.
4096 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4102 * include/string.h (__strsep): Add libc_hidden_proto.
4103 * string/strsep.c (__strsep): Add libc_hidden_def.
4105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4108 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
4110 (__spawni): Likewise.
4112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4115 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
4116 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
4119 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4122 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
4124 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4127 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
4128 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
4129 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4130 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
4131 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
4133 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
4134 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
4136 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4139 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
4140 (__dcigettext): Likewise.
4142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4145 * include/sys/sysinfo.h (__get_nprocs_conf): Add
4147 (__get_nprocs): Likewise.
4148 (__get_phys_pages): Likewise.
4149 (__get_avphys_pages): Likewise.
4150 (__get_child_max): Add attribute_hidden.
4151 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
4152 (__get_nprocs): Likewise.
4153 (__get_phys_pages): Likewise.
4154 (__get_avphys_pages): Likewise.
4155 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
4157 (__get_nprocs): Likewise.
4158 (__get_phys_pages): Likewise.
4159 (__get_avphys_pages): Likewise.
4160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
4162 (__get_nprocs_conf): Likewise.
4163 (__get_phys_pages): Likewise.
4164 (__get_avphys_pages): Likewise.
4166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4169 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
4171 (__netlink_close): Likewise.
4172 (__netlink_free_handle): Likewise.
4173 (__netlink_request): Likewise.
4175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4178 * include/rpc/rpc.h (__rpc_thread_variables): Add
4180 (__rpc_thread_svc_cleanup): Likewise.
4181 (__rpc_thread_clnt_cleanup): Likewise.
4182 (__rpc_thread_key_cleanup): Likewise.
4184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4187 * include/sys/uio.h (__readv): Add libc_hidden_proto.
4188 (__writev): Likewise.
4189 * misc/readv.c (__readv): Add libc_hidden_def.
4190 * misc/writev.c (__writev): Likewise.
4191 * sysdeps/posix/readv.c (__readv): Likewise.
4192 * sysdeps/posix/writev.c (__writev): Likewise.
4193 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
4194 (__readv): Likewise.
4195 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
4196 (__writev): Likewise.
4198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4201 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
4202 (__regcomp): Add libc_hidden_proto.
4203 (__regexec): Likewise.
4204 (__regfree): Likewise.
4205 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
4206 (__regfree): Likewise.
4207 * posix/regexec.c (__regexec): Likewise.
4209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4212 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
4213 (__getutent): Likewise.
4214 (__getutid): Likewise.
4215 (__getutline): Likewise.
4216 (__pututline): Likewise.
4217 (__getutent_r): Likewise.
4218 (__getutid_r): Likewise.
4219 (__getutline_r): Likewise.
4220 (__utmpname): Add attribute_hidden.
4221 (__setutent): Likewise.
4222 (__endutent): Likewise.
4223 * login/getutent.c (__getutent): Add libc_hidden_def.
4224 * login/getutent_r.c (__getutent_r): Likewise.
4225 (__pututline): Likewise.
4226 * login/getutid.c (__getutid): Likewise.
4227 * login/getutid_r.c (__getutid_r): Likewise.
4228 * login/getutline.c (__getutline): Likewise.
4229 * login/getutline_r.c (__getutline_r): Likewise.
4230 * login/updwtmp.c (__updwtmp): Likewise.
4232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4235 * include/dirent.h (__opendir): Always add attribute_hidden.
4236 (__fdopendir): Likewise.
4237 (__closedir): Likewise.
4238 (__readdir): Likewise.
4239 (__readdir64): Add libc_hidden_proto.
4240 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
4241 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
4242 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
4243 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
4246 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4249 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
4250 * include/netdb.h (__gethostbyaddr_r): Likewise.
4251 (__gethostbyname_r): Likewise.
4252 (__gethostbyname2_r): Likewise.
4253 (__getnetbyaddr_r): Likewise.
4254 (__getnetbyname_r): Likewise.
4255 (__getservbyname_r): Likewise.
4256 (__getservbyport_r): Likewise.
4257 (__getprotobyname_r): Likewise.
4258 (__getprotobynumber_r): Likewise.
4259 (__getnetgrent_r): Likewise.
4260 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
4261 (__getrpcbynumber_r): Likewise.
4262 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
4264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4267 * include/stdio.h (__fcloseall): Add attribute_hidden.
4268 (__getline): Likewise.
4269 (__path_search): Likewise.
4270 (__gen_tempname): Likewise.
4271 (__libc_message): Likewise.
4272 (__flockfile): Likewise.
4273 (__funlockfile): Likewise.
4274 (__fxprintf): Likewise.
4275 (__fxprintf_nocancel): Likewise.
4277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4280 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
4281 (__sgetsgent_r): Likewise.
4283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4286 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
4287 (__statfs64): Likewise.
4288 (__fstatfs64): Likewise.
4289 * include/sys/statvfs.h (__statvfs64): Likewise.
4290 (__fstatvfs64): Likewise.
4291 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
4292 (__statfs_filesize_max): Likewise.
4293 (__statfs_symlinks): Likewise.
4294 (__statfs_chown_restricted): Likewise.
4296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4299 * include/time.h (__tzstring): Add attribute_hidden.
4300 (__tzfile_read): Likewise.
4301 (__tzfile_compute): Likewise.
4302 (__tzfile_default): Likewise.
4303 (__tzset_parse_tz): Likewise.
4304 (__offtime): Likewise.
4305 (__asctime_r): Likewise.
4306 (__tzset): Likewise.
4307 (__tz_convert): Likewise.
4308 (__getdate_r): Likewise.
4309 (__getclktck): Likewise.
4311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4314 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
4315 (__nscd_unmap): Likewise.
4316 (__nscd_cache_search): Likewise.
4317 (__nscd_get_nl_timestamp): Likewise.
4318 (__nscd_getpwnam_r): Likewise.
4319 (__nscd_getpwuid_r): Likewise.
4320 (__nscd_getgrnam_r): Likewise.
4321 (__nscd_getgrgid_r): Likewise.
4322 (__nscd_gethostbyname_r): Likewise.
4323 (__nscd_gethostbyname2_r): Likewise.
4324 (__nscd_gethostbyaddr_r): Likewise.
4325 (__nscd_getai): Likewise.
4326 (__nscd_getgrouplist): Likewise.
4327 (__nscd_getservbyname_r): Likewise.
4328 (__nscd_getservbyport_r): Likewise.
4329 (__nscd_innetgr): Likewise.
4330 (__nscd_setnetgrent): Likewise.
4332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4335 * include/gmp.h: Declare internal functions only if _ISOMAC is
4337 (__mpn_extract_double): Add attribute_hidden.
4338 (__mpn_extract_long_double): Likewise.
4339 (__mpn_extract_float128): Likewise.
4340 (__mpn_construct_float): Likewise.
4341 (__mpn_construct_double): Likewise.
4342 (__mpn_construct_long_double): Likewise.
4343 (__mpn_construct_float128): Likewise.
4344 (mpn_add_1): Likewise.
4345 (mpn_addmul_1): Likewise.
4346 (mpn_add_n): Likewise.
4347 (mpn_cmp): Likewise.
4348 (mpn_divrem): Likewise.
4349 (mpn_lshift): Likewise.
4350 (mpn_mul): Likewise.
4351 (mpn_mul_1): Likewise.
4352 (mpn_rshift): Likewise.
4353 (mpn_sub_1): Likewise.
4354 (mpn_submul_1): Likewise.
4355 (mpn_sub_n): Likewise.
4357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4360 * include/wchar.h (__wcsnlen): Add attribute_hidden.
4361 (__wcscat): Likewise.
4362 (__btowc): Likewise.
4363 (__wcrtomb): Likewise.
4364 (__mbsrtowcs): Likewise.
4365 (__wcsrtombs): Likewise.
4366 (__mbsnrtowcs): Likewise.
4367 (__wcsnrtombs): Likewise.
4368 (__wcsncpy): Likewise.
4369 (__wcpncpy): Likewise.
4370 (__wmemcpy): Likewise.
4371 (__wmempcpy): Likewise.
4372 (__wmemmove): Likewise.
4373 (__wcschrnul): Likewise.
4374 (__vfwscanf): Likewise.
4375 (__vswprintf): Likewise.
4376 (__fwprintf): Likewise.
4377 (__vfwprintf): Likewise.
4379 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4382 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
4383 (__getgrgid_r): Likewise.
4384 (__getgrnam_r): Likewise.
4385 * include/pwd.h (__getpwuid_r): Likewise.
4386 (__getpwnam_r): Likewise.
4387 (__fgetpwent_r): Likewise.
4388 * include/shadow.h (__getspnam_r): Likewise.
4389 (__sgetspent_r): Likewise.
4390 (__fgetspent_r): Likewise.
4392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4395 * include/unistd.h (__access): Add attribute_hidden.
4396 (__lseek64): Likewise.
4397 (__libc_pread64): Likewise.
4398 (__pipe2): Likewise.
4399 (__sleep): Likewise.
4400 (__chdir): Likewise.
4401 (__fchdir): Likewise.
4402 (__getcwd): Likewise.
4403 (__rmdir): Likewise.
4404 (__execvpe): Likewise.
4405 (__execve): Likewise.
4406 (__setsid): Likewise.
4407 (__getuid): Likewise.
4408 (__geteuid): Likewise.
4409 (__getgid): Likewise.
4410 (__getegid): Likewise.
4411 (__getgroups): Likewise.
4412 (__group_member): Likewise.
4413 (__ttyname_r): Likewise.
4414 (__isatty): Likewise.
4415 (__readlink): Likewise.
4416 (__unlink): Likewise.
4417 (__gethostname): Likewise.
4418 (__profil): Likewise.
4419 (__getdtablesize): Likewise.
4421 (__ftruncate): Likewise.
4422 (__ftruncate64): Likewise.
4424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4427 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
4428 * argp/argp-fs-xinl.c: Likewise.
4429 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
4430 * argp/argp-parse.c: Include <argp.h>.
4431 * argp/argp-xinl.c: Likewise.
4432 * include/argp-fmtstream.h: New file.
4433 * include/argp.h (__argp_error): Add attribute_hidden.
4434 (__argp_failure): Likewise.
4435 (__argp_input): Likewise.
4436 (__argp_state_help): Likewise.
4438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4441 * include/wchar.h (____wcstof_l_internal): New prototype.
4442 (____wcstod_l_internal): Likewise.
4443 (____wcstold_l_internal): Likewise.
4444 (____wcstol_l_internal): Likewise.
4445 (____wcstoul_l_internal): Likewise.
4446 (____wcstoll_l_internal): Likewise.
4447 (____wcstoull_l_internal): Likewise.
4448 (____wcstof128_l_internal): Likewise.
4449 * sysdeps/ieee754/float128/wcstof128.c
4450 (____wcstof128_l_internal): Removed.
4451 * sysdeps/ieee754/float128/wcstof128_l.c
4452 (____wcstof128_l_internal): Likewise.
4453 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
4454 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
4455 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
4456 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
4457 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
4458 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
4459 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
4460 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
4461 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
4462 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
4464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4467 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
4468 instead of <sys/statvfs.h>.
4469 (__internal_statvfs): Removed.
4470 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
4471 instead of <sys/statvfs.h>.
4472 (__internal_statvfs64): Removed.
4473 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
4474 "internal_statvfs.h" instead of <sys/statvfs.h>.
4475 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
4476 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
4477 instead of <sys/statvfs.h>.
4478 (__internal_statvfs): Removed.
4479 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
4480 instead of <sys/statvfs.h>.
4481 (__internal_statvfs64): Removed.
4483 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4486 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
4487 (__gconv_close): Likewise.
4488 (__gconv): Likewise.
4489 (__gconv_find_transform): Likewise.
4490 (__gconv_lookup_cache): Likewise.
4491 (__gconv_compare_alias_cache): Likewise.
4492 (__gconv_load_cache): Likewise.
4493 (__gconv_get_path): Likewise.
4494 (__gconv_close_transform): Likewise.
4495 (__gconv_release_cache): Likewise.
4496 (__gconv_find_shlib): Likewise.
4497 (__gconv_release_shlib): Likewise.
4498 (__gconv_get_builtin_trans): Likewise.
4499 (__gconv_compare_alias): Likewise.
4500 * include/dlfcn.h (_dlerror_run): Likewise.
4501 * include/stdio.h (__fortify_fail_abort): Likewise.
4502 * include/time.h (__tz_compute): Likewise.
4503 (__strptime_internal): Likewise.
4504 * intl/gettextP.h (_nl_find_domain): Likewise.
4505 (_nl_load_domain): Likewise.
4506 (_nl_find_msg): Likewise.
4507 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
4508 (EXTRACT_PLURAL_EXPRESSION): Likewise.
4509 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
4510 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
4511 (__gai_find_request): Likewise.
4512 (__gai_remove_request): Likewise.
4513 (__gai_notify): Likewise.
4514 (__gai_notify_only): Likewise.
4515 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4516 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4517 (_dl_non_dynamic_init): Likewise.
4518 (_dl_aux_init): Likewise.
4519 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
4520 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4522 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
4523 (__wcsmbs_clone_conv): Likewise.
4524 (__wcsmbs_named_conv): Likewise.
4526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4529 * include/stdlib.h (__random): Add attribute_hidden.
4530 (__random_r): Likewise.
4531 (__srandom_r): Likewise.
4532 (__initstate_r): Likewise.
4533 (__setstate_r): Likewise.
4534 (__erand48_r): Likewise.
4535 (__nrand48_r): Likewise.
4536 (__jrand48_r): Likewise.
4537 (__srand48_r): Likewise.
4538 (__seed48_r): Likewise.
4539 (__lcong48_r): Likewise.
4540 (__drand48_iterate): Likewise.
4541 (__setenv): Likewise.
4542 (__unsetenv): Likewise.
4543 (__clearenv): Likewise.
4544 (__ptsname_r): Likewise.
4545 (__posix_openpt): Likewise.
4546 (__add_to_environ): Likewise.
4547 (__realpath): Add libc_hidden_proto.
4548 (__ecvt_r): Likewise.
4549 (__fcvt_r): Likewise.
4550 (__qecvt_r): Likewise.
4551 (__qfcvt_r): Likewise.
4552 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
4553 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
4555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4558 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
4559 * include/time.h (__mktime_internal): Likewise.
4560 * libio/iolibio.h (__fopen_internal): Likewise.
4562 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
4564 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
4566 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
4567 Correct offset used to restore PIC register.
4569 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
4572 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
4573 code to load address of __getcontext_ret when generating PIC code.
4575 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
4577 * elf/Makefile (tests-static-internal): Add
4578 tst-tls1-static-non-pie.
4579 (LDFLAGS-tst-tls1-static-non-pie): New.
4580 * elf/tst-tls1-static-non-pie.c: New file.
4582 2017-09-29 Joseph Myers <joseph@codesourcery.com>
4584 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
4585 (asinh): Define using libm_alias_double.
4586 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
4587 (cbrt): Define using libm_alias_double.
4588 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
4589 <libm-alias-double.h>.
4590 (copysign): Define using libm_alias_double.
4591 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
4592 (erf): Define using libm_alias_double.
4594 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
4595 (expm1): Define using libm_alias_double.
4596 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
4597 (fabs): Define using libm_alias_double.
4598 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
4600 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
4601 <libm-alias-double.h>.
4602 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
4604 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
4605 <libm-alias-double.h>.
4606 (getpayload): Define using libm_alias_double.
4607 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
4608 <libm-alias-double.h>.
4609 (llrint): Define using libm_alias_double.
4610 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
4611 (lrint): Define using libm_alias_double.
4612 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
4613 <libm-alias-double.h>.
4614 (nextup): Define using libm_alias_double.
4615 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
4616 <libm-alias-double.h>.
4617 (roundeven): Define using libm_alias_double.
4618 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
4620 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
4621 <libm-alias-double.h>.
4622 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
4623 using libm_alias_double.
4624 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
4625 (cos): Define using libm_alias_double.
4627 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
4628 <libm-alias-double.h>.
4629 (sincos): Define using libm_alias_double.
4630 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
4631 (tanh): Define using libm_alias_double.
4632 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4633 <libm-alias-double.h>.
4634 (totalorder): Define using libm_alias_double.
4635 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4636 <libm-alias-double.h>.
4637 (totalordermag): Define using libm_alias_double.
4638 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
4640 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
4642 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
4643 <libm-alias-double.h>.
4644 (getpayload): Define using libm_alias_double.
4645 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
4646 <libm-alias-double.h>.
4647 (roundeven): Define using libm_alias_double.
4648 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
4649 <libm-alias-double.h>.
4650 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4651 <libm-alias-double.h>.
4652 (totalorder): Define using libm_alias_double.
4653 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4654 <libm-alias-double.h>.
4655 (totalordermag): Define using libm_alias_double.
4656 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
4657 libc compat symbol here.
4658 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
4659 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
4660 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
4661 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
4662 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
4663 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
4664 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
4665 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
4666 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
4667 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
4669 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4671 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
4672 _dl_relocate_static_pie instead of _dl_start to compute load
4673 address in static PIE. Return 0 if _DYNAMIC is undefined for
4676 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4678 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
4679 _DYNAMIC is undefined for static executable.
4681 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4683 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
4685 2017-09-29 Joseph Myers <joseph@codesourcery.com>
4687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4689 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4691 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4692 (__ieee754_lgamma_r): Use fabs rather than __fabs.
4693 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4694 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4695 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4696 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
4697 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4698 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4699 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
4700 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4701 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4702 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
4704 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4705 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4707 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
4709 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4711 * math/bits/cmathcalls.h (cimag): Remove inline.
4712 (creal): Remove inline.
4713 (conj): Remove inline.
4715 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4717 * math/Makefile (type-float-routines): Add e_powf_log2_data.
4718 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
4719 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
4720 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
4721 (issignalingf_inline): Likewise.
4722 (POWF_LOG2_TABLE_BITS): Likewise.
4723 (POWF_LOG2_POLY_ORDER): Likewise.
4724 (POWF_SCALE_BITS): Likewise.
4725 (POWF_SCALE): Likewise.
4726 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
4727 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
4728 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
4730 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4732 * math/Makefile (type-float-routines): Add e_log2f_data.
4733 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
4734 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
4735 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
4736 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
4737 * sysdeps/i386/fpu/e_log2f_data.c: New file.
4738 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
4739 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
4741 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4743 * math/Makefile (type-float-routines): Add e_logf_data.
4744 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
4745 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
4746 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
4747 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
4748 * sysdeps/i386/fpu/e_logf_data.c: New file.
4749 * sysdeps/ia64/fpu/e_logf_data.c: New file.
4750 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
4752 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
4754 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
4755 undefined _DYNAMIC in PIE libc.a.
4756 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
4759 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
4761 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
4762 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
4763 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
4764 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
4765 (__signbit): Remove.
4766 (__signbitl): Remove.
4767 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
4768 (__signbit): Remove.
4769 (__signbitl): Remove.
4770 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
4771 (__signbit): Remove.
4772 (__signbitl): Remove.
4773 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
4774 (__signbit): Remove.
4775 (__signbitl): Remove.
4776 * sysdeps/tile/bits/mathinline.h: Delete file.
4777 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
4778 (__signbit): Remove.
4779 (__signbitl): Remove.
4781 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
4783 * math/math.h: Improve handling of C99 isgreater macros.
4784 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
4785 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
4786 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4787 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4788 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4790 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
4792 * sysdeps/aarch64/libm-test-ulps: Update.
4794 2017-09-28 Joseph Myers <joseph@codesourcery.com>
4797 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4798 math_opt_barrier on argument when doing arithmetic on it.
4799 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4800 Likewise. Use math_force_eval not math_opt_barrier after
4802 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
4803 math_opt_barrier on argument when doing arithmetic on it.
4804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4807 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
4809 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
4811 (__freeifaddrs): Likewise.
4813 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4815 * include/dirent.h (__dirfd): New declaration.
4816 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
4818 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
4819 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
4820 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
4821 * include/unistd.h (__revoke): New declaration.
4822 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
4824 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4825 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
4827 * include/dirent.h (__seekdir): New declaration.
4828 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
4829 redefine as weak alias.
4830 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
4832 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
4833 and use libc_hidden_def on them.
4834 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
4836 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
4837 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
4838 instead of getifaddrs and freeifaddrs.
4840 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
4843 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
4844 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
4845 (__dso_handle): Remove declaration.
4846 * dlfcn/tstatexit.c (__dso_handle): Removed.
4847 (main): Don't check __dso_handle.
4848 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
4849 (main): Don't check __dso_handle.
4850 * include/dso_handle.h: New file.
4851 * malloc/mtrace.c: Include <dso_handle.h>.
4852 (mtrace): Pass __dso_handle directly.
4853 * nptl/pthread_atfork.c: Include <dso_handle.h>.
4854 (__dso_handle): Remove declaration.
4855 (__pthread_atfork): Pass __dso_handle directly.
4856 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
4857 (__dso_handle): Removed.
4858 * posix/wordexp-test.c: Include <dso_handle.h>.
4859 (__dso_handle): Remove declaration.
4860 (__app_register_atfork): Pass __dso_handle directly.
4861 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
4862 (__dso_handle): Remove declaration.
4863 (at_quick_exit): Pass __dso_handle directly.
4864 * stdlib/atexit.c: Include <dso_handle.h>.
4865 (__dso_handle): Remove declaration.
4866 (atexit): Pass __dso_handle directly.
4867 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
4868 (__dso_handle): Removed.
4870 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4872 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
4875 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
4877 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
4878 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
4879 values to correct default value for given type.
4881 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
4884 * elf/Makefile (tests): Add tst-debug1.
4885 ($(objpfx)tst-debug1): New.
4886 ($(objpfx)tst-debug1.out): Likewise.
4887 ($(objpfx)tst-debug1mod1.so): Likewise.
4888 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
4890 * elf/tst-debug1.c: New file.
4892 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4894 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
4895 Define using __ifunc.
4897 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4899 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
4902 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4905 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
4907 2017-09-26 Florian Weimer <fweimer@redhat.com>
4909 * resolv/Makefile (tests-internal): Fix typo in comment.
4911 2017-09-26 Florian Weimer <fweimer@redhat.com>
4913 * resolv/nss_dns/dns-host.c: Fix typo in comment.
4915 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4917 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
4918 Use an union instead of a max_align_t array for __space,
4919 so that __space is the same size on all platforms.
4920 * malloc/scratch_buffer_grow_preserve.c
4921 (__libc_scratch_buffer_grow_preserve): Likewise.
4924 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
4926 * posix/Makefile (routines): Add glob-lstat-compat and
4927 glob64-lstat-compat.
4928 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
4929 * posix/glob-lstat-compat.c: New file.
4930 * posix/glob64-lstat-compat.c: Likewise.
4931 * posix/tst-glob_lstat_compat.c: Likewise.
4932 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
4933 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
4934 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
4935 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
4937 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
4938 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4939 * posix/glob.c (glob_lstat): New function.
4940 (glob): Rename to __glob and add versioned symbol to 2.27.
4941 (glob_in_dir): Use glob_lstat.
4942 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
4943 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4944 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
4946 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
4947 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
4948 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
4949 gl_lstat on glob call.
4950 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
4952 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4953 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4954 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4955 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4956 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4957 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4958 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4959 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4960 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4961 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4962 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4963 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4966 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4968 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4969 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4970 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4971 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4972 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4975 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4976 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4977 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4979 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
4981 * configure.ac (AS): Require binutils 2.25 or later.
4982 * configure: Regenerated.
4984 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4987 * stdlib/test-atexit-race-common.c (do_test): Minimize required
4990 2017-09-25 DJ Delorie <dj@redhat.com>
4993 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
4996 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4998 * sysdeps/ieee754/dbl-64/sincos32.h
4999 [SINCCOS32_H]: Remove define.
5000 [SINCOS32_H]: Define.
5002 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5004 * math/Versions (expf): New libm symbol at GLIBC_2.27.
5006 * math/w_exp2f.c: New file.
5007 * math/w_expf.c: New file.
5008 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
5009 * math/w_expf_compat.c (__expf_compat): Likewise.
5010 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
5011 * sysdeps/ia64/fpu/e_expf.S: Likewise.
5012 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5013 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5014 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5015 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5016 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5017 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5018 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5019 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5020 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5021 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5022 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5023 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5032 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5033 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5034 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5035 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5036 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5041 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5042 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5043 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5045 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5047 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
5048 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
5049 (roundtoint, converttoint): Likewise.
5050 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
5051 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
5052 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
5053 * sysdeps/ieee754/flt-32/math_config.h: New file.
5054 * sysdeps/ieee754/flt-32/math_errf.c: New file.
5055 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
5056 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
5057 * sysdeps/i386/fpu/math_errf.c: New file.
5058 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
5059 * sysdeps/ia64/fpu/math_errf.c: New file.
5060 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
5061 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
5063 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5065 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
5066 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
5067 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
5068 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
5069 to make sure that these symbols are defined.
5070 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
5072 (__need_NULL): Do not define.
5073 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
5075 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
5076 CMGROUP_MAX, cmsgcred): Do not define.
5077 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
5079 * bits/socket.h: Likewise.
5080 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
5081 __gettimeofday instead of gettimeofday.
5082 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
5083 instead of settimeofday.
5085 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5087 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
5088 (asinhf): Define using libm_alias_float.
5089 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
5090 (atanf): Define using libm_alias_float.
5091 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
5092 (cbrtf): Define using libm_alias_float.
5093 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
5094 (ceilf): Define using libm_alias_float.
5095 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
5096 <libm-alias-float.h>.
5097 (copysignf): Define using libm_alias_float.
5098 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
5099 (cosf): Define using libm_alias_float.
5100 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
5101 (erff): Define using libm_alias_float.
5103 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
5104 (expm1f): Define using libm_alias_float.
5105 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
5106 (fabsf): Define using libm_alias_float.
5107 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
5108 (floorf): Define using libm_alias_float.
5109 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
5110 (frexpf): Define using libm_alias_float.
5111 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
5113 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
5114 <libm-alias-float.h>.
5115 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
5117 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
5118 <libm-alias-float.h>.
5119 (getpayloadf): Define using libm_alias_float.
5120 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
5121 <libm-alias-float.h>.
5122 (llrintf): Define using libm_alias_float.
5123 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
5124 <libm-alias-float.h>.
5125 (llroundf): Define using libm_alias_float.
5126 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
5127 (logbf): Define using libm_alias_float.
5128 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
5129 (lrintf): Define using libm_alias_float.
5130 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
5131 (lroundf): Define using libm_alias_float.
5132 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
5133 (modff): Define using libm_alias_float.
5134 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
5135 <libm-alias-float.h>.
5136 (nearbyintf): Define using libm_alias_float.
5137 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
5138 <libm-alias-float.h>.
5139 (nextafterf): Define using libm_alias_float.
5140 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
5141 <libm-alias-float.h>.
5142 (nextupf): Define using libm_alias_float.
5143 * sysdeps/ieee754/flt-32/s_remquof.c: Include
5144 <libm-alias-float.h>.
5145 (remquof): Define using libm_alias_float.
5146 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
5147 (rintf): Define using libm_alias_float.
5148 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
5149 <libm-alias-float.h>.
5150 (roundevenf): Define using libm_alias_float.
5151 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
5152 (roundf): Define using libm_alias_float.
5153 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
5154 using libm_alias_float.
5155 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
5156 <libm-alias-float.h>.
5157 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
5158 Define using libm_alias_float.
5159 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
5160 <libm-alias-float.h>.
5161 (sincosf): Define using libm_alias_float.
5162 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
5163 (sinf): Define using libm_alias_float.
5164 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
5165 (tanf): Define using libm_alias_float.
5166 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
5167 (tanhf): Define using libm_alias_float.
5168 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5169 <libm-alias-float.h>.
5170 (totalorderf): Define using libm_alias_float.
5171 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5172 <libm-alias-float.h>.
5173 (totalordermagf): Define using libm_alias_float.
5174 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
5175 (truncf): Define using libm_alias_float.
5176 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
5178 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
5181 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5184 math/math.h: Let fpclassify use the builtin in C++ mode, even
5185 when optimazing for size.
5187 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5189 * csu/Makefile (generated): Do not add version-info.h.
5190 (before-compile): Likewise.
5191 (all-Banner-files): Remove variable.
5192 ($(objpfx)version-info.h): Remove rule.
5193 * csu/version.c (banner): Do not include "version-info.h".
5194 * libidn/Banner: Remove.
5195 * manual/contrib.texi (Simon Josefsson): New entry.
5197 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5200 Remove conditionals on LDBL_MANT_DIG.
5201 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
5202 (__ieee754_lgammal_r): Likewise.
5204 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
5208 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
5209 _Float128 and L(). Replace _Float128 with long double and L(x)
5210 with xL, throughout the file.
5211 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5216 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
5219 sysdeps/ieee754/ldbl-128ibm.
5220 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
5221 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
5222 of including it. Keep _Float128 and L() intact. These will be
5223 reviewed by a separate patch.
5224 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5229 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
5232 (__finitef128): Define to __redirect___finitef128.
5233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
5234 (__isinff128): Define to __redirect___isinff128.
5235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
5236 (__isnanf128): Define to __redirect___isnanf128.
5238 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5240 * sysdeps/powerpc/powerpc64le/Makefile
5241 (CFLAGS-tst-strtod-nan-locale.c): New variable.
5242 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
5244 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5245 Carlos O'Donell <carlos@redhat.com>
5248 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
5249 * stdlib/test-dlclose-exit-race.c: New file.
5250 * stdlib/test-dlclose-exit-race-helper.c: New file.
5251 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
5253 2017-09-21 Joseph Myers <joseph@codesourcery.com>
5255 * crypt/Banner: Remove file.
5256 * nptl/Banner: Likewise.
5257 * resolv/Banner: Likewise.
5258 * soft-fp/Banner: Likewise.
5259 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
5260 ($(objpfx)version.d): Remove dependency on banner.h.
5261 ($(objpfx)version.os): Likewise.
5262 * nptl/version.c (banner): Do not include banner.h.
5263 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
5264 Jelinek and BIND code.
5266 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5267 Carlos O'Donell <carlos@redhat.com>
5269 * support/xdlfcn.h: New file.
5270 * support/xdlfcn.c: New file.
5271 * support/Makefile (libsupport-routines): Add xdlfcn.
5272 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
5274 2017-09-20 Joseph Myers <joseph@codesourcery.com>
5277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5278 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
5279 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
5280 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
5281 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5282 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
5283 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
5284 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5286 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5287 Ricky Zhou <rickyz@google.com>
5288 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
5291 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
5293 (__new_exitfn): Fail registration when we finished at_exit processing.
5294 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5295 * stdlib/on_exit.c (__on_exit): Likewise.
5296 * stdlib/exit.c (__exit_funcs_done): New variable.
5297 (__run_exit_handlers): Use __exit_funcs_lock.
5298 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
5300 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
5301 (test-cxa_atexit-race, test-on_exit-race): New tests.
5302 * stdlib/test-atexit-race-common.c: New file.
5303 * stdlib/test-atexit-race.c: New file.
5304 * stdlib/test-at_quick_exit-race.c: New file.
5305 * stdlib/test-cxa_atexit-race.c: New file.
5306 * stdlib/test-on_exit-race.c: New file.
5308 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
5310 * benchtests/Makefile: Add exp2f and log2f benchmarks.
5311 * benchtests/exp2f-inputs: Copy of expf-inputs.
5312 * benchtests/log2f-inputs: Copy of logf-inputs.
5314 2017-09-19 Joseph Myers <joseph@codesourcery.com>
5316 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
5317 Explicitly take address of first element of array arguments in
5318 call to INLINE_SYSCALL.
5320 2017-09-19 Andreas Schwab <schwab@suse.de>
5323 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
5325 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
5327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
5328 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
5329 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5330 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
5331 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5332 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5334 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5335 * posix/Makefile (tests): Add tst-fexecve.
5336 * posix/tst-fexecve.c: New file.
5338 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5340 * benchtests/Makefile: Add logf benchmark.
5341 * benchtests/logf-inputs: Add reduced trace from wrf_r.
5343 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5345 * benchtests/Makefile: Add expf benchmark.
5346 * benchtests/expf-inputs: Add reduced trace from wrf_r.
5348 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5350 * csu/Makefile: Add -funwind-tables to libc-start.c.
5351 * debug/Makefile: Add -funwind-tables to backtrace.c.
5352 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
5353 * sysdeps/arm/Makefile: Likewise.
5354 * sysdeps/i386/Makefile: Likewise.
5355 * sysdeps/m68k/Makefile: Likewise.
5356 * sysdeps/mips/Makefile: Likewise.
5357 * sysdeps/nios2/Makefile: Likewise.
5358 * sysdeps/sh/Makefile: Likewise.
5359 * sysdeps/sparc/Makefile: Likewise.
5361 2017-09-19 Joseph Myers <joseph@codesourcery.com>
5363 * benchtests/Makefile (bench-math): Add trunc and truncf.
5364 (CFLAGS-bench-trunc.c): New variable.
5365 (CFLAGS-bench-truncf.c): Likewise.
5366 * benchtests/trunc-inputs: New file.
5367 * benchtests/truncf-inputs: Likewise.
5369 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5371 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
5373 2017-09-18 Joseph Myers <joseph@codesourcery.com>
5375 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
5376 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
5378 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
5379 (exp10l): Define as weak alias.
5380 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
5381 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
5383 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
5384 (remainderl): Define as weak alias.
5386 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
5387 (fmal): Define using libm_alias_ldouble.
5388 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
5389 (acoshl): Define using libm_alias_ldouble.
5390 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
5391 (acosl): Define using libm_alias_ldouble.
5392 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
5393 (asinl): Define using libm_alias_ldouble.
5394 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
5395 (atan2l): Define using libm_alias_ldouble.
5396 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
5397 (atanhl): Define using libm_alias_ldouble.
5398 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
5399 (coshl): Define using libm_alias_ldouble.
5400 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
5401 (exp10l): Define using libm_alias_ldouble.
5402 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
5403 (exp2l): Define using libm_alias_ldouble.
5404 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
5405 (expl): Define using libm_alias_ldouble.
5406 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
5407 (fmodl): Define using libm_alias_ldouble.
5408 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
5409 (hypotl): Define using libm_alias_ldouble.
5410 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
5411 (j0l): Define using libm_alias_ldouble.
5413 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
5414 (j1l): Define using libm_alias_ldouble.
5416 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
5417 (jnl): Define using libm_alias_ldouble.
5419 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
5420 (log10l): Define using libm_alias_ldouble.
5421 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
5422 (log2l): Define using libm_alias_ldouble.
5423 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
5424 (logl): Define using libm_alias_ldouble.
5425 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
5426 (powl): Define using libm_alias_ldouble.
5427 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
5428 (remainderl): Define using libm_alias_ldouble.
5429 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
5430 (sinhl): Define using libm_alias_ldouble.
5431 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
5432 (sqrtl): Define using libm_alias_ldouble.
5433 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
5434 (tgammal): Define using libm_alias_ldouble.
5435 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
5436 (exp10l): Do not use long_double_symbol here.
5437 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
5438 [LIBM_SVID_COMPAT] (remainderl): Likewise.
5439 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
5440 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5441 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5442 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5443 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5444 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5445 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5446 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5447 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5448 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5449 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5450 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5451 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5452 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5453 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5454 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5455 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5456 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5457 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5458 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5460 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
5462 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
5463 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
5465 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
5467 * io/read.c (read): Add libc_hidden_weak.
5468 * sysdeps/mach/hurd/read.c (read): Likewise.
5469 * io/write.c (write): Likewise.
5470 * sysdeps/mach/hurd/write.c (write): Likewise.
5471 * io/pread64.c (__pread64): Likewise.
5472 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
5473 * posix/pread64.c (__pread64): Add libc_hidden_def.
5475 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5477 * benchtests/scripts/compare_strings.py: New option -g.
5478 (draw_graph): Print a message that a graph is being generated.
5479 (process_results): Generate graph only if -g is passed.
5480 (main): Process option -g.
5482 * benchtests/scripts/compare_strings.py (process_results):
5483 Better spacing for output.
5485 * benchtests/scripts/compare_strings.py: Use argparse.
5486 * benchtests/README: Document existence of compare_strings.py.
5488 2017-09-15 Joseph Myers <joseph@codesourcery.com>
5490 * math/s_fma.c: Include <libm-alias-double.h>.
5491 (fma): Define using libm_alias_double.
5492 * math/s_nextafter.c: Include <libm-alias-double.h>.
5493 (nextafter): Define using libm_alias_double.
5494 * math/w_acos_compat.c: Include <libm-alias-double.h>.
5495 (acos): Define using libm_alias_double.
5496 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
5497 (aocsh): Define using libm_alias_double.
5498 * math/w_asin_compat.c: Include <libm-alias-double.h>.
5499 (asin): Define using libm_alias_double.
5500 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
5501 (atan2): Define using libm_alias_double.
5502 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
5503 (atanh): Define using libm_alias_double.
5504 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
5505 (cosh): Define using libm_alias_double.
5506 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
5507 (exp10): Define using libm_alias_double.
5508 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
5509 (exp2): Define using libm_alias_double.
5510 * math/w_exp_compat.c: Include <libm-alias-double.h>.
5511 (exp): Define using libm_alias_double.
5512 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
5513 (fmod): Define using libm_alias_double.
5514 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
5515 (hypot): Define using libm_alias_double.
5516 * math/w_j0_compat.c: Include <libm-alias-double.h>.
5517 (j0): Define using libm_alias_double.
5519 * math/w_j1_compat.c: Include <libm-alias-double.h>.
5520 (j1): Define using libm_alias_double.
5522 * math/w_jn_compat.c: Include <libm-alias-double.h>.
5523 (jn): Define using libm_alias_double.
5525 * math/w_log10_compat.c: Include <libm-alias-double.h>.
5526 (log10): Define using libm_alias_double.
5527 * math/w_log2_compat.c: Include <libm-alias-double.h>.
5528 (log2): Define using libm_alias_double.
5529 * math/w_log_compat.c: Include <libm-alias-double.h>.
5530 (log): Define using libm_alias_double.
5531 * math/w_pow_compat.c: Include <libm-alias-double.h>.
5532 (pow): Define using libm_alias_double.
5533 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
5534 (remainder): Define using libm_alias_double.
5535 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
5536 (sinh): Define using libm_alias_double.
5537 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
5538 (sqrt): Define using libm_alias_double.
5539 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
5540 (tgamma): Define using libm_alias_double.
5541 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
5542 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
5543 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
5544 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
5545 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
5546 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
5547 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
5548 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5549 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5550 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5551 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5552 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5553 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5554 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5555 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5556 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5557 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5558 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5559 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5560 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5561 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5562 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5563 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5564 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5565 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5567 * math/e_acoshl.c: Remove.
5568 * math/e_acosl.c: Likewise.
5569 * math/e_asinl.c: Likewise.
5570 * math/e_atan2l.c: Likewise.
5571 * math/e_atanhl.c: Likewise.
5572 * math/e_coshl.c: Likewise.
5573 * math/e_expl.c: Likewise.
5574 * math/e_fmodl.c: Likewise.
5575 * math/e_gammal_r.c: Likewise.
5576 * math/e_hypotl.c: Likewise.
5577 * math/e_j0l.c: Likewise.
5578 * math/e_j1l.c: Likewise.
5579 * math/e_jnl.c: Likewise.
5580 * math/e_lgammal_r.c: Likewise.
5581 * math/e_log10l.c: Likewise.
5582 * math/e_log2l.c: Likewise.
5583 * math/e_logl.c: Likewise.
5584 * math/e_powl.c: Likewise.
5585 * math/e_rem_pio2l.c: Likewise.
5586 * math/e_sinhl.c: Likewise.
5587 * math/e_sqrtf128.c: Likewise.
5588 * math/e_sqrtl.c: Likewise.
5589 * math/k_cosl.c: Likewise.
5590 * math/k_sinl.c: Likewise.
5591 * math/k_tanl.c: Likewise.
5592 * math/s_asinhl.c: Likewise.
5593 * math/s_atanl.c: Likewise.
5594 * math/s_cbrtl.c: Likewise.
5595 * math/s_erfl.c: Likewise.
5596 * math/s_expm1l.c: Likewise.
5597 * math/s_log1pl.c: Likewise.
5598 * math/s_tanhl.c: Likewise.
5600 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
5604 [$(subdir) = math] (sysdep_calls): New variable. Has the
5605 previous contents of sysdep_routines, but re-sorted..
5606 [$(subdir) = math] (sysdep_routines): Re-use the contents from
5608 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
5609 defined in sysdep_calls and replace by the respective m_* names.
5610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
5611 (compat_symbol): Undefine to avoid duplicated compat symbols in
5614 2017-09-15 Joseph Myers <joseph@codesourcery.com>
5616 * math/s_fmaf.c: Include <libm-alias-float.h>.
5617 (fmaf): Define using libm_alias_float.
5618 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
5619 (acosf): Define using libm_alias_float.
5620 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
5621 (acoshf): Define using libm_alias_float.
5622 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
5623 (asinf): Define using libm_alias_float.
5624 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
5625 (atan2f): Define using libm_alias_float.
5626 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
5627 (atanhf): Define using libm_alias_float.
5628 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
5629 (coshf): Define using libm_alias_float.
5630 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
5631 (exp10f): Define using libm_alias_float.
5632 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
5633 (fmodf): Define using libm_alias_float.
5634 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
5635 (hypotf): Define using libm_alias_float.
5636 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
5637 (j0f): Define using libm_alias_float.
5639 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
5640 (j1f): Define using libm_alias_float.
5642 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
5643 (jnf): Define using libm_alias_float.
5645 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
5646 (log10f): Define using libm_alias_float.
5647 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
5648 (log2f): Define using libm_alias_float.
5649 * math/w_logf_compat.c: Include <libm-alias-float.h>.
5650 (logf): Define using libm_alias_float.
5651 * math/w_powf_compat.c: Include <libm-alias-float.h>.
5652 (powf): Define using libm_alias_float.
5653 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
5654 (remainderf): Define using libm_alias_float.
5655 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
5656 (sinhf): Define using libm_alias_float.
5657 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
5658 (sqrtf): Define using libm_alias_float.
5659 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
5660 (tgammaf): Define using libm_alias_float.
5662 2017-09-14 Joseph Myers <joseph@codesourcery.com>
5664 * include/math.h (roundeven): Change hidden_proto call to
5666 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
5668 [NO_LONG_DOUBLE] (__j0l): New strong alias.
5669 (y0): Rename to __y0 and define as weak alias.
5670 [NO_LONG_DOUBLE] (__y0l): New strong alias.
5671 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
5673 (y0f): Rename to __y0f and define as weak alias.
5674 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
5676 [NO_LONG_DOUBLE] (__j1l): New strong alias.
5677 (y1): Rename to __y1 and define as weak alias.
5678 [NO_LONG_DOUBLE] (__y1l): New strong alias.
5679 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
5681 (y1f): Rename to __y1f and define as weak alias.
5682 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
5684 [NO_LONG_DOUBLE] (__jnl): New strong alias.
5685 (yn): Rename to __yn and define as weak alias.
5686 [NO_LONG_DOUBLE] (__ynl): New strong alias.
5687 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
5689 (ynf): Rename to __ynf and define as weak alias.
5690 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
5691 (fromfp): Define as weak alias.
5692 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
5693 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
5694 (fromfpx): Define as weak alias.
5695 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
5696 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
5697 __getpayload and define as weak alias.
5698 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5699 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
5700 __roundeven and define as weak alias.
5701 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5702 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
5704 (setpayload): Define as weak alias.
5705 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
5706 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
5708 (setpayloadsig): Define as weak alias.
5709 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
5710 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
5711 __totalorder and define as weak alias.
5712 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5713 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
5714 to __totalordermag and define as weak alias.
5715 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5716 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
5717 (ufromfp): Define as weak alias.
5718 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
5719 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
5721 (ufromfpx): Define as weak alias.
5722 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
5723 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
5724 Rename to __getpayload and define as weak alias.
5725 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5726 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
5727 Rename to __roundeven and define as weak alias.
5728 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5729 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
5730 Rename to __totalorder and define as weak alias.
5731 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5732 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
5733 (totalordermag): Rename to __totalordermag and define as weak
5735 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5736 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
5738 (__roundevenl): Likewise.
5739 (__totalorderl): Likewise.
5740 (__totalordermagl): Likewise
5741 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
5743 (fromfpf128): Define as weak alias.
5744 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
5746 (fromfpxf128): Define as weak alias.
5747 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
5749 (setpayloadf128): Define as weak alias.
5750 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
5751 __setpayloadsigf128.
5752 (setpayloadsigf128): Define as weak alias.
5753 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
5755 (ufromfpf128): Define as weak alias.
5756 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
5758 (ufromfpxf128): Define as weak alias.
5759 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
5760 (fromfpf): Define as weak alias.
5761 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
5763 (fromfpxf): Define as weak alias.
5764 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
5765 __getpayloadf and define as weak alias.
5766 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
5767 __roundevenf and define as weak alias.
5768 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
5770 (setpayloadf): Define as weak alias.
5771 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
5773 (setpayloadsigf): Define as weak alias.
5774 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
5775 __totalorderf and define as weak alias.
5776 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
5777 Rename to __totalordermagf and define as weak alias.
5778 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
5780 (ufromfpf): Define as weak alias.
5781 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
5783 (ufromfpxf): Define as weak alias.
5784 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
5786 (fromfpl): Define as weak alias.
5787 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
5789 (fromfpxl): Define as weak alias.
5790 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
5791 to __getpayloadl and define as weak alias.
5792 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
5793 __roundevenl and define as weak alias.
5794 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
5796 (setpayloadl): Define as weak alias.
5797 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
5799 (setpayloadsigl): Define as weak alias.
5800 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
5801 to __totalorderl and define as weak alias.
5802 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
5803 Rename to __totalordermagl and define as weak alias.
5804 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
5806 (ufromfpl): Define as weak alias.
5807 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
5809 (ufromfpxl): Define as weak alias.
5810 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
5812 (fromfpl): Define as weak alias.
5813 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
5815 (fromfpxl): Define as weak alias.
5816 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
5817 Rename to __getpayloadl and define as weak alias.
5818 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
5819 to __roundevenl and define as weak alias. Call __roundeven
5820 instead of roundeven.
5821 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
5823 (setpayloadl): Define as weak alias.
5824 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
5826 (setpayloadsigl): Define as weak alias.
5827 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
5828 Rename to __totalorderl and define as weak alias.
5829 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
5830 Rename to __totalordermagl and define as weak alias.
5831 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
5833 (ufromfpl): Define as weak alias.
5834 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
5836 (ufromfpxl): Define as weak alias.
5837 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
5839 (fromfpl): Define as weak alias.
5840 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
5842 (fromfpxl): Define as weak alias.
5843 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
5844 __getpayloadl and define as weak alias.
5845 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
5846 __roundevenl and define as weak alias.
5847 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
5849 (setpayloadl): Define as weak alias.
5850 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
5852 (setpayloadsigl): Define as weak alias.
5853 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
5854 __totalorderl and define as weak alias.
5855 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
5856 Rename to __totalordermagl and define as weak alias.
5857 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
5859 (ufromfpl): Define as weak alias.
5860 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
5862 (ufromfpxl): Define as weak alias.
5864 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5866 * benchtests/bench-string.h (realloc_bufs): New function.
5867 (test_init): Call it.
5868 * benchtests/bench-memset-large.c (do_test): Likewise.
5869 * benchtests/bench-memset.c (do_test): Likewise.
5871 * benchtests/bench-memset-large.c: Print output in JSON
5873 * benchtests/bench-memset.c: Likewise.
5875 2017-09-14 Mike FABIAN <mfabian@redhat.com>
5878 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
5879 * iconvdata/Makefile: Add IBM858.
5880 * iconvdata/gconv-modules: Likewise.
5881 * iconvdata/tst-tables.sh: Likewise.
5882 * iconvdata/ibm858.c: New file.
5883 * localedata/charmaps/IBM858: Likewise.
5885 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
5888 * locales/niu_NZ (LC_TIME): copy "niu_NU".
5889 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
5891 2017-09-14 Mike FABIAN <mfabian@redhat.com>
5894 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
5895 and add tel_int_fmt.
5897 2017-09-14 Joseph Myers <joseph@codesourcery.com>
5899 * sysdeps/generic/libm-alias-float128.h: New file.
5900 * sysdeps/generic/math-type-macros-float128.h: Include
5901 <libm-alias-float128.h>.
5902 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
5904 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5906 * sysdeps/generic/libm-alias-ldouble.h: New file.
5907 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
5908 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
5909 * sysdeps/generic/math-type-macros-ldouble.h: Include
5910 <libm-alias-ldouble.h>.
5911 [!declare_mgen_alias] (declare_mgen_alias): Define to use
5914 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
5916 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
5917 * math/w_exp_compat.c: ... here.
5918 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
5919 * math/w_expf_compat.c: ... here.
5920 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
5921 * math/w_expl_compat.c: ... here.
5922 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
5923 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
5924 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
5925 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5927 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5929 * math/w_scalbln_template.c (strong_alias): Do not undefine and
5931 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
5933 (ldexpl): Only define as compat symbol for libc, not libm.
5934 (scalbnl): Define as compat symbol for libc here.
5935 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
5936 define for [IS_IN (libc)].
5937 (__ldexpl_2): Remove alias.
5938 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
5939 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
5940 name in long_double_symbol call.
5941 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
5942 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5943 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5944 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
5945 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
5947 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
5948 Define as compat symbol.
5950 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5952 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
5953 * sysdeps/unix/sysv/linux/alpha/Makefile
5954 [$(subdir) = csu] (sysdep_routines): Remove rule.
5956 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5958 * sysdeps/generic/libm-alias-double.h: New file.
5959 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
5960 * sysdeps/generic/math-type-macros-double.h: Include
5961 <libm-alias-double.h>.
5962 [declare_mgen_alias] (declare_mgen_alias): Define to use
5964 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
5965 (M_LIBM_NEED_COMPAT): Remove macro.
5966 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
5967 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
5968 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
5970 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5971 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5972 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5973 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5974 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5975 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5976 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5977 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5978 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5979 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5980 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5981 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5982 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5983 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5984 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5985 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5986 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5987 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5988 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5989 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5990 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5991 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5992 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5993 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5994 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5995 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5996 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5997 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
5998 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
6000 (declare_mgen_alias): New macro.
6001 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
6002 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
6003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
6004 (M_LIBM_NEED_COMPAT): Remove macro.
6005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
6006 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
6008 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
6009 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
6011 2017-09-12 Joseph Myers <joseph@codesourcery.com>
6013 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
6014 (declare_mgen_alias_2): Remove.
6015 * sysdeps/generic/math-type-macros-double.h
6016 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
6018 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
6020 (ldexp): Define with declare_mgen_alias.
6023 2017-09-12 Steve Ellcey <sellcey@cavium.com>
6025 * grp/initgroups.c: Include config.h.
6026 (DEFAULT_CONFIG): New macro.
6027 (internal_getgrouplist): Use DEFAULT_CONFIG.
6028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6029 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
6030 (DEFAULT_DEFCONFIG): New macro.
6031 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
6032 * nss/grp-lookup.c: Include config.h
6033 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
6034 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
6035 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
6036 * manual/nss.texi: Update default values section.
6038 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
6041 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
6043 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
6044 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6045 Handle MathVec_Prefer_No_AVX512.
6046 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
6047 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
6050 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
6052 * posix/sched_primax.c (__sched_get_priority_max): Add
6054 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
6055 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6056 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6057 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
6058 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
6059 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
6060 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
6061 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
6064 2017-09-11 Joseph Myers <joseph@codesourcery.com>
6066 * sysdeps/generic/libm-alias-float.h: New file.
6067 * sysdeps/generic/math-type-macros-float.h: Include
6068 <libm-alias-float.h>.
6069 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6071 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
6074 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
6075 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
6076 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
6077 (HWCAP_IMPORTANT): Likewise.
6078 (HWCAP_X86_64): New enum.
6079 (HWCAP_X86_AVX512_1): Updated.
6080 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
6081 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
6082 (modules-names): Add x86_64/tst-x86_64mod-1.
6083 (LDFLAGS-tst-x86_64mod-1.so): New.
6084 ($(objpfx)tst-x86_64-1): Likewise.
6085 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
6086 (tst-x86_64-1-clean): Likewise.
6087 * sysdeps/x86_64/tst-x86_64-1.c: New file.
6088 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
6090 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6092 * po/sv.po: Update translations.
6093 * po/fr.po: Likewise.
6095 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6097 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
6099 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
6101 * elf/rtld-Rules: Fix $(error) use.
6103 2017-09-09 Mike FABIAN <mfabian@redhat.com>
6106 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
6107 * locale/iso-639.def: Change “Bengali” to “Bangla”.
6108 * localedata/locales/bn_BD: “Bengali” was still used in some
6109 comments. Change it to “Bangla”.
6111 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
6113 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
6115 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6117 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
6118 thunderx2t99p1 to list of cpu names.
6119 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6120 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
6122 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6124 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
6125 Use strcmp instead of tunable_is_name.
6127 2017-09-08 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6130 (F_GET_RW_HINT): New macro.
6131 [__USE_GNU] (F_SET_RW_HINT): Likewise.
6132 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
6133 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
6134 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
6135 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
6136 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
6137 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
6138 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
6139 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
6141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6142 (F_ADD_SEALS): New macro.
6143 [__USE_GNU] (F_GET_SEALS): Likewise.
6144 [__USE_GNU] (F_SEAL_SEAL): Likewise.
6145 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
6146 [__USE_GNU] (F_SEAL_GROW): Likewise.
6147 [__USE_GNU] (F_SEAL_WRITE): Likewise.
6149 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6151 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
6152 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
6153 * posix/glob_internal.h (__glob_pattern_type):
6154 * posix/glob.c (glob):
6155 * posix/glob_pattern_p.c (__glob_pattern_p):
6158 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
6159 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6160 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
6161 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
6162 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
6165 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
6166 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6168 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6169 * sysdeps/wordsize-64/glob.c: Likewise.
6170 * sysdeps/wordsize-64/glob64.c: Likewise.
6171 * sysdeps/wordsize-64/globfree.c: Likewise.
6172 * sysdeps/wordsize-64/globfree64.c: Likewise.
6173 * sysdeps/unix/sysv/linux/glob.c: New file.
6174 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
6175 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
6176 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
6177 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
6178 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
6179 adds !GLOB_NO_OLD_VERSION as an extra condition.
6180 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
6181 using relative path instead of absolute one.
6182 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
6183 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6184 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6185 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
6186 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
6187 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
6190 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
6191 (glob): Use the same scratch buffer for both getlogin_r and
6192 getpwnam_r. Don’t require preallocation of the login name. This
6193 simplifies storage allocation, and corrects the handling of
6197 * posix/glob.c (glob): Port recent patches to platforms
6199 (glob): Fix longstanding misuse of errno after getpwnam_r, which
6200 returns an error number rather than setting errno.
6202 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
6203 instead of GCC extension.
6204 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
6205 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
6206 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
6210 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
6211 * posix/bug-glob1.c: Remove file.
6212 * posix/tst-glob_symlinks.c: New file.
6213 * posix/glob.c (__lstat64): New macro.
6214 (is_dir): New function.
6215 (glob, glob_in_dir): Match symlinks even if they are dangling.
6216 (link_stat, link_exists_p): Remove. All uses removed.
6220 * posix/glob.c (struct readdir_result): Remove skip_entry member.
6221 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
6226 * posix/Makefile (routines): Add globfree, globfree64, and
6228 * posix/flexmember.h: New file.
6229 * posix/glob_internal.h: Likewise.
6230 * posix/glob_pattern_p.c: Likewise.
6231 * posix/globfree.c: Likewise.
6232 * posix/globfree64.c: Likewise.
6233 * sysdeps/gnu/globfree64.c: Likewise.
6234 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
6235 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6236 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
6237 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6238 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6239 * sysdeps/wordsize-64/globfree.c: Likewise.
6240 * sysdeps/wordsize-64/globfree64.c: Likewise.
6241 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
6242 [NDEBUG): Remove comments.
6243 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
6244 (dirent_type): New type. Use uint_fast8_t not
6245 uint8_t, as C99 does not require uint8_t.
6246 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
6247 (struct readdir_result): Use dirent_type. Do not define skip_entry
6248 unless it is needed; this saves a byte on platforms lacking d_ino.
6249 (readdir_result_type, readdir_result_skip_entry):
6250 New functions, replacing ...
6251 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6252 these functions, which were removed. This makes the callers
6253 easier to read. All callers changed.
6254 (D_INO_TO_RESULT): Now empty if there is no d_ino.
6255 (size_add_wrapv, glob_use_alloca): New static functions.
6256 (glob, glob_in_dir): Check for size_t overflow in several places,
6257 and fix some size_t checks that were not quite right.
6258 Remove old code using SHELL since Bash no longer
6260 (glob, prefix_array): Separate MS code better.
6261 (glob_in_dir): Remove old Amiga and VMS code.
6262 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
6264 (glob_in_dir): Do not rely on undefined behavior in accessing
6265 struct members beyond their bounds. Use a flexible array member
6267 (link_stat): Rename from link_exists2_p and return -1/0 instead of
6268 0/1. Caller changed.
6269 (glob): Fix memory leaks.
6270 * posix/glob64 (globfree64): Move to separate file.
6271 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
6272 (globfree64): Remove hidden alias.
6273 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
6275 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
6277 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
6279 Move compat code to separate file.
6280 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
6283 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
6285 * resolv/tst-resolv-qtypes.c (domain): Changed to
6286 "const char domain[] =".
6288 2017-09-07 Joseph Myers <joseph@codesourcery.com>
6290 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6293 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
6294 (TCP_MD5SIG_EXT): Likewise.
6295 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
6296 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
6297 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
6299 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
6301 2017-09-07 Mike FABIAN <mfabian@redhat.com>
6303 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
6305 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
6308 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
6310 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6312 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
6313 before assuming that the file is empty. Avoid testing buffer content
6316 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6319 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6321 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
6323 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
6325 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
6327 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6329 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
6331 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
6334 2017-09-06 Florian Weimer <fweimer@redhat.com>
6336 * malloc/dynarray_emplace_enlarge.c
6337 (__libc_dynarray_emplace_enlarge): Add missing else.
6339 2017-09-06 Florian Weimer <fweimer@redhat.com>
6342 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
6343 case of failure to obtain the global conf object.
6345 2017-09-06 Florian Weimer <fweimer@redhat.com>
6348 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
6349 dynarray allocation failure.
6351 2017-09-06 Florian Weimer <fweimer@redhat.com>
6353 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
6354 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
6355 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
6357 (response): Call them. Add 'p', '6' flag processing.
6358 (test_reverse): New function.
6359 (test_get2_any): Call it.
6360 (test_no_inet6): Add 'p' test.
6361 (test_inet6): Likewise.
6363 2017-09-06 Florian Weimer <fweimer@redhat.com>
6365 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
6366 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
6368 (test_gai): Adjust query names. Add additional tests.
6369 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
6370 test_get2. Adjust query names. Add additional tests.
6371 (test_no_inet6): New function, extracted from threadfunc.
6372 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
6373 Add additional tests.
6375 2017-09-06 Mike FABIAN <mfabian@redhat.com>
6378 * localedata/unicode-gen/utf8_gen.py: Set the width for
6379 characters with Prepended_Concatenation_Mark property to 1
6380 * localedata/charmaps/UTF-8: Updated using the improved script.
6382 2017-09-06 Mike FABIAN <mfabian@redhat.com>
6385 * localedata/unicode-gen/utf8_gen.py: Improve the script to
6386 use the range notation for all ranges of neighbouring characters
6387 with the same width.
6389 2017-09-05 Joseph Myers <joseph@codesourcery.com>
6391 * sysdeps/generic/math-type-macros-double.h: Include
6392 <math-svid-compat.h>.
6393 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6394 * sysdeps/generic/math-type-macros-float.h: Include
6395 <math-svid-compat.h>.
6396 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6397 * sysdeps/generic/math-type-macros-ldouble.h: Include
6398 <math-svid-compat.h>.
6399 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6400 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
6402 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
6403 * math/w_acosf_compat.c: Likewise.
6404 * math/w_acosh_compat.c: Likewise.
6405 * math/w_acoshf_compat.c: Likewise.
6406 * math/w_acoshl_compat.c: Likewise.
6407 * math/w_acosl_compat.c: Likewise.
6408 * math/w_asin_compat.c: Likewise.
6409 * math/w_asinf_compat.c: Likewise.
6410 * math/w_asinl_compat.c: Likewise.
6411 * math/w_atan2_compat.c: Likewise.
6412 * math/w_atan2f_compat.c: Likewise.
6413 * math/w_atan2l_compat.c: Likewise.
6414 * math/w_atanh_compat.c: Likewise.
6415 * math/w_atanhf_compat.c: Likewise.
6416 * math/w_atanhl_compat.c: Likewise.
6417 * math/w_cosh_compat.c: Likewise.
6418 * math/w_coshf_compat.c: Likewise.
6419 * math/w_coshl_compat.c: Likewise.
6420 * math/w_exp10_compat.c: Likewise.
6421 * math/w_exp10f_compat.c: Likewise.
6422 * math/w_exp10l_compat.c: Likewise.
6423 * math/w_exp2_compat.c: Likewise.
6424 * math/w_exp2f_compat.c: Likewise.
6425 * math/w_exp2l_compat.c: Likewise.
6426 * math/w_fmod_compat.c: Likewise.
6427 * math/w_fmodf_compat.c: Likewise.
6428 * math/w_fmodl_compat.c: Likewise.
6429 * math/w_hypot_compat.c: Likewise.
6430 * math/w_hypotf_compat.c: Likewise.
6431 * math/w_hypotl_compat.c: Likewise.
6432 * math/w_j0_compat.c: Likewise.
6433 * math/w_j0f_compat.c: Likewise.
6434 * math/w_j0l_compat.c: Likewise.
6435 * math/w_j1_compat.c: Likewise.
6436 * math/w_j1f_compat.c: Likewise.
6437 * math/w_j1l_compat.c: Likewise.
6438 * math/w_jn_compat.c: Likewise.
6439 * math/w_jnf_compat.c: Likewise.
6440 * math/w_jnl_compat.c: Likewise.
6441 * math/w_lgamma_r_compat.c: Likewise.
6442 * math/w_lgammaf_r_compat.c: Likewise.
6443 * math/w_lgammal_r_compat.c: Likewise.
6444 * math/w_log10_compat.c: Likewise.
6445 * math/w_log10f_compat.c: Likewise.
6446 * math/w_log10l_compat.c: Likewise.
6447 * math/w_log2_compat.c: Likewise.
6448 * math/w_log2f_compat.c: Likewise.
6449 * math/w_log2l_compat.c: Likewise.
6450 * math/w_log_compat.c: Likewise.
6451 * math/w_logf_compat.c: Likewise.
6452 * math/w_logl_compat.c: Likewise.
6453 * math/w_pow_compat.c: Likewise.
6454 * math/w_powf_compat.c: Likewise.
6455 * math/w_powl_compat.c: Likewise.
6456 * math/w_remainder_compat.c: Likewise.
6457 * math/w_remainderf_compat.c: Likewise.
6458 * math/w_remainderl_compat.c: Likewise.
6459 * math/w_sinh_compat.c: Likewise.
6460 * math/w_sinhf_compat.c: Likewise.
6461 * math/w_sinhl_compat.c: Likewise.
6462 * math/w_sqrt_compat.c: Likewise.
6463 * math/w_sqrtf_compat.c: Likewise.
6464 * math/w_sqrtl_compat.c: Likewise.
6465 * math/w_tgamma_compat.c: Likewise.
6466 * math/w_tgammaf_compat.c: Likewise.
6467 * math/w_tgammal_compat.c: Likewise.
6468 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
6470 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
6471 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
6473 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
6474 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
6476 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
6477 * sysdeps/i386/fpu/w_sqrt.c: New file.
6478 * sysdeps/ia64/fpu/w_acos.c: Likewise.
6479 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6480 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6481 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6482 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6483 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6484 * sysdeps/ia64/fpu/w_asin.c: Likewise.
6485 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6486 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6487 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6488 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6489 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6490 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6491 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6492 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6493 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6494 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6495 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6496 * sysdeps/ia64/fpu/w_exp.c: Likewise.
6497 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6498 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6499 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6500 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6501 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6502 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6503 * sysdeps/ia64/fpu/w_expf.c: Likewise.
6504 * sysdeps/ia64/fpu/w_expl.c: Likewise.
6505 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6506 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6507 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6508 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6509 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6510 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6511 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6512 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6513 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6514 * sysdeps/ia64/fpu/w_log.c: Likewise.
6515 * sysdeps/ia64/fpu/w_log10.c: Likewise.
6516 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6517 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6518 * sysdeps/ia64/fpu/w_log2.c: Likewise.
6519 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6520 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6521 * sysdeps/ia64/fpu/w_logf.c: Likewise.
6522 * sysdeps/ia64/fpu/w_logl.c: Likewise.
6523 * sysdeps/ia64/fpu/w_pow.c: Likewise.
6524 * sysdeps/ia64/fpu/w_powf.c: Likewise.
6525 * sysdeps/ia64/fpu/w_powl.c: Likewise.
6526 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6527 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6528 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6529 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6530 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6531 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6532 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6533 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6534 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6535 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
6536 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
6537 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
6540 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6541 * sysdeps/ieee754/k_standard.c: Likewise.
6542 * sysdeps/ieee754/k_standardf.c: Likewise.
6543 * sysdeps/ieee754/k_standardl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6546 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6547 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
6548 long_double_symbol call on [LIBM_SVID_COMPAT].
6549 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6550 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6551 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6552 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6553 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6554 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6555 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6556 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6557 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6558 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6559 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6560 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6561 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6562 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6563 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6564 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6565 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6566 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6567 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6568 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6569 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
6570 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
6572 2017-09-05 Steve Ellcey <sellcey@cavium.com>
6574 * include/shlib-compat.h (TEST_COMPAT): New Macro.
6575 * malloc/tst-mallocstate.c: Convert from test-skeleton
6576 to test-driver. Ifdef code using TEST_COMPAT macro.
6577 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
6578 * math/test-matherr.c: Likewise.
6580 2017-09-05 Joseph Myers <joseph@codesourcery.com>
6583 * debug/pcprofiledump.c (main): Use byte-swapped mask when
6584 comparing word with byte-swapped constant.
6586 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
6589 * locale/iso-639.def: add Miskito.
6590 * localedata/SUPPORTED: Add miq_NI/UTF-8.
6591 * localedata/locales/miq_NI: New file.
6593 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
6596 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
6597 (__mkdir): Likewise.
6598 * io/chmod.c (__chmod): Add libc_hidden_def.
6599 * io/mkdir.c (__mkdir): Likewise.
6600 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6601 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6602 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
6603 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
6605 2017-09-04 Joseph Myers <joseph@codesourcery.com>
6607 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6611 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
6612 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
6614 2017-09-04 Florian Weimer <fweimer@redhat.com>
6616 * math/math.h: Issue warning if log is defined.
6618 2017-09-04 Joseph Myers <joseph@codesourcery.com>
6620 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6621 kernel version to 4.13.
6623 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6625 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
6626 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
6628 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
6629 just <bits/types.h>.
6630 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
6631 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
6632 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
6633 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
6634 * misc/preadv2.c: Include <errno.h>.
6635 * misc/preadv64v2.c: Include <errno.h>.
6636 * misc/pwritev2.c: Include <errno.h>.
6637 * misc/pwritev64v2.c: Include <errno.h>.
6638 * sysdeps/posix/preadv2.c: Include <errno.h>.
6639 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
6640 Fix <unistd.h> inclusion.
6641 * sysdeps/posix/pwritev2.c: Include <errno.h>.
6642 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
6643 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
6644 __strtoul_internal): New functions.
6645 * sysdeps/posix/pause.c: Include <sigsetops.h>.
6646 * sysdeps/posix/system.c: Include <sigsetops.h>.
6647 * sysdeps/mach/hurd/i386/Makefile
6648 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6649 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6650 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6651 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
6652 __feraiseexcept_renamed to feraiseexcept instead of
6654 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
6655 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
6656 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
6657 RWF_NOWAIT): Define to 0 if undefined already.
6658 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
6660 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
6661 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
6663 2017-09-01 Joseph Myers <joseph@codesourcery.com>
6665 * manual/math.texi (pow10): Do not document.
6668 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
6669 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
6670 * math/libm-test-exp10.inc (pow10_test): Remove.
6671 (do_test): Do not call pow10.
6672 * math/w_exp10_compat.c (pow10): Make into compat symbol.
6673 [NO_LONG_DOUBLE] (pow10l): Likewise.
6674 * math/w_exp10f_compat.c (pow10f): Likewise.
6675 * math/w_exp10l_compat.c (pow10l): Likewise.
6676 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
6677 (pow10): Make into compat symbol.
6678 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
6679 (pow10f): Make into compat symbol.
6680 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
6681 (pow10l): Make into compat symbol.
6682 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
6684 (CFLAGS-nldbl-pow10.c): Remove variable..
6685 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
6686 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
6687 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
6688 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
6689 Undefine and redefine.
6690 (pow10l): Make into compat symbol.
6691 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
6692 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6693 * sysdeps/arm/libm-test-ulps: Likewise.
6694 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
6695 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6696 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6697 * sysdeps/microblaze/libm-test-ulps: Likewise.
6698 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6699 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6700 * sysdeps/nios2/libm-test-ulps: Likewise.
6701 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6702 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6703 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6704 * sysdeps/sh/libm-test-ulps: Likewise.
6705 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6706 * sysdeps/tile/libm-test-ulps: Likewise.
6707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6709 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6711 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
6713 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6715 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
6716 "../ChangeLog.old/ChangeLog.8".
6717 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
6718 "../ChangeLog.old/ChangeLog.14".
6720 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6722 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
6725 2017-09-01 Joseph Myers <joseph@codesourcery.com>
6727 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
6729 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6731 * csu/version.c (banner): Remove "by Roland McGrath et al.".
6732 * nptl/Banner: Remove "by Ulrich Drepper et al.".
6734 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6736 * stdlib/tst-atexit-common.c (do_test): Test support for at least
6739 2017-09-01 Zack Weinberg <zackw@panix.com>
6741 * math/math.h (HUGE_VAL): Improve commentary.
6743 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6744 Andreas Schwab <schwab@suse.de>
6747 * include/stdio.h (__gen_tempfd): New function.
6748 * stdio-common/Makefile (routines): Add gentempfd.
6749 * stdio-common/gentempfd.c: New file.
6750 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
6751 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
6754 2017-09-01 Florian Weimer <fweimer@redhat.com>
6758 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
6759 result to determine success or failure, not the errno value.
6760 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
6761 (tst-nss-files-hosts-erange): Link with -ldl.
6762 * nss/tst-nss-files-hosts-erange.c: New file.
6763 * nss/tst-resolv-basic.c (response): Handle nodata.example.
6764 (do_test): Add NO_DATA tests.
6765 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
6768 2017-09-01 Florian Weimer <fweimer@redhat.com>
6771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
6772 coming from gethostbyname2_r.
6774 2017-09-01 Florian Weimer <fweimer@redhat.com>
6776 * support/namespace.h (struct support_chroot_configuration): Add
6778 (struct support_chroot): Add path_hosts, path_host_conf.
6779 * support/support_chroot.c (write_file): New function.
6780 (support_chroot_create): Call it to process /etc/resolv.conf,
6781 /etc/hosts, /etc/host.conf.
6782 (support_chroot_free): Update.
6784 2017-09-01 Florian Weimer <fweimer@redhat.com>
6786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
6787 status indicates it is set.
6789 2017-09-01 Florian Weimer <fweimer@redhat.com>
6791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
6792 function lookup failures more reliable.
6794 2017-09-01 Florian Weimer <fweimer@redhat.com>
6796 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
6797 (getcanonname): Likewise.
6798 (gaih_inet): Likewise.
6800 2017-09-01 Florian Weimer <fweimer@redhat.com>
6802 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
6803 (getcanonname): Likewise.
6804 (gaih_inet): Likewise.
6806 2017-08-31 Steve Ellcey <sellcey@cavium.com>
6807 Richard Henderson <rth@twiddle.net>
6809 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
6810 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
6811 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
6812 (IREG_SIZE, OREG_SIZE): New macros.
6813 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
6814 (IREG_SIZE, OREG_SIZE): New macros.
6815 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
6816 (IREG_SIZE): New macro.
6817 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
6818 (IREG_SIZE): New macro.
6819 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
6821 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
6822 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
6823 (__CONCATX): Handle exceptions correctly on large values that may
6825 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
6826 Initialize if not already set.
6827 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
6829 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6831 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
6832 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
6834 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
6836 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
6838 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
6840 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
6842 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
6844 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
6846 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
6847 (NO_CANCELLATION): Likewise.
6848 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
6850 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
6852 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
6854 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
6855 (NO_CANCELLATION): Likewise.
6856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
6857 (NO_CANCELLATION): Likewise.
6858 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
6860 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
6862 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
6864 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
6866 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
6868 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
6869 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
6871 2017-08-31 Steve Ellcey <sellcey@cavium.com>
6873 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
6876 2017-08-31 Florian Weimer <fweimer@redhat.com>
6878 * include/libc-symbols.h (internal_function): Remove.
6880 2017-08-31 Florian Weimer <fweimer@redhat.com>
6882 * stdlib/fmtmsg.c (internal_addseverity): Remove
6885 2017-08-31 Florian Weimer <fweimer@redhat.com>
6887 * stdio-common/printf_fp.c (group_number): Remove
6889 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6891 2017-08-31 Florian Weimer <fweimer@redhat.com>
6893 * posix/fnmatch.c (internal_function): Remove definition.
6894 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
6895 * posix/regcomp.c (peek_token, init_word_char)
6896 (duplicate_node_closure, fetch_token, peek_token)
6897 (peek_token_bracket, build_range_exp, build_collating_symbol):
6899 * posix/regex_internal.c (re_string_construct_common)
6900 (create_ci_newstate, create_cd_newstate, re_string_allocate)
6901 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
6902 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
6903 (re_string_translate_buffer, re_string_reconstruct)
6904 (re_string_peek_byte_case, re_string_fetch_byte_case)
6905 (re_string_destruct, re_string_context_at, re_node_set_alloc)
6906 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
6907 (re_node_set_add_intersect, re_node_set_init_union)
6908 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
6909 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
6910 (re_dfa_add_node, calc_state_hash, re_acquire_state)
6911 (re_acquire_state_context): Likewise.
6912 * posix/regex_internal.h (internal_function): Remove definition.
6913 (re_string_realloc_buffers, build_wcs_buffer)
6914 (build_wcs_upper_buffer, build_upper_buffer)
6915 (re_string_translate_buffer, re_string_context_at)
6916 (re_string_char_size_at, re_string_wchar_at)
6917 (re_string_elem_size_at): Likewise.
6918 * posix/regexec.c (match_ctx_init, match_ctx_clean)
6919 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
6920 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
6921 (re_search_internal, re_search_2_stub, re_search_stub)
6922 (re_copy_regs, prune_impossible_nodes, check_matching)
6923 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
6924 (free_fail_stack_return, sift_states_iter_mb)
6925 (sift_states_backward, build_sifted_states)
6926 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
6927 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
6928 (check_subexp_limits, sift_states_bkref, merge_state_array)
6929 (find_recover_state, transit_state, merge_state_with_log)
6930 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
6931 (transit_state_mb, transit_state_bkref, get_subexp)
6932 (get_subexp_sub, find_subexp_node, check_arrival)
6933 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
6934 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
6935 (check_node_accept_bytes, find_collation_sequence_value)
6936 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
6937 (acquire_init_state_context, check_halt_node_context)
6938 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
6939 (sub_epsilon_src_nodes): Likewise.
6940 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
6941 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
6942 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
6943 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
6944 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
6945 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
6946 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
6947 * sysdeps/posix/ttyname.c (getttyname): Likewise.
6948 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6949 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
6951 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
6953 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
6954 (PWRITEV): Likewise.
6955 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
6956 (PWRITEV): Likewise.
6957 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
6958 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
6960 2017-08-31 Florian Weimer <fweimer@redhat.com>
6962 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
6963 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
6964 Remove internal_function.
6965 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6966 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
6967 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
6968 (__deallocate_stack, __libc_pthread_init)
6969 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
6970 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
6971 (__libc_disable_asynccancel, __librt_disable_asynccancel):
6973 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
6974 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
6975 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
6977 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
6978 (__pthread_mutex_unlock_usercnt): Likewise.
6980 2017-08-31 Florian Weimer <fweimer@redhat.com>
6982 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
6983 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
6984 (fts_safe_changedir): Remove internal_function.
6985 * io/ftw.c (internal_function): Remove definition.
6986 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
6988 2017-08-31 Florian Weimer <fweimer@redhat.com>
6990 * inet/deadline.c (__deadline_current_time)
6991 (__deadline_from_timeval, __deadline_to_ms): Remove
6993 * inet/getnameinfo.c (nrl_domainname): Likewise.
6994 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6995 * inet/inet6_option.c (add_pad): Likewise.
6996 * inet/net-internal.h (__deadline_current_time)
6997 (__deadline_from_timeval, __deadline_to_ms): Likewise.
6998 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
6999 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
7000 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
7002 2017-08-31 Joseph Myers <joseph@codesourcery.com>
7004 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
7005 include <bits/nan.h>.
7006 * math/Makefile (headers): Remove bits/nan.h.
7007 * bits/nan.h: Remove.
7008 * sysdeps/ieee754/bits/nan.h: Likewise.
7009 * sysdeps/mips/bits/nan.h: Likewise.
7011 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
7012 not include <bits/inf.h>.
7013 * math/Makefile (headers): Remove bits/inf.h.
7014 * bits/inf.h: Remove.
7015 * sysdeps/ieee754/bits/inf.h: Likewise.
7017 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
7018 bits/huge_vall.h or bits/huge_val_flt128.h.
7019 (HUGE_VAL): Define directly here.
7020 [__USE_ISOC99] (HUGE_VALF): Likewise.
7021 [__USE_ISOC99] (HUGE_VALL): Likewise.
7022 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7023 (HUGE_VAL_F128): Likewise.
7024 * math/Makefile (headers): Remove bits/huge_val.h,
7025 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
7026 * bits/huge_val.h: Remove.
7027 * bits/huge_val_flt128.h: Likewise.
7028 * bits/huge_valf.h: Likewise.
7029 * bits/huge_vall.h: Likewise.
7030 * sysdeps/ia64/bits/huge_vall.h: Likewise.
7031 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7032 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
7033 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
7034 * sysdeps/sh/bits/huge_val.h: Likewise.
7035 * sysdeps/sparc/bits/huge_vall.h: Likewise.
7036 * sysdeps/x86/bits/huge_vall.h: Likewise.
7038 2017-08-31 Florian Weimer <fweimer@redhat.com>
7040 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
7042 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
7044 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
7045 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7046 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
7047 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
7048 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7049 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7050 * elf/dl-libc.c (dlerror_run): Likewise.
7051 * elf/dl-load.c (add_name_to_object, decompose_rpath)
7052 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
7053 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
7054 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
7056 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
7057 (_dl_higher_prime_number, _dl_strtoul): Likewise.
7058 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
7059 * elf/dl-profile.c (_dl_start_profile): Likewise.
7060 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
7061 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
7063 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
7064 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
7065 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
7066 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
7067 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
7068 (_dl_allocate_tls_storage): Likewise.
7069 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
7070 (_dl_check_all_versions): Likewise.
7071 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7072 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
7073 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
7074 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7075 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
7076 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
7077 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
7078 internal_function from __dl_start.
7079 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
7080 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7081 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
7082 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
7083 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
7084 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
7085 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
7086 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
7087 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
7088 (_dl_next_ld_env_entry, _dl_important_hwcaps)
7089 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
7090 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
7091 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
7092 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
7093 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
7095 (struct rtld_global_ro): Remove internal_function from the
7096 _dl_lookup_symbol_x member.
7097 (_dl_symbol_value): Remove. No longer defined anywhere.
7098 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
7100 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7101 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7102 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
7103 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
7104 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
7105 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
7106 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
7107 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
7108 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
7109 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7110 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7111 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7113 2017-08-31 Florian Weimer <fweimer@redhat.com>
7115 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
7116 Remove internal_function.
7117 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7119 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7122 2017-08-31 Florian Weimer <fweimer@redhat.com>
7124 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
7125 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
7126 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
7128 2017-08-31 Florian Weimer <fweimer@redhat.com>
7130 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
7131 (__gai_enqueue_request): Remove internal_function.
7132 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
7133 (__gai_remove_request, __gai_notify, __gai_notify_only)
7134 (__gai_sigqueue): Likewise.
7135 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
7136 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7137 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
7138 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7141 2017-08-31 Florian Weimer <fweimer@redhat.com>
7143 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
7144 * include/dirent.h (__opendirat, __getdents, __getdents64)
7145 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
7146 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
7147 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7148 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7150 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
7152 2017-08-31 Florian Weimer <fweimer@redhat.com>
7154 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
7156 (GETCWD_RETURN_TYPE): Likewise.
7158 2017-08-31 Florian Weimer <fweimer@redhat.com>
7160 * include/time.h (__tz_compute, __strptime_internal): Remove
7162 * time/strptime_l.c (__strptime_internal): Likewise.
7163 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
7165 2017-08-31 Florian Weimer <fweimer@redhat.com>
7167 * iconv/gconv.c (__gconv): Remove internal_function.
7168 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
7169 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
7170 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
7171 (__gconv_release_cache): Likewise.
7172 * iconv/gconv_close.c (__gconv_close): Likewise.
7173 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
7174 (read_conf_file, __gconv_get_path): Likewise.
7175 * iconv/gconv_db.c (derivation_lookup, add_derivation)
7176 (__gconv_release_step, gen_steps, increment_counter)
7177 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
7178 (__gconv_close_transform, free_modules_db): Likewise.
7179 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
7181 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
7182 (__gconv_find_transform, __gconv_lookup_cache)
7183 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
7184 (__gconv_close_transform, __gconv_release_cache)
7185 (__gconv_loaded_object, __gconv_release_shlib)
7186 (__gconv_compare_alias): Likewise.
7187 * iconv/gconv_open.c (__gconv_open): Likewise.
7188 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
7189 * iconv/iconvconfig.c (add_module): Likewise.
7190 * intl/dcigettext.c (plural_lookup, guess_category_value)
7191 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
7192 * intl/eval-plural.h (plural_eval): Likewise.
7193 * intl/finddomain.c (_nl_find_domain): Likewise.
7194 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
7195 (_nl_load_domain, _nl_find_msg): Likewise.
7196 (internal_function): Remove definition.
7197 * intl/loadinfo.h (internal_function): Likewise.
7198 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
7200 * intl/localealias.c (internal_function): Remove definition.
7201 (read_alias_file): Remove internal_function.
7202 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
7203 * intl/plural-exp.h (internal_function): Remove definition.
7204 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
7206 * intl/plural.c: Regenerate.
7207 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
7208 * locale/coll-lookup.c (__collidx_table_lookup)
7209 (__collseq_table_lookup): Likewise.
7210 * locale/coll-lookup.h (__collidx_table_lookup)
7211 (__collseq_table_lookup): Likewise.
7212 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
7213 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7214 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
7215 (_nl_unload_locale): Likewise.
7216 * locale/localeinfo.h (struct __locale_data): Remove
7217 internal_function from cleanup member.
7218 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
7219 (_nl_remove_locale, _nl_load_locale_from_archive)
7220 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
7221 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
7222 (_nl_cleanup_time): Remove internal_function.
7223 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
7224 (_nl_parse_alt_digit): Likewise.
7225 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
7226 (_nl_select_era_entry): Likewise.
7227 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
7228 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7229 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7230 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7231 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7233 2017-08-31 Florian Weimer <fweimer@redhat.com>
7235 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
7236 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
7237 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
7238 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
7240 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
7241 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
7242 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
7243 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7245 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
7247 2017-08-31 Florian Weimer <fweimer@redhat.com>
7249 * misc/getttyent.c (skip, value): Remove internal_function.
7250 * misc/syslog.c (openlog_internal): Likewise.
7251 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
7253 2017-08-31 Florian Weimer <fweimer@redhat.com>
7255 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
7256 (__nss_rewrite_field): Remove internal_function.
7257 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7258 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7259 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7260 * nss/nsswitch.c (nss_parse_file, nss_getline)
7261 (nss_parse_service_list, nss_new_service): Likewise.
7262 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
7263 * nss/valid_field.c (__nss_valid_field): Likewise.
7264 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7266 2017-08-31 Florian Weimer <fweimer@redhat.com>
7268 * malloc/arena.c (__malloc_fork_lock_parent)
7269 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
7270 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
7271 internal_function from defintions.
7272 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
7273 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
7274 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
7275 internal_function from declarations.
7276 * malloc/malloc.c (internal_function): Do not define.
7277 (mem2mem_check): Remove internal_function from declaration.
7278 (munmap_chunk, mremap_chunk): Remove internal_function.
7279 * malloc/mtrace.c (tr_where): Likewise.
7281 2017-08-31 Florian Weimer <fweimer@redhat.com>
7283 * include/rpc/pmap_clnt.h (__get_socket): Remove
7285 * sunrpc/auth_des.c (synchronize): Likewise.
7286 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
7287 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
7288 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
7289 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
7290 (key_call): Likewise.
7291 * sunrpc/pm_getport.c (__get_socket): Likewise.
7292 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
7293 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
7294 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
7295 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
7296 (invalidate): Likewise.
7297 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
7298 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
7299 (set_input_fragment, get_input_bytes): Likewise.
7301 2017-08-31 Florian Weimer <fweimer@redhat.com>
7303 * malloc/malloc.c (_int_free): Remove locked variable and related
7306 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
7309 * Makerules (build-module-helper-objlist): Filter out
7310 $(elf-objpfx)sofini.os.
7311 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
7314 2017-08-31 Florian Weimer <fweimer@redhat.com>
7316 * libio/fcloseall.c: Assume weak_alias is defined.
7317 * libio/feof.c: Likewise.
7318 * libio/fileno.c: Likewise.
7319 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
7320 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7322 (_IO_file_open): Call __open directly.
7323 (_IO_new_file_sync): Assume ESPIPE is defined.
7324 (_IO_file_seekoff_maybe_mmap): Call __read directly.
7325 (_IO_new_file_write): Call __write directly.
7326 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
7327 * libio/ftello64.c (__ftello64): Assume EIO is defined.
7328 * libio/genops.c: Assume _LIBC is defined.
7329 (save_for_backup): Remove internal_function.
7330 * libio/getc.c: Assume weak_alias is defined.
7331 * libio/getwc.c: Likewise.
7332 * libio/iofclose.c: Assume _LIBC is defined.
7333 * libio/iofdopen.c: Likewise.
7334 (_IO_fcntl): Remove macro definition.
7335 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
7336 Call __fcntl directly.
7337 * libio/iofflush.c: Assume weak_alias is defined.
7338 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
7340 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
7341 * libio/iofgets.c: Likewise.
7342 * libio/iofopen.c: Assume _LIBC is defined.
7343 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
7344 * libio/iofputs.c: Assume weak_alias is defined.
7345 * libio/iofread.c: Likewise.
7346 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
7347 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7348 * libio/ioftell.c: Assume weak_alias is defined.
7349 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
7350 * libio/iofwide.c: Assume _LIBC is defined.
7351 (_IO_fwide): Drop SHARED conditional because it is implied by
7353 * libio/iofwrite.c: Assume weak_alias is defined.
7354 * libio/iogetdelim.c: Likewise.
7355 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
7356 * libio/iogetwline.c (wmemcpy): Remove macro definition.
7357 (_IO_getwline): Call __wmemcpy directly.
7358 * libio/iopopen.c: Assume _LIBC is defined.
7359 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7360 (_IO_close): Remove macro definitions.
7361 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
7363 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
7365 * libio/ioputs.c: Assume weak_alias is defined.
7366 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
7367 * libio/iosetbuffer.c: Assume weak_alias is defined.
7368 * libio/iosetvbuf.c: Likewise.
7369 * libio/ioungetc.c: Likewise.
7370 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
7371 libc_hidden_def, libc_hidden_weak, NULL are defined.
7372 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
7373 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
7375 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7377 (_IO_old_file_init_internal): Drop SHARED conditional because it
7378 is implied by SHLIB_COMPAT.
7379 (_IO_old_file_fopen): Call __open directly.
7380 (_IO_old_file_sync): Assume ESPIPE is defined.
7381 (_IO_old_file_write): Call __write directly.
7382 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
7383 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
7384 Call __fcntl directly.
7385 * libio/oldiofgetpos.c: Assume weak_alias is defined.
7386 (_IO_old_fgetpos): Assume EIO is defined.
7387 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
7388 (_IO_old_fgetpos64): Assume EIO is defined.
7389 * libio/oldiofsetpos.c: Assume weak_alias is defined.
7390 (_IO_old_fsetpos): Assume EIO is defined.
7391 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
7392 (_IO_old_fsetpos64): Assume EIO is defined.
7393 * libio/oldiopopen.c: Assume _LIBC is defined.
7394 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7395 (_IO_close): Remove macro definitions.
7396 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
7398 (_IO_old_proc_close): Call __close, __waitpid directly.
7399 * libio/put.c: Assume weak_alias is defined.
7400 * libio/stdfiles.c: Assume _LIBC is defined.
7401 * libio/stdio.c: Likewise.
7402 * libio/wfileops.c: Likewise.
7403 (_IO_wfile_sync): Assume ESPIPE is defined.
7404 * libio/wgenops.c: Assume _LIBC is defined.
7405 (save_for_wbackup): Remove internal_function.
7407 2017-08-31 Florian Weimer <fweimer@redhat.com>
7409 * malloc/malloc.c (top_check): Change return type to void. Remove
7411 * malloc/hooks.c (top_check): Likewise.
7412 (malloc_check, realloc_check, memalign_check): Adjust.
7414 2017-08-30 Joseph Myers <joseph@codesourcery.com>
7417 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7418 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
7419 sigcontext and namespace requirements.
7420 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7421 * sysdeps/m68k/sys/ucontext.h: Likewise.
7422 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
7423 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
7424 <bits/sigcontext.h>.
7425 (__ctx): Define earlier.
7426 (mcontext_t): Define structure contents rather than using struct
7428 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
7429 __glibc_reserved1 instead of __reserved.
7430 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
7431 <bits/sigcontext.h>.
7432 (__ctx): Define earlier.
7433 (mcontext_t): Define structure contents rather than using struct
7435 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
7436 mcontext_t instead of struct sigcontext.
7437 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
7438 <bits/sigcontext.h>.
7439 (__ctx): Define earlier.
7440 (mcontext_t): Define structure contents rather than using struct
7442 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
7443 <bits/sigcontext.h>.
7444 (__ctx): Define earlier.
7445 (mcontext_t): Define structure contents rather than using struct
7447 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
7448 mcontext_t instead of struct sigcontext.
7449 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
7450 mcontext_t instead of struct sigcontext.
7451 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
7452 <bits/sigcontext.h>.
7454 (struct __ia64_fpreg_mcontext): New type.
7455 (mcontext_t): Define structure contents rather than using struct
7457 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
7458 (uc_sigmask): Define using __ctx.
7459 (uc_stack): Likewise.
7460 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
7461 <bits/sigcontext.h>.
7462 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7463 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
7464 <bits/sigcontext.h>.
7465 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
7466 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
7467 <bits/sigcontext.h>.
7468 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
7469 <bits/sigcontext.h>.
7470 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
7471 <bits/sigcontext.h>.
7472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
7473 <bits/sigcontext.h>.
7474 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
7475 <bits/sigcontext.h>.
7476 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
7477 <bits/sigcontext.h>.
7478 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
7479 <bits/sigcontext.h>.
7480 (__ctx): Define earlier.
7481 (mcontext_t): Define structure contents rather than using struct
7483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
7484 <bits/sigcontext.h>. Include <bits/types.h>.
7485 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
7486 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
7487 (test-xfail-XPG42/ucontext.h/conform): Likewise.
7488 (test-xfail-UNIX98/signal.h/conform): Likewise.
7489 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7490 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7491 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7492 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7493 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7494 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7495 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7496 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7497 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7499 2017-08-30 Florian Weimer <fweimer@redhat.com>
7501 * malloc/dynarray_emplace_enlarge.c
7502 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
7503 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7504 * malloc/tst-dynarray.c (test_long_overflow): New function.
7507 2017-08-30 Florian Weimer <fweimer@redhat.com>
7509 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
7510 (set_arena_corrupt): Remove definitions.
7511 (mtrim): Do not check for corrupt arena.
7512 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
7515 2017-08-30 Florian Weimer <fweimer@redhat.com>
7518 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
7520 (ptmalloc_init): Do not set or use check_action.
7521 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
7522 call to malloc_printerr. Remove return statement.
7523 (free_check): Likewise. Remove arena unlock.
7524 (top_check): Update comment. Adjust call to malloc_printerr.
7525 Remove heap repair code.
7526 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
7527 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
7528 (sysmalloc): Adjust call to malloc_printerr.
7529 (munmap_chunk, __libc_realloc): Likewise. Remove return
7531 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
7532 Remove errout label and corresponding gotos.
7533 (_int_free): Likewise. Remove arena unlock.
7534 (do_set_mallopt_check): Do not set check_action.
7535 (malloc_printerr): Adjust parameter list. Do not mark arena as
7537 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
7539 * manual/probes.texi (Memory Allocation Probes): Remove
7540 memory_mallopt_check_action.
7542 2017-08-30 Steve Ellcey <sellcey@cavium.com>
7544 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
7545 Use pointer to uint64_t instead of long int for sp.
7547 2017-08-30 Florian Weimer <fweimer@redhat.com>
7550 * malloc/malloc.c (malloc_printerr): Always terminate the process,
7551 without printing a backtrace. Do not leak any information in the
7553 * manual/memory.texi (Heap Consistency Checking): Update.
7554 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
7556 2017-08-30 Florian Weimer <fweimer@redhat.com>
7558 Do not scale NPTL tests with available number of CPUs.
7559 * nptl/tst-cond16.c (count): Set to constant value of 8.
7560 * nptl/tst-cond18.c (count): Likewise.
7562 2017-08-29 Joseph Myers <joseph@codesourcery.com>
7565 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
7566 Define to take a second argument that is a macro that
7567 concatentates a suffix, not the suffix itself.
7568 (__CONCAT_d): New macro.
7569 (__CONCAT_f): Likewise.
7570 (__CONCAT_l): Likewise.
7572 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
7574 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
7577 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7578 Aurelien Jarno <aurelien@aurel32.net>
7579 Maciej W. Rozycki <macro@imgtec.com>
7582 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
7583 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
7584 `mips16-syscall6' and `mips16-syscall7'.
7585 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
7586 (CFLAGS-mips16-syscall7.c): Remove.
7587 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
7588 Remove `__mips16_syscall5', `__mips16_syscall6' and
7589 `__mips16_syscall7'.
7590 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
7591 (__mips16_syscall0): Rename `__mips16_syscall_return' to
7592 `__mips_syscall_return'.
7593 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
7594 (__mips16_syscall1): Likewise.
7595 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
7596 (__mips16_syscall2): Likewise.
7597 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
7598 (__mips16_syscall3): Likewise.
7599 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
7600 (__mips16_syscall4): Likewise.
7601 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
7603 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
7605 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
7607 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
7608 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
7609 `__mips16_syscall5'. Remove prototype.
7610 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
7611 `__mips16_syscall6'. Remove prototype.
7612 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
7613 `__mips16_syscall7'. Remove prototype.
7614 (__nomips16, __mips16_syscall_return): Move to...
7615 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7616 (__nomips16, __mips_syscall_return): ... here.
7617 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
7618 `__mips16_syscall_return' to `__mips_syscall_return'.
7619 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
7620 `internal_syscall##nr'.
7621 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
7622 `internal_syscall##nr'.
7623 (FORCE_FRAME_POINTER): Remove.
7624 (__mips_syscall5): New prototype.
7625 (internal_syscall5): Rewrite to call `__mips_syscall5'.
7626 (__mips_syscall6): New prototype.
7627 (internal_syscall6): Rewrite to call `__mips_syscall6'.
7628 (__mips_syscall7): New prototype.
7629 (internal_syscall7): Rewrite to call `__mips_syscall7'.
7630 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
7631 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
7632 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
7633 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
7634 (sysdep_routines): Add libc-do-syscall.
7635 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
7636 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
7638 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7641 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
7642 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
7643 (advise_stack_range): New function.
7644 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
7645 stack non required to advise_stack_range at allocatestack.c
7647 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
7649 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
7651 2017-08-29 Florian Weimer <fweimer@redhat.com>
7654 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
7655 __end_fct. Mangle __end_fct after setting it to NULL.
7656 * iconv/Makefile (tests): Add tst-gconv-init-failure.
7657 (modules-names, modules-names-tests): Add
7658 tst-gconv-init-failure-mod.
7659 (gconv-modules): New target.
7660 (tst-gconv-init-failure-mod.so): Link against libsupport.
7661 (tst-gconv-init-failure): Depend on gconv-modules,
7662 tst-gconv-init-failure-mod.so.
7663 * iconv/tst-gconv-init-failure-mod.c: New file.
7664 * iconv/tst-gconv-init-failure.c: Likewise.
7665 * iconv/test-gconv-modules: Likewise.
7667 2017-08-29 Florian Weimer <fweimer@redhat.com>
7670 * iconv/gconv_db.c (free_derivation): Remove redundant
7672 (gen_steps): Unconditionally mangle __btowc_fct after
7674 (increment_counter): Likewise. Do not call init_fct for internal
7677 2017-08-29 Joseph Myers <joseph@codesourcery.com>
7680 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7681 (_MSUF_): Remove macro.
7682 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
7684 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7685 (__REDIRFROM_X): New macro.
7686 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
7688 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
7689 (__REDIRTO_X): Likewise.
7690 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
7692 (__MATH_REDIRCALL_2): Likewise.
7693 (__MATH_REDIRCALL_INTERNAL): Likewise.
7694 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7695 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
7696 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
7697 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7698 * math/test-finite-macros.c: New file.
7699 * math/Makefile (tests): Add test-finite-macros.
7700 (CFLAGS-test-finite-macros.c): New variable.
7702 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
7703 Jeff Law <law@redhat.com>
7706 Mangle NULL pointers in iconv/gconv.
7707 * iconv/gconv_cache.c (find_module): Demangle init_fct before
7708 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
7709 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
7710 is non-NULL before demangling the end_fct. Check for NULL
7711 end_fct after demangling.
7712 (__gconv_release_step): Demangle the end_fct before checking
7713 it for NULL. Remove assert on __shlibc_handle != NULL.
7714 (gen_steps): Don't check btowc_fct for NULL before mangling.
7715 Demangle init_fct before checking for NULL.
7716 (increment_counter): Likewise.
7717 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
7718 end_fct for NULL before mangling.
7719 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
7722 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
7725 * locale/iso-639.def: add Morisyen.
7727 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7730 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
7731 (iszero): New C++ implementation that does not use
7732 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
7733 signaling nans are enabled, since __builtin_types_compatible_p
7734 is a C-only feature.
7735 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
7736 defined, include ieee754_float128.h for access to the union and
7737 member ieee854_float128.ieee.
7738 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
7739 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
7740 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
7741 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
7742 options of test-math-zero on powerpc64le.
7744 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
7746 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
7747 Change double to float.
7749 2017-08-28 Joseph Myers <joseph@codesourcery.com>
7751 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
7753 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
7754 conditional code; define contents only for [LIBM_SVID_COMPAT].
7756 2017-08-28 Florian Weimer <fweimer@redhat.com>
7758 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
7759 (abi-lp64_be-options): Remove.
7760 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
7761 (abi-hard-options): Likewise.
7762 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
7763 (abi-o32_hard-options, abi-o32_soft_2008-options)
7764 (abi-o32_hard_2008-options, abi-n32_soft-options)
7765 (abi-n32_hard-options, abi-n32_soft_2008-options)
7766 (abi-n32_hard_2008-options, abi-n64_soft-options)
7767 (abi-n64_hard-options, abi-n64_soft_2008-options)
7768 (abi-n64_hard_2008-options): Likewise.
7769 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
7770 (abi-64-v1-options, abi-64-v2-options): Likewise.
7771 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
7772 (abi-64-options): Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
7774 (abi-64-options): Likewise.
7775 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
7776 (abi-64-options): Likewise.
7777 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
7778 (abi-64-options, abi-x32-options): Likewise.
7780 2017-08-28 Florian Weimer <fweimer@redhat.com>
7782 Store supported list of SYS_* system calls in the source tree.
7783 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7784 (bits/syscall.h): Generate from list file.
7785 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
7786 [$(subdir) = misc] (tests): Add tst-syscall-list.
7787 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
7788 [$(subdir) = misc] (tst-syscall-list-macros.list)
7789 [$(subdir) = misc] (tst-syscall-list-nr.list)
7790 (tst-syscall-list-sys.list): Helper targets for new
7791 tst-syscall-list test.
7792 [$(subdir) = misc] (tst-syscall-list.out): Run test script
7793 tst-syscall-list.sh.
7794 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
7795 target. Do not include bits/syscall.d.
7796 [$(subdir) = misc] (generated): Do not update.
7797 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
7798 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
7799 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
7800 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
7802 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7804 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
7805 (tst-cxa_atexit, tst-on_exit): Likewise.
7806 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
7807 tst-cxa_atexit, and tst-on_exit.
7808 * stdlib/tst-atexit-common.c: New file.
7809 * stdlib/tst-atexit.c: New file.
7810 * stdlib/tst-at_quick_exit.c: New file.
7811 * stdlib/tst-cxa_atexit.c: New file.
7812 * stdlib/tst-on_exit.c: New file.
7814 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7816 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
7817 * mach/stack_chk_fail_local.c: New file.
7818 * hurd/stack_chk_fail_local.c: New file.
7819 * mach/Machrules ($(interface-library)-routines): Add
7820 stack_chk_fail_local.
7821 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
7822 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
7823 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
7824 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
7825 * hurd/Makefile (CFLAGS-hurdstartup.o,
7826 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
7828 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
7830 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7831 (index_cpu_*, index_arch_*): Removed.
7833 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
7835 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
7836 Use uint64_t instead of unsigned long.
7838 2017-08-25 Joseph Myers <joseph@codesourcery.com>
7840 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
7841 [__HAVE_DISTINCT_FLOAT128].
7843 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
7844 of <bits/math-finite.h>.
7845 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
7846 inclusion of <bits/math-finite.h>.
7847 * math/bits/math-finite.h (__REDIRTO_X): Do not define
7848 conditionally on [__MATH_DECLARING_LDOUBLE && defined
7849 __NO_LONG_DOUBLE_MATH].
7850 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
7851 (__MATH_REDIRCALL_2): Likewise.
7852 (__MATH_REDIRCALL_INTERNAL): Likewise.
7853 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7854 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
7855 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7869 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7870 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7871 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7872 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7874 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
7875 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
7876 w_sqrtf_compat-ppc32.
7878 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7880 * math/math.h [defined __cplusplus] (issignaling): In the long
7881 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
7882 is not defined. Call __issignaling, otherwise.
7884 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7886 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
7887 syscall definitions and replace __builtin_expect with __glibc_likely.
7888 * sysdeps/unix/syscall-template.S: Update comment about cancellable
7890 (SYSCALL_CANCELLABLE): Removedefinition
7891 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
7893 (PSEUDO_END): Likewise.
7894 [IS_IN (libpthread)] (CENABLE): Likewise.
7895 [IS_IN (libpthread)] (CDISABLE): Likewise.
7896 [IS_IN (libc)] (CENABLE): Likewise.
7897 [IS_IN (libc)] (CENABLE): Likewise.
7898 [IS_IN (librt)] (CDISABLE): Likewise.
7899 [IS_IN (librt)] (CDISABLE): Likewise.
7900 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7901 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
7903 (PSEUDO_END): Likewise.
7904 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
7905 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
7906 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
7907 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
7908 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
7909 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
7910 (CENABLE): Likewise.
7911 (CDISABLE): Likewise.
7912 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7913 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
7915 (PSEUDO_END): Likewise.
7916 [IS_IN (libpthread)] (CENABLE): Likewise.
7917 [IS_IN (libpthread)] (CDISABLE): Likewise.
7918 [IS_IN (libc)] (CENABLE): Likewise.
7919 [IS_IN (libc)] (CENABLE): Likewise.
7920 [IS_IN (librt)] (CDISABLE): Likewise.
7921 [IS_IN (librt)] (CDISABLE): Likewise.
7922 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7923 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
7925 (PSEUDO_END): Likewise.
7926 [IS_IN (libpthread)] (CENABLE): Likewise.
7927 [IS_IN (libpthread)] (CDISABLE): Likewise.
7928 [IS_IN (libc)] (CENABLE): Likewise.
7929 [IS_IN (libc)] (CENABLE): Likewise.
7930 [IS_IN (librt)] (CDISABLE): Likewise.
7931 [IS_IN (librt)] (CDISABLE): Likewise.
7932 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7933 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
7935 (PSEUDO_END): Likewise.
7936 [IS_IN (libpthread)] (CENABLE): Likewise.
7937 [IS_IN (libpthread)] (CDISABLE): Likewise.
7938 [IS_IN (libc)] (CENABLE): Likewise.
7939 [IS_IN (libc)] (CENABLE): Likewise.
7940 [IS_IN (librt)] (CDISABLE): Likewise.
7941 [IS_IN (librt)] (CDISABLE): Likewise.
7942 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7943 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
7945 (PSEUDO_END): Likewise.
7946 [IS_IN (libpthread)] (CENABLE): Likewise.
7947 [IS_IN (libpthread)] (CDISABLE): Likewise.
7948 [IS_IN (libc)] (CENABLE): Likewise.
7949 [IS_IN (libc)] (CENABLE): Likewise.
7950 [IS_IN (librt)] (CDISABLE): Likewise.
7951 [IS_IN (librt)] (CDISABLE): Likewise.
7952 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7953 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
7955 (PSEUDO_END): Likewise.
7956 [IS_IN (libpthread)] (CENABLE): Likewise.
7957 [IS_IN (libpthread)] (CDISABLE): Likewise.
7958 [IS_IN (libc)] (CENABLE): Likewise.
7959 [IS_IN (libc)] (CENABLE): Likewise.
7960 [IS_IN (librt)] (CDISABLE): Likewise.
7961 [IS_IN (librt)] (CDISABLE): Likewise.
7962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7963 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
7965 (PSEUDO_END): Likewise.
7966 [IS_IN (libpthread)] (CENABLE): Likewise.
7967 [IS_IN (libpthread)] (CDISABLE): Likewise.
7968 [IS_IN (libc)] (CENABLE): Likewise.
7969 [IS_IN (libc)] (CENABLE): Likewise.
7970 [IS_IN (librt)] (CDISABLE): Likewise.
7971 [IS_IN (librt)] (CDISABLE): Likewise.
7972 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7973 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
7975 (PSEUDO_END): Likewise.
7976 [IS_IN (libpthread)] (CENABLE): Likewise.
7977 [IS_IN (libpthread)] (CDISABLE): Likewise.
7978 [IS_IN (libc)] (CENABLE): Likewise.
7979 [IS_IN (libc)] (CENABLE): Likewise.
7980 [IS_IN (librt)] (CDISABLE): Likewise.
7981 [IS_IN (librt)] (CDISABLE): Likewise.
7982 (SINGLE_THREAD_P): Likewise.
7983 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
7985 (PSEUDO_END): Likewise.
7986 [IS_IN (libpthread)] (CENABLE): Likewise.
7987 [IS_IN (libpthread)] (CDISABLE): Likewise.
7988 [IS_IN (libc)] (CENABLE): Likewise.
7989 [IS_IN (libc)] (CENABLE): Likewise.
7990 [IS_IN (librt)] (CDISABLE): Likewise.
7991 [IS_IN (librt)] (CDISABLE): Likewise.
7992 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7993 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
7995 (PSEUDO_END): Likewise.
7996 [IS_IN (libpthread)] (CENABLE): Likewise.
7997 [IS_IN (libpthread)] (CDISABLE): Likewise.
7998 [IS_IN (libc)] (CENABLE): Likewise.
7999 [IS_IN (libc)] (CENABLE): Likewise.
8000 [IS_IN (librt)] (CDISABLE): Likewise.
8001 [IS_IN (librt)] (CDISABLE): Likewise.
8002 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8003 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
8004 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
8006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
8008 (PSEUDO_END): Likewise.
8009 [IS_IN (libpthread)] (CENABLE): Likewise.
8010 [IS_IN (libpthread)] (CDISABLE): Likewise.
8011 [IS_IN (libc)] (CENABLE): Likewise.
8012 [IS_IN (libc)] (CENABLE): Likewise.
8013 [IS_IN (librt)] (CDISABLE): Likewise.
8014 [IS_IN (librt)] (CDISABLE): Likewise.
8015 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8016 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
8018 (PSEUDO_END): Likewise.
8019 [IS_IN (libpthread)] (CENABLE): Likewise.
8020 [IS_IN (libpthread)] (CDISABLE): Likewise.
8021 [IS_IN (libc)] (CENABLE): Likewise.
8022 [IS_IN (libc)] (CENABLE): Likewise.
8023 [IS_IN (librt)] (CDISABLE): Likewise.
8024 [IS_IN (librt)] (CDISABLE): Likewise.
8025 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8026 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
8028 (PSEUDO_END): Likewise.
8029 [IS_IN (libpthread)] (CENABLE): Likewise.
8030 [IS_IN (libpthread)] (CDISABLE): Likewise.
8031 [IS_IN (libc)] (CENABLE): Likewise.
8032 [IS_IN (libc)] (CENABLE): Likewise.
8033 [IS_IN (librt)] (CDISABLE): Likewise.
8034 [IS_IN (librt)] (CDISABLE): Likewise.
8035 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
8037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8038 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
8039 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
8041 (PSEUDO_END): Likewise.
8042 [IS_IN (libpthread)] (CENABLE): Likewise.
8043 [IS_IN (libpthread)] (CDISABLE): Likewise.
8044 [IS_IN (libc)] (CENABLE): Likewise.
8045 [IS_IN (libc)] (CENABLE): Likewise.
8046 [IS_IN (librt)] (CDISABLE): Likewise.
8047 [IS_IN (librt)] (CDISABLE): Likewise.
8048 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8049 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
8051 (PSEUDO_END): Likewise.
8052 [IS_IN (libpthread)] (CENABLE): Likewise.
8053 [IS_IN (libpthread)] (CDISABLE): Likewise.
8054 [IS_IN (libc)] (CENABLE): Likewise.
8055 [IS_IN (libc)] (CENABLE): Likewise.
8056 [IS_IN (librt)] (CDISABLE): Likewise.
8057 [IS_IN (librt)] (CDISABLE): Likewise.
8058 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8060 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
8062 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
8064 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8068 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8071 * string/stratcliff.c (do_test): Declare size, nchars, inner,
8072 middle and outer with size_t instead of int. Repleace %d and
8073 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
8074 "MAX (outer, nchars - 64)" to support unsigned outer and
8075 nchars. Also exit loop when outer == 0.
8077 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8079 * include/fcntl.h (__fcntl_nocancel): Remove definition.
8080 * include/signal.h (__sigsuspend_nocancel): Likewise.
8081 * include/time.h (__nanosleep_nocancel): Likewise.
8082 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
8083 * login/utmp_file.c: Include non cancellable syscall header.
8084 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
8087 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8089 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
8090 .byte sequences with AVX512F instructions.
8091 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
8092 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8093 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8094 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
8096 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8099 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
8100 Steve Ellcey <sellcey@cavium.com>
8102 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
8103 Use PTR_REG macro in cmp instruction.
8105 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8107 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
8108 Change the return type of the ifunc resolver to match the return
8109 type of the target function.
8111 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8113 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
8114 (preadv64): Likewise.
8115 (pwrite64(: Likewise.
8116 (pwritev64): Likewise.
8118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8119 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
8120 (LOAD_ARGS_0): Likewise.
8121 (LOAD_ARGS_1): Likewise.
8122 (LOAD_ARGS_2): Likewise.
8123 (LOAD_ARGS_3): Likewise.
8124 (LOAD_ARGS_4): Likewise.
8125 (LOAD_ARGS_5): Likewise.
8126 (LOAD_ARGS_6): Likewise.
8127 (LOAD_REGS_0): Likewise.
8128 (LOAD_REGS_1): Likewise.
8129 (LOAD_REGS_2): Likewise.
8130 (LOAD_REGS_3): Likewise.
8131 (LOAD_REGS_4): Likewise.
8132 (LOAD_REGS_5): Likewise.
8133 (LOAD_REGS_6): Likewise.
8134 (ASM_ARGS_0): Likewise.
8135 (ASM_ARGS_1): Likewise.
8136 (ASM_ARGS_2): Likewise.
8137 (ASM_ARGS_3): Likewise.
8138 (ASM_ARGS_4): Likewise.
8139 (ASM_ARGS_5): Likewise.
8140 (ASM_ARGS_6): Likewise.
8141 (LOAD_ARGS_TYPES_1): Likewise.
8142 (LOAD_ARGS_TYPES_2): Likewise.
8143 (LOAD_ARGS_TYPES_3): Likewise.
8144 (LOAD_ARGS_TYPES_4): Likewise.
8145 (LOAD_ARGS_TYPES_5): Likewise.
8146 (LOAD_ARGS_TYPES_6): Likewise.
8147 (LOAD_REGS_TYPES_1): Likewise.
8148 (LOAD_REGS_TYPES_2): Likewise.
8149 (LOAD_REGS_TYPES_3): Likewise.
8150 (LOAD_REGS_TYPES_4): Likewise.
8151 (LOAD_REGS_TYPES_5): Likewise.
8152 (LOAD_REGS_TYPES_6): Likewise.
8153 (TYPEFY): New define.
8155 (internal_syscall0): Likewise.
8156 (internal_syscall1): Likewise.
8157 (internal_syscall2): Likewise.
8158 (internal_syscall3): Likewise.
8159 (internal_syscall4): Likewise.
8160 (internal_syscall5): Likewise.
8161 (internal_syscall6): Likewise.
8162 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
8163 (INTERNAL_SYSCALL_NCS): Remove define.
8164 (internal_syscall1): Add define.
8166 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8168 * math/w_remainder_compat.c: Remove duplicate inclusion of
8170 * math/w_remainderf_compat.c: Likewise.
8171 * math/w_remainderl_compat.c: Likewise.
8173 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8177 2017-08-22 Joseph Myers <joseph@codesourcery.com>
8180 * math/tgmath.h (__floating_type): Simplify definitions.
8181 (__real_integer_type): New macro.
8182 (__complex_integer_type): Likewise.
8183 (__expr_is_real): Likewise.
8184 (__tgmath_real_type_sub): Update comment to describe handling of
8186 (__tgmath_complex_type_sub): New macro.
8187 (__tgmath_complex_type): Likewise.
8188 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8189 (__TGMATH_CF128): Use __expr_is_real.
8190 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
8192 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8193 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
8194 * math/gen-tgmath-tests.py (Type.create_type): Create complex
8197 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8199 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
8201 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
8203 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
8206 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
8207 nanosleep_not_cancel with __nanosleep_nocancel.
8208 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
8209 (__nanosleep_nocancel): New macro.
8210 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
8212 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
8214 (__nanosleep_nocancel): New prototype.
8216 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
8217 pause_not_cancel with __pause_nocancel.
8218 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
8219 (__pause_nocancel): New macro.
8220 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
8222 (__pause_nocancel): New prototype.
8223 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
8225 2017-08-22 Martin Sebor <msebor@redhat.com>
8227 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
8228 to return a pointer to the same type as the target function.
8230 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8234 * include/printf.h (__printf_fphex): Add attribute_hidden.
8235 (__guess_grouping): New prototype.
8236 * stdio-common/printf_fp.c (__guess_grouping): Removed.
8237 * stdio-common/reg-printf.c (__register_printf_specifier): Add
8238 libc_hidden_proto and libc_hidden_def.
8239 * stdlib/strfmon_l.c (__guess_grouping): Removed.
8240 (__vstrfmon_l): Remove the third argument passed to
8243 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8245 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
8246 definition for issignaling that does not rely on __MATH_TG,
8247 since __MATH_TG uses __builtin_types_compatible_p, which is only
8248 available in C mode.
8249 (CFLAGS-test-math-issignaling.cc): New variable.
8250 * math/Makefile [CXX] (tests): Add test-math-issignaling.
8251 * math/test-math-issignaling.cc: New test for C++ implementation
8252 of type-generic issignaling.
8253 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8254 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
8255 options of test-math-issignaling on powerpc64le.
8257 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8259 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8261 (hidden_proto): Likewise.
8262 (hidden_tls_proto): Likewise.
8263 (__hidden_proto): Likewise.
8265 2017-08-22 Florian Weimer <fweimer@redhat.com>
8267 math: Statically link tests of internal functionality.
8268 * math/Makefile (tests): Remove atest-exp, atest-sincos,
8270 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
8271 (gmp-objs): Remove assignment.
8272 (atest-exp, atest-sincos, atest-exp2): Remove targets.
8274 2017-08-22 Joseph Myers <joseph@codesourcery.com>
8277 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
8279 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
8281 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
8284 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
8285 variable definitions above inclusion of ../Rules.
8287 2017-08-21 Joseph Myers <joseph@codesourcery.com>
8289 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
8290 case calling __builtin_unreachable.
8292 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8294 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
8296 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
8297 (__waitpid_nocancel): New macro.
8298 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
8300 (__waitpid_nocancel): Replace macro with a function.
8301 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
8304 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
8306 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
8307 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
8309 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
8310 __writev_nocancel_nostatus.
8311 (write_call_graph): Likewise.
8312 (write_bb_counts): Likewise.
8313 * resolv/herror.c (herror): Likewise.
8314 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
8316 (__writev_nocancel_nostatus): New macro.
8317 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
8319 (__writev_nocancel_nostatus): New function.
8321 2017-08-21 Joseph Myers <joseph@codesourcery.com>
8324 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8326 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8328 (hidden_proto): Likewise.
8329 (hidden_tls_proto): Likewise.
8330 (__hidden_proto): Likewise.
8333 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
8334 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
8344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8345 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8346 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8347 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8348 GLIBC_2.0 sqrtl symbol.
8350 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
8351 [__USE_MISC] (_LIB_VERSION): Likewise.
8352 [__USE_MISC] (struct exception): Likewise.
8353 [__USE_MISC] (matherr): Likewise.
8354 [__USE_MISC] (DOMAIN): Likewise.
8355 [__USE_MISC] (SING): Likewise.
8356 [__USE_MISC] (OVERFLOW): Likewise.
8357 [__USE_MISC] (UNDERFLOW): Likewise.
8358 [__USE_MISC] (TLOSS): Likewise.
8359 [__USE_MISC] (PLOSS): Likewise.
8360 [__USE_MISC] (HUGE): Likewise.
8361 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
8362 * math/math-svid-compat.h: New file.
8363 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
8365 * include/math.h [!_ISOMAC] (__matherr): Remove.
8366 * manual/arith.texi (FP Exceptions): Do not document matherr.
8367 * math/Makefile (tests): Change test-matherr to test-matherr-3.
8368 (tests-internal): New variable.
8369 (install-lib): Do not add libieee.a.
8370 (non-lib.a): Likewise.
8371 (extra-objs): Do not add libieee.a and ieee-math.o.
8372 (CPPFLAGS-s_lib_version.c): Remove variable.
8373 ($(objpfx)libieee.a): Remove rule.
8374 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
8375 * math/ieee-math.c: Remove.
8376 * math/libm-test-support.c (matherr): Remove.
8377 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
8378 and license notices. Include <math-svid-compat.h> and
8380 (matherr): Undefine as macro. Use compat_symbol_reference.
8381 (_LIB_VERSION): Likewise.
8382 * math/test-matherr-2.c: New file.
8383 * math/test-matherr-3.c: Likewise.
8384 * sysdeps/generic/math_private.h (__kernel_standard): Remove
8386 (__kernel_standard_f): Likewise.
8387 (__kernel_standard_l): Likewise.
8388 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
8389 <math_private.h>. Include <math-svid-compat.h>.
8390 (_LIB_VERSION): Undefine as macro.
8391 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
8392 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
8393 [LIBM_SVID_COMPAT], use compat_symbol.
8394 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
8395 <math_private.h>. Include <math-svid-compat.h>.
8396 (matherr): Undefine as macro.
8397 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
8399 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
8400 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
8401 compat_symbol_reference.
8402 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
8403 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
8404 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
8405 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
8406 (MATHERR_D): Remove declaration.
8407 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
8408 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
8409 [LIBM_BUILD] (pmatherrf): Likewise.
8410 [LIBM_BUILD] (pmatherr): Likewise.
8411 [LIBM_BUILD] (pmatherrl): Likewise.
8414 (OVERFLOW): Likewise.
8415 (UNDERFLOW): Likewise.
8418 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
8419 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
8421 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
8422 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
8424 * math/lgamma-compat.h: Include <math-svid-compat.h>.
8425 * math/w_acos_compat.c: Likewise.
8426 * math/w_acosf_compat.c: Likewise.
8427 * math/w_acosh_compat.c: Likewise.
8428 * math/w_acoshf_compat.c: Likewise.
8429 * math/w_acoshl_compat.c: Likewise.
8430 * math/w_acosl_compat.c: Likewise.
8431 * math/w_asin_compat.c: Likewise.
8432 * math/w_asinf_compat.c: Likewise.
8433 * math/w_asinl_compat.c: Likewise.
8434 * math/w_atan2_compat.c: Likewise.
8435 * math/w_atan2f_compat.c: Likewise.
8436 * math/w_atan2l_compat.c: Likewise.
8437 * math/w_atanh_compat.c: Likewise.
8438 * math/w_atanhf_compat.c: Likewise.
8439 * math/w_atanhl_compat.c: Likewise.
8440 * math/w_cosh_compat.c: Likewise.
8441 * math/w_coshf_compat.c: Likewise.
8442 * math/w_coshl_compat.c: Likewise.
8443 * math/w_exp10_compat.c: Likewise.
8444 * math/w_exp10f_compat.c: Likewise.
8445 * math/w_exp10l_compat.c: Likewise.
8446 * math/w_exp2_compat.c: Likewise.
8447 * math/w_exp2f_compat.c: Likewise.
8448 * math/w_exp2l_compat.c: Likewise.
8449 * math/w_fmod_compat.c: Likewise.
8450 * math/w_fmodf_compat.c: Likewise.
8451 * math/w_fmodl_compat.c: Likewise.
8452 * math/w_hypot_compat.c: Likewise.
8453 * math/w_hypotf_compat.c: Likewise.
8454 * math/w_hypotl_compat.c: Likewise.
8455 * math/w_j0_compat.c: Likewise.
8456 * math/w_j0f_compat.c: Likewise.
8457 * math/w_j0l_compat.c: Likewise.
8458 * math/w_j1_compat.c: Likewise.
8459 * math/w_j1f_compat.c: Likewise.
8460 * math/w_j1l_compat.c: Likewise.
8461 * math/w_jn_compat.c: Likewise.
8462 * math/w_jnf_compat.c: Likewise.
8463 * math/w_jnl_compat.c: Likewise.
8464 * math/w_lgamma_main.c: Likewise.
8465 * math/w_lgamma_r_compat.c: Likewise.
8466 * math/w_lgammaf_main.c: Likewise.
8467 * math/w_lgammaf_r_compat.c: Likewise.
8468 * math/w_lgammal_main.c: Likewise.
8469 * math/w_lgammal_r_compat.c: Likewise.
8470 * math/w_log10_compat.c: Likewise.
8471 * math/w_log10f_compat.c: Likewise.
8472 * math/w_log10l_compat.c: Likewise.
8473 * math/w_log2_compat.c: Likewise.
8474 * math/w_log2f_compat.c: Likewise.
8475 * math/w_log2l_compat.c: Likewise.
8476 * math/w_log_compat.c: Likewise.
8477 * math/w_logf_compat.c: Likewise.
8478 * math/w_logl_compat.c: Likewise.
8479 * math/w_pow_compat.c: Likewise.
8480 * math/w_powf_compat.c: Likewise.
8481 * math/w_powl_compat.c: Likewise.
8482 * math/w_remainder_compat.c: Likewise.
8483 * math/w_remainderf_compat.c: Likewise.
8484 * math/w_remainderl_compat.c: Likewise.
8485 * math/w_scalb_compat.c: Likewise.
8486 * math/w_scalbf_compat.c: Likewise.
8487 * math/w_scalbl_compat.c: Likewise.
8488 * math/w_sinh_compat.c: Likewise.
8489 * math/w_sinhf_compat.c: Likewise.
8490 * math/w_sinhl_compat.c: Likewise.
8491 * math/w_sqrt_compat.c: Likewise.
8492 * math/w_sqrtf_compat.c: Likewise.
8493 * math/w_sqrtl_compat.c: Likewise.
8494 * math/w_tgamma_compat.c: Likewise.
8495 * math/w_tgammaf_compat.c: Likewise.
8496 * math/w_tgammal_compat.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8498 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8499 * sysdeps/ieee754/k_standard.c: Likewise.
8500 * sysdeps/ieee754/k_standardf.c: Likewise.
8501 * sysdeps/ieee754/k_standardl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8504 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8505 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8506 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8507 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8508 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8509 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8510 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8517 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8518 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8520 2017-08-21 Florian Weimer <fweimer@redhat.com>
8523 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
8524 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
8525 Move before inclusion of ../Rules.
8527 2017-08-21 Florian Weimer <fweimer@redhat.com>
8530 * assert/assert.h (assert): Use static_cast (bool) for C++.
8531 Use the ternary operator in the warning branch for GNU C.
8532 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
8533 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
8534 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
8535 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
8536 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
8538 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8541 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8542 (__syscall_clock_gettime): Add attribute_hidden.
8543 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
8544 (__start_context): Likewise.
8546 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8548 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8550 (hidden_proto): Likewise.
8551 (hidden_tls_proto): Likewise.
8552 (__hidden_proto): Likewise.
8554 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8556 * include/libc-symbols.h (attribute_hidden): Enable hidden
8557 visibility in libc.a compiled with PIE.
8559 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8562 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
8563 Add attribute_hidden.
8565 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8568 * Makerules (all-nonlib): Add $(others-extras).
8569 * catgets/Makefile (others-extras): New.
8570 * elf/Makefile (others-extras): Likewise.
8571 * nss/Makefile (others-extras): Likewise.
8573 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8576 * csu/libc-start.c (__libc_multiple_libcs): Removed.
8577 * elf/dl-open.c: Include <libc-internal.h>.
8578 (__libc_multiple_libcs): Removed.
8579 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
8581 * include/libc-internal.h (__libc_multiple_libcs): New.
8582 * misc/sbrk.c: Include <libc-internal.h>.
8583 (__libc_multiple_libcs): Removed.
8585 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8588 * grp/initgroups.c (__nss_group_database): Removed.
8589 (__nss_initgroups_database): Likewise.
8590 * nscd/gai.c (__nss_hosts_database): Likewise.
8591 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
8592 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
8593 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
8594 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
8595 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
8596 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
8598 * nss/nsswitch.c (__nss_database_custom): Define only if
8599 USE_NSCD is defined.
8600 (__nss_configure_lookup): Use __nss_database_custom only if
8601 USE_NSCD is defined.
8602 * nss/nsswitch.h (__nss_database_custom): Declare only if
8603 USE_NSCD is defined. Add attribute_hidden.
8604 (__nss_setent): Add attribute_hidden.
8605 (__nss_endent): Likewise.
8606 (__nss_getent_r): Likewise.
8607 (__nss_getent): Likewise.
8608 (DEFINE_DATABASE): Declare __nss_##arg##_database.
8610 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8613 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
8614 libc_hidden_proto and libc_hidden_def.
8616 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8619 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
8620 Add libc_hidden_proto.
8621 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
8622 Add libc_hidden_def.
8624 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8627 * gmon/Makefile (routines): Remove bb_init_func and
8629 (elide-routines.os): Removed.
8630 * gmon/bb_exit_func.c: Likewise.
8631 * gmon/bb_init_func.c: Likewise.
8632 * include/sys/gmon.h (__bb): Likewise.
8633 (__bb_init_func): Likewise.
8634 (__bb_exit_func): Likewise.
8635 * sysdeps/alpha/bb_init_func.S: Likewise.
8637 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8639 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
8640 * include/setjmp.h (____longjmp_chk): Here. Add
8643 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
8646 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
8648 (__strspn_sse2): Likewise.
8650 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8652 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
8653 (close_not_cancel_no_status): Likewise.
8654 (__close_nocancel): New macro.
8655 (__close_nocancel_nostatus): Likewise.
8656 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
8658 (close_not_cancel): Likewise.
8659 (close_not_cancel_no_status): Likewise.
8660 (__close_nocancel): New prototype.
8661 (__close_nocancel_nostatus): New function.
8662 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
8663 * catgets/open_catalog.c (__open_catalog): Replace
8664 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
8665 * gmon/gmon.c (write_gmon): Likewise.
8666 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8667 * intl/loadmsgcat.c (close): Likewise.
8668 * io/ftw.c (open_dir_stream): Likewise.
8669 (ftw_startup): Likewise.
8670 * libio/fileops.c (_IO_file_open): Likewise.
8671 (_IO_file_close_mmap): Likewise.
8672 (_IO_file_close): Likewise.
8673 * libio/iopopen.c (_IO_dup2): Likewise.
8674 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8675 * locale/loadlocale.c (_nl_load_locale): Likewise.
8676 * login/utmp_file.c (pututline_file): Likewise.
8677 (endutent_file): Likewise.
8678 * misc/daemon.c (daemon): Likewise.
8679 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8680 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8681 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8682 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8683 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8684 * nscd/nscd_helper.c (open_socket): Likewise.
8685 (__nscd_open_socket): Likewise.
8686 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8687 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
8688 (__nscd_innetgr): Likewise.
8689 * nss/nss_db/db-open.c (internal_setent): Likewise.
8690 * resolv/res-close.c (__res_iclose): Likewise.
8691 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
8692 * sysdeps/posix/closedir.c (__closedir): Likewise.
8693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
8694 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8695 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8696 (opendir_tail): Likewise.
8697 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8698 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
8699 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8700 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8701 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8702 (gethostid): Likewise.
8703 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8704 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8707 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
8708 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8709 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8711 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
8712 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
8713 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8715 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
8716 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8718 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8720 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8721 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8722 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8725 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
8726 (openat_not_cancel_3): Likewise.
8727 (openat64_not_cancel_3): Likewise).
8728 (openat_not_cancel_3): Likewise).
8729 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
8731 (openat_not_cancel_3): Likewise.
8732 (openat64_not_cancel): Likewise.
8733 (openat64_not_cancel_3): Likewise.
8734 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
8735 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
8736 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
8737 __open{64}_nocancel.
8738 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8739 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8740 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8742 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8745 * include/argz.h (__argz_create_sep): New function prototype.
8746 (__argz_append): Likewise.
8747 (__argz_add): Likewise.
8748 (__argz_add_sep): Likewise.
8749 (__argz_delete): Likewise.
8750 (__argz_insert): Likewise.
8751 (__argz_replace): Likewise.
8752 * string/argz.h (__argz_create_sep): Removed.
8753 (__argz_append): Likewise.
8754 (__argz_add): Likewise.
8755 (__argz_add_sep): Likewise.
8756 (__argz_delete): Likewise.
8757 (__argz_insert): Likewise.
8758 (__argz_replace): Likewise.
8760 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8762 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
8763 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
8764 (GNU_PROPERTY_STACK_SIZE): Likewie.
8765 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
8766 (GNU_PROPERTY_LOPROC): Likewise.
8767 (GNU_PROPERTY_HIPROC): Likewise.
8768 (GNU_PROPERTY_LOUSER): Likewise.
8769 (GNU_PROPERTY_HIUSER): Likewise.
8770 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
8771 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
8772 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
8773 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
8774 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
8775 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
8776 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
8777 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
8778 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
8779 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
8780 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
8781 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
8782 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
8783 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
8784 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
8785 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
8786 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
8787 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
8788 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
8789 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
8790 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
8791 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
8792 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
8794 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8796 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
8799 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8802 * math/math.h (isinf): Check if in C or C++ mode before using
8803 __builtin_types_compatible_p, since this is a C mode feature.
8805 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8807 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
8808 (__write_nocancel): New macro.
8809 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
8810 Rewrite as a function prototype.
8811 (write_not_cancel): Remove macro.
8812 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
8813 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
8814 (write_gmon): Likewise.
8815 * libio/fileops.c (_IO_new_file_write): Likewise.
8816 * login/utmp_file.c (pututline_file): Likewise.
8817 (updwtmp_file): Likewise.
8818 * stdio-common/psiginfo.c (psiginfo): Likewise.
8819 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8820 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8821 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8823 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8826 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
8827 (__read_nocancel): New macro.
8828 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8830 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
8832 (__read_nocancel): New prototype.
8833 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
8834 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
8835 with __read_nocancel.
8836 * intl/loadmsgcat.c (read): Likewise.
8837 * libio/fileops.c (_IO_file_read): Likewise.
8838 * locale/loadlocale.c (_nl_load_locale): Likewise.
8839 * login/utmp_file.c (getutent_r_file): Likewise.
8840 (internal_getut_r): Likewise.
8841 (getutline_r_file): Likewise.
8842 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
8843 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8844 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8845 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8847 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
8848 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8849 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8851 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8853 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8855 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8857 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8859 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8862 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
8863 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
8866 2017-08-17 DJ Delorie <dj@redhat.com>
8868 * bug17079.c: Update to new test harness.
8869 * test-digits-dots.c: Likewise.
8870 * test-netdb.c: Likewise.
8871 * tst-field.c: Likewise.
8872 * tst-nss-getpwent.c: Likewise.
8873 * tst-nss-static.c: Likewise.
8874 * tst-nss-test1.c: Likewise.
8875 * tst-nss-test2.c: Likewise.
8876 * tst-nss-test3.c: Likewise.
8877 * tst-nss-test4.c: Likewise.
8878 * tst-nss-test5.c: Likewise.
8880 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8882 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
8883 (open_not_cancel_2): Likewise.
8884 (open_nocancel): New macro.
8885 (open64_nocancel): Likewise.
8886 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
8887 (open_not_cancel_2): Likewise.
8888 (__open_nocancel): New prototype.
8889 (__open64_nocancel): Likewise.
8890 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8892 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
8893 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
8894 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
8895 with __open_nocancel.
8896 * csu/check_fds.c (check_one_fd): Likewise.
8897 * gmon/gmon.c (write_gmon): Likewise.
8898 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
8899 * intl/loadmsgcat.c (open): Likewise.
8900 * libio/fileops.c (_IO_file_open): Likewise.
8901 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8902 * locale/loadlocale.c (_nl_load_locale): Likewise.
8903 * login/utmp_file.c (setutent_file): Likewise.
8904 * misc/daemon.c (daemon): Likewise.
8905 * nss/nss_db/db-open.c (internal_setent): Likewise.
8906 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8907 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
8908 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8909 (__opendir): Likewise.
8910 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8911 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
8912 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8913 (gethostid): Likewise.
8914 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8915 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8918 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
8919 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8920 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8922 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8924 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8926 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8928 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8930 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8932 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8933 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8935 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
8937 * benchtests/bench-skeleton.c (main): Add support for
8938 latency benchmarking.
8939 * benchtests/scripts/bench.py: Add support for latency benchmarking.
8941 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
8943 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
8946 2017-08-17 Florian Weimer <fweimer@redhat.com>
8948 * include/sys/socket.h (__opensock): Remove internal_function.
8949 * socket/opensock.c (__opensock): Likewise.
8950 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
8952 2017-08-16 Joseph Myers <joseph@codesourcery.com>
8955 * signal/bits/types/__sigval_t.h: New file.
8956 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
8957 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
8958 and define sigval_t using __sigval_t.
8959 * include/bits/types/__sigval_t.h: New file.
8960 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
8961 instead of <bits/types/__sigval_t.h>.
8962 (struct sigevent): Use __sigval_t instead of sigval_t.
8963 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
8964 instead of <bits/types/__sigval_t.h>.
8965 (siginfo_t): Use __sigval_t instead of sigval_t.
8966 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
8967 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
8968 (struct sigevent): Use __sigval_t instead of sigval_t.
8969 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
8970 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
8971 (siginfo_t): Use __sigval_t instead of sigval_t.
8972 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
8974 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8976 * NEWS: Remove "[Add new features here]" for 2.27.
8978 2017-08-16 Joseph Myers <joseph@codesourcery.com>
8980 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
8983 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8985 * NEWS: Mention x86-64 FMA optimization.
8987 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8990 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8992 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
8993 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
8994 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
8996 2017-08-16 Andreas Schwab <schwab@suse.de>
9000 * elf/ldd.bash.in: Never run file directly.
9002 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
9005 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
9006 (L(SP_INF_0)): Likewise.
9008 2017-08-15 Florian Weimer <fweimer@redhat.com>
9010 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
9013 2017-08-15 Florian Weimer <fweimer@redhat.com>
9015 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
9016 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
9017 BROKEN_THREAD_SIGNALS code.
9018 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
9019 request_list): Remove caller_pid member used for
9020 BROKEN_THREAD_SIGNALS.
9021 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
9022 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
9023 Remove BROKEN_THREAD_SIGNALS support.
9024 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9025 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
9027 2017-08-15 Florian Weimer <fweimer@redhat.com>
9029 * gmon/Makefile (tests): Add tst-gmon.
9030 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
9032 (tests-special): Add tst-gmon-prof.out.
9033 (tst-gmon.out): Depend on clean-tst-gmon-data.
9034 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
9035 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
9036 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
9038 * aclocal.m4 (GPROF): Set and substitute.
9039 * config.amke.in (GPROF): Set.
9040 * configure: Regenerate.
9042 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
9044 * elf/elf.h A (NT_PPC_TAR): New macro.
9045 (NT_PPC_PPR): Likewise.
9046 (NT_PPC_DSCR): Likewise.
9047 (NT_PPC_EBB): Likewise.
9048 (NT_PPC_PMU): Likewise.
9049 (NT_PPC_TM_CGPR): Likewise.
9050 (NT_PPC_TM_CFPR): Likewise.
9051 (NT_PPC_TM_CVMX): Likewise.
9052 (NT_PPC_TM_CVSX): Likewise.
9053 (NT_PPC_TM_SPR): Likewise.
9054 (NT_PPC_TM_CTAR): Likewise.
9055 (NT_PPC_TM_CPPR): Likewise.
9056 (NT_PPC_TM_CDSCR): Likewise.
9058 2017-08-15 Florian Weimer <fweimer@redhat.com>
9060 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
9061 regparm (2) instead of internal_function.
9062 (_MCOUNT_DECL): Adjust.
9064 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9066 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
9067 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9069 2017-08-14 Joseph Myers <joseph@codesourcery.com>
9071 * conform/data/sys/wait.h-data (si_value): Do not expect for
9074 2017-08-14 Florian Weimer <fweimer@redhat.com>
9077 NSS: Create stubs for accidentally exported lookup functions.
9078 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
9080 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
9081 (ether_hostton): Call __nss_ethers_lookup2 instead.
9082 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
9083 (ether_ntohost): Call __nss_ethers_lookup2 instead.
9084 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
9085 (setup): Call __nss_netgroup_lookup2 instead.
9086 * nss/Makefile (routines): Add compat-lookup.
9087 * nss/Versions (GLIBC_2.27): Add symbol version.
9088 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
9089 (DB_COMPAT_FCT): Remove.
9090 * nss/compat-lookup.c: New file.
9091 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
9093 * nss/service-lookup.c (NO_COMPAT): Remove definition.
9094 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
9095 (netname2user): Call __nss_publickey_lookup2 instead.
9096 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
9097 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
9100 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9101 Sergei Trofimovich <slyfox@inbox.ru>
9104 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
9105 Rename to MMAP2_PAGE_UNIT.
9106 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
9107 __OFF_T_MATCHES_OFF64_T is not defined.
9108 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
9110 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
9111 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
9113 2017-08-14 Florian Weimer <fweimer@redhat.com>
9115 i386: Do not set internal_function.
9116 * config.h.in (USE_REGPARMS, internal_function): Remove.
9117 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
9118 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
9120 2017-08-14 Florian Weimer <fweimer@redhat.com>
9122 * elf/dl-init.c (_dl_init): Remove internal_function.
9123 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
9124 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
9126 2017-08-14 Florian Weimer <fweimer@redhat.com>
9128 * elf/rtld.c (_dl_start): Remove internal_function.
9129 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
9132 2017-08-14 Florian Weimer <fweimer@redhat.com>
9134 * elf/dl-fini.c (_dl_fini): Remove internal_function
9135 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9137 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
9139 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
9140 (bit_cpu_SHSTK): Likewise.
9141 (index_cpu_IBT): Likewise.
9142 (index_cpu_SHSTK): Likewise.
9143 (reg_IBT): Likewise.
9144 (reg_SHSTK): Likewise.
9145 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9146 Handle index_cpu_IBT and index_cpu_SHSTK.
9148 2017-08-14 Mike FABIAN <mfabian@redhat.com>
9151 * po/fr.po: Fix spelling mistake.
9153 2017-08-13 Florian Weimer <fweimer@redhat.com>
9155 * elf/dl-addr.c (_dl_addr): Remove internal_function.
9156 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
9157 (_dl_catch_error, _dl_receive_error): Likewise.
9158 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
9159 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
9160 (_dl_deallocate_tls): Likewise.
9161 * include/dlfcn.h (_dl_addr): Likewise.
9162 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
9163 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
9164 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
9167 2017-08-13 Florian Weimer <fweimer@redhat.com>
9169 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
9170 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
9172 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
9174 2017-08-13 Florian Weimer <fweimer@redhat.com>
9176 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
9178 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
9179 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
9180 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
9181 internal_function from _dl_make_stack_executable_hook member.
9182 (_dl_make_stack_executable): Remove internal_function.
9183 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
9185 * sysdeps/unix/sysv/linux/dl-execstack.c
9186 (_dl_make_stack_executable): Likewise.
9188 2017-08-13 Florian Weimer <fweimer@redhat.com>
9190 * sysdeps/unix/sysv/linux/netlinkaccess.h
9191 (__netlink_assert_response): Remove internal_function.
9192 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9193 (__netlink_assert_response): Likewise.
9195 2017-08-13 Florian Weimer <fweimer@redhat.com>
9197 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
9199 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
9201 2017-08-13 Florian Weimer <fweimer@redhat.com>
9203 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
9205 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
9206 * inet/netgroup.h (__internal_setnetgrent)
9207 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9208 * inet/getnetgrent_r.c (__internal_setnetgrent)
9209 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9210 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
9211 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
9212 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
9213 * nss/nsswitch.h (db_lookup_function): Likewise.
9215 2017-08-13 Florian Weimer <fweimer@redhat.com>
9217 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
9218 Remove internal_function.
9219 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
9220 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
9221 message argument on the stack.
9222 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
9225 2017-08-12 Mike FABIAN <mfabian@redhat.com>
9227 Adapt test case data to the changes in the thousands
9231 * localedata/tst-langinfo.sh: Adapt test case data.
9232 * stdlib/tst-strfmon_l.c: Likewise.
9233 * stdlib/tst-strtod4.c: Likewise.
9234 * stdlib/tst-strtod5i.c: Likewise.
9236 2017-08-11 Florian Weimer <fweimer@redhat.com>
9239 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
9240 Suppress pedantic warning resulting from statement expression.
9241 (__ASSERT_FUNCTION): Add missing __extension__.
9243 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9245 * benchtests/bench-memmove-large.c: Print output in JSON
9247 * benchtests/bench-memmove.c: Likewise.
9249 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
9250 * benchtests/bench-memchr.c (do_one_test): Likewise.
9251 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
9252 * benchtests/bench-memcpy.c (do_one_test): Likewise.
9253 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
9254 * benchtests/bench-memmove.c (do_one_test): Likewise.
9255 * benchtests/bench-memset-large.c (do_one_test): Likewise.
9256 * benchtests/bench-memset.c (do_one_test): Likewise.
9257 * benchtests/bench-string.h (test_init): Remove memsets.
9259 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
9262 (Computing the Width of an Integer Data Type): Rename section to
9263 "Width of an Integer Type". Remove inaccurate statement regarding
9264 lack of C language facilities for determining width of integer
9265 types, and reorder content to improve flow and context of
9268 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
9270 * lang.texi (va_copy): Change standard from ISO to C99.
9271 (__va_copy): Add standard and header annotation.
9272 Update description for clarity of origins and current use.
9274 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9277 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
9278 xssqrtqp requires operands to be in Vector Registers
9279 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
9280 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
9281 (__ieee754_sqrtf128): Likewise.
9283 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9285 * sysdeps/aarch64/memcmp.S (memcmp):
9286 Rewrite of optimized memcmp.
9288 2017-08-10 Florian Weimer <fweimer@redhat.com>
9290 Introduce ld.so exceptions.
9291 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
9292 (_dl_exception_create, _dl_exception_create_format)
9293 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
9294 (_dl_catch_exception): Declare.
9295 (_dl_catch_error): Update comment.
9296 * elf/dl-error-skeleton.c (struct catch): Replace objname,
9297 errstring, malloced members with exception member.
9298 (_dl_out_of_memory): Remove.
9299 (fatal_error): New function, extracted from _dl_signal_error.
9300 (_dl_signal_exception, _dl_signal_cexception): New functions.
9301 (_dl_signal_error): Call _dl_exception_create to allocate an
9303 (_dl_catch_exception): New function, based on _dl_catch_error.
9304 (_dl_catch_error): Implement using _dl_catch_exception.
9305 * elf/dl-exception.c: New file.
9306 * elf/Makefile (dl-routines): Add dl-exception.
9307 (elide-routines.os): Likewise.
9308 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
9309 _dl_exception_create_format, _dl_exception_free.
9310 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
9311 _dl_signal_exception.
9312 * elf/dl-lookup.c (make_string): Remove.
9313 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
9314 _dl_signal_cexception, _dl_exception_free.
9315 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
9316 _dl_signal_exception.
9317 * elf/dl-sym.c (do_sym): Likewise.
9318 * elf/dl-version.c (make_string): Remove.
9319 (match_symbol): Use _dl_exception_create_format,
9320 _dl_signal_cexception, _dl_exception_free.
9321 (_dl_check_map_versions): Likewise.
9322 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
9323 _dl_catch_exception.
9324 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9325 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9326 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9327 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9328 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9329 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9330 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9331 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9333 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9340 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9341 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9342 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9344 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9346 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9348 2017-08-10 Florian Weimer <fweimer@redhat.com>
9350 * inet/net-internal.h (__inet6_scopeid_pton): Remove
9351 attribute_hidden, internal_function.
9352 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
9355 2017-08-10 Florian Weimer <fweimer@redhat.com>
9357 * malloc/malloc.c (get_max_fast): Reimplement as an inline
9358 function which calls __builtin_unreachable.
9360 2017-08-10 Mike FABIAN <mfabian@redhat.com>
9362 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
9363 Indian monetary formatting
9364 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
9367 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
9369 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
9370 Fix typo in comment.
9373 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
9374 PTRACE_SEIZE_DEVEL): Remove.
9375 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
9376 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9377 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9378 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9379 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9381 2017-08-09 Joseph Myers <joseph@codesourcery.com>
9383 * posix/bits/types.h (__qaddr_t): Remove.
9386 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
9387 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9389 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
9390 (ucontext_t): Use __ctx with uc_flags.
9391 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
9393 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9395 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
9396 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9398 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
9399 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9401 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
9403 (ucontext_t): Use __ctx with uc_flags.
9404 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
9405 (ucontext_t): Use __ctx with uc_flags.
9406 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
9407 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
9408 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
9409 (ucontext_t): Use __ctx with uc_flags.
9410 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
9411 undefine further down.
9412 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9414 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
9415 undefine further down.
9416 (ucontext_t): Use __ctx with uc_flags.
9417 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
9418 undefine further down.
9419 (ucontext_t): Use __ctx with uc_flags.
9420 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
9421 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
9422 Rename uc_pad to __glibc_reserved1.
9423 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
9424 undefine further down.
9425 (ucontext_t): Use __ctx with uc_flags.
9426 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
9428 (ucontext_t): Use __ctx with uc_flags.
9429 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
9430 __ctx with uc_flags.
9431 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
9432 (ucontext_t): Use __ctx with uc_flags.
9433 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
9434 __ctx with uc_flags.
9436 2017-08-09 Florian Weimer <fweimer@redhat.com>
9439 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
9440 before early return.
9442 2017-08-09 Andreas Schwab <schwab@suse.de>
9445 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
9449 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
9450 tst-compat-forwarder.
9451 (modules-names): Add tst-compat-forwarder-mod.
9452 ($(objpfx)tst-compat-forwarder): Depend on
9453 $(objpfx)tst-compat-forwarder-mod.so.
9454 * nptl/tst-compat-forwarder.c: New file.
9455 * nptl/tst-compat-forwarder-mod.c: New file.
9457 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
9459 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
9462 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
9463 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9465 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
9467 (__libc_ifunc_impl_list): Add __memcpy_falkor.
9468 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
9469 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
9470 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
9472 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
9475 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9478 * manual/setjmp.texi (getcontex): Document uc_stack value
9479 compatibility differences.
9481 2017-08-08 Joseph Myers <joseph@codesourcery.com>
9483 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
9484 (old_malloc_hook): Likewise.
9485 (old_memalign_hook): Likewise.
9486 (old_realloc_hook): Likewise.
9487 (struct hdr): Likewise.
9489 (freehook): Likewise.
9490 (mallochook): Likewise.
9491 (memalignhook): Likewise.
9492 (reallochook): Likewise.
9494 * malloc/mtrace.c (mallwatch): Likewise.
9495 (tr_old_free_hook): Likewise.
9496 (tr_old_malloc_hook): Likewise.
9497 (tr_old_realloc_hook): Likewise.
9498 (tr_old_memalign_hook): Likewise.
9499 (tr_where): Likewise.
9500 (lock_and_info): Likewise.
9501 (tr_freehook): Likewise.
9502 (tr_mallochook): Likewise.
9503 (tr_reallochook): Likewise.
9504 (tr_memalignhook): Likewise.
9505 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
9506 * misc/mmap.c (__mmap): Likewise.
9507 * misc/mmap64.c (__mmap64): Likewise.
9508 * misc/mprotect.c (__mprotect): Likewise.
9509 * misc/msync.c (msync): Likewise.
9510 * misc/munmap.c (__munmap): Likewise.
9511 * posix/posix_madvise.c (posix_madvise): Likewise.
9512 * socket/send.c (__send): Likewise.
9513 * socket/sendto.c (__sendto): Likewise.
9514 * socket/setsockopt.c (__setsockopt): Likewise.
9515 * string/memcmp.c (__ptr_t): Remove macro.
9516 (MEMCMP): Use void * instead of ptr_t.
9517 * string/memrchr.c (__ptr_t): Remove macro.
9518 (__memrchr): Use void * instead of ptr_t.
9519 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
9520 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
9521 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
9522 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
9523 * sysdeps/mach/msync.c (msync): Likewise.
9524 * sysdeps/mach/munmap.c (__munmap): Likewise.
9525 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
9527 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9528 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
9529 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
9530 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
9531 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9532 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9533 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
9534 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
9536 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9537 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
9538 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
9539 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
9540 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
9541 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
9542 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
9543 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
9544 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
9546 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
9547 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
9548 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
9549 (MEMCMP): Use void * instead of ptr_t.
9550 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
9551 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
9553 2017-08-08 Florian Weimer <fweimer@redhat.com>
9555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
9558 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
9561 * csu/libc-tls.c: Include <startup.h> first.
9562 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
9563 * elf/dl-tunables.c: Include <startup.h> first.
9564 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
9565 * sysdeps/generic/startup.h: New file.
9566 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
9567 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
9568 (I386_USE_SYSENTER): New. Defined to 0.
9570 2017-08-08 Andreas Schwab <schwab@suse.de>
9573 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
9574 * nptl/pt-system.c (system): Likewise.
9576 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9579 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
9581 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
9582 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
9583 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
9584 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
9585 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9586 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9587 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9589 2017-08-07 Joseph Myers <joseph@codesourcery.com>
9592 * bits/sigaction.h (struct sigaction): Define sa_handler and
9593 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
9594 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9595 [__USE_XOPEN_EXTENDED].
9596 (SA_RESTART): Likewise.
9597 (SA_NODEFER): Likewise.
9598 (SA_RESETHAND): Likewise.
9599 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
9600 (struct sigaction): Define sa_handler and sa_sigaction using union
9601 also for [__USE_XOPEN_EXTENDED].
9602 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9603 [__USE_XOPEN_EXTENDED].
9604 (SA_RESTART): Likewise.
9605 (SA_NODEFER): Likewise.
9606 (SA_RESETHAND): Likewise.
9607 * sysdeps/unix/sysv/linux/bits/sigaction.h
9608 (struct sigaction): Define sa_handler and sa_sigaction using union
9609 also for [__USE_XOPEN_EXTENDED].
9610 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9611 [__USE_XOPEN_EXTENDED].
9612 (SA_RESTART): Likewise.
9613 (SA_NODEFER): Likewise.
9614 (SA_RESETHAND): Likewise.
9615 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
9616 (struct sigaction): Define sa_handler and sa_sigaction using union
9617 also for [__USE_XOPEN_EXTENDED].
9618 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9619 [__USE_XOPEN_EXTENDED].
9620 (SA_RESTART): Likewise.
9621 (SA_NODEFER): Likewise.
9622 (SA_RESETHAND): Likewise.
9623 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
9624 (struct sigaction): Define sa_handler and sa_sigaction using union
9625 also for [__USE_XOPEN_EXTENDED].
9626 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9627 [__USE_XOPEN_EXTENDED].
9628 (SA_RESTART): Likewise.
9629 (SA_NODEFER): Likewise.
9630 (SA_RESETHAND): Likewise.
9631 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9632 (struct sigaction): Define sa_handler and sa_sigaction using union
9633 also for [__USE_XOPEN_EXTENDED].
9634 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9635 [__USE_XOPEN_EXTENDED].
9636 (SA_RESTART): Likewise.
9637 (SA_NODEFER): Likewise.
9638 (SA_RESETHAND): Likewise.
9639 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9640 (struct sigaction): Define sa_handler and sa_sigaction using union
9641 also for [__USE_XOPEN_EXTENDED].
9642 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9643 [__USE_XOPEN_EXTENDED].
9644 (SA_RESTART): Likewise.
9645 (SA_NODEFER): Likewise.
9646 (SA_RESETHAND): Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9648 (struct sigaction): Define sa_handler and sa_sigaction using union
9649 also for [__USE_XOPEN_EXTENDED].
9650 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9651 [__USE_XOPEN_EXTENDED].
9652 (SA_RESTART): Likewise.
9653 (SA_NODEFER): Likewise. Define directly rather than as alias.
9654 (SA_RESETHAND): Likewise.
9655 (SA_INTERRUPT): Define only for [__USE_MISC].
9656 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
9657 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
9659 (SA_STACK): Define only for [__USE_MISC].
9660 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
9661 (struct sigaction): Define sa_handler and sa_sigaction using union
9662 also for [__USE_XOPEN_EXTENDED].
9663 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9664 [__USE_XOPEN_EXTENDED].
9665 (SA_RESTART): Likewise.
9666 (SA_NODEFER): Likewise.
9667 (SA_RESETHAND): Likewise.
9668 (SA_NOPTRACE): Define only for [__USE_MISC].
9670 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
9671 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
9672 (struct catalog_info): Likewise.
9673 * inet/htontest.c (lo): Likewise.
9675 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9676 * inet/inet_net.c (inet_network): Likewise.
9677 * inet/inet_netof.c (inet_netof): Likewise.
9678 * inet/rcmd.c (__ivaliduser): Likewise.
9679 (iruserok): Likewise.
9680 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
9681 * locale/programs/locale-spec.c (locale_special): Likewise.
9682 * nis/nis_findserv.c (struct findserv_req): Likewise.
9683 (__nis_findfastest_with_timeout): Likewise.
9684 * nss/test-netdb.c (test_network): Likewise.
9685 * resolv/inet_neta.c (inet_neta): Likewise.
9686 * resolv/ns_date.c (ns_datetosecs): Likewise.
9687 (SECS_PER_DAY): Likewise.
9688 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
9690 * resolv/res_comp.c (__putlong): Likewise.
9691 (__putshort): Likewise.
9692 (_getlong): Likewise.
9693 (_getshort): Likewise.
9694 * resolv/res_debug.c (p_time): Likewise.
9695 (precsize_ntoa): Likewise.
9696 (precsize_aton): Likewise.
9697 (latlon2ul): Likewise.
9698 (loc_aton): Likewise.
9699 (loc_ntoa): Likewise.
9700 * resolv/res_hconf.c (struct netaddr): Likewise.
9701 (_res_hconf_reorder_addrs): Likewise.
9702 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9703 (clnttcp_control): Likewise.
9704 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9705 (clntudp_control): Likewise.
9706 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9707 (clntunix_control): Likewise.
9708 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9709 * sunrpc/rpc/auth.h (union des_block): Likewise.
9710 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
9711 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
9712 (xdrrec_create): Likewise.
9713 (xdrrec_endofrecord): Likewise.
9714 (flush_out): Likewise.
9715 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
9716 (xdrstdio_putlong): Likewise.
9717 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
9720 * misc/sys/cdefs.h (__long_double_t): Remove.
9721 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
9722 instead of __long_double_t,
9723 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
9725 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9727 * benchtests/scripts/compare_strings.py: Avoid display error when
9728 running on a text terminal.
9730 * benchtests/scripts/compare_strings.py (main): Add an
9731 optional -base option.
9732 (process_results): New argument base_func.
9734 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
9736 * benchtests/bench-memcpy-large.c (test_name): Likewise.
9737 * benchtests/bench-memcpy-random.c (test_name): Likewise.
9739 2017-08-07 Andreas Schwab <schwab@suse.de>
9741 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
9742 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9743 * intl/Makefile ($(objpfx)tst-gettext.out)
9744 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
9745 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
9746 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9747 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9748 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
9749 * posix/Makefile ($(objpfx)globtest.out)
9750 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
9751 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
9752 ($(objpfx)tst-printf.out): Likewise.
9753 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
9754 ($(objpfx)tst-setcontext3.out): Likewise.
9756 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
9758 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9759 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
9760 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
9761 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
9762 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
9764 (CFLAGS-doasin-fma.c): New.
9765 (CFLAGS-dosincos-fma.c): Likewise.
9766 (CFLAGS-e_asin-fma.c): Likewise.
9767 (CFLAGS-e_atan2-fma.c): Likewise.
9768 (CFLAGS-e_exp-fma.c): Likewise.
9769 (CFLAGS-e_log-fma.c): Likewise.
9770 (CFLAGS-e_pow-fma.c): Likewise.
9771 (CFLAGS-halfulp-fma.c): Likewise.
9772 (CFLAGS-mpa-fma.c): Likewise.
9773 (CFLAGS-mpatan-fma.c): Likewise.
9774 (CFLAGS-mpatan2-fma.c): Likewise.
9775 (CFLAGS-mpexp-fma.c): Likewise.
9776 (CFLAGS-mplog-fma.c): Likewise.
9777 (CFLAGS-mpsqrt-fma.c): Likewise.
9778 (CFLAGS-mptan-fma.c): Likewise.
9779 (CFLAGS-s_atan-fma.c): Likewise.
9780 (CFLAGS-sincos32-fma.c): Likewise.
9781 (CFLAGS-slowexp-fma.c): Likewise.
9782 (CFLAGS-slowpow-fma.c): Likewise.
9783 (CFLAGS-s_sin-fma.c): Likewise.
9784 (CFLAGS-s_tan-fma.c): Likewise.
9785 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
9786 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
9787 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
9788 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
9789 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
9790 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
9791 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
9792 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
9793 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
9794 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
9795 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
9796 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
9797 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
9798 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
9799 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
9800 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
9801 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
9802 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
9803 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
9804 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
9805 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
9806 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
9807 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
9808 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
9809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9812 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9813 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9817 2017-08-04 Joseph Myers <joseph@codesourcery.com>
9819 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
9820 (min_of_type_f): New macro.
9821 (min_of_type_): Likewise.
9822 (min_of_type_l): Likewise.
9823 (min_of_type_f128): Likewise.
9824 (min_of_type): Define using __MATH_TG and taking an expression
9826 (math_check_force_underflow): Pass expression instead of type to
9828 (math_check_force_underflow_nonneg): Likewise.
9830 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9832 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
9833 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
9834 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
9836 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9839 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
9840 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
9841 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
9842 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
9843 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
9844 memcpy_chk-nonshared, mempcpy_chk-nonshared,
9845 memmove_chk-nonshared and memset_chk-nonshared
9846 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
9847 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
9848 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
9849 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
9850 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
9851 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
9852 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
9853 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
9854 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
9855 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
9856 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
9857 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
9858 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
9859 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
9860 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
9861 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
9862 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
9863 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
9864 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
9865 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
9866 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
9867 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
9868 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
9869 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
9870 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
9871 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
9872 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
9873 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
9874 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
9875 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
9876 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
9877 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
9878 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
9879 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
9880 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
9881 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
9882 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
9883 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
9884 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
9885 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
9886 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
9887 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
9888 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
9889 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
9890 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
9891 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
9892 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
9893 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
9894 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
9895 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
9896 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
9897 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
9898 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
9899 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
9900 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
9901 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
9902 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
9903 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
9904 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
9905 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
9906 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
9907 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
9908 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
9909 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
9910 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
9911 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
9912 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
9913 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
9914 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
9915 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
9916 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
9917 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9918 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9920 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9921 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9922 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9923 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9924 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9925 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9926 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9927 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9928 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9929 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9930 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9931 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9932 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9933 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9934 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9935 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9936 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9937 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9938 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9939 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9940 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9941 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9942 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9943 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9944 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9945 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9946 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9947 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9948 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9949 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9950 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9951 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9952 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9953 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9955 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9957 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
9958 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
9959 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
9960 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
9961 svml_d_log2_core-sse2, svml_d_log4_core-sse,
9962 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
9963 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
9964 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
9965 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
9966 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
9967 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
9968 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
9969 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
9970 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
9971 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
9972 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
9973 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
9974 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
9975 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
9976 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
9977 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
9978 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
9979 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
9980 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
9981 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
9982 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
9983 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
9984 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
9985 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
9986 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
9987 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
9988 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
9989 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
9990 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
9991 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
9992 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
9993 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
9994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
9995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
9996 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
9997 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
9998 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
9999 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
10000 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
10001 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
10002 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
10003 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
10004 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
10005 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
10006 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
10007 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
10008 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
10009 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
10010 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
10011 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
10012 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
10013 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
10014 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
10015 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
10017 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
10018 Don't include <sysdep.h> nor <init-arch.h>.
10019 (_ZGVbN2v_cos): Removed.
10020 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
10022 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
10023 Don't include <sysdep.h> nor <init-arch.h>.
10024 (_ZGVdN4v_cos): Removed.
10025 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
10027 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
10028 Don't include <sysdep.h> nor <init-arch.h>.
10029 (_ZGVeN8v_cos): Removed.
10030 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
10032 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
10033 Don't include <sysdep.h> nor <init-arch.h>.
10034 (_ZGVbN2v_exp): Removed.
10035 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
10037 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
10038 Don't include <sysdep.h> nor <init-arch.h>.
10039 (_ZGVdN4v_exp): Removed.
10040 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
10042 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
10043 Don't include <sysdep.h> nor <init-arch.h>.
10044 (_ZGVeN8v_exp): Removed.
10045 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
10047 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
10048 Don't include <sysdep.h> nor <init-arch.h>.
10049 (_ZGVbN2v_log): Removed.
10050 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
10052 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
10053 Don't include <sysdep.h> nor <init-arch.h>.
10054 (_ZGVdN4v_log): Removed.
10055 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
10057 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
10058 Don't include <sysdep.h> nor <init-arch.h>.
10059 (_ZGVeN8v_log): Removed.
10060 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
10062 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
10063 Don't include <sysdep.h> nor <init-arch.h>.
10064 (_ZGVbN2vv_pow): Removed.
10065 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
10067 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
10068 Don't include <sysdep.h> nor <init-arch.h>.
10069 (_ZGVdN4vv_pow): Removed.
10070 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
10072 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
10073 Don't include <sysdep.h> nor <init-arch.h>.
10074 (_ZGVeN8vv_pow): Removed.
10075 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
10077 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
10078 Don't include <sysdep.h> nor <init-arch.h>.
10079 (_ZGVbN2v_sin): Removed.
10080 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
10082 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
10083 Don't include <sysdep.h> nor <init-arch.h>.
10084 (_ZGVbN4v_sin): Removed.
10085 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
10087 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
10088 Don't include <sysdep.h> nor <init-arch.h>.
10089 (_ZGVbN8v_sin): Removed.
10090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
10092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
10093 Don't include <sysdep.h> nor <init-arch.h>.
10094 (_ZGVbN2vvv_sincos): Removed.
10095 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
10097 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
10098 Don't include <sysdep.h> nor <init-arch.h>.
10099 (_ZGVdN4vvv_sincos): Removed.
10100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
10102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
10103 Don't include <sysdep.h> nor <init-arch.h>.
10104 (_ZGVeN8vvv_sincos): Removed.
10105 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
10107 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
10108 Don't include <sysdep.h> nor <init-arch.h>.
10109 (_ZGVeN16v_cosf): Removed.
10110 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
10112 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
10113 Don't include <sysdep.h> nor <init-arch.h>.
10114 (_ZGVbN4v_cosf): Removed.
10115 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
10117 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
10118 Don't include <sysdep.h> nor <init-arch.h>.
10119 (_ZGVdN8v_cosf): Removed.
10120 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
10122 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
10123 Don't include <sysdep.h> nor <init-arch.h>.
10124 (_ZGVeN16v_expf): Removed.
10125 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
10127 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
10128 Don't include <sysdep.h> nor <init-arch.h>.
10129 (_ZGVbN4v_expf): Removed.
10130 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
10132 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
10133 Don't include <sysdep.h> nor <init-arch.h>.
10134 (_ZGVdN8v_expf): Removed.
10135 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
10137 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
10138 Don't include <sysdep.h> nor <init-arch.h>.
10139 (_ZGVeN16v_logf): Removed.
10140 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
10142 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
10143 Don't include <sysdep.h> nor <init-arch.h>.
10144 (_ZGVbN4v_logf): Removed.
10145 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
10147 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
10148 Don't include <sysdep.h> nor <init-arch.h>.
10149 (_ZGVdN8v_logf): Removed.
10150 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
10152 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
10153 Don't include <sysdep.h> nor <init-arch.h>.
10154 (_ZGVeN16vv_powf): Removed.
10155 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
10157 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
10158 Don't include <sysdep.h> nor <init-arch.h>.
10159 (_ZGVbN4vv_powf): Removed.
10160 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
10162 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
10163 Don't include <sysdep.h> nor <init-arch.h>.
10164 (_ZGVdN8vv_powf): Removed.
10165 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
10167 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
10168 Don't include <sysdep.h> nor <init-arch.h>.
10169 (_ZGVeN16vvv_sincosf): Removed.
10170 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
10172 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
10173 Don't include <sysdep.h> nor <init-arch.h>.
10174 (_ZGVbN4vvv_sincosf): Removed.
10175 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
10177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
10178 Don't include <sysdep.h> nor <init-arch.h>.
10179 (_ZGVdN8vvv_sincosf): Removed.
10180 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
10182 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
10183 Don't include <sysdep.h> nor <init-arch.h>.
10184 (_ZGVeN16v_sinf): Removed.
10185 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
10187 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
10188 Don't include <sysdep.h> nor <init-arch.h>.
10189 (_ZGVbN4v_sinf): Removed.
10190 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
10192 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
10193 Don't include <sysdep.h> nor <init-arch.h>.
10194 (_ZGVdN8v_sinf): Removed.
10196 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10198 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10199 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
10200 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
10201 s_rint-sse4_1 and s_rintf-sse4_1.
10202 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
10203 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10204 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10205 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10206 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10207 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
10208 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
10209 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10210 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10211 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
10212 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
10213 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10215 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
10216 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
10217 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10218 (__ceilf): Removed.
10219 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
10220 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
10221 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10222 (__floor): Removed.
10223 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
10224 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
10225 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10226 (__floorf): Removed.
10227 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
10228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
10229 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10230 (__nearbyint): Removed.
10231 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
10232 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
10233 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10234 (__nearbyintf): Removed.
10235 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
10236 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
10237 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10239 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
10240 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
10241 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10242 (__rintf): Removed.
10244 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10246 * sysdeps/i386/start.S (_start): Check Check PIC instead of
10247 SHARED. Avoid dynamic relocation against main in static PIE.
10249 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10252 * elf/Makefile (CFLAGS-tst-prelink.c): New.
10253 (LDFLAGS-tst-prelink): Likewise.
10255 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10257 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
10258 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
10259 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
10260 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10261 (INTERNAL_SYSCALL_NCS): Likewise.
10262 (LOADARGS_1): Likewise.
10263 (LOADARGS_5): Likewise.
10264 (RESTOREARGS_1): Likewise.
10265 (RESTOREARGS_5): Likewise.
10267 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10269 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
10270 (MEMPCPY_SYMBOL): Likewise.
10271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10272 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
10273 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
10275 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10276 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10278 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
10279 (__hidden_ver1): Don't use in libc.a.
10280 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10281 (__mempcpy): Don't create a weak alias in libc.a.
10282 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
10284 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
10285 (__hidden_ver1): Don't use in libc.a.
10287 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10289 * config.make.in (have-insert): New.
10290 * configure.ac (libc_cv_insert): New. Set to yes if linker
10291 supports INSERT in linker script.
10292 (AC_SUBST(libc_cv_insert): New.
10293 * configure: Regenerated.
10294 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
10295 if $(have-insert) == yes.
10297 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10299 * elf/Makefile (tests): Add vismain only if
10300 $(have-protected-data) == yes.
10301 (tests-pie): Likewise.
10303 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10306 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10307 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
10309 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10312 * sysdeps/i386/i586/memset.S
10313 (__memset_zero_constant_len_parameter): Removed.
10314 * sysdeps/i386/i686/memset.S
10315 (__memset_zero_constant_len_parameter): Likewise.
10316 * sysdeps/i386/i686/multiarch/memset_chk.S
10317 (__memset_zero_constant_len_parameter): Likewise.
10318 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
10321 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10323 * stdlib/getentropy.c (getentropy): Change return type to int.
10325 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10327 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10329 2017-08-03 Joseph Myers <joseph@codesourcery.com>
10331 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
10333 * math/s_nexttowardf.c (__nexttowardf): Likewise.
10334 * sysdeps/generic/math_private.h (ieee_double_shape_type):
10336 (ieee_float_shape_type): Likewise.
10337 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
10338 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
10339 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10340 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10341 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10342 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
10343 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
10344 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10345 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10347 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10348 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10349 (__ieee754_yn): Likewise.
10350 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10351 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10352 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
10354 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10355 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
10356 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
10357 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
10358 (__erfc): Likewise.
10359 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10360 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
10361 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
10362 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
10363 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
10364 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
10366 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10367 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
10368 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10369 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
10370 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10371 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
10372 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
10373 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
10374 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
10375 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10376 (__issignaling): Likewise.
10377 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
10378 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
10379 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10381 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10382 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10383 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10384 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
10386 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
10388 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
10389 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
10390 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
10391 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10392 (__erfcf): Likewise.
10393 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10394 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10395 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
10396 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
10398 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
10399 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
10401 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10402 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
10403 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10404 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
10405 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
10406 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10407 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
10408 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
10410 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
10412 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10414 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
10415 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10417 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10419 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10420 (__ieee754_ynl): Likewise.
10421 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10422 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
10424 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
10426 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10427 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
10428 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10430 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10431 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
10432 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
10433 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
10434 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
10435 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10436 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
10437 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
10439 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10440 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
10441 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
10443 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
10444 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
10445 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10446 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10447 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
10448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10450 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10452 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10454 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10456 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
10457 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10458 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10459 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
10460 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10461 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
10464 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10466 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10469 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10470 (__ieee754_remainderl): Likewise.
10471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10472 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10473 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10476 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10479 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10480 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
10481 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10482 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10483 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10484 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10486 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10487 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10488 (__ieee754_y0l): Likewise.
10491 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10492 (__ieee754_y1l): Likewise.
10495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10496 (__ieee754_ynl): Likewise.
10497 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10498 (__ieee754_lgammal_r): Likewise.
10499 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
10501 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10502 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
10503 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10504 (__erfcl): Likewise.
10505 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10506 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
10508 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10516 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
10520 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10522 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
10523 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
10525 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
10526 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
10527 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
10528 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10529 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10531 2017-08-03 Florian Weimer <fweimer@redhat.com>
10534 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
10535 on memory allocation failure.
10537 2017-08-03 Alan Modra <amodra@gmail.com>
10539 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
10540 tst-tlsopt-powerpc.c with function name change and no test harness.
10541 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
10542 Call tls_get_addr_opt_test.
10543 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
10544 (modules-names): Add mod-tlsopt-powerpc.
10545 (mod-tlsopt-powerpc.so-no-z-defs): Define.
10546 (tst-tlsopt-powerpc): Depend on .so.
10547 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
10548 define. Expand use in TLS_GD and TLS_LD.
10550 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10552 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
10554 * sysdeps/posix/shm_open.c: Include <pthread.h>.
10556 2017-08-02 Joseph Myers <joseph@codesourcery.com>
10559 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
10560 comparing size with that of double.
10561 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10562 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10563 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10564 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10565 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10566 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
10567 unsigned __int128 types.
10569 2017-08-02 Steve Ellcey <sellcey@cavium.com>
10571 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
10572 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
10573 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
10574 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
10575 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
10577 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10579 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
10581 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10583 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
10585 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10586 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10587 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10588 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10589 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10590 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10591 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10593 2017-08-02 Joseph Myers <joseph@codesourcery.com>
10596 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
10597 bit-field expressions passed to sizeof or typeof.
10598 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10599 (__TGMATH_F128): Likewise.
10600 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10601 (__TGMATH_CF128): Likewise.
10602 (__TGMATH_UNARY_REAL_ONLY): Likewise.
10603 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
10604 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
10605 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
10606 (__TGMATH_BINARY_REAL_ONLY): Likewise.
10607 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10608 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10609 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10610 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10611 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
10612 (__TGMATH_UNARY_REAL_IMAG): Likewise.
10613 (__TGMATH_UNARY_IMAG): Likewise.
10614 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
10615 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10616 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
10618 (define_vars_for_type): Handle bit_field type specially.
10619 (Tests.__init__): Declare structure with bit-field element.
10621 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10624 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
10625 (MEMCPY_CHK): Define only if SHARED is defined.
10626 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
10628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
10631 See ChangeLog.18 for earlier changes.