1 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
4 (__sigpause): Rely on __sigsuspend to implement single thread
5 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
7 2017-11-15 Joseph Myers <joseph@codesourcery.com>
9 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10 kernel version to 4.14.
12 2017-11-15 Steve Ellcey <sellcey@cavium.com>
15 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
16 Check if ifname is too long.
18 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25 was accidentally lost.
27 2017-11-15 Mike FABIAN <mfabian@redhat.com>
29 * localedata/locales/az_IR: Add standard copyright header.
31 2017-11-15 Florian Weimer <fweimer@redhat.com>
34 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
35 not just the top one. Output a new "subheaps" statistic.
37 2017-11-15 Florian Weimer <fweimer@redhat.com>
40 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
41 under the per-arena lock.
42 * malloc/Makefile (tests): Add tst-malloc_info.
43 (tst-malloc_info): Link with libpthread.
44 * malloc/tst-malloc_info.c: New file.
46 2017-11-15 Joseph Myers <joseph@codesourcery.com>
49 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
50 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
51 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
52 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
53 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
54 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
55 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
56 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
57 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
58 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
59 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
60 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
61 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
62 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
63 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
64 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
65 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
66 (__floating_type): Likewise.
67 (__real_integer_type): Likewise.
68 (__complex_integer_type): Likewise.
69 (__expr_is_real): Likewise.
70 (__tgmath_real_type_sub): Likewise.
71 (__tgmath_real_type): Likewise.
72 (__tgmath_complex_type_sub): Likewise.
73 (__tgmath_complex_type): Likewise.
74 (__TGMATH_F128): Likewise.
75 (__TGMATH_CF128): Likewise.
76 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
78 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
79 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
81 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
83 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
84 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
85 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
86 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
88 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
89 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
91 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
92 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
93 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
95 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
96 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
97 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
101 2017-11-14 Joseph Myers <joseph@codesourcery.com>
103 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
104 for stpncpy calls for GCC 8.
105 (test_strncat): Disable -Wstringop-truncation warning for strncat
106 calls for GCC 8. Disable -Wstringop-overflow= warning for one
107 strncat call for GCC 7.
108 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
110 (test_memcmp): Use memcpy instead of strncpy for calls not copying
113 * string/bug-strncat1.c: Include <libc-diag.h>.
114 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
116 2017-11-13 Claude Paroz <claude@2xlibre.net>
119 * localedata/locales/aa_DJ: Improved readibility by replacing
120 <Uxxxx> sequences in the ASCII printable range by their ASCII
121 character equivalents.
122 * localedata/locales/aa_ER: Likewise.
123 * localedata/locales/aa_ER@saaho: Likewise.
124 * localedata/locales/aa_ET: Likewise.
125 * localedata/locales/af_ZA: Likewise.
126 * localedata/locales/agr_PE: Likewise.
127 * localedata/locales/ak_GH: Likewise.
128 * localedata/locales/am_ET: Likewise.
129 * localedata/locales/anp_IN: Likewise.
130 * localedata/locales/ar_AE: Likewise.
131 * localedata/locales/ar_BH: Likewise.
132 * localedata/locales/ar_DZ: Likewise.
133 * localedata/locales/ar_EG: Likewise.
134 * localedata/locales/ar_IN: Likewise.
135 * localedata/locales/ar_IQ: Likewise.
136 * localedata/locales/ar_JO: Likewise.
137 * localedata/locales/ar_KW: Likewise.
138 * localedata/locales/ar_LB: Likewise.
139 * localedata/locales/ar_LY: Likewise.
140 * localedata/locales/ar_MA: Likewise.
141 * localedata/locales/ar_OM: Likewise.
142 * localedata/locales/ar_QA: Likewise.
143 * localedata/locales/ar_SA: Likewise.
144 * localedata/locales/ar_SD: Likewise.
145 * localedata/locales/ar_SS: Likewise.
146 * localedata/locales/ar_SY: Likewise.
147 * localedata/locales/ar_TN: Likewise.
148 * localedata/locales/ar_YE: Likewise.
149 * localedata/locales/as_IN: Likewise.
150 * localedata/locales/ast_ES: Likewise.
151 * localedata/locales/ayc_PE: Likewise.
152 * localedata/locales/az_AZ: Likewise.
153 * localedata/locales/az_IR: Likewise.
154 * localedata/locales/be_BY: Likewise.
155 * localedata/locales/be_BY@latin: Likewise.
156 * localedata/locales/bem_ZM: Likewise.
157 * localedata/locales/ber_DZ: Likewise.
158 * localedata/locales/ber_MA: Likewise.
159 * localedata/locales/bg_BG: Likewise.
160 * localedata/locales/bhb_IN: Likewise.
161 * localedata/locales/bho_IN: Likewise.
162 * localedata/locales/bi_VU: Likewise.
163 * localedata/locales/bn_BD: Likewise.
164 * localedata/locales/bn_IN: Likewise.
165 * localedata/locales/bo_CN: Likewise.
166 * localedata/locales/bo_IN: Likewise.
167 * localedata/locales/br_FR: Likewise.
168 * localedata/locales/brx_IN: Likewise.
169 * localedata/locales/bs_BA: Likewise.
170 * localedata/locales/byn_ER: Likewise.
171 * localedata/locales/ca_AD: Likewise.
172 * localedata/locales/ca_ES: Likewise.
173 * localedata/locales/ca_FR: Likewise.
174 * localedata/locales/ca_IT: Likewise.
175 * localedata/locales/ce_RU: Likewise.
176 * localedata/locales/chr_US: Likewise.
177 * localedata/locales/cmn_TW: Likewise.
178 * localedata/locales/crh_UA: Likewise.
179 * localedata/locales/cs_CZ: Likewise.
180 * localedata/locales/csb_PL: Likewise.
181 * localedata/locales/cv_RU: Likewise.
182 * localedata/locales/cy_GB: Likewise.
183 * localedata/locales/da_DK: Likewise.
184 * localedata/locales/de_AT: Likewise.
185 * localedata/locales/de_BE: Likewise.
186 * localedata/locales/de_CH: Likewise.
187 * localedata/locales/de_DE: Likewise.
188 * localedata/locales/de_IT: Likewise.
189 * localedata/locales/de_LI: Likewise.
190 * localedata/locales/de_LU: Likewise.
191 * localedata/locales/doi_IN: Likewise.
192 * localedata/locales/dv_MV: Likewise.
193 * localedata/locales/dz_BT: Likewise.
194 * localedata/locales/el_CY: Likewise.
195 * localedata/locales/el_GR: Likewise.
196 * localedata/locales/en_AG: Likewise.
197 * localedata/locales/en_AU: Likewise.
198 * localedata/locales/en_BW: Likewise.
199 * localedata/locales/en_CA: Likewise.
200 * localedata/locales/en_DK: Likewise.
201 * localedata/locales/en_GB: Likewise.
202 * localedata/locales/en_HK: Likewise.
203 * localedata/locales/en_IE: Likewise.
204 * localedata/locales/en_IL: Likewise.
205 * localedata/locales/en_IN: Likewise.
206 * localedata/locales/en_NG: Likewise.
207 * localedata/locales/en_NZ: Likewise.
208 * localedata/locales/en_PH: Likewise.
209 * localedata/locales/en_SG: Likewise.
210 * localedata/locales/en_US: Likewise.
211 * localedata/locales/en_ZA: Likewise.
212 * localedata/locales/en_ZM: Likewise.
213 * localedata/locales/en_ZW: Likewise.
214 * localedata/locales/eo: Likewise.
215 * localedata/locales/es_AR: Likewise.
216 * localedata/locales/es_BO: Likewise.
217 * localedata/locales/es_CL: Likewise.
218 * localedata/locales/es_CO: Likewise.
219 * localedata/locales/es_CR: Likewise.
220 * localedata/locales/es_CU: Likewise.
221 * localedata/locales/es_DO: Likewise.
222 * localedata/locales/es_EC: Likewise.
223 * localedata/locales/es_ES: Likewise.
224 * localedata/locales/es_GT: Likewise.
225 * localedata/locales/es_HN: Likewise.
226 * localedata/locales/es_MX: Likewise.
227 * localedata/locales/es_NI: Likewise.
228 * localedata/locales/es_PA: Likewise.
229 * localedata/locales/es_PE: Likewise.
230 * localedata/locales/es_PR: Likewise.
231 * localedata/locales/es_PY: Likewise.
232 * localedata/locales/es_SV: Likewise.
233 * localedata/locales/es_US: Likewise.
234 * localedata/locales/es_UY: Likewise.
235 * localedata/locales/es_VE: Likewise.
236 * localedata/locales/et_EE: Likewise.
237 * localedata/locales/eu_ES: Likewise.
238 * localedata/locales/eu_ES@euro: Likewise.
239 * localedata/locales/fa_IR: Likewise.
240 * localedata/locales/ff_SN: Likewise.
241 * localedata/locales/fi_FI: Likewise.
242 * localedata/locales/fil_PH: Likewise.
243 * localedata/locales/fo_FO: Likewise.
244 * localedata/locales/fr_BE: Likewise.
245 * localedata/locales/fr_CA: Likewise.
246 * localedata/locales/fr_CH: Likewise.
247 * localedata/locales/fr_FR: Likewise.
248 * localedata/locales/fr_LU: Likewise.
249 * localedata/locales/fur_IT: Likewise.
250 * localedata/locales/fy_DE: Likewise.
251 * localedata/locales/fy_NL: Likewise.
252 * localedata/locales/ga_IE: Likewise.
253 * localedata/locales/gd_GB: Likewise.
254 * localedata/locales/gez_ER: Likewise.
255 * localedata/locales/gez_ET: Likewise.
256 * localedata/locales/gl_ES: Likewise.
257 * localedata/locales/gu_IN: Likewise.
258 * localedata/locales/gv_GB: Likewise.
259 * localedata/locales/ha_NG: Likewise.
260 * localedata/locales/hak_TW: Likewise.
261 * localedata/locales/he_IL: Likewise.
262 * localedata/locales/hi_IN: Likewise.
263 * localedata/locales/hif_FJ: Likewise.
264 * localedata/locales/hne_IN: Likewise.
265 * localedata/locales/hr_HR: Likewise.
266 * localedata/locales/hsb_DE: Likewise.
267 * localedata/locales/ht_HT: Likewise.
268 * localedata/locales/hu_HU: Likewise.
269 * localedata/locales/hy_AM: Likewise.
270 * localedata/locales/i18n: Likewise.
271 * localedata/locales/ia_FR: Likewise.
272 * localedata/locales/id_ID: Likewise.
273 * localedata/locales/ig_NG: Likewise.
274 * localedata/locales/ik_CA: Likewise.
275 * localedata/locales/is_IS: Likewise.
276 * localedata/locales/it_CH: Likewise.
277 * localedata/locales/it_IT: Likewise.
278 * localedata/locales/iu_CA: Likewise.
279 * localedata/locales/ja_JP: Likewise.
280 * localedata/locales/ka_GE: Likewise.
281 * localedata/locales/kk_KZ: Likewise.
282 * localedata/locales/kl_GL: Likewise.
283 * localedata/locales/kn_IN: Likewise.
284 * localedata/locales/ko_KR: Likewise.
285 * localedata/locales/kok_IN: Likewise.
286 * localedata/locales/ks_IN: Likewise.
287 * localedata/locales/ks_IN@devanagari: Likewise.
288 * localedata/locales/ku_TR: Likewise.
289 * localedata/locales/kw_GB: Likewise.
290 * localedata/locales/ky_KG: Likewise.
291 * localedata/locales/lb_LU: Likewise.
292 * localedata/locales/lg_UG: Likewise.
293 * localedata/locales/li_BE: Likewise.
294 * localedata/locales/li_NL: Likewise.
295 * localedata/locales/lij_IT: Likewise.
296 * localedata/locales/ln_CD: Likewise.
297 * localedata/locales/lo_LA: Likewise.
298 * localedata/locales/lt_LT: Likewise.
299 * localedata/locales/lv_LV: Likewise.
300 * localedata/locales/lzh_TW: Likewise.
301 * localedata/locales/mag_IN: Likewise.
302 * localedata/locales/mai_IN: Likewise.
303 * localedata/locales/mg_MG: Likewise.
304 * localedata/locales/mhr_RU: Likewise.
305 * localedata/locales/mi_NZ: Likewise.
306 * localedata/locales/mk_MK: Likewise.
307 * localedata/locales/ml_IN: Likewise.
308 * localedata/locales/mn_MN: Likewise.
309 * localedata/locales/mni_IN: Likewise.
310 * localedata/locales/mr_IN: Likewise.
311 * localedata/locales/ms_MY: Likewise.
312 * localedata/locales/mt_MT: Likewise.
313 * localedata/locales/my_MM: Likewise.
314 * localedata/locales/nan_TW: Likewise.
315 * localedata/locales/nan_TW@latin: Likewise.
316 * localedata/locales/nb_NO: Likewise.
317 * localedata/locales/nds_DE: Likewise.
318 * localedata/locales/nds_NL: Likewise.
319 * localedata/locales/ne_NP: Likewise.
320 * localedata/locales/nhn_MX: Likewise.
321 * localedata/locales/niu_NU: Likewise.
322 * localedata/locales/niu_NZ: Likewise.
323 * localedata/locales/nl_AW: Likewise.
324 * localedata/locales/nl_BE: Likewise.
325 * localedata/locales/nl_NL: Likewise.
326 * localedata/locales/nn_NO: Likewise.
327 * localedata/locales/nr_ZA: Likewise.
328 * localedata/locales/nso_ZA: Likewise.
329 * localedata/locales/oc_FR: Likewise.
330 * localedata/locales/om_ET: Likewise.
331 * localedata/locales/om_KE: Likewise.
332 * localedata/locales/or_IN: Likewise.
333 * localedata/locales/os_RU: Likewise.
334 * localedata/locales/pa_IN: Likewise.
335 * localedata/locales/pa_PK: Likewise.
336 * localedata/locales/pap_AW: Likewise.
337 * localedata/locales/pap_CW: Likewise.
338 * localedata/locales/pl_PL: Likewise.
339 * localedata/locales/ps_AF: Likewise.
340 * localedata/locales/pt_BR: Likewise.
341 * localedata/locales/pt_PT: Likewise.
342 * localedata/locales/quz_PE: Likewise.
343 * localedata/locales/raj_IN: Likewise.
344 * localedata/locales/ro_RO: Likewise.
345 * localedata/locales/ru_RU: Likewise.
346 * localedata/locales/ru_UA: Likewise.
347 * localedata/locales/rw_RW: Likewise.
348 * localedata/locales/sa_IN: Likewise.
349 * localedata/locales/sat_IN: Likewise.
350 * localedata/locales/sc_IT: Likewise.
351 * localedata/locales/sd_IN: Likewise.
352 * localedata/locales/sd_IN@devanagari: Likewise.
353 * localedata/locales/se_NO: Likewise.
354 * localedata/locales/sgs_LT: Likewise.
355 * localedata/locales/shs_CA: Likewise.
356 * localedata/locales/si_LK: Likewise.
357 * localedata/locales/sid_ET: Likewise.
358 * localedata/locales/sk_SK: Likewise.
359 * localedata/locales/sl_SI: Likewise.
360 * localedata/locales/sm_WS: Likewise.
361 * localedata/locales/so_DJ: Likewise.
362 * localedata/locales/so_ET: Likewise.
363 * localedata/locales/so_KE: Likewise.
364 * localedata/locales/so_SO: Likewise.
365 * localedata/locales/sq_AL: Likewise.
366 * localedata/locales/sq_MK: Likewise.
367 * localedata/locales/sr_ME: Likewise.
368 * localedata/locales/sr_RS: Likewise.
369 * localedata/locales/sr_RS@latin: Likewise.
370 * localedata/locales/ss_ZA: Likewise.
371 * localedata/locales/st_ZA: Likewise.
372 * localedata/locales/sv_FI: Likewise.
373 * localedata/locales/sv_SE: Likewise.
374 * localedata/locales/sw_KE: Likewise.
375 * localedata/locales/sw_TZ: Likewise.
376 * localedata/locales/szl_PL: Likewise.
377 * localedata/locales/ta_IN: Likewise.
378 * localedata/locales/ta_LK: Likewise.
379 * localedata/locales/tcy_IN: Likewise.
380 * localedata/locales/te_IN: Likewise.
381 * localedata/locales/tg_TJ: Likewise.
382 * localedata/locales/th_TH: Likewise.
383 * localedata/locales/the_NP: Likewise.
384 * localedata/locales/ti_ER: Likewise.
385 * localedata/locales/ti_ET: Likewise.
386 * localedata/locales/tig_ER: Likewise.
387 * localedata/locales/tk_TM: Likewise.
388 * localedata/locales/tl_PH: Likewise.
389 * localedata/locales/tn_ZA: Likewise.
390 * localedata/locales/to_TO: Likewise.
391 * localedata/locales/tpi_PG: Likewise.
392 * localedata/locales/tr_CY: Likewise.
393 * localedata/locales/tr_TR: Likewise.
394 * localedata/locales/ts_ZA: Likewise.
395 * localedata/locales/tt_RU: Likewise.
396 * localedata/locales/tt_RU@iqtelif: Likewise.
397 * localedata/locales/ug_CN: Likewise.
398 * localedata/locales/uk_UA: Likewise.
399 * localedata/locales/unm_US: Likewise.
400 * localedata/locales/ur_IN: Likewise.
401 * localedata/locales/ur_PK: Likewise.
402 * localedata/locales/uz_UZ: Likewise.
403 * localedata/locales/uz_UZ@cyrillic: Likewise.
404 * localedata/locales/ve_ZA: Likewise.
405 * localedata/locales/vi_VN: Likewise.
406 * localedata/locales/wa_BE: Likewise.
407 * localedata/locales/wae_CH: Likewise.
408 * localedata/locales/wal_ET: Likewise.
409 * localedata/locales/wo_SN: Likewise.
410 * localedata/locales/xh_ZA: Likewise.
411 * localedata/locales/yi_US: Likewise.
412 * localedata/locales/yo_NG: Likewise.
413 * localedata/locales/yue_HK: Likewise.
414 * localedata/locales/yuw_PG: Likewise.
415 * localedata/locales/zh_CN: Likewise.
416 * localedata/locales/zh_HK: Likewise.
417 * localedata/locales/zh_SG: Likewise.
418 * localedata/locales/zh_TW: Likewise.
419 * localedata/locales/zu_ZA: Likewise.
421 2017-11-13 Florian Weimer <fweimer@redhat.com>
423 * support/next_to_fault.h, support/next_to_fault.c: New files.
424 * support/Makefile (libsupport-routines): Add next_to_fault.
425 * resolv/tst-inet_pton.c (struct next_to_fault)
426 (next_to_fault_allocate, next_to_fault_free): Remove.
427 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
429 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
431 * elf/dl-support.c: Include <dl-procruntime.c>.
432 * include/link.h: Include <link_map.h>.
433 * sysdeps/generic/dl-procruntime.c: New file.
434 * sysdeps/generic/link_map.h: Likewise.
435 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
436 the writable ld.so namespace.
438 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
440 timezone: pacify GCC -Wstringop-truncation
441 Problem reported by Martin Sebor in:
442 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
443 * timezone/zic.c (writezone): Use memcpy, not strncpy.
445 2017-11-12 Florian Weimer <fweimer@redhat.com>
447 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
449 (tests): Add tst-xreadlink.
450 * support/support.h (xstrndup): Declare.
451 * support/xunistd.h (xunlink, xreadlink): Declare.
452 * support/temp_file.h (support_create_temp_directory): Declare.
453 * support/temp_file.c (support_create_temp_directory): New function.
454 * support/support_chroot.c (support_chroot_create): Use it.
455 * support/xreadlink.c: New file.
456 * support/xstrndup.c: Likewise.
457 * support/xunlink.c: Likewise.
458 * support/tst-xreadlink.c: Likewise.
460 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
462 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
464 2017-11-11 Florian Weimer <fweimer@redhat.com>
468 * resolv/res_comp.c (printable_string, binary_hnok)
469 (binary_leading_dash): New functions.
470 (res_hnok): Reimplement using these functions and ns_name_pton.
471 (res_ownok): Likewise.
472 (res_mailok): Reimplement using printable_string, ns_name_pton and
474 (res_dnok): Reimplement using printable_string and ns_name_pton.
475 * resolv/tst-res_hnok.c (tests): Add additional tests.
476 (LETTERDIGITS, PRINTABLE): Define.
477 (do_test): Adjust one_char results.
479 2017-11-11 Florian Weimer <fweimer@redhat.com>
482 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
483 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
485 2017-11-11 Florian Weimer <fweimer@redhat.com>
487 * resolv/tst-ns_name_pton.c: New file.
488 * resolv/Makefile (tests): Add tst-ns_name_pton.
489 (tst-ns_name_pton): Link against libresolv.
491 2017-11-11 Florian Weimer <fweimer@redhat.com>
493 * resolv/tst-res_hnok.c: New file.
494 * resolv/Makefile (tests): Add tst-res_hnok.
495 (tst-res_hnok): Link against libresolv.
497 2017-11-11 Florian Weimer <fweimer@redhat.com>
499 * resolv/tst-resolv-network.c: Use test framework instead explicit
502 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
504 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
506 [!_ISOMAC] (STR_HELPER): New.
507 [!_ISOMAC] (STR): Likewise.
508 [!_ISOMAC] (TEST_SIZE): Likewise.
509 [!_ISOMAC] (TEST_ALIGN): Likewise.
510 [!_ISOMAC] (TEST_OFFSET): Likewise.
511 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
512 field offsets of jmp_buf as well as sigjmp_buf.
513 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
514 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
515 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
516 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
517 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
518 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
519 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
520 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
521 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
522 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
524 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
526 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
531 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
532 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
533 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
534 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
535 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
540 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
541 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
542 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
544 2017-11-07 Joseph Myers <joseph@codesourcery.com>
547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
548 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
550 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
552 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
554 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
556 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
558 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
560 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
562 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
564 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
566 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
568 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
570 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
572 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
574 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
576 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
578 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
580 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
582 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
584 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
586 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
588 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
590 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
592 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
594 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
596 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
598 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
600 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
602 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
604 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
606 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
608 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
610 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
612 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
614 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
616 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
618 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
620 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
622 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
624 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
626 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
628 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
630 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
632 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
634 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
636 * stdlib/tst-strtod.h (F16): New macro.
642 (IF_FLOAT16): Likewise.
643 (IF_FLOAT32): Likewise.
644 (IF_FLOAT64): Likewise.
645 (IF_FLOAT32X): Likewise.
646 (IF_FLOAT64X): Likewise.
647 (IF_FLOAT128X): Likewise.
648 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
649 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
650 (STRTOD_TEST_FOREACH): Likewise.
651 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
652 (CHOOSE_f64): Likewise.
653 (CHOOSE_f32x): Likewise.
654 (CHOOSE_f64x): Likewise.
656 2017-11-07 Andreas Schwab <schwab@suse.de>
658 * nptl/Makefile (tests-internal): Remove tst-typesizes.
660 2017-11-07 Mike FABIAN <mfabian@redhat.com>
663 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
665 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
668 2017-11-07 Claude Paroz <claude@2xlibre.net>
671 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
673 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
675 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
678 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
681 * nptl/allocatestack.c (allocate_stack): Check if
682 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
683 __PTHREAD_MUTEX_HAVE_PREV is defined.
684 * nptl/descr.h (pthread): Likewise.
685 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
687 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
688 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
689 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
690 * sysdeps/nptl/bits/thread-shared-types.h
691 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
693 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
694 of __WORDSIZE for internal layout.
695 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
696 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
697 instead of __WORDSIZE whether to use an union for __spins and __list
699 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
701 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
702 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
704 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
705 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
707 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
708 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
710 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
711 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
713 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
714 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
716 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
717 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
719 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
720 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
722 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
723 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
725 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
726 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
728 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
729 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
731 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
732 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
734 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
735 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
737 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
738 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
740 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
741 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
743 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
744 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
747 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
749 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
750 checks for expected input type size.
751 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
752 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
754 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
755 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
756 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
757 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
758 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
759 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
760 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
761 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
762 superflous runtime assert check.
763 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
765 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
767 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
769 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
771 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
773 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
775 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
776 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
777 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
779 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
781 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
783 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
785 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
787 * nptl/pthread_attr_setinheritsched.c
788 (__pthread_attr_setinheritsched): Likewise.
789 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
791 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
793 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
794 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
795 __old_pthread_attr_setstack): Likewise.
796 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
798 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
800 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
802 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
803 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
805 * nptl/tst-typesizes.c: Remove file.
807 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
808 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
809 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
810 checks for internal pthread_mutex_t offsets.
811 * sysdeps/aarch64/nptl/pthread-offsets.h
812 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
813 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
814 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
815 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
816 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
817 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
818 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
819 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
820 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
821 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
822 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
823 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
824 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
825 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
826 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
827 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
828 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
829 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
831 2017-11-07 Florian Weimer <fweimer@redhat.com>
833 * bits/mman-linux.h: Move ...
834 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
836 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
839 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
841 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
842 Redefine STRNLEN as __strnlen_power8.
844 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
846 * signal/sighold.c (sighold): Optimize implementation.
848 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
849 __NR_rt_sigqueueinfo.
851 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
853 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
854 assume __NR_rt_sigtimedwait.
855 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
856 and add LIBC_CANCEL_HANDLED for cancellation marking.
857 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
859 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
860 (sysdeps_routines): Add memchr_noneon.
861 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
862 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
863 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
864 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
865 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
866 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
867 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
869 * sysdeps/arm/arm-ifunc.h: New file.
870 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
871 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
872 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
873 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
874 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
875 (__memcpy_neon): Avoid create hidden alias.
876 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
877 (__memcpy_vfp): Likewise.
878 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
879 (sysdep_routines): Add memcpy_arm.
880 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
882 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
885 * Makerules (make-link-multidir): New.
886 * config.make.in (multidir): New.
887 * configure.ac (libc_cv_multidir): New. AC_SUBST.
888 * configure: Regenerated.
889 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
890 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
891 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
894 2017-11-06 Joseph Myers <joseph@codesourcery.com>
897 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
898 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
900 2017-11-04 Mike FABIAN <mfabian@redhat.com>
902 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
905 2017-11-04 Florian Weimer <fweimer@redhat.com>
907 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
909 2017-11-03 Joseph Myers <joseph@codesourcery.com>
911 * math/math.h [__HAVE_DISTINCT_FLOAT16
912 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
913 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
914 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
915 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
916 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
917 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
918 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
919 (__MATH_TG_F32): New macro.
920 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
921 (__MATH_TG_F64X): Likewise.
922 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
923 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
925 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
927 * po/de.po: Update translations.
928 * po/ru.po: Likewise.
930 2017-11-03 Florian Weimer <fweimer@redhat.com>
932 * manual/filesys.texi (Hard Links): Document linkat.
934 2017-11-03 Joseph Myers <joseph@codesourcery.com>
936 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
937 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
938 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
939 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
940 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
941 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
942 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
943 the same as _Float128.
944 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
945 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
946 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
949 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
951 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
953 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
955 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
956 (strtof32x): Likewise.
957 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
958 (strtof64x): Likewise.
959 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
960 (strtof128x): Likewise.
961 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
962 (strfromf16): Likewise.
963 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
964 (strfromf32): Likewise.
965 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
966 (strfromf64): Likewise.
967 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
968 (strfromf32x): Likewise.
969 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
970 (strfromf64x): Likewise.
971 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
972 (strfromf128x): Likewise.
973 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
974 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
975 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
976 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
977 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
978 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
980 2017-11-03 Richard Henderson <rth@twiddle.net>
982 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
984 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
986 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
988 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
990 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
991 DT_TLSDESC_GOT initialization.
992 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
993 (_dl_tlsdesc_resolve_hold): Likewise.
994 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
995 (_dl_tlsdesc_resolve_hold): Likewise.
996 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
997 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
999 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1001 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
1003 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1006 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
1007 non-lazily for R_ARM_TLS_DESC.
1009 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1012 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
1013 R_ARM_TLS_DESC case.
1014 (elf_machine_lazy_rel): Remove the prelink check.
1016 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1018 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
1019 DT_TLSDESC_GOT initialization.
1020 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
1021 (_dl_tlsdesc_resolve_rela): Likewise.
1022 (_dl_tlsdesc_resolve_hold): Likewise.
1023 (_dl_tlsdesc_undefweak): Remove ldar.
1024 (_dl_tlsdesc_dynamic): Likewise.
1025 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
1026 (_dl_tlsdesc_resolve_rela): Likewise.
1027 (_dl_tlsdesc_resolve_hold): Likewise.
1028 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
1029 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1030 (_dl_tlsdesc_resolve_rela): Likewise.
1031 (_dl_tlsdesc_resolve_hold): Likewise.
1033 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1035 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
1036 binding and initialization non-lazily for R_AARCH64_TLSDESC.
1038 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1040 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
1041 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1043 2017-11-02 Joseph Myers <joseph@codesourcery.com>
1045 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
1047 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
1048 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
1049 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
1050 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
1051 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
1052 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
1053 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
1054 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
1055 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
1056 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
1057 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
1059 2017-11-02 Mike FABIAN <mfabian@redhat.com>
1062 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
1063 * localedata/locales/tpi_PG: Add standard header.
1065 2017-11-02 Florian Weimer <fweimer@redhat.com>
1067 test-errno-linux: quotactl can fail with EPERM in containers.
1068 * sysdeps/unix/sysv/linux/test-errno-linux.c
1069 (LIST, LIST_FORWARD): New macros.
1070 (check_error_in_list): New function.
1071 (test_wrp_rv): Accept list of permitted error codes.
1072 (test_wrp_rv2): Remove.
1073 (test_wrp): Call test_wrp_rv with list of error codes.
1074 (test_wrp2): Accept list of error codes.
1075 (do_test): Adjust. Allow EPERM for quotactl.
1077 2017-11-02 Florian Weimer <fweimer@redhat.com>
1079 * stdio-common/bug16.c (do_test): Use array_length.
1080 * stdio-common/errlist.c (_sys_nerr): Likewise.
1081 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
1082 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
1083 * stdio-common/psiginfo.c (psiginfo): Use array_length.
1084 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
1085 (do_test): Use array_length.
1086 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
1087 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
1088 * stdio-common/tst-printf-round.c (do_test): Likewise.
1089 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
1090 (CHECK): Use array_length.
1091 * stdio-common/tstdiomisc.c (t3, F): Likewise.
1092 * stdio-common/tstscanf.c (main): Likewise.
1093 * stdio-common/vfprintf.c (process_string_arg): Likewise.
1095 2017-11-02 Florian Weimer <fweimer@redhat.com>
1097 Add array_length and array_end macros.
1098 * include/array_length.h: New file.
1100 2017-11-02 Florian Weimer <fweimer@redhat.com>
1103 * posix/tst-glob-tilde.c (do_noescape): New variable.
1104 (one_test): Process it.
1105 (do_test): Set do_noescape. Add unescaping test case.
1107 2017-11-01 Joseph Myers <joseph@codesourcery.com>
1110 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
1111 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
1112 with appropriate macros defined and undefined.
1113 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
1114 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1115 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
1116 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1117 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
1118 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1119 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
1120 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1121 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
1122 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1125 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
1126 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
1127 that for long double. Do not condition define and undefine of
1128 _Mdouble_complex_ on [__CFLOAT128].
1130 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
1132 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1133 of <sysdeps/generic/sysdep.h>.
1134 (ALIGNARG): Removed.
1135 (ASM_SIZE_DIRECTIVE): Likewise.
1138 (ENTRY_CHK): Likewise.
1139 (END_CHK): Likewise.
1140 (syscall_error): Likewise.
1142 (PSEUDO_END): Likewise.
1144 (atom_text_section): Likewise.
1145 * sysdeps/x86/sysdep.h: New file.
1146 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1147 of <sysdeps/generic/sysdep.h>.
1148 (ALIGNARG): Removed.
1149 (ASM_SIZE_DIRECTIVE): Likewise.
1152 (ENTRY_CHK): Likewise.
1153 (END_CHK): Likewise.
1154 (syscall_error): Likewise.
1156 (PSEUDO_END): Likewise.
1158 (atom_text_section): Likewise.
1160 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
1162 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
1163 category of LC_CTYPE set to "i18n:2012".
1164 * localedata/locales/i18n_ctype: Regenerate.
1166 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
1168 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
1169 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1170 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1171 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1173 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
1174 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
1175 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1176 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
1178 2017-10-31 Joseph Myers <joseph@codesourcery.com>
1181 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
1183 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
1185 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
1187 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1188 (CMPLXF32X): Likewise.
1189 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1190 (CMPLXF64X): Likewise.
1191 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1192 (CMPLXF128X): Likewise.
1195 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
1196 (__MATH_EVAL_FMT2): Define to add 0.0f.
1198 2017-10-31 Alan Modra <amodra@gmail.com>
1200 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
1202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
1205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
1207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
1209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
1213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
1221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
1222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1227 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1228 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1229 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1230 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
1231 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1233 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1234 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1235 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1236 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
1237 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1238 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1239 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
1241 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1242 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
1243 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
1244 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1245 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1248 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1249 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
1250 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1251 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
1254 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
1255 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1264 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1265 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1266 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
1267 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1268 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
1270 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
1272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
1273 include sysdep.h and math_ldbl_opt.h.
1275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
1276 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
1291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
1296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
1298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
1300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1302 2017-10-31 Alan Modra <amodra@gmail.com>
1304 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
1305 string/strncase_l.c, not string/strncase.c.
1306 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
1307 (libc_hidden_def): Redefine.
1309 2017-10-31 Alan Modra <amodra@gmail.com>
1311 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
1312 (__STRCMP, STRCMP, __strcasecmp_l): Define.
1313 (__strcasecmp): Don't define.
1315 2017-10-31 Alan Modra <amodra@gmail.com>
1317 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
1319 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1323 2017-10-31 Alan Modra <amodra@gmail.com>
1325 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
1328 2017-10-31 Alan Modra <amodra@gmail.com>
1330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
1331 Redefine only when SHARED.
1333 2017-10-30 Joseph Myers <joseph@codesourcery.com>
1335 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1336 Include <bits/math-finite.h> with appropriate macros defined and
1338 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1339 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1340 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1341 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1342 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1344 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
1345 [!_Mlong_double_] (_Mlong_double_): Likewise.
1346 [!_Mfloat16_] (_Mfloat16_): Likewise.
1347 [!_Mfloat32_] (_Mfloat32_): Likewise.
1348 [!_Mfloat64_] (_Mfloat64_): Likewise.
1349 [!_Mfloat128_] (_Mfloat128_): Likewise.
1350 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
1351 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
1352 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
1353 (_Mdouble_): Define without indirection through those macros.
1354 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
1355 [!_Mfloat128_] (_Mfloat128_): Likewise.
1356 [_Mlong_double_] (_Mlong_double_): Likewise.
1357 (_Mdouble_): Define without indirection through those macros.
1358 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
1359 not add -D_Mlong_double_=double.
1360 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
1361 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
1363 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1365 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
1367 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1369 * sysdeps/x86/libc-start.c: Reformat.
1371 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1374 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
1378 (L(Src2)): Likewise.
1379 (L(1)): Renamed to ...
1382 2017-10-30 Joseph Myers <joseph@codesourcery.com>
1384 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
1385 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
1386 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
1387 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
1388 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
1389 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
1390 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
1391 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
1392 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
1393 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
1394 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
1395 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
1396 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
1397 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
1398 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
1399 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
1400 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
1401 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
1402 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
1403 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
1404 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
1405 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
1406 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
1407 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
1408 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
1409 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
1410 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
1411 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
1412 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
1413 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
1414 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
1415 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
1416 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
1417 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
1418 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
1419 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
1420 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
1421 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
1422 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
1423 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
1424 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
1425 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
1426 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
1427 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
1428 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
1429 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
1430 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
1431 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
1432 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
1433 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
1434 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
1435 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
1436 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
1437 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
1438 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
1439 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
1440 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
1441 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
1442 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
1443 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
1444 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
1445 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
1446 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
1447 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
1448 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
1449 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
1451 2017-10-30 Florian Weimer <fweimer@redhat.com>
1453 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
1455 * io/tst-mkdirat.c (do_test): Likewise.
1456 * io/tst-mkfifoat.c (do_test): Likewise.
1457 * io/tst-mknodat.c (do_test): Likewise.
1458 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
1459 * locale/programs/locale.c (select_dirs): Likewise.
1460 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
1461 * posix/bug-glob2.c (my_readdir): Likewise.
1462 * posix/tst-dir.c (main): Likewise.
1463 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
1464 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
1466 2017-10-30 Florian Weimer <fweimer@redhat.com>
1468 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
1471 2017-10-30 Florian Weimer <fweimer@redhat.com>
1473 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
1474 Convert to support/test-driver.c.
1475 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
1476 New macro parameters.
1477 (PRINTF): Remove macro. Use test_verbose conditionals instead.
1478 * posix/tst-gnuglob.c: New file.
1479 * posix/tst-gnuglob64.c: Likewise.
1480 * posix/Makefile (tests): Add tst-gnuglob64.
1482 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
1485 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
1486 and use a better translation for March in “mon”.
1487 * localedata/locales/csb_PL: Use more ASCII to improve the
1488 readability of the source.
1490 2017-10-30 Mike FABIAN <mfabian@redhat.com>
1493 * localedata/locales/km_KH: Use ASCII as much
1494 as possible for better readability of the source and
1495 remove useless comments.
1496 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
1497 was commented out and apparently wrong anyway because it was
1498 using Lao characters. If Buddhist era should be used
1499 for km_KH, a native speaker should write the correct formaat
1501 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
1502 (According to CLDR, the first weekday for Cambodia is Sunday).
1503 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
1504 (These were using Lao characters which must be wrong. If we get
1505 the correct data from a native speaker, we could add it back, until
1506 then it is better not to have name_mr and name_mrs at all than
1509 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
1511 * locale/loadlocale.c: Correct size of
1512 _nl_value_type_LC_<category> arrays.
1514 2017-10-27 Joseph Myers <joseph@codesourcery.com>
1516 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1517 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
1518 with appropriate macros defined and undefined.
1519 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1520 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1521 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1522 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1523 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1525 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
1527 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
1530 2017-10-27 Mike FABIAN <mfabian@redhat.com>
1532 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
1533 with lowercase letters to make it agree with CLDR.
1535 2017-10-27 Mike FABIAN <mfabian@redhat.com>
1538 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
1539 first letters of yesstr and nostr in yesexpr and noexpr,
1540 not for the full words.
1541 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1542 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
1543 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
1544 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
1545 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
1546 first letters of yesstr and nostr in yesexpr and noexpr,
1547 until now only English was matched in yesexpr and noexpr.
1548 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
1549 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
1550 fil but not for tl. As tl and fil are very similar, using fil
1551 is probably better than using English.
1553 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
1556 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
1557 in yesstr and nostr.
1559 2017-10-26 Joseph Myers <joseph@codesourcery.com>
1561 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1562 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
1563 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
1565 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
1567 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
1569 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
1571 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1572 (SNANF128X): Likewise.
1574 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1575 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
1576 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1577 (HUGE_VAL_F32): Likewise.
1578 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1579 (HUGE_VAL_F64): Likewise.
1580 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1581 (HUGE_VAL_F32X): Likewise.
1582 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1583 (HUGE_VAL_F64X): Likewise.
1584 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1585 (HUGE_VAL_F128X): Likewise.
1587 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1589 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
1590 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
1591 for the br_FR locale.
1593 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1596 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
1598 2017-10-25 Carlos O'Donell <carlos@redhat.com>
1600 * locale/programs/record-status.h: Define globals, and function
1601 prototypes. Move function bodies...
1602 * locale/programs/record-status.c: ... to here. New file.
1603 * iconv/Makefile (iconv_prog-modules): Add record-status.
1604 * locale/Makefile (lib-modules): Likewise.
1605 * iconv/iconv_prog.c: Remove verbose.
1606 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
1607 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
1608 record a warning about ASCII compatibility.
1609 * locale/programs/ld-monetary.c (monetary_finish): If
1610 warn_int_curr_symbol is true then record a warning about the symbol
1611 not being in our ISO 4217 list.
1612 * locale/programs/locale.c: Include record-status.h. Remove verbose.
1613 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
1614 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
1615 (OPT_NO_WARN): Define.
1617 (options): Add entry for --no-warnings, and --warnings.
1618 (set_warnings): New function to enable/disable warnings.
1619 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
1620 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
1621 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
1622 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
1623 Pass flags to generate_locale.
1624 (generate_locale): Accept new flag argument and pass it to localedef
1626 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
1627 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
1629 * localedata/Makefile (test-input-data): Use full file name.
1630 * localedata/da_DK.in: Rename to...
1631 * localedata/da_DK.ISO-8859-1.in: ...this.
1632 * localedata/de_DE.in: Rename to...
1633 * localedata/de_DE.ISO-8859-1.in: ...this.
1634 * localedata/en_US.in: Rename to...
1635 * localedata/en_US.ISO-8859-1.in: ...this.
1636 * localedata/fr_FR.in: Rename to...
1637 * localedata/fr_FR.UTF-8.in: ... this.
1638 * localedata/hr_HR.in: Rename to...
1639 * localedata/hr_HR.ISO-8859-2.in: ...this.
1640 * localedata/hu_HU.in: Rename to...
1641 * localedata/hu_HU.UTF-8.in: ...this.
1642 * localedata/si_LK.in: Rename to...
1643 * localedata/si_LK.UTF-8.in: ...this.
1644 * localedata/sv_SE.in: Rename to...
1645 * localedata/sv_SE.ISO-8859-1.in: ...this.
1646 * localedata/tr_TR.in: Rename to...
1647 * localedata/tr_TR.UTF-8.in: ...this.
1648 * localedata/uk_UA.in: Rename to...
1649 * localedata/uk_UA.UTF-8.in: ...this.
1650 * localedata/sort-test.sh: Test file is locale name with the
1653 * localedata/unicode-gen/Makefile (check_i18n): Rename to
1654 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
1656 * localedata/locales/i18n_ctype: Regenerate.
1657 * localedata/locales/tr_TR: Likewise.
1658 * localedata/locales/translit_circle: Likewise.
1659 * localedata/locales/translit_cjk_compat: Likewise.
1660 * localedata/locales/translit_combining: Likewise.
1661 * localedata/locales/translit_compat: Likewise.
1662 * localedata/locales/translit_font: Likewise.
1663 * localedata/locales/translit_fraction: Likewise.
1665 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1667 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
1668 lxvd2x/stxvd2x with lvx/stvx.
1669 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1671 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
1673 * include/alloc_buffer.h: Replace "if if " with "if " in
1675 * sysdeps/mips/memcpy.S: Likkewise.
1676 * sysdeps/mips/memset.S: Likewise.
1677 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1679 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
1681 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
1684 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1687 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
1689 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
1690 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
1691 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
1692 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
1693 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
1694 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
1695 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
1697 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1699 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
1700 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
1701 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
1702 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
1703 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
1704 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
1705 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
1706 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
1707 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
1708 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
1709 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
1710 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
1712 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1714 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
1715 as possible for better readability of the source.
1716 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
1717 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
1718 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
1719 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
1720 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
1721 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
1722 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
1723 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
1724 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
1725 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
1726 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
1727 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
1728 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
1729 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
1730 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
1731 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
1732 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
1733 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
1734 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
1735 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
1736 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
1737 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
1738 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
1739 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
1740 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
1741 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
1742 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
1743 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
1744 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
1745 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
1746 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
1747 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
1748 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
1749 * localedata/locales/en_US (LC_MESSAGES): Likewise.
1750 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
1751 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
1752 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
1753 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
1754 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
1755 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
1756 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
1757 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
1758 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
1759 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
1760 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
1761 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
1762 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
1763 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
1764 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
1765 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
1766 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
1767 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
1768 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
1769 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
1770 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
1771 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
1772 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
1773 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1774 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
1775 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
1776 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
1777 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
1778 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
1779 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
1780 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
1781 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
1782 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
1783 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
1784 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
1785 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
1786 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
1787 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
1788 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
1789 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
1790 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
1791 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
1792 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
1793 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
1794 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
1795 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
1796 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
1797 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
1798 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
1799 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
1800 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
1801 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
1802 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
1803 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
1804 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
1805 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
1806 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
1807 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
1808 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
1809 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
1810 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
1811 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
1812 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
1813 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
1814 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
1815 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
1816 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
1817 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
1818 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
1819 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
1820 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
1821 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
1822 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
1823 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
1824 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
1825 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
1826 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
1827 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
1828 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
1829 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
1830 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
1831 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
1832 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
1833 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
1834 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
1835 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
1836 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
1837 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
1838 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
1839 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
1840 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
1841 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
1842 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
1843 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
1844 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
1845 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
1846 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
1847 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
1848 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
1849 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
1850 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
1851 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
1852 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
1853 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
1854 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
1855 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
1856 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
1857 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
1858 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
1859 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
1860 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
1861 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
1862 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
1863 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
1864 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
1865 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
1866 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
1867 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
1868 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
1869 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
1870 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
1871 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
1872 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
1873 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
1874 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
1875 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
1876 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
1877 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
1878 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
1879 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
1880 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
1881 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
1882 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
1883 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
1884 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
1885 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
1886 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
1887 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
1888 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
1889 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
1891 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1893 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
1894 (Use first letters of yesstr and nostr correctly instead of using
1897 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1899 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
1900 (Use first letters of yesstr and nostr correctly).
1902 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1904 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
1905 also check for the first characters of yesstr and nostr.
1906 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
1907 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
1909 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1911 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
1912 also check for Chinese characters.
1914 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1916 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
1917 match also for the contents of yesstr and nostr. As the first letter
1918 of yesstr and nostr is equal, checking only for the first letter
1921 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1923 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
1924 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
1926 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1928 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
1929 of main contributor.
1931 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1933 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
1934 instead of using English.
1936 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1938 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
1939 by including the first letters of nostr and yesexpr in the regexp.
1940 Also make it more readable by using ASCII where possible.
1942 2017-10-25 Mike FABIAN <mfabian@redhat.com>
1944 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
1945 the first letter of nostr in the regexp. It agrees with CLDR now.
1946 Also make it more readable by using ASCII where possible.
1948 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1950 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
1951 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
1952 these strings contain a U+17D6 (which somewhat looks like a colon)
1953 instead of a real colon to separate the full words for “yes”
1954 and “no” from the single letter responses.
1956 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1958 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
1959 it agree with CLDR (include the first letter of yesstr).
1960 Also make it more readable by using ASCII where possible.
1962 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1964 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
1965 and improve yesexpr and noexpr. The yesstr and nostr apparently
1966 came from CLDR. And CLDR has a bug there: these strings contain
1967 a U+0903 (which looks like a colon) instead of a real colon
1968 to separate the full words for “yes” and “no” from the single
1971 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1973 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
1974 letters of the full yesstr and nostr in yesexpr and noexpr.
1976 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1978 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
1979 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
1980 * localedata/locales/an_ES: Make source more readable by using ASCII
1983 2017-10-24 Mike FABIAN <mfabian@redhat.com>
1986 * localedata/locales/yuw_PG: New file.
1987 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
1988 * locale/iso-639.def: Add Yau (Uruwa).
1990 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1992 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
1994 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1996 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
1997 (__libc_realloc): Likewise.
1998 (_mid_memalign): Likewise.
1999 (__libc_calloc): Likewise.
2001 2017-10-23 Mike FABIAN <mfabian@redhat.com>
2003 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
2004 by adding the generic +1 and -0 as in all other locales.
2005 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
2006 day names and make it more readable by using ASCII where possible.
2008 2017-10-24 Joseph Myers <joseph@codesourcery.com>
2010 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
2011 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
2013 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2015 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
2016 WNOHANG in waitpid call.
2018 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
2020 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
2021 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
2023 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
2024 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
2025 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
2026 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
2027 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
2028 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
2029 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
2030 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
2033 2017-10-23 Michael Collison <michael.collison@arm.com>
2035 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
2036 with __builtin_sqrt.
2037 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
2038 with __builtin_sqrtf.
2039 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
2040 with __builtin_ceil.
2041 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
2042 with __builtin_ceilf.
2043 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
2044 with __builtin_floor.
2045 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
2046 with __builtin_floorf.
2047 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
2049 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
2050 with __builtin_fmaf.
2051 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
2052 with __builtin_fmax.
2053 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
2054 with __builtin_fmaxf.
2055 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
2056 with __builtin_fmin.
2057 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
2058 with __builtin_fminf.
2059 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
2060 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
2061 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
2062 with builtin_rint and conversion to int.
2063 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
2064 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
2065 with builtin_llround.
2066 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
2067 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
2068 with builtin_rint and conversion to long int.
2069 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
2070 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
2071 with builtin_lround.
2072 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
2073 with builtin_lroundf.
2074 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
2075 statements with __builtin_nearbyint.
2076 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
2077 statements with __builtin_nearbyintf.
2078 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
2079 with __builtin_rint.
2080 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
2081 with __builtin_rintf.
2082 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
2083 with __builtin_round.
2084 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
2085 with __builtin_roundf.
2086 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
2087 with __builtin_trunc.
2088 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
2089 with __builtin_truncf.
2090 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
2091 and s_l[l]round[f].c too.
2093 2017-10-23 Alan Modra <amodra@gmail.com>
2095 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
2096 Adjust stack after restoring regs. Add missing LR cfi_restore.
2098 2017-10-23 Alan Modra <amodra@gmail.com>
2100 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
2101 Move LR save and frame setup/teardown and LR restore to
2102 immediately around memset call. Provide cfi.
2104 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2106 * sysdeps/i386/fpu/e_powf.S: Removed.
2107 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
2108 * sysdeps/i386/fpu/w_powf.c: Likewise.
2109 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
2110 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2111 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2113 (CFLAGS-e_powf-sse2.c): New.
2114 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
2115 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
2117 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2119 * sysdeps/i386/fpu/e_log2f.S: Removed.
2120 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
2121 * sysdeps/i386/fpu/w_log2f.c: Likewise.
2122 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
2123 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2124 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2126 (CFLAGS-e_log2f-sse2.c): New.
2127 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
2128 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
2130 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2134 (CFLAGS-e_powf-fma.c): New.
2135 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
2136 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
2138 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2140 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2142 (CFLAGS-e_log2f-fma.c): New.
2143 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
2144 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
2146 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2148 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2150 (CFLAGS-e_logf-fma.c): New.
2151 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
2152 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
2154 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2156 * sysdeps/i386/fpu/e_logf.S: Removed.
2157 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
2158 * sysdeps/i386/fpu/w_logf.c: Likewise.
2159 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
2160 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
2161 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2162 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2164 (CFLAGS-e_logf-sse2.c): New.
2165 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
2166 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
2168 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2170 * sysdeps/i386/fpu/e_exp2f.S: Removed.
2171 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
2172 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
2173 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2174 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2176 (CFLAGS-e_exp2f-sse2.c): New.
2177 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
2178 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
2180 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2182 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2184 (CFLAGS-e_exp2f-fma.c): New.
2185 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
2186 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
2188 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2190 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
2191 * sysdeps/i386/fpu/e_expf.S: Likewise.
2192 * sysdeps/i386/fpu/math_errf.c: Likewise.
2193 * sysdeps/i386/fpu/w_expf.c: Likewise.
2194 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
2195 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2196 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
2197 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
2198 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2199 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2201 (CFLAGS-e_expf-sse2.c): New.
2202 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
2203 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
2205 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2207 * sysdeps/x86_64/fpu/e_expf.S: Removed.
2208 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
2209 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
2210 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
2212 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
2214 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
2215 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2217 (__redirect_expf): This.
2218 (SYMBOL_NAME): Changed to expf.
2219 (__ieee754_expf): Renamed to ...
2221 (__GI___expf): This.
2222 (__ieee754_expf): Add strong_alias.
2223 (__expf_finite): Likewise.
2225 Include <sysdeps/ieee754/flt-32/e_expf.c>.
2227 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
2230 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
2233 2017-10-21 Florian Weimer <fweimer@redhat.com>
2235 * posix/Makefile (tests): Add tst-glob-tilde.
2236 (tests-special): Add tst-glob-tilde-mem.out
2237 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
2238 (tst-glob-tilde-mem.out): Add mtrace check.
2239 * posix/tst-glob-tilde.c: New file.
2241 2017-10-20 Joseph Myers <joseph@codesourcery.com>
2243 * bits/floatn-common.h: New file.
2244 * math/Makefile (headers): Add bits/floatn-common.h.
2245 * bits/floatn.h: Include <bits/floatn-common.h>.
2246 * sysdeps/ia64/bits/floatn.h: Likewise.
2247 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2248 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
2249 * sysdeps/powerpc/bits/floatn.h: Likewise.
2250 * sysdeps/x86/bits/floatn.h: Likewise.
2252 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2254 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
2255 indicates whether compiler emits an warning for alias for
2256 functions with incompatible types.
2259 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
2260 the auxiliary process is terminated by a signal before calling _exit
2263 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2266 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
2268 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
2269 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
2270 and bit_arch_XSAVEC_Usable if needed.
2271 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
2272 and bit_arch_Use_dl_runtime_resolve_opt.
2273 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2275 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2276 (bit_arch_Prefer_No_AVX512): Updated.
2277 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
2278 (bit_arch_XSAVEC_Usable): New.
2279 (STATE_SAVE_OFFSET): Likewise.
2280 (STATE_SAVE_MASK): Likewise.
2281 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
2282 (cpu_features): Add xsave_state_size and xsave_state_full_size.
2283 (index_arch_Use_dl_runtime_resolve_opt): Removed.
2284 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2285 (index_arch_XSAVEC_Usable): New.
2286 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2287 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
2288 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
2290 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
2291 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
2292 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
2293 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
2294 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
2295 _dl_runtime_resolve_xsavec.
2296 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
2298 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
2299 instead of VEC_SIZE.
2300 (REGISTER_SAVE_BND0): Removed.
2301 (REGISTER_SAVE_BND1): Likewise.
2302 (REGISTER_SAVE_BND3): Likewise.
2303 (REGISTER_SAVE_RAX): Always defined to 0.
2305 (_dl_runtime_resolve_avx): Likewise.
2306 (_dl_runtime_resolve_avx_slow): Likewise.
2307 (_dl_runtime_resolve_avx_opt): Likewise.
2308 (_dl_runtime_resolve_avx512): Likewise.
2309 (_dl_runtime_resolve_avx512_opt): Likewise.
2310 (_dl_runtime_resolve_sse): Likewise.
2311 (_dl_runtime_resolve_sse_vex): Likewise.
2313 (_dl_runtime_resolve_fxsave): Likewise.
2314 (USE_XSAVE): Likewise.
2315 (_dl_runtime_resolve_xsave): Likewise.
2316 (USE_XSAVEC): Likewise.
2317 (_dl_runtime_resolve_xsavec): Likewise.
2318 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
2320 (_dl_runtime_resolve_avx512_opt): Likewise.
2321 (_dl_runtime_resolve_avx): Likewise.
2322 (_dl_runtime_resolve_avx_opt): Likewise.
2323 (_dl_runtime_resolve_sse): Likewise.
2324 (_dl_runtime_resolve_sse_vex): Likewise.
2325 (_dl_runtime_resolve_fxsave): New.
2326 (_dl_runtime_resolve_xsave): Likewise.
2327 (_dl_runtime_resolve_xsavec): Likewise.
2329 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
2333 * posix/glob.c (__glob): Fix one-byte overflow.
2335 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2337 * malloc/malloc.c (sysdep-cancel.h): Add include.
2339 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2341 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
2343 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
2345 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
2346 (tests): Remove $(objpfx)ga_test depdendency.
2347 * resolv/ga_test.c: Remove file.
2349 2017-10-20 Mike FABIAN <mfabian@redhat.com>
2352 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
2353 * localedata/locales/kab_DZ: New file.
2355 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2357 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2358 _dl_relocate_static_pie instead of _dl_start to compute load
2359 address in static PIE.
2361 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2363 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
2365 2017-10-20 Mike FABIAN <mfabian@redhat.com>
2368 * localedata/SUPPORTED: Add shn_MM/UTF-8.
2369 * localedata/locales/shn_MM: New file.
2371 2017-10-20 Florian Weimer <fweimer@redhat.com>
2374 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
2375 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
2376 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
2377 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
2378 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
2379 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
2381 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
2383 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2385 2017-10-19 Joseph Myers <joseph@codesourcery.com>
2387 * sysdeps/mips/ieee754/bits/floatn.h: New file.
2390 * sysdeps/mips/bits/long-double.h: Move to ....
2391 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
2393 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
2395 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
2397 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
2398 H.J. Lu <hongjiu.lu@intel.com>
2401 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2402 GLRO(dl_platform) to NULL.
2403 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
2404 (modules-names): Add tst-platformmod-1 and
2405 x86_64/tst-platformmod-2.
2406 (CFLAGS-tst-platform-1.c): New.
2407 (CFLAGS-tst-platformmod-1.c): Likewise.
2408 (CFLAGS-tst-platformmod-2.c): Likewise.
2409 (LDFLAGS-tst-platformmod-2.so): Likewise.
2410 ($(objpfx)tst-platform-1): Likewise.
2411 ($(objpfx)tst-platform-1.out): Likewise.
2412 (tst-platform-1-ENV): Likewise.
2413 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
2414 * sysdeps/x86_64/tst-platform-1.c: New file.
2415 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
2416 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
2418 2017-10-19 Mike FABIAN <mfabian@redhat.com>
2421 * locale/iso-639.def: Add Karbi.
2422 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
2423 * localedata/locales/mjw_IN: New file.
2425 2017-10-18 Joseph Myers <joseph@codesourcery.com>
2427 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
2428 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2429 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
2430 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
2431 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2432 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2433 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
2435 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2436 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2437 * manual/math.texi (Mathematics): Document additional architecture
2438 support for _Float128.
2439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2440 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2441 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2443 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2444 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2445 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2446 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2447 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2448 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2449 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2450 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2453 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2455 2017-10-18 Renlin Li <renlin.li@arm.com>
2457 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
2458 _DYNAMIC symbol to calculate load address.
2460 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
2462 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
2463 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
2465 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
2466 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
2468 2017-10-18 Mike FABIAN <mfabian@redhat.com>
2471 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
2472 and improve readability by using more ASCII.
2473 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
2474 and improve readability by using more ASCII.
2476 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
2478 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
2479 not all targets support atomics on bool.
2481 2017-10-17 Joseph Myers <joseph@codesourcery.com>
2483 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
2484 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
2486 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2487 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
2488 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2489 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
2490 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2491 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
2493 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2495 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
2498 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2501 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
2502 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
2503 (do_check_remalloced_chunk): Fix build bug.
2504 (do_check_malloc_state): Add assert that checks arena->top.
2505 (malloc_consolidate): Remove initialization.
2506 (int_mallinfo): Remove call to malloc_consolidate.
2507 (__libc_mallopt): Clarify why malloc_consolidate is needed.
2509 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2511 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
2512 (have_fastchunks): Remove.
2513 (clear_fastchunks): Remove.
2514 (set_fastchunks): Remove.
2515 (malloc_state): Add have_fastchunks.
2516 (malloc_init_state): Use have_fastchunks.
2517 (do_check_malloc_state): Remove incorrect invariant checks.
2518 (_int_malloc): Use have_fastchunks.
2519 (_int_free): Likewise.
2520 (malloc_consolidate): Likewise.
2522 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2524 * malloc/malloc.c (tcache_put): Inline.
2525 (tcache_get): Inline.
2527 2017-10-17 Jordi Mallach <jordi@gnu.org>
2529 Aurelien Jarno <aurelien@aurel32.net>
2531 * localedata/locales/ca_ES@valencia: New file.
2532 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
2534 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
2537 * math/math.h: Let signbit use the builtin in C++ mode with gcc
2540 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2542 * scripts/build-many-glibcs.py (Context.add_all_configs):
2543 Add arm-linux-gnueabihf multiarch extra_glibcs.
2545 * sysdeps/generic/ifunc-init.h: New file.
2546 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
2548 2017-10-17 Mike FABIAN <mfabian@redhat.com>
2551 * localedata/locales/el_GR: Set n_cs_precedes to 0.
2552 * localedata/locales/el_CY: copy "el_GR" because it is identical.
2553 * stdlib/tst-strfmon_l.c: adapt test case.
2555 2017-10-16 Joseph Myers <joseph@codesourcery.com>
2557 * sysdeps/generic/float128-abi.h: New file.
2558 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
2559 non-__prefixed symbols to ....
2560 * math/Versions: ... here. Include <float128-abi.h>.
2561 * stdlib/Versions ... and here. Include <float128-abi.h>
2563 2017-10-16 Florian Weimer <fweimer@redhat.com>
2565 * version.h (VERSION): Switch to ".9000" as the development
2568 2017-10-16 Florian Weimer <fweimer@redhat.com>
2571 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
2572 compat_symbol_reference to access non-default version.
2574 2017-10-16 Florian Weimer <fweimer@redhat.com>
2576 * malloc/Makefile (others-extras): Set to mcheck-init.o.
2578 2017-10-16 Carlos O'Donell <carlos@redhat.com>
2580 * include/shlib-compat.h (compat_symbol_reference): Update
2583 2017-10-16 Joseph Myers <joseph@codesourcery.com>
2585 * math/Makefile (test-types): Add
2586 $(type-float128-$(float128-alias-fcts)).
2587 * math/test-float128.h (TYPE_STR): Define conditional on
2588 [FLT128_MANT_DIG == LDBL_MANT_DIG].
2589 (ULP_IDX): Likewise.
2590 (ULP_I_IDX): Likewise.
2592 * stdlib/strtold.c: Include <bits/floatn.h>
2593 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
2594 and later undefine as macro. Define as weak alias if
2596 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
2597 and later undefine as macro. Define as weak alias if
2599 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
2600 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
2601 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2602 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2603 Define and later undefine as macro. Define as weak alias if
2605 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
2607 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
2608 Define and later undefine as macro. Define as weak alias if
2610 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2611 Define and later undefine as macro. Define as weak alias if
2614 2017-10-15 Carlos O'Donell <carlos@redhat.com>
2616 * localedata/collate-test.c (allocate_arrays): Don't use \n in
2617 record_verbose messages.
2619 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
2622 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
2623 to silence -O3 -Wall warning with GCC 7.
2625 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
2627 * Makeconfig (+link-static-before-libc): Use the first of
2628 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
2629 * gmon/Makefile (tests): Add tst-gmon-static.
2630 (tests-static): Likewise.
2631 (CFLAGS-tst-gmon-static.c): New.
2632 (CRT-tst-gmon-static): Likewise.
2633 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
2634 (tst-gmon-static-ENV): Likewise.
2635 (tests-special): Likewise.
2636 ($(objpfx)tst-gmon-static.out): Likewise.
2637 (clean-tst-gmon-static-data): Likewise.
2638 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
2639 * gmon/tst-gmon-static-gprof.sh: New file.
2640 * gmon/tst-gmon-static.c: Likewise.
2642 2017-10-13 Carlos O'Donell <carlos@redhat.com>
2645 * locale/programs/linereader.c (get_string): Don't warn on
2646 non-symbolic character.
2649 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
2653 * locale/programs/record-status.h: New file
2654 * locale/programs/locale.c: Add comment.
2655 * locale/programs/charmap-dir.c: Don't include error.h.
2656 (charmap_opendir): Use record_error.
2657 * locale/programs/charmap.c: Don't include error.h.
2658 (charmap_read): Use record_error, and record_warning.
2659 (parse_charmap): Likewise.
2660 * locale/programs/ld-address.c: Don't include error.h.
2661 (address_finish): Use record_error, and record_warning.
2662 * locale/programs/ld-collate.c: Don't include error.h.
2663 (collate_finish): Use record_error, and record_error_at_line.
2664 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
2665 (ctype_class_new): Likewise.
2666 (ctype_map_new): Likewise.
2667 (set_one_default): Likewise.
2668 (set_class_defaults): Likewise.
2669 (translit_flatten): Likewise.
2670 (allocate_arrays): Use record_error, and record_verbose.
2671 * locale/programs/ld-identification.c: Don't include error.h.
2672 (indentation_finish): Use record_error and record_warning.
2673 * locale/programs/ld-measurement.c: Don't include error.h.
2674 (measurement_finish): Use record_error.
2675 * locale/programs/ld-messages.c
2676 (message_finish): Likewise.
2677 * locale/programs/ld-monetary.c
2678 (monetary_finish): Likewise.
2679 * locale/programs/ld-name.c (name_finish): Use record_error
2681 * locale/programs/ld-numeric.c
2682 (numeric_finish): Use record_error.
2683 * locale/programs/ld-paper.c: Don't include error.h.
2684 (paper_finish): Use record_error.
2685 * locale/programs/ld-telephone.c: Don't include error.h.
2686 (telephone_finish): Use record_error.
2687 * locale/programs/ld-time.c (time_finish): Likewise.
2688 * locale/programs/linereader.h (lr_error): Make inline func.
2689 * locale/programs/localedef.c: Define recorded_warning_count,
2690 and recorded_error_count.
2691 (main): Use record_error. Use recorded_error_count and
2692 recorded_warning_count to issue correct error returns.
2693 (add_to_readlist): Use record_error.
2694 (find_locale): Likewise.
2695 (load_locale): Likewise.
2696 * locale/programs/localedef.h: Remove be_quiet
2697 and WITH_CUR_LOCALE.
2698 * locale/programs/locarchive.c (compare_from_file): Use
2700 * locale/programs/locfile.c (write_locale_data): Use
2702 * locale/programs/repertoire.c: Dont include error.h.
2703 (repertoire_complain): Use record_error.
2704 * localedata/tst-fmon.sh: Expect failures from localedef.
2705 * localedata/tst-locale.sh: Likewise.
2706 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
2708 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
2709 (REPORTS): Likewise.
2711 (i18n): Rename to...
2712 (i18n_ctype): ...this.
2713 (i18n-report): Rename to...
2714 (i18n_ctype-report): ...this.
2715 * localedata/locales/i18n_ctype: Regenerate.
2716 * localedata/locales/i18n: copy i18n_ctype.
2718 2017-10-13 Joseph Myers <joseph@codesourcery.com>
2720 * stdlib/strfroml.c: Include <bits/floatn.h>.
2721 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
2722 Define before include of <stdlib.h> and undefine afterwards, then
2723 define as weak alias.
2725 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
2726 Undefine and restore default definition. Use
2727 libm_alias_ldouble_other.
2729 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
2732 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
2735 2017-10-13 James Clarke <jrtc27@jrtc27.com>
2737 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2738 Assign sym_map to be map for local symbols, as TLS relocations
2739 use sym_map to determine whether the symbol is defined and to
2740 extract the TLS information.
2741 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2744 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2747 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
2748 (math_force_eval): Add powerpc version.
2751 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
2753 (do_test): Likewise.
2754 * stdio-common/tst-printf.sh: Likewise.
2755 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
2756 ifdef clause in order to set the carry bit right. Replace r0 by
2757 0 without changing the behavior.
2759 2017-10-13 Joseph Myers <joseph@codesourcery.com>
2761 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
2762 <libm-alias-ldouble.h>.
2763 (fabsl): Define using libm_alias_ldouble.
2764 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
2765 <libm-alias-ldouble.h>.
2766 (fabsl): Define using libm_alias_ldouble.
2768 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
2769 Remove conditional code.
2771 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
2772 Rename to __clog10_internal_l.
2773 (__clog10_internal_l): Define aliases using
2774 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
2777 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2779 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
2780 * benchtests/sincosf-inputs: New file.
2781 * benchtests/cosf-inputs: New file.
2782 * benchtests/sinf-inputs: New file.
2784 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2786 * posix/tst-spawn.c (do_test): Wait for both children.
2788 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
2791 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
2792 tests-pie): Add tst-gmon-pie.
2793 (CFLAGS-tst-gmon-pie.c): New.
2794 (CRT-tst-gmon-pie): Likewise.
2795 (tst-gmon-pie-ENV): Likewise.
2796 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
2797 ($(objpfx)tst-gmon-pie.out): Likewise.
2798 (clean-tst-gmon-pie-data): Likewise.
2799 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
2800 * gmon/gmon.c [PIC]: Include <link.h>.
2801 [PIC] (callback): New function.
2802 (write_hist): Add an argument for load address. Subtract load
2804 (write_call_graph): Likewise.
2805 (write_gmon): Call __dl_iterate_phdr to get load address, pass
2806 it to write_hist and write_call_graph.
2807 * gmon/tst-gmon-pie.c: New file.
2809 2017-10-11 Joseph Myers <joseph@codesourcery.com>
2811 * math/Makefile (test-types-basic): New variable.
2812 (test-types): Likewise.
2813 (libm-test-support): Use $(test-types) instead of $(types).
2814 (libm-tests-base-normal): Likewise.
2815 (libm-tests-base-finite): Likewise.
2816 (libm-tests-base-inline): Likewise.
2817 (generated): Likewise.
2818 ($(objpfx)libm-test-support-$(t).c): Likewise.
2819 (libm-tests-for-type iterator): Likewise.
2820 (libm-test-support iterator): Likewise.
2821 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
2822 (ulp_idx): Use ULP_IDX.
2823 * math/test-ldouble.h: Include <float.h>.
2824 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
2825 (ULP_IDX): New macro.
2826 (ULP_I_IDX): Likewise.
2827 * math/test-double.h (ULP_IDX): Likewise.
2828 (ULP_I_IDX): Likewise.
2829 * math/test-float.h (ULP_IDX): Likewise.
2830 (ULP_I_IDX): Likewise.
2831 * math/test-float128.h (ULP_IDX): Likewise.
2832 (ULP_I_IDX): Likewise.
2834 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2836 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
2837 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2838 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2839 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
2840 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2841 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
2843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2845 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2846 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
2847 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2848 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2850 (SINGLE_THREAD_BY_GLOBAL): Define.
2851 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2853 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2855 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2857 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2859 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
2860 (SINGLE_THREAD_BY_GLOBAL): Likewise.
2861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
2864 2017-10-11 Andreas Schwab <schwab@suse.de>
2866 * nis/Makefile (aux): Remove.
2867 * nscd/Makefile (aux): Add nscd_hash.
2868 (nscd-modules): Likewise.
2869 ($(objpfx)nscd): Don't depend on libnsl.
2870 * nscd/nscd_hash.c: New file.
2871 * nscd/nscd_hash.h: Likewise.
2872 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
2873 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
2874 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
2875 instead of <nis/rpcsvc/nis.h>.
2876 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
2878 2017-10-11 Florian Weimer <fweimer@redhat.com>
2881 Avoid large NSS buffers with many addresses, aliases.
2882 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
2883 using dynarrays and struct alloc_buffer.
2884 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
2885 (tst-nss-files-hosts-multi): Link with -ldl.
2886 * nss/tst-nss-files-hosts-multi.c: New file.
2888 2017-10-11 Florian Weimer <fweimer@redhat.com>
2891 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
2892 scratch_buffer. Eliminate gotos.
2894 2017-10-11 Joseph Myers <joseph@codesourcery.com>
2896 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
2897 libm_alias_ldouble_other.
2898 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
2899 undefine and redefine.
2900 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
2901 (exp10l): Do not define here.
2902 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
2903 (weak_alias): Undefine and redefine.
2904 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
2905 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
2906 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
2907 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
2909 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
2910 [!__fma] (fma): Define using libm_alias_double.
2911 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
2912 [!__fmaf] (fmaf): Define using libm_alias_float.
2913 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
2914 (fmal): Define using libm_alias_ldouble.
2916 2017-10-10 Joseph Myers <joseph@codesourcery.com>
2918 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
2920 (libm_alias_double_other): Likewise.
2921 (libm_alias_double_r): Use libm_alias_double_other_r.
2922 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
2924 (libm_alias_float_other): Likewise.
2925 (libm_alias_float_r): Use libm_alias_float_other_r.
2926 * sysdeps/generic/libm-alias-float128.h
2927 (libm_alias_float128_other_r): New macro.
2928 (libm_alias_float128_other): Likewise.
2929 (libm_alias_float128_r): Use libm_alias_float128_other_r.
2930 * sysdeps/generic/libm-alias-ldouble.h
2931 (libm_alias_ldouble_other_r): New macro.
2932 (libm_alias_ldouble_other): Likewise.
2933 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
2934 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
2935 (libm_alias_double_other_r): New macro.
2936 (libm_alias_double_other): Likewise.
2937 (libm_alias_double_r): Use libm_alias_double_other_r.
2938 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
2939 (libm_alias_ldouble_other_r): New macro.
2940 (libm_alias_ldouble_other): Likewise.
2941 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
2942 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
2943 [!USE_AS_COMPAT]: Use libm_alias_double_other.
2944 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
2945 [!USE_AS_COMPAT]: Use libm_alias_float_other.
2946 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
2947 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
2948 * math/w_exp2f.c: Use libm_alias_float_other.
2949 * math/w_expf.c: Likewise.
2950 * math/w_log2f.c: Likewise.
2951 * math/w_logf.c: Likewise.
2952 * math/w_powf.c: Likewise.
2953 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
2954 [!__exp2f]: Use libm_alias_float_other.
2955 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
2956 [!__expf]: Use libm_alias_float_other.
2957 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
2958 [!__log2f]: Use libm_alias_float_other.
2959 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
2960 [!__logf]: Use libm_alias_float_other.
2961 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
2962 [!__powf]: Use libm_alias_float_other.
2964 2017-10-10 Florian Weimer <fweimer@redhat.com>
2966 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
2968 (_nss_files_gethostbyname3_r): Call it.
2970 2017-10-09 Joseph Myers <joseph@codesourcery.com>
2972 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
2973 error. Remove default definition of declare_mgen_alias.
2974 [!declare_mgen_alias_r]: Likewise.
2975 * sysdeps/generic/math-type-macros-double.h
2976 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
2977 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
2978 (declare_mgen_alias_r): Likewise.
2979 * sysdeps/generic/math-type-macros-float128.h
2980 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
2981 * sysdeps/generic/math-type-macros-ldouble.h
2982 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
2983 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
2985 (declare_mgen_alias_r_s): Likewise.
2986 (declare_mgen_alias_r): Likewise.
2987 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
2988 (lgamma_r): Define using libm_alias_double_r.
2989 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
2990 (lgammaf_r): Define using libm_alias_float_r.
2991 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
2992 (lgammal_r): Define using libm_alias_ldouble_r.
2993 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
2994 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2996 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2998 * lib/glob.c (__glob_pattern_type): Remove now-spurious
3001 2017-10-09 Joseph Myers <joseph@codesourcery.com>
3003 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
3005 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
3008 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
3009 [__cplusplus >= 201103] (__USE_ISOC99): Define.
3010 * math/Makefile (test-math-cxx11): New test.
3011 * math/test-math-cxx11.cc: New file.
3013 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
3015 * login/openpty.c (openpty): Close slave pty file descriptor on error.
3017 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
3018 call to allocate the slave pty file descriptor.
3020 2017-10-06 Joseph Myers <joseph@codesourcery.com>
3022 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
3023 [!__fma] (fma): Define using libm_alias_double.
3024 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
3025 [!__fma] (fma): Define using libm_alias_double.
3027 * sysdeps/ieee754/float128/float128_private.h: Include
3028 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
3029 (libm_alias_ldouble_r): Undefine and redefine.
3030 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
3031 <libm-alias-ldouble.h>.
3032 (asinhl): Define using libm_alias_ldouble.
3033 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
3034 <libm-alias-ldouble.h>.
3035 (atanl): Define using libm_alias_ldouble.
3036 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
3037 <libm-alias-ldouble.h>.
3038 (cbrtl): Define using libm_alias_ldouble.
3039 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
3040 <libm-alias-ldouble.h>.
3041 (ceill): Define using libm_alias_ldouble.
3042 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
3043 <libm-alias-ldouble.h>.
3044 (copysignl): Define using libm_alias_ldouble.
3045 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
3046 <libm-alias-ldouble.h>.
3047 (cosl): Define using libm_alias_ldouble.
3048 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
3049 <libm-alias-ldouble.h>.
3050 (erfl): Define using libm_alias_ldouble.
3052 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
3053 <libm-alias-ldouble.h>.
3054 (expm1l): Define using libm_alias_ldouble.
3055 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
3056 <libm-alias-ldouble.h>.
3057 (fabsl): Define using libm_alias_ldouble.
3058 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
3059 <libm-alias-ldouble.h>.
3060 (floorl): Define using libm_alias_ldouble.
3061 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
3062 <libm-alias-ldouble.h>.
3063 (fmal): Define using libm_alias_ldouble.
3064 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
3065 <libm-alias-ldouble.h>.
3066 (frexpl): Define using libm_alias_ldouble.
3067 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
3069 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
3070 <libm-alias-ldouble.h>.
3071 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
3073 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
3074 <libm-alias-ldouble.h>.
3075 (getpayloadl): Define using libm_alias_ldouble.
3076 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
3077 <libm-alias-ldouble.h>.
3078 (llrintl): Define using libm_alias_ldouble.
3079 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
3080 <libm-alias-ldouble.h>.
3081 (llroundl): Define using libm_alias_ldouble.
3082 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
3083 <libm-alias-ldouble.h>.
3084 (logbl): Define using libm_alias_ldouble.
3085 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
3086 <libm-alias-ldouble.h>.
3087 (lrintl): Define using libm_alias_ldouble.
3088 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
3089 <libm-alias-ldouble.h>.
3090 (lroundl): Define using libm_alias_ldouble.
3091 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
3092 <libm-alias-ldouble.h>.
3093 (modfl): Define using libm_alias_ldouble.
3094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
3095 <libm-alias-ldouble.h>.
3096 (nearbyintl): Define using libm_alias_ldouble.
3097 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
3098 <libm-alias-ldouble.h>.
3099 (nextafterl): Define using libm_alias_ldouble.
3100 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
3101 <libm-alias-ldouble.h>.
3102 (nextupl): Define using libm_alias_ldouble.
3103 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
3104 <libm-alias-ldouble.h>.
3105 (remquol): Define using libm_alias_ldouble.
3106 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
3107 <libm-alias-ldouble.h>.
3108 (rintl): Define using libm_alias_ldouble.
3109 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
3110 <libm-alias-ldouble.h>.
3111 (roundevenl): Define using libm_alias_ldouble.
3112 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
3113 <libm-alias-ldouble.h>.
3114 (roundl): Define using libm_alias_ldouble.
3115 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
3116 using libm_alias_ldouble.
3117 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
3118 <libm-alias-ldouble.h>.
3119 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
3120 Define using libm_alias_ldouble.
3121 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
3122 <libm-alias-ldouble.h>.
3123 (sincosl): Define using libm_alias_ldouble.
3124 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
3125 <libm-alias-ldouble.h>.
3126 (sinl): Define using libm_alias_ldouble.
3127 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
3128 <libm-alias-ldouble.h>.
3129 (tanhl): Define using libm_alias_ldouble.
3130 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
3131 <libm-alias-ldouble.h>.
3132 (tanl): Define using libm_alias_ldouble.
3133 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3134 <libm-alias-ldouble.h>.
3135 (totalorderl): Define using libm_alias_ldouble.
3136 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3137 <libm-alias-ldouble.h>.
3138 (totalordermagl): Define using libm_alias_ldouble.
3139 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
3140 <libm-alias-ldouble.h>.
3141 (truncl): Define using libm_alias_ldouble.
3142 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
3144 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
3146 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
3147 <libm-alias-ldouble.h>.
3148 (weak_alias): Do not undefine and redefine.
3149 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3150 (copysignl): Define with long_double_symbol only if [IS_IN
3152 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
3153 <libm-alias-ldouble.h>.
3154 (weak_alias): Do not undefine and redefine.
3155 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3156 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
3157 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
3158 <libm-alias-ldouble.h>.
3159 (weak_alias): Do not undefine and redefine.
3160 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3161 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
3162 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
3163 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
3166 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
3169 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
3172 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
3179 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
3187 2017-10-06 Carlos O'Donell <carlos@redhat.com>
3190 * malloc/malloc.c (tcache_shutting_down): Use bool type.
3191 (tcache_thread_freeres): Set tcache_shutting_down before
3193 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
3194 * malloc/tst-malloc-tcache-leak.c: New file.
3196 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3198 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
3199 back to powerpc32 file.
3200 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3201 (memrchr): Add __memrchr_power8 to ifunc list.
3202 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
3203 extra bytes for unaligned inputs.
3205 2017-10-06 Joseph Myers <joseph@codesourcery.com>
3207 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
3208 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
3209 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3213 2017-10-05 Joseph Myers <joseph@codesourcery.com>
3215 * sysdeps/arm/libm-test-ulps: Update.
3217 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
3218 <libm-alias-ldouble.h>.
3219 (asinhl): Define using libm_alias_ldouble.
3220 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
3221 <libm-alias-ldouble.h>.
3222 (cbrtl): Define using libm_alias_ldouble.
3223 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
3224 <libm-alias-ldouble.h>.
3225 (copysignl): Define using libm_alias_ldouble.
3226 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
3227 <libm-alias-ldouble.h>.
3228 (cosl): Define using libm_alias_ldouble.
3229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
3230 <libm-alias-ldouble.h>.
3231 (erfl): Define using libm_alias_ldouble.
3233 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
3234 <libm-alias-ldouble.h>.
3235 (fmal): Define using libm_alias_ldouble.
3236 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
3237 <libm-alias-ldouble.h>.
3238 (frexpl): Define using libm_alias_ldouble.
3239 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
3241 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
3242 <libm-alias-ldouble.h>.
3243 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
3245 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
3246 <libm-alias-ldouble.h>.
3247 (getpayloadl): Define using libm_alias_ldouble.
3248 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
3249 <libm-alias-ldouble.h>.
3250 (llrintl): Define using libm_alias_ldouble.
3251 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
3252 <libm-alias-ldouble.h>.
3253 (llroundl): Define using libm_alias_ldouble.
3254 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
3255 <libm-alias-ldouble.h>.
3256 (lrintl): Define using libm_alias_ldouble.
3257 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
3258 <libm-alias-ldouble.h>.
3259 (lroundl): Define using libm_alias_ldouble.
3260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
3261 <libm-alias-ldouble.h>.
3262 (modfl): Define using libm_alias_ldouble.
3263 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
3264 <libm-alias-ldouble.h>.
3265 (nextupl): Define using libm_alias_ldouble.
3266 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
3267 <libm-alias-ldouble.h>.
3268 (remquol): Define using libm_alias_ldouble.
3269 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
3270 <libm-alias-ldouble.h>.
3271 (roundevenl): Define using libm_alias_ldouble.
3272 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
3273 <libm-alias-ldouble.h>.
3274 (roundl): Define using libm_alias_ldouble.
3275 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
3276 using libm_alias_ldouble.
3277 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
3278 <libm-alias-ldouble.h>.
3279 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
3280 <libm-alias-ldouble.h>.
3281 (setpayloadsigl): Define using libm_alias_ldouble.
3282 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
3283 <libm-alias-ldouble.h>.
3284 (sincosl): Define using libm_alias_ldouble.
3285 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
3286 <libm-alias-ldouble.h>.
3287 (sinl): Define using libm_alias_ldouble.
3288 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
3289 <libm-alias-ldouble.h>.
3290 (tanhl): Define using libm_alias_ldouble.
3291 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
3292 <libm-alias-ldouble.h>.
3293 (tanl): Define using libm_alias_ldouble.
3294 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3295 <libm-alias-ldouble.h>.
3296 (totalorderl): Define using libm_alias_ldouble.
3297 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3298 <libm-alias-ldouble.h>.
3299 (totalordermagl): Define using libm_alias_ldouble.
3300 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
3302 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
3305 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
3307 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3309 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3310 (__libc_ifunc_impl_list): Likewise.
3311 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3312 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
3314 * benchtests/bench-memmove-walk.c: New file.
3315 * benchtests/Makefile (string-benchset): Add it.
3317 * benchtests/bench-memset-walk.c: New file.
3318 * benchtests/Makefile (string-benchset): Add it.
3320 * benchtests/bench-memcpy-walk.c: New file.
3321 * benchtests/Makefile (string-benchset): Add it.
3323 2017-10-05 Florian Weimer <fweimer@redhat.com>
3325 nscd: Eliminate compilation time dependency in the build output.
3326 * nscd/nscd_stat.c (STATDATA_VERSION)
3327 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
3328 (STATDATA_VERSION_FULL): New macro definitions.
3329 (compilation): Remove.
3330 (struct statdata): Adjust version member.
3331 (send_stats): Set version from STATDATA_VERSION_FULL.
3332 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
3334 2017-10-05 Joseph Myers <joseph@codesourcery.com>
3336 * configure.ac (--enable-add-ons): Remove option.
3337 (machine): Do not mention add-ons in comment.
3338 (LIBC_PRECONFIGURE): Likewise.
3339 (add_ons): Remove variable and sanity checks and logic to locate
3341 (add_ons_automatic): Remove variable.
3342 (configured_add_ons): Likewise.
3343 (add_ons_sfx): Likewise.
3344 (add_ons_pfx): Likewise.
3345 (add_on_subdirs): Likewise.
3346 (sysnames_add_ons): Likewise. Remove loop over add-ons and
3347 consideration of add-ons in Implies handling.
3348 (sysdeps_add_ons): Likewise.
3349 * configure: Regenerated.
3350 * libidn/configure.ac: Remove.
3351 * libidn/configure: Likewise.
3352 * sysdeps/unix/inet/configure.ac: New file.
3353 * sysdeps/unix/inet/configure: New generated file.
3354 * sysdeps/unix/inet/Subdirs: Add libidn.
3355 * Makeconfig (sysdeps-srcdirs): Remove variable.
3356 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
3357 ($(common-objpfx)config.status): Do not depend on add-on files.
3358 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
3360 (all-subdirs): Do not include $(add-on-subdirs).
3361 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
3362 * config.make.in (add-ons): Remove variable.
3363 (add-on-subdirs): Likewise.
3364 (sysdeps-add-ons): Likewise.
3365 * manual/Makefile (add-chapters): Remove.
3366 ($(objpfx)texis): Do not depend on $(add-chapters).
3367 (nonexamples): Do not handle $(add-chapters).
3368 (examples): Do not handle $(add-ons).
3369 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
3371 * manual/install.texi (Installation): Do not mention add-ons.
3372 (--enable-add-ons): Do not document configure option.
3373 * INSTALL: Regenerated.
3374 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
3375 * manual/maint.texi (Hierarchy Conventions): Do not mention
3377 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
3379 * scripts/gen-sorted.awk: Do not handle Subdirs files from
3381 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
3382 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
3384 2017-10-05 Andreas Schwab <schwab@suse.de>
3387 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
3388 (_IO_flush_all_lockp): Always lock list_all_lock.
3389 (_IO_flush_all_linebuffered): Likewise.
3390 (_IO_unbuffer_all): Likewise.
3392 2017-10-05 Florian Weimer <fweimer@redhat.com>
3395 Do not flush stdio streams on abort.
3396 * stdlib/abort.c (fflush): Remove macro definition.
3397 (abort): Remove stages related to stdio flushing.
3399 2017-10-05 Florian Weimer <fweimer@redhat.com>
3401 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
3403 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
3405 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3407 2017-10-05 Florian Weimer <fweimer@redhat.com>
3409 * support/support_format_hostent.c (support_format_hostent): Add
3410 more error information for NETDB_INTERNAL.
3412 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3414 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
3415 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
3416 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
3417 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
3418 AC_DEFINE if multi-arch is enabled.
3419 * sysdeps/i386/configure: Regenerated.
3421 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3423 * Makeconfig (+link-static-before-libc): Use
3424 $(DEFAULT-LDFLAGS-$(@F)).
3425 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
3426 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
3427 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
3429 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3431 * elf/Makefile (tests): Add tst-main1.
3432 (modules-names): Add tst-main1mod.
3433 ($(objpfx)tst-main1): New.
3434 (CRT-tst-main1): Likewise.
3435 (LDFLAGS-tst-main1): Likewise.
3436 (LDLIBS-tst-main1): Likewise.
3437 (tst-main1mod.so-no-z-defs): Likewise.
3438 * elf/tst-main1.c: New file.
3439 * elf/tst-main1mod.c: Likewise.
3441 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3443 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
3445 2017-10-04 Joseph Myers <joseph@codesourcery.com>
3447 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
3448 (fma): Define using libm_alias_double.
3449 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
3450 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
3452 (fmal): Do not define as compat symbol here.
3453 * sysdeps/alpha/fpu/s_fma.c: New file.
3455 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3457 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
3459 2017-10-04 Joseph Myers <joseph@codesourcery.com>
3462 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
3464 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3466 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
3467 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3468 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
3469 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
3470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3471 Include <math_ldbl_opt.h>
3472 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3474 (compat_symbol): Undefine and redefine.
3475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
3477 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3478 (compat_symbol): Undefine and redefine.
3479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
3480 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
3481 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
3483 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
3484 GLIBC_2.0 copysignl symbol.
3485 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3486 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
3488 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
3490 2017-10-04 Florian Weimer <fweimer@redhat.com>
3492 * scripts/check-local-headers.sh: Ignore nspr4 header file
3493 directory in addition to nspr.
3495 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
3498 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
3499 * configure: Regenerate.
3500 * crypt/Makefile (nss-cpp-flags): New variable.
3501 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
3502 (CPPFLAGS-md5-crypt.c): Use it.
3503 * scripts/check-local-headers.sh: Ignore nspr header file
3506 2017-10-04 Andreas Schwab <schwab@suse.de>
3508 * nis/Makefile (services): Remove compat.
3509 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
3510 ($(objpfx)libnss_compat.so): Remove rule.
3511 * nis/Versions (libnss_compat): Remove.
3512 * nss/Makefile (services): Add compat.
3513 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
3514 * nss/Versions (libnss_compat): Define.
3515 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
3516 Don't include <rpc/types.h>. Replace bool_t by bool.
3517 * nss/nss_compat/compat-initgroups.c: Likewise.
3518 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
3519 instead of <rpcsrv/ypclnt.h>.
3520 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
3521 yp_get_default_domain.
3522 * nss/nss_compat/compat-pwd.c: Likewise.
3523 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
3524 yp_get_default_domain.
3525 * nss/nss_compat/nisdomain.c: New file.
3526 * nss/nss_compat/nisdomain.h: Likewise.
3528 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
3532 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3534 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3537 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
3538 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
3540 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3542 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
3543 "movl main@GOTOFF(%ebx), %eax".
3545 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3547 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
3548 allow undefined _DYNAMIC in PIE libc.a.
3549 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
3552 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3554 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
3557 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3559 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
3562 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3564 * math/test-math-iscanonical.cc (error): Replace bool with int.
3566 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3568 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
3569 (modf): Define using libm_alias_double, only if [!__modf].
3570 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
3571 <libm-alias-double.h>.
3572 (modf): Define using libm_alias_double, only if [!__modf].
3573 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
3575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
3576 (weak_alias): Do not undefine and redefine.
3577 (strong_alias): Likewise.
3578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
3579 (weak_alias): Likewise.
3580 (strong_alias): Likewise.
3582 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
3583 (logb): Define using libm_alias_double, only if [!__logb].
3584 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
3585 <libm-alias-double.h>.
3586 (logb): Define using libm_alias_double, only if [!__logb].
3587 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
3588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
3589 (weak_alias): Do not undefine and redefine.
3590 (strong_alias): Likewise.
3591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
3592 (weak_alias): Likewise.
3593 (strong_alias): Likewise.
3595 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3597 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
3598 Check SHARED instead PIC.
3600 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3602 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
3603 [!__fmaf] (fmaf): Define using libm_alias_float.
3605 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
3606 (frexp): Define using libm_alias_double.
3607 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
3608 <libm-alias-double.h>.
3609 (frexp): Define using libm_alias_double.
3610 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
3613 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3616 * math/math.h: Trivial fix for unbalanced parentheses in comment.
3617 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
3618 (CFLAGS-test-math-iscanonical.cc): New variable.
3619 * math/test-math-iscanonical.cc: New file.
3620 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
3621 Provide a C++ implementation based on function overloading,
3622 rather than using __MATH_TG, which uses C-only builtins.
3623 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
3625 * sysdeps/powerpc/powerpc64le/Makefile
3626 (CFLAGS-test-math-iscanonical.cc): New variable.
3628 2017-10-03 Joseph Myers <joseph@codesourcery.com>
3630 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
3631 (ceil): Define using libm_alias_double.
3632 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
3633 (floor): Define using libm_alias_double.
3634 * sysdeps/ieee754/dbl-64/s_llround.c: Include
3635 <libm-alias-double.h>.
3636 (llround): Define using libm_alias_double.
3637 * sysdeps/ieee754/dbl-64/s_lround.c: Include
3638 <libm-alias-double.h>.
3639 (lround): Define using libm_alias_double.
3640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
3641 <libm-alias-double.h>.
3642 (nearbyint): Define using libm_alias_double.
3643 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
3644 <libm-alias-double.h>.
3645 (remquo): Define using libm_alias_double.
3646 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
3647 (rint): Define using libm_alias_double.
3648 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
3649 (round): Define using libm_alias_double.
3650 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
3651 (trunc): Define using libm_alias_double.
3652 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
3653 <libm-alias-double.h>.
3654 (ceil): Define using libm_alias_double.
3655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
3656 <libm-alias-double.h>.
3657 (floor): Define using libm_alias_double.
3658 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
3659 <libm-alias-double.h>.
3660 (llround): Define using libm_alias_double.
3661 [_LP64] (lround): Likewise.
3662 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
3663 <libm-alias-double.h>.
3664 [!_LP64] (lround): Define using libm_alias_double.
3665 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
3666 <libm-alias-double.h>.
3667 (nearbyint): Define using libm_alias_double.
3668 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
3669 <libm-alias-double.h>.
3670 (remquo): Define using libm_alias_double.
3671 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
3672 <libm-alias-double.h>.
3673 (rint): Define using libm_alias_double.
3674 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
3675 <libm-alias-double.h>.
3676 (round): Define using libm_alias_double.
3677 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
3678 <libm-alias-double.h>.
3679 (trunc): Define using libm_alias_double.
3680 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
3681 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
3682 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
3683 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
3684 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
3685 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
3686 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
3687 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
3688 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
3690 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3692 * math/w_remainder.c: New file.
3693 * math/w_remainderf.c: New file.
3694 * math/w_remainderl.c: New file.
3696 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3698 * elf/rtld.c (BOOTSTRAP_MAP): New.
3699 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
3700 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3702 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3704 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3707 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3709 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
3710 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
3711 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
3712 rtld_hidden_data_ver): Define to empty.
3713 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
3714 __assert_perror_fail): Likewise.
3715 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3716 (__rewinddir): Likewise.
3717 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3718 (__profile_frequency): Likewise.
3719 * include/setjmp.h (__sigsetjmp): Likewise.
3720 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
3721 __libc_sigaction): Likewise.
3722 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
3723 not set hidden attribute.
3724 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
3725 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
3726 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
3727 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
3728 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
3729 __fxstatat64): Likewise.
3730 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3731 (__uname): Likewise.
3732 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
3733 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
3734 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
3735 (NO_RTLD_HIDDEN): Set.
3736 * sysdeps/mach/hurd/configure: Refresh.
3737 * config.h.in: Refresh.
3739 2017-10-02 Joseph Myers <joseph@codesourcery.com>
3741 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
3742 (atan): Define using libm_alias_double.
3743 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
3744 (tan): Define using libm_alias_double.
3745 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
3746 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
3749 define as weak alias of __atan. Do not define any aliases if
3751 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
3752 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
3753 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
3754 as weak alias of __tan. Do not define any aliases if [__tan].
3755 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
3756 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
3757 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
3759 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
3760 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
3761 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
3762 and define as weak alias of __atan.
3763 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
3765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
3766 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
3767 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
3768 define as weak alias of __tan.
3770 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3772 * math/w_lgamma.c: New file.
3773 * math/w_lgammaf.c: New file.
3774 * math/w_lgammal.c: New file.
3776 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3778 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
3779 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
3780 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
3781 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
3782 * sysdeps/ieee754/flt-32/w_logf.c: New file.
3783 * sysdeps/ieee754/flt-32/w_powf.c: New file.
3784 * sysdeps/i386/fpu/w_log2f.c: New file.
3785 * sysdeps/i386/fpu/w_logf.c: New file.
3786 * sysdeps/i386/fpu/w_powf.c: New file.
3787 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
3788 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
3789 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
3791 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3792 H.J. Lu <hongjiu.lu@intel.com>
3794 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
3795 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
3796 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
3797 * sysdeps/ieee754/flt-32/w_expf.c: New file.
3798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
3800 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
3801 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
3802 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
3803 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
3804 * sysdeps/i386/fpu/w_exp2f.c: New file.
3805 * sysdeps/i386/fpu/w_expf.c: New file.
3806 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
3807 * sysdeps/x86_64/fpu/w_expf.c: New file.
3809 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3811 * math/Versions (logf): New libm symbol at GLIBC_2.27.
3814 * math/w_log2f.c: New file.
3815 * math/w_logf.c: New file.
3816 * math/w_powf.c: New file.
3817 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
3818 * math/w_logf_compat.c (__logf_compat): Likewise.
3819 * math/w_powf_compat.c (__powf_compat): Likewise.
3820 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
3821 * sysdeps/ia64/fpu/e_logf.S: Likewise.
3822 * sysdeps/ia64/fpu/e_powf.S: Likewise.
3823 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3824 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3825 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3826 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3827 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3829 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3830 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3831 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3832 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3833 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3834 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3843 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3844 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3845 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3846 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3847 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3852 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3854 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3856 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3858 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3859 (sysdep_routines): Add memrchr_power8.
3860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3861 (memrchr): Add __memrchr_power8 to list of memrchr functions.
3862 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
3864 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3865 (memrchr): Add __memrchr_power8 to ifunc list.
3866 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
3868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3871 * sysdeps/unix/sysv/linux/posix_fadvise64.c
3872 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
3874 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3875 (__posix_fallocate64_l64): Likewise.
3877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3880 * sysdeps/unix/sysv/linux/sched_setaffinity.c
3881 (__sched_setaffinity_new): Add libc_hidden_proto and
3884 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3887 * include/glob.h (__glob64): Add libc_hidden_proto.
3888 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
3891 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3894 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
3897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3900 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
3902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3905 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
3908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3911 * csu/version.c (__libc_print_version): Add attribute_hidden.
3913 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3916 * include/libc-internal.h (__init_misc): Add attribute_hidden.
3918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3921 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
3923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3926 * nscd/nscd_helper.c (__nis_hash): New prototype.
3928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3931 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
3932 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
3934 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3935 * termios/tcgetattr.c (__tcgetattr): Likewise.
3937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3940 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
3941 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
3942 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
3943 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
3944 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
3946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3949 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
3951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3954 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
3955 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
3957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3960 * intl/hash-string.h (__hash_string): Add attribute_hidden.
3962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3965 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
3966 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
3968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3971 * include/ifreq.h: New file.
3972 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
3973 (__ifreq): Likewise.
3974 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
3975 (__ifreq): Likewise.
3977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3980 * include/idna.h: New file.
3981 * inet/getnameinfo.c: Include <idna.h> instead of
3983 (__idna_to_unicode_lzlz): Removed.
3984 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
3986 (__idna_to_ascii_lz): Removed.
3987 (__idna_to_unicode_lzlz): Likewise.
3989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3992 * include/plural-exp.h: New file.
3993 * intl/plural-exp.c: Include <plural-exp.h> instead of
3996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3999 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
4000 "getsourcefilter.h".
4001 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
4002 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
4003 "getsourcefilter.h".
4004 (__get_sol): Removed.
4006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4009 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
4011 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
4013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4016 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
4019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4022 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
4024 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4027 * include/search.h (__tdestroy): Add libc_hidden_proto.
4028 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
4030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4033 * include/assert.h (__assert_fail_base): Add attribute_hidden.
4035 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4038 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
4041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4044 * include/signal.h (__kill): Add libc_hidden_proto.
4045 (__sigblock): Likewise.
4046 (__sigprocmask): Likewise.
4047 (__sigaltstack): Likewise.
4048 * signal/kill.c (__kill): Add libc_hidden_def.
4049 * signal/sigblock.c (__sigblock): Likewise.
4050 * signal/sigprocmask.c (__sigprocmask): Likewise.
4051 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4052 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4053 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4054 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4055 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
4057 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4059 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4060 (__sigprocmask): Likewise.
4061 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
4063 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4064 (__sigprocmask): Likewise.
4065 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4068 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4071 * include/string.h (__strsep): Add libc_hidden_proto.
4072 * string/strsep.c (__strsep): Add libc_hidden_def.
4074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4077 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
4079 (__spawni): Likewise.
4081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4084 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
4085 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
4088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4091 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
4093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4096 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
4097 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
4098 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4099 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
4100 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
4102 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
4103 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
4105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4108 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
4109 (__dcigettext): Likewise.
4111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4114 * include/sys/sysinfo.h (__get_nprocs_conf): Add
4116 (__get_nprocs): Likewise.
4117 (__get_phys_pages): Likewise.
4118 (__get_avphys_pages): Likewise.
4119 (__get_child_max): Add attribute_hidden.
4120 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
4121 (__get_nprocs): Likewise.
4122 (__get_phys_pages): Likewise.
4123 (__get_avphys_pages): Likewise.
4124 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
4126 (__get_nprocs): Likewise.
4127 (__get_phys_pages): Likewise.
4128 (__get_avphys_pages): Likewise.
4129 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
4131 (__get_nprocs_conf): Likewise.
4132 (__get_phys_pages): Likewise.
4133 (__get_avphys_pages): Likewise.
4135 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4138 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
4140 (__netlink_close): Likewise.
4141 (__netlink_free_handle): Likewise.
4142 (__netlink_request): Likewise.
4144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4147 * include/rpc/rpc.h (__rpc_thread_variables): Add
4149 (__rpc_thread_svc_cleanup): Likewise.
4150 (__rpc_thread_clnt_cleanup): Likewise.
4151 (__rpc_thread_key_cleanup): Likewise.
4153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4156 * include/sys/uio.h (__readv): Add libc_hidden_proto.
4157 (__writev): Likewise.
4158 * misc/readv.c (__readv): Add libc_hidden_def.
4159 * misc/writev.c (__writev): Likewise.
4160 * sysdeps/posix/readv.c (__readv): Likewise.
4161 * sysdeps/posix/writev.c (__writev): Likewise.
4162 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
4163 (__readv): Likewise.
4164 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
4165 (__writev): Likewise.
4167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4170 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
4171 (__regcomp): Add libc_hidden_proto.
4172 (__regexec): Likewise.
4173 (__regfree): Likewise.
4174 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
4175 (__regfree): Likewise.
4176 * posix/regexec.c (__regexec): Likewise.
4178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4181 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
4182 (__getutent): Likewise.
4183 (__getutid): Likewise.
4184 (__getutline): Likewise.
4185 (__pututline): Likewise.
4186 (__getutent_r): Likewise.
4187 (__getutid_r): Likewise.
4188 (__getutline_r): Likewise.
4189 (__utmpname): Add attribute_hidden.
4190 (__setutent): Likewise.
4191 (__endutent): Likewise.
4192 * login/getutent.c (__getutent): Add libc_hidden_def.
4193 * login/getutent_r.c (__getutent_r): Likewise.
4194 (__pututline): Likewise.
4195 * login/getutid.c (__getutid): Likewise.
4196 * login/getutid_r.c (__getutid_r): Likewise.
4197 * login/getutline.c (__getutline): Likewise.
4198 * login/getutline_r.c (__getutline_r): Likewise.
4199 * login/updwtmp.c (__updwtmp): Likewise.
4201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4204 * include/dirent.h (__opendir): Always add attribute_hidden.
4205 (__fdopendir): Likewise.
4206 (__closedir): Likewise.
4207 (__readdir): Likewise.
4208 (__readdir64): Add libc_hidden_proto.
4209 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
4210 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
4211 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
4212 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
4215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4218 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
4219 * include/netdb.h (__gethostbyaddr_r): Likewise.
4220 (__gethostbyname_r): Likewise.
4221 (__gethostbyname2_r): Likewise.
4222 (__getnetbyaddr_r): Likewise.
4223 (__getnetbyname_r): Likewise.
4224 (__getservbyname_r): Likewise.
4225 (__getservbyport_r): Likewise.
4226 (__getprotobyname_r): Likewise.
4227 (__getprotobynumber_r): Likewise.
4228 (__getnetgrent_r): Likewise.
4229 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
4230 (__getrpcbynumber_r): Likewise.
4231 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
4233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4236 * include/stdio.h (__fcloseall): Add attribute_hidden.
4237 (__getline): Likewise.
4238 (__path_search): Likewise.
4239 (__gen_tempname): Likewise.
4240 (__libc_message): Likewise.
4241 (__flockfile): Likewise.
4242 (__funlockfile): Likewise.
4243 (__fxprintf): Likewise.
4244 (__fxprintf_nocancel): Likewise.
4246 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4249 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
4250 (__sgetsgent_r): Likewise.
4252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4255 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
4256 (__statfs64): Likewise.
4257 (__fstatfs64): Likewise.
4258 * include/sys/statvfs.h (__statvfs64): Likewise.
4259 (__fstatvfs64): Likewise.
4260 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
4261 (__statfs_filesize_max): Likewise.
4262 (__statfs_symlinks): Likewise.
4263 (__statfs_chown_restricted): Likewise.
4265 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4268 * include/time.h (__tzstring): Add attribute_hidden.
4269 (__tzfile_read): Likewise.
4270 (__tzfile_compute): Likewise.
4271 (__tzfile_default): Likewise.
4272 (__tzset_parse_tz): Likewise.
4273 (__offtime): Likewise.
4274 (__asctime_r): Likewise.
4275 (__tzset): Likewise.
4276 (__tz_convert): Likewise.
4277 (__getdate_r): Likewise.
4278 (__getclktck): Likewise.
4280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4283 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
4284 (__nscd_unmap): Likewise.
4285 (__nscd_cache_search): Likewise.
4286 (__nscd_get_nl_timestamp): Likewise.
4287 (__nscd_getpwnam_r): Likewise.
4288 (__nscd_getpwuid_r): Likewise.
4289 (__nscd_getgrnam_r): Likewise.
4290 (__nscd_getgrgid_r): Likewise.
4291 (__nscd_gethostbyname_r): Likewise.
4292 (__nscd_gethostbyname2_r): Likewise.
4293 (__nscd_gethostbyaddr_r): Likewise.
4294 (__nscd_getai): Likewise.
4295 (__nscd_getgrouplist): Likewise.
4296 (__nscd_getservbyname_r): Likewise.
4297 (__nscd_getservbyport_r): Likewise.
4298 (__nscd_innetgr): Likewise.
4299 (__nscd_setnetgrent): Likewise.
4301 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4304 * include/gmp.h: Declare internal functions only if _ISOMAC is
4306 (__mpn_extract_double): Add attribute_hidden.
4307 (__mpn_extract_long_double): Likewise.
4308 (__mpn_extract_float128): Likewise.
4309 (__mpn_construct_float): Likewise.
4310 (__mpn_construct_double): Likewise.
4311 (__mpn_construct_long_double): Likewise.
4312 (__mpn_construct_float128): Likewise.
4313 (mpn_add_1): Likewise.
4314 (mpn_addmul_1): Likewise.
4315 (mpn_add_n): Likewise.
4316 (mpn_cmp): Likewise.
4317 (mpn_divrem): Likewise.
4318 (mpn_lshift): Likewise.
4319 (mpn_mul): Likewise.
4320 (mpn_mul_1): Likewise.
4321 (mpn_rshift): Likewise.
4322 (mpn_sub_1): Likewise.
4323 (mpn_submul_1): Likewise.
4324 (mpn_sub_n): Likewise.
4326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4329 * include/wchar.h (__wcsnlen): Add attribute_hidden.
4330 (__wcscat): Likewise.
4331 (__btowc): Likewise.
4332 (__wcrtomb): Likewise.
4333 (__mbsrtowcs): Likewise.
4334 (__wcsrtombs): Likewise.
4335 (__mbsnrtowcs): Likewise.
4336 (__wcsnrtombs): Likewise.
4337 (__wcsncpy): Likewise.
4338 (__wcpncpy): Likewise.
4339 (__wmemcpy): Likewise.
4340 (__wmempcpy): Likewise.
4341 (__wmemmove): Likewise.
4342 (__wcschrnul): Likewise.
4343 (__vfwscanf): Likewise.
4344 (__vswprintf): Likewise.
4345 (__fwprintf): Likewise.
4346 (__vfwprintf): Likewise.
4348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4351 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
4352 (__getgrgid_r): Likewise.
4353 (__getgrnam_r): Likewise.
4354 * include/pwd.h (__getpwuid_r): Likewise.
4355 (__getpwnam_r): Likewise.
4356 (__fgetpwent_r): Likewise.
4357 * include/shadow.h (__getspnam_r): Likewise.
4358 (__sgetspent_r): Likewise.
4359 (__fgetspent_r): Likewise.
4361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4364 * include/unistd.h (__access): Add attribute_hidden.
4365 (__lseek64): Likewise.
4366 (__libc_pread64): Likewise.
4367 (__pipe2): Likewise.
4368 (__sleep): Likewise.
4369 (__chdir): Likewise.
4370 (__fchdir): Likewise.
4371 (__getcwd): Likewise.
4372 (__rmdir): Likewise.
4373 (__execvpe): Likewise.
4374 (__execve): Likewise.
4375 (__setsid): Likewise.
4376 (__getuid): Likewise.
4377 (__geteuid): Likewise.
4378 (__getgid): Likewise.
4379 (__getegid): Likewise.
4380 (__getgroups): Likewise.
4381 (__group_member): Likewise.
4382 (__ttyname_r): Likewise.
4383 (__isatty): Likewise.
4384 (__readlink): Likewise.
4385 (__unlink): Likewise.
4386 (__gethostname): Likewise.
4387 (__profil): Likewise.
4388 (__getdtablesize): Likewise.
4390 (__ftruncate): Likewise.
4391 (__ftruncate64): Likewise.
4393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4396 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
4397 * argp/argp-fs-xinl.c: Likewise.
4398 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
4399 * argp/argp-parse.c: Include <argp.h>.
4400 * argp/argp-xinl.c: Likewise.
4401 * include/argp-fmtstream.h: New file.
4402 * include/argp.h (__argp_error): Add attribute_hidden.
4403 (__argp_failure): Likewise.
4404 (__argp_input): Likewise.
4405 (__argp_state_help): Likewise.
4407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4410 * include/wchar.h (____wcstof_l_internal): New prototype.
4411 (____wcstod_l_internal): Likewise.
4412 (____wcstold_l_internal): Likewise.
4413 (____wcstol_l_internal): Likewise.
4414 (____wcstoul_l_internal): Likewise.
4415 (____wcstoll_l_internal): Likewise.
4416 (____wcstoull_l_internal): Likewise.
4417 (____wcstof128_l_internal): Likewise.
4418 * sysdeps/ieee754/float128/wcstof128.c
4419 (____wcstof128_l_internal): Removed.
4420 * sysdeps/ieee754/float128/wcstof128_l.c
4421 (____wcstof128_l_internal): Likewise.
4422 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
4423 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
4424 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
4425 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
4426 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
4427 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
4428 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
4429 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
4430 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
4431 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
4433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4436 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
4437 instead of <sys/statvfs.h>.
4438 (__internal_statvfs): Removed.
4439 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
4440 instead of <sys/statvfs.h>.
4441 (__internal_statvfs64): Removed.
4442 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
4443 "internal_statvfs.h" instead of <sys/statvfs.h>.
4444 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
4445 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
4446 instead of <sys/statvfs.h>.
4447 (__internal_statvfs): Removed.
4448 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
4449 instead of <sys/statvfs.h>.
4450 (__internal_statvfs64): Removed.
4452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4455 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
4456 (__gconv_close): Likewise.
4457 (__gconv): Likewise.
4458 (__gconv_find_transform): Likewise.
4459 (__gconv_lookup_cache): Likewise.
4460 (__gconv_compare_alias_cache): Likewise.
4461 (__gconv_load_cache): Likewise.
4462 (__gconv_get_path): Likewise.
4463 (__gconv_close_transform): Likewise.
4464 (__gconv_release_cache): Likewise.
4465 (__gconv_find_shlib): Likewise.
4466 (__gconv_release_shlib): Likewise.
4467 (__gconv_get_builtin_trans): Likewise.
4468 (__gconv_compare_alias): Likewise.
4469 * include/dlfcn.h (_dlerror_run): Likewise.
4470 * include/stdio.h (__fortify_fail_abort): Likewise.
4471 * include/time.h (__tz_compute): Likewise.
4472 (__strptime_internal): Likewise.
4473 * intl/gettextP.h (_nl_find_domain): Likewise.
4474 (_nl_load_domain): Likewise.
4475 (_nl_find_msg): Likewise.
4476 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
4477 (EXTRACT_PLURAL_EXPRESSION): Likewise.
4478 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
4479 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
4480 (__gai_find_request): Likewise.
4481 (__gai_remove_request): Likewise.
4482 (__gai_notify): Likewise.
4483 (__gai_notify_only): Likewise.
4484 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4485 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4486 (_dl_non_dynamic_init): Likewise.
4487 (_dl_aux_init): Likewise.
4488 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
4489 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4491 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
4492 (__wcsmbs_clone_conv): Likewise.
4493 (__wcsmbs_named_conv): Likewise.
4495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4498 * include/stdlib.h (__random): Add attribute_hidden.
4499 (__random_r): Likewise.
4500 (__srandom_r): Likewise.
4501 (__initstate_r): Likewise.
4502 (__setstate_r): Likewise.
4503 (__erand48_r): Likewise.
4504 (__nrand48_r): Likewise.
4505 (__jrand48_r): Likewise.
4506 (__srand48_r): Likewise.
4507 (__seed48_r): Likewise.
4508 (__lcong48_r): Likewise.
4509 (__drand48_iterate): Likewise.
4510 (__setenv): Likewise.
4511 (__unsetenv): Likewise.
4512 (__clearenv): Likewise.
4513 (__ptsname_r): Likewise.
4514 (__posix_openpt): Likewise.
4515 (__add_to_environ): Likewise.
4516 (__realpath): Add libc_hidden_proto.
4517 (__ecvt_r): Likewise.
4518 (__fcvt_r): Likewise.
4519 (__qecvt_r): Likewise.
4520 (__qfcvt_r): Likewise.
4521 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
4522 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
4524 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4527 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
4528 * include/time.h (__mktime_internal): Likewise.
4529 * libio/iolibio.h (__fopen_internal): Likewise.
4531 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
4533 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
4535 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
4536 Correct offset used to restore PIC register.
4538 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
4541 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
4542 code to load address of __getcontext_ret when generating PIC code.
4544 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
4546 * elf/Makefile (tests-static-internal): Add
4547 tst-tls1-static-non-pie.
4548 (LDFLAGS-tst-tls1-static-non-pie): New.
4549 * elf/tst-tls1-static-non-pie.c: New file.
4551 2017-09-29 Joseph Myers <joseph@codesourcery.com>
4553 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
4554 (asinh): Define using libm_alias_double.
4555 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
4556 (cbrt): Define using libm_alias_double.
4557 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
4558 <libm-alias-double.h>.
4559 (copysign): Define using libm_alias_double.
4560 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
4561 (erf): Define using libm_alias_double.
4563 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
4564 (expm1): Define using libm_alias_double.
4565 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
4566 (fabs): Define using libm_alias_double.
4567 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
4569 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
4570 <libm-alias-double.h>.
4571 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
4573 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
4574 <libm-alias-double.h>.
4575 (getpayload): Define using libm_alias_double.
4576 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
4577 <libm-alias-double.h>.
4578 (llrint): Define using libm_alias_double.
4579 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
4580 (lrint): Define using libm_alias_double.
4581 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
4582 <libm-alias-double.h>.
4583 (nextup): Define using libm_alias_double.
4584 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
4585 <libm-alias-double.h>.
4586 (roundeven): Define using libm_alias_double.
4587 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
4589 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
4590 <libm-alias-double.h>.
4591 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
4592 using libm_alias_double.
4593 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
4594 (cos): Define using libm_alias_double.
4596 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
4597 <libm-alias-double.h>.
4598 (sincos): Define using libm_alias_double.
4599 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
4600 (tanh): Define using libm_alias_double.
4601 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4602 <libm-alias-double.h>.
4603 (totalorder): Define using libm_alias_double.
4604 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4605 <libm-alias-double.h>.
4606 (totalordermag): Define using libm_alias_double.
4607 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
4609 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
4611 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
4612 <libm-alias-double.h>.
4613 (getpayload): Define using libm_alias_double.
4614 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
4615 <libm-alias-double.h>.
4616 (roundeven): Define using libm_alias_double.
4617 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
4618 <libm-alias-double.h>.
4619 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4620 <libm-alias-double.h>.
4621 (totalorder): Define using libm_alias_double.
4622 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4623 <libm-alias-double.h>.
4624 (totalordermag): Define using libm_alias_double.
4625 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
4626 libc compat symbol here.
4627 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
4628 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
4629 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
4630 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
4631 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
4632 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
4633 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
4634 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
4635 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
4636 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
4638 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4640 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
4641 _dl_relocate_static_pie instead of _dl_start to compute load
4642 address in static PIE. Return 0 if _DYNAMIC is undefined for
4645 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4647 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
4648 _DYNAMIC is undefined for static executable.
4650 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4652 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
4654 2017-09-29 Joseph Myers <joseph@codesourcery.com>
4656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4658 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4660 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4661 (__ieee754_lgamma_r): Use fabs rather than __fabs.
4662 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4663 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4665 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
4666 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4667 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4668 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
4669 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4670 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4671 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
4673 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4674 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4676 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
4678 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4680 * math/bits/cmathcalls.h (cimag): Remove inline.
4681 (creal): Remove inline.
4682 (conj): Remove inline.
4684 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4686 * math/Makefile (type-float-routines): Add e_powf_log2_data.
4687 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
4688 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
4689 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
4690 (issignalingf_inline): Likewise.
4691 (POWF_LOG2_TABLE_BITS): Likewise.
4692 (POWF_LOG2_POLY_ORDER): Likewise.
4693 (POWF_SCALE_BITS): Likewise.
4694 (POWF_SCALE): Likewise.
4695 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
4696 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
4697 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
4699 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4701 * math/Makefile (type-float-routines): Add e_log2f_data.
4702 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
4703 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
4704 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
4705 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
4706 * sysdeps/i386/fpu/e_log2f_data.c: New file.
4707 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
4708 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
4710 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4712 * math/Makefile (type-float-routines): Add e_logf_data.
4713 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
4714 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
4715 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
4716 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
4717 * sysdeps/i386/fpu/e_logf_data.c: New file.
4718 * sysdeps/ia64/fpu/e_logf_data.c: New file.
4719 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
4721 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
4723 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
4724 undefined _DYNAMIC in PIE libc.a.
4725 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
4728 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
4730 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
4731 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
4732 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
4733 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
4734 (__signbit): Remove.
4735 (__signbitl): Remove.
4736 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
4737 (__signbit): Remove.
4738 (__signbitl): Remove.
4739 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
4740 (__signbit): Remove.
4741 (__signbitl): Remove.
4742 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
4743 (__signbit): Remove.
4744 (__signbitl): Remove.
4745 * sysdeps/tile/bits/mathinline.h: Delete file.
4746 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
4747 (__signbit): Remove.
4748 (__signbitl): Remove.
4750 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
4752 * math/math.h: Improve handling of C99 isgreater macros.
4753 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
4754 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
4755 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4756 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4757 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4759 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
4761 * sysdeps/aarch64/libm-test-ulps: Update.
4763 2017-09-28 Joseph Myers <joseph@codesourcery.com>
4766 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4767 math_opt_barrier on argument when doing arithmetic on it.
4768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4769 Likewise. Use math_force_eval not math_opt_barrier after
4771 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
4772 math_opt_barrier on argument when doing arithmetic on it.
4773 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4776 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
4778 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
4780 (__freeifaddrs): Likewise.
4782 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4784 * include/dirent.h (__dirfd): New declaration.
4785 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
4787 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
4788 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
4789 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
4790 * include/unistd.h (__revoke): New declaration.
4791 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
4793 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4794 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
4796 * include/dirent.h (__seekdir): New declaration.
4797 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
4798 redefine as weak alias.
4799 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
4801 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
4802 and use libc_hidden_def on them.
4803 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
4805 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
4806 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
4807 instead of getifaddrs and freeifaddrs.
4809 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
4812 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
4813 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
4814 (__dso_handle): Remove declaration.
4815 * dlfcn/tstatexit.c (__dso_handle): Removed.
4816 (main): Don't check __dso_handle.
4817 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
4818 (main): Don't check __dso_handle.
4819 * include/dso_handle.h: New file.
4820 * malloc/mtrace.c: Include <dso_handle.h>.
4821 (mtrace): Pass __dso_handle directly.
4822 * nptl/pthread_atfork.c: Include <dso_handle.h>.
4823 (__dso_handle): Remove declaration.
4824 (__pthread_atfork): Pass __dso_handle directly.
4825 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
4826 (__dso_handle): Removed.
4827 * posix/wordexp-test.c: Include <dso_handle.h>.
4828 (__dso_handle): Remove declaration.
4829 (__app_register_atfork): Pass __dso_handle directly.
4830 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
4831 (__dso_handle): Remove declaration.
4832 (at_quick_exit): Pass __dso_handle directly.
4833 * stdlib/atexit.c: Include <dso_handle.h>.
4834 (__dso_handle): Remove declaration.
4835 (atexit): Pass __dso_handle directly.
4836 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
4837 (__dso_handle): Removed.
4839 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4841 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
4844 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
4846 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
4847 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
4848 values to correct default value for given type.
4850 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
4853 * elf/Makefile (tests): Add tst-debug1.
4854 ($(objpfx)tst-debug1): New.
4855 ($(objpfx)tst-debug1.out): Likewise.
4856 ($(objpfx)tst-debug1mod1.so): Likewise.
4857 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
4859 * elf/tst-debug1.c: New file.
4861 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4863 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
4864 Define using __ifunc.
4866 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4868 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
4871 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4874 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
4876 2017-09-26 Florian Weimer <fweimer@redhat.com>
4878 * resolv/Makefile (tests-internal): Fix typo in comment.
4880 2017-09-26 Florian Weimer <fweimer@redhat.com>
4882 * resolv/nss_dns/dns-host.c: Fix typo in comment.
4884 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4886 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
4887 Use an union instead of a max_align_t array for __space,
4888 so that __space is the same size on all platforms.
4889 * malloc/scratch_buffer_grow_preserve.c
4890 (__libc_scratch_buffer_grow_preserve): Likewise.
4893 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
4895 * posix/Makefile (routines): Add glob-lstat-compat and
4896 glob64-lstat-compat.
4897 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
4898 * posix/glob-lstat-compat.c: New file.
4899 * posix/glob64-lstat-compat.c: Likewise.
4900 * posix/tst-glob_lstat_compat.c: Likewise.
4901 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
4902 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
4903 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
4904 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
4906 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
4907 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4908 * posix/glob.c (glob_lstat): New function.
4909 (glob): Rename to __glob and add versioned symbol to 2.27.
4910 (glob_in_dir): Use glob_lstat.
4911 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
4912 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4913 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
4915 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
4916 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
4917 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
4918 gl_lstat on glob call.
4919 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
4921 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4922 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4923 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4924 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4925 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4926 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4927 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4928 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4929 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4930 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4931 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4932 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4935 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4937 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4938 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4939 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4941 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4944 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4945 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4946 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4948 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
4950 * configure.ac (AS): Require binutils 2.25 or later.
4951 * configure: Regenerated.
4953 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4956 * stdlib/test-atexit-race-common.c (do_test): Minimize required
4959 2017-09-25 DJ Delorie <dj@redhat.com>
4962 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
4965 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4967 * sysdeps/ieee754/dbl-64/sincos32.h
4968 [SINCCOS32_H]: Remove define.
4969 [SINCOS32_H]: Define.
4971 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4973 * math/Versions (expf): New libm symbol at GLIBC_2.27.
4975 * math/w_exp2f.c: New file.
4976 * math/w_expf.c: New file.
4977 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
4978 * math/w_expf_compat.c (__expf_compat): Likewise.
4979 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
4980 * sysdeps/ia64/fpu/e_expf.S: Likewise.
4981 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4982 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4983 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4984 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4985 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4986 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4987 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4988 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4989 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4990 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5001 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5002 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5003 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5005 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5010 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5011 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5012 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5014 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5016 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
5017 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
5018 (roundtoint, converttoint): Likewise.
5019 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
5020 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
5021 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
5022 * sysdeps/ieee754/flt-32/math_config.h: New file.
5023 * sysdeps/ieee754/flt-32/math_errf.c: New file.
5024 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
5025 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
5026 * sysdeps/i386/fpu/math_errf.c: New file.
5027 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
5028 * sysdeps/ia64/fpu/math_errf.c: New file.
5029 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
5030 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
5032 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5034 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
5035 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
5036 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
5037 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
5038 to make sure that these symbols are defined.
5039 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
5041 (__need_NULL): Do not define.
5042 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
5044 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
5045 CMGROUP_MAX, cmsgcred): Do not define.
5046 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
5048 * bits/socket.h: Likewise.
5049 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
5050 __gettimeofday instead of gettimeofday.
5051 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
5052 instead of settimeofday.
5054 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5056 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
5057 (asinhf): Define using libm_alias_float.
5058 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
5059 (atanf): Define using libm_alias_float.
5060 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
5061 (cbrtf): Define using libm_alias_float.
5062 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
5063 (ceilf): Define using libm_alias_float.
5064 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
5065 <libm-alias-float.h>.
5066 (copysignf): Define using libm_alias_float.
5067 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
5068 (cosf): Define using libm_alias_float.
5069 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
5070 (erff): Define using libm_alias_float.
5072 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
5073 (expm1f): Define using libm_alias_float.
5074 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
5075 (fabsf): Define using libm_alias_float.
5076 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
5077 (floorf): Define using libm_alias_float.
5078 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
5079 (frexpf): Define using libm_alias_float.
5080 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
5082 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
5083 <libm-alias-float.h>.
5084 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
5086 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
5087 <libm-alias-float.h>.
5088 (getpayloadf): Define using libm_alias_float.
5089 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
5090 <libm-alias-float.h>.
5091 (llrintf): Define using libm_alias_float.
5092 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
5093 <libm-alias-float.h>.
5094 (llroundf): Define using libm_alias_float.
5095 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
5096 (logbf): Define using libm_alias_float.
5097 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
5098 (lrintf): Define using libm_alias_float.
5099 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
5100 (lroundf): Define using libm_alias_float.
5101 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
5102 (modff): Define using libm_alias_float.
5103 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
5104 <libm-alias-float.h>.
5105 (nearbyintf): Define using libm_alias_float.
5106 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
5107 <libm-alias-float.h>.
5108 (nextafterf): Define using libm_alias_float.
5109 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
5110 <libm-alias-float.h>.
5111 (nextupf): Define using libm_alias_float.
5112 * sysdeps/ieee754/flt-32/s_remquof.c: Include
5113 <libm-alias-float.h>.
5114 (remquof): Define using libm_alias_float.
5115 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
5116 (rintf): Define using libm_alias_float.
5117 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
5118 <libm-alias-float.h>.
5119 (roundevenf): Define using libm_alias_float.
5120 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
5121 (roundf): Define using libm_alias_float.
5122 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
5123 using libm_alias_float.
5124 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
5125 <libm-alias-float.h>.
5126 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
5127 Define using libm_alias_float.
5128 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
5129 <libm-alias-float.h>.
5130 (sincosf): Define using libm_alias_float.
5131 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
5132 (sinf): Define using libm_alias_float.
5133 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
5134 (tanf): Define using libm_alias_float.
5135 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
5136 (tanhf): Define using libm_alias_float.
5137 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5138 <libm-alias-float.h>.
5139 (totalorderf): Define using libm_alias_float.
5140 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5141 <libm-alias-float.h>.
5142 (totalordermagf): Define using libm_alias_float.
5143 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
5144 (truncf): Define using libm_alias_float.
5145 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
5147 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
5150 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5153 math/math.h: Let fpclassify use the builtin in C++ mode, even
5154 when optimazing for size.
5156 2017-09-22 Joseph Myers <joseph@codesourcery.com>
5158 * csu/Makefile (generated): Do not add version-info.h.
5159 (before-compile): Likewise.
5160 (all-Banner-files): Remove variable.
5161 ($(objpfx)version-info.h): Remove rule.
5162 * csu/version.c (banner): Do not include "version-info.h".
5163 * libidn/Banner: Remove.
5164 * manual/contrib.texi (Simon Josefsson): New entry.
5166 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5169 Remove conditionals on LDBL_MANT_DIG.
5170 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
5171 (__ieee754_lgammal_r): Likewise.
5173 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5175 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
5177 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
5178 _Float128 and L(). Replace _Float128 with long double and L(x)
5179 with xL, throughout the file.
5180 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5185 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
5188 sysdeps/ieee754/ldbl-128ibm.
5189 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
5190 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
5191 of including it. Keep _Float128 and L() intact. These will be
5192 reviewed by a separate patch.
5193 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5198 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
5201 (__finitef128): Define to __redirect___finitef128.
5202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
5203 (__isinff128): Define to __redirect___isinff128.
5204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
5205 (__isnanf128): Define to __redirect___isnanf128.
5207 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5209 * sysdeps/powerpc/powerpc64le/Makefile
5210 (CFLAGS-tst-strtod-nan-locale.c): New variable.
5211 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
5213 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5214 Carlos O'Donell <carlos@redhat.com>
5217 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
5218 * stdlib/test-dlclose-exit-race.c: New file.
5219 * stdlib/test-dlclose-exit-race-helper.c: New file.
5220 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
5222 2017-09-21 Joseph Myers <joseph@codesourcery.com>
5224 * crypt/Banner: Remove file.
5225 * nptl/Banner: Likewise.
5226 * resolv/Banner: Likewise.
5227 * soft-fp/Banner: Likewise.
5228 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
5229 ($(objpfx)version.d): Remove dependency on banner.h.
5230 ($(objpfx)version.os): Likewise.
5231 * nptl/version.c (banner): Do not include banner.h.
5232 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
5233 Jelinek and BIND code.
5235 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5236 Carlos O'Donell <carlos@redhat.com>
5238 * support/xdlfcn.h: New file.
5239 * support/xdlfcn.c: New file.
5240 * support/Makefile (libsupport-routines): Add xdlfcn.
5241 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
5243 2017-09-20 Joseph Myers <joseph@codesourcery.com>
5246 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5247 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
5248 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
5249 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
5250 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5251 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
5252 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
5253 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5255 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5256 Ricky Zhou <rickyz@google.com>
5257 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
5260 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
5262 (__new_exitfn): Fail registration when we finished at_exit processing.
5263 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5264 * stdlib/on_exit.c (__on_exit): Likewise.
5265 * stdlib/exit.c (__exit_funcs_done): New variable.
5266 (__run_exit_handlers): Use __exit_funcs_lock.
5267 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
5269 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
5270 (test-cxa_atexit-race, test-on_exit-race): New tests.
5271 * stdlib/test-atexit-race-common.c: New file.
5272 * stdlib/test-atexit-race.c: New file.
5273 * stdlib/test-at_quick_exit-race.c: New file.
5274 * stdlib/test-cxa_atexit-race.c: New file.
5275 * stdlib/test-on_exit-race.c: New file.
5277 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
5279 * benchtests/Makefile: Add exp2f and log2f benchmarks.
5280 * benchtests/exp2f-inputs: Copy of expf-inputs.
5281 * benchtests/log2f-inputs: Copy of logf-inputs.
5283 2017-09-19 Joseph Myers <joseph@codesourcery.com>
5285 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
5286 Explicitly take address of first element of array arguments in
5287 call to INLINE_SYSCALL.
5289 2017-09-19 Andreas Schwab <schwab@suse.de>
5292 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
5294 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
5296 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
5297 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
5298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5299 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
5300 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5301 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5303 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5304 * posix/Makefile (tests): Add tst-fexecve.
5305 * posix/tst-fexecve.c: New file.
5307 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5309 * benchtests/Makefile: Add logf benchmark.
5310 * benchtests/logf-inputs: Add reduced trace from wrf_r.
5312 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5314 * benchtests/Makefile: Add expf benchmark.
5315 * benchtests/expf-inputs: Add reduced trace from wrf_r.
5317 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5319 * csu/Makefile: Add -funwind-tables to libc-start.c.
5320 * debug/Makefile: Add -funwind-tables to backtrace.c.
5321 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
5322 * sysdeps/arm/Makefile: Likewise.
5323 * sysdeps/i386/Makefile: Likewise.
5324 * sysdeps/m68k/Makefile: Likewise.
5325 * sysdeps/mips/Makefile: Likewise.
5326 * sysdeps/nios2/Makefile: Likewise.
5327 * sysdeps/sh/Makefile: Likewise.
5328 * sysdeps/sparc/Makefile: Likewise.
5330 2017-09-19 Joseph Myers <joseph@codesourcery.com>
5332 * benchtests/Makefile (bench-math): Add trunc and truncf.
5333 (CFLAGS-bench-trunc.c): New variable.
5334 (CFLAGS-bench-truncf.c): Likewise.
5335 * benchtests/trunc-inputs: New file.
5336 * benchtests/truncf-inputs: Likewise.
5338 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5340 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
5342 2017-09-18 Joseph Myers <joseph@codesourcery.com>
5344 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
5345 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
5347 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
5348 (exp10l): Define as weak alias.
5349 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
5350 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
5352 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
5353 (remainderl): Define as weak alias.
5355 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
5356 (fmal): Define using libm_alias_ldouble.
5357 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
5358 (acoshl): Define using libm_alias_ldouble.
5359 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
5360 (acosl): Define using libm_alias_ldouble.
5361 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
5362 (asinl): Define using libm_alias_ldouble.
5363 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
5364 (atan2l): Define using libm_alias_ldouble.
5365 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
5366 (atanhl): Define using libm_alias_ldouble.
5367 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
5368 (coshl): Define using libm_alias_ldouble.
5369 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
5370 (exp10l): Define using libm_alias_ldouble.
5371 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
5372 (exp2l): Define using libm_alias_ldouble.
5373 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
5374 (expl): Define using libm_alias_ldouble.
5375 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
5376 (fmodl): Define using libm_alias_ldouble.
5377 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
5378 (hypotl): Define using libm_alias_ldouble.
5379 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
5380 (j0l): Define using libm_alias_ldouble.
5382 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
5383 (j1l): Define using libm_alias_ldouble.
5385 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
5386 (jnl): Define using libm_alias_ldouble.
5388 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
5389 (log10l): Define using libm_alias_ldouble.
5390 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
5391 (log2l): Define using libm_alias_ldouble.
5392 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
5393 (logl): Define using libm_alias_ldouble.
5394 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
5395 (powl): Define using libm_alias_ldouble.
5396 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
5397 (remainderl): Define using libm_alias_ldouble.
5398 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
5399 (sinhl): Define using libm_alias_ldouble.
5400 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
5401 (sqrtl): Define using libm_alias_ldouble.
5402 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
5403 (tgammal): Define using libm_alias_ldouble.
5404 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
5405 (exp10l): Do not use long_double_symbol here.
5406 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
5407 [LIBM_SVID_COMPAT] (remainderl): Likewise.
5408 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
5409 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5410 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5411 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5412 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5413 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5414 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5415 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5416 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5417 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5418 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5419 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5420 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5421 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5422 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5423 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5424 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5425 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5426 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5427 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5429 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
5431 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
5432 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
5434 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
5436 * io/read.c (read): Add libc_hidden_weak.
5437 * sysdeps/mach/hurd/read.c (read): Likewise.
5438 * io/write.c (write): Likewise.
5439 * sysdeps/mach/hurd/write.c (write): Likewise.
5440 * io/pread64.c (__pread64): Likewise.
5441 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
5442 * posix/pread64.c (__pread64): Add libc_hidden_def.
5444 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5446 * benchtests/scripts/compare_strings.py: New option -g.
5447 (draw_graph): Print a message that a graph is being generated.
5448 (process_results): Generate graph only if -g is passed.
5449 (main): Process option -g.
5451 * benchtests/scripts/compare_strings.py (process_results):
5452 Better spacing for output.
5454 * benchtests/scripts/compare_strings.py: Use argparse.
5455 * benchtests/README: Document existence of compare_strings.py.
5457 2017-09-15 Joseph Myers <joseph@codesourcery.com>
5459 * math/s_fma.c: Include <libm-alias-double.h>.
5460 (fma): Define using libm_alias_double.
5461 * math/s_nextafter.c: Include <libm-alias-double.h>.
5462 (nextafter): Define using libm_alias_double.
5463 * math/w_acos_compat.c: Include <libm-alias-double.h>.
5464 (acos): Define using libm_alias_double.
5465 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
5466 (aocsh): Define using libm_alias_double.
5467 * math/w_asin_compat.c: Include <libm-alias-double.h>.
5468 (asin): Define using libm_alias_double.
5469 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
5470 (atan2): Define using libm_alias_double.
5471 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
5472 (atanh): Define using libm_alias_double.
5473 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
5474 (cosh): Define using libm_alias_double.
5475 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
5476 (exp10): Define using libm_alias_double.
5477 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
5478 (exp2): Define using libm_alias_double.
5479 * math/w_exp_compat.c: Include <libm-alias-double.h>.
5480 (exp): Define using libm_alias_double.
5481 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
5482 (fmod): Define using libm_alias_double.
5483 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
5484 (hypot): Define using libm_alias_double.
5485 * math/w_j0_compat.c: Include <libm-alias-double.h>.
5486 (j0): Define using libm_alias_double.
5488 * math/w_j1_compat.c: Include <libm-alias-double.h>.
5489 (j1): Define using libm_alias_double.
5491 * math/w_jn_compat.c: Include <libm-alias-double.h>.
5492 (jn): Define using libm_alias_double.
5494 * math/w_log10_compat.c: Include <libm-alias-double.h>.
5495 (log10): Define using libm_alias_double.
5496 * math/w_log2_compat.c: Include <libm-alias-double.h>.
5497 (log2): Define using libm_alias_double.
5498 * math/w_log_compat.c: Include <libm-alias-double.h>.
5499 (log): Define using libm_alias_double.
5500 * math/w_pow_compat.c: Include <libm-alias-double.h>.
5501 (pow): Define using libm_alias_double.
5502 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
5503 (remainder): Define using libm_alias_double.
5504 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
5505 (sinh): Define using libm_alias_double.
5506 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
5507 (sqrt): Define using libm_alias_double.
5508 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
5509 (tgamma): Define using libm_alias_double.
5510 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
5511 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
5512 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
5513 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
5514 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
5515 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
5516 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
5517 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5518 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5519 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5520 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5521 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5522 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5523 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5524 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5525 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5526 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5527 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5528 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5529 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5530 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5531 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5532 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5533 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5534 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5536 * math/e_acoshl.c: Remove.
5537 * math/e_acosl.c: Likewise.
5538 * math/e_asinl.c: Likewise.
5539 * math/e_atan2l.c: Likewise.
5540 * math/e_atanhl.c: Likewise.
5541 * math/e_coshl.c: Likewise.
5542 * math/e_expl.c: Likewise.
5543 * math/e_fmodl.c: Likewise.
5544 * math/e_gammal_r.c: Likewise.
5545 * math/e_hypotl.c: Likewise.
5546 * math/e_j0l.c: Likewise.
5547 * math/e_j1l.c: Likewise.
5548 * math/e_jnl.c: Likewise.
5549 * math/e_lgammal_r.c: Likewise.
5550 * math/e_log10l.c: Likewise.
5551 * math/e_log2l.c: Likewise.
5552 * math/e_logl.c: Likewise.
5553 * math/e_powl.c: Likewise.
5554 * math/e_rem_pio2l.c: Likewise.
5555 * math/e_sinhl.c: Likewise.
5556 * math/e_sqrtf128.c: Likewise.
5557 * math/e_sqrtl.c: Likewise.
5558 * math/k_cosl.c: Likewise.
5559 * math/k_sinl.c: Likewise.
5560 * math/k_tanl.c: Likewise.
5561 * math/s_asinhl.c: Likewise.
5562 * math/s_atanl.c: Likewise.
5563 * math/s_cbrtl.c: Likewise.
5564 * math/s_erfl.c: Likewise.
5565 * math/s_expm1l.c: Likewise.
5566 * math/s_log1pl.c: Likewise.
5567 * math/s_tanhl.c: Likewise.
5569 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
5573 [$(subdir) = math] (sysdep_calls): New variable. Has the
5574 previous contents of sysdep_routines, but re-sorted..
5575 [$(subdir) = math] (sysdep_routines): Re-use the contents from
5577 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
5578 defined in sysdep_calls and replace by the respective m_* names.
5579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
5580 (compat_symbol): Undefine to avoid duplicated compat symbols in
5583 2017-09-15 Joseph Myers <joseph@codesourcery.com>
5585 * math/s_fmaf.c: Include <libm-alias-float.h>.
5586 (fmaf): Define using libm_alias_float.
5587 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
5588 (acosf): Define using libm_alias_float.
5589 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
5590 (acoshf): Define using libm_alias_float.
5591 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
5592 (asinf): Define using libm_alias_float.
5593 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
5594 (atan2f): Define using libm_alias_float.
5595 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
5596 (atanhf): Define using libm_alias_float.
5597 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
5598 (coshf): Define using libm_alias_float.
5599 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
5600 (exp10f): Define using libm_alias_float.
5601 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
5602 (fmodf): Define using libm_alias_float.
5603 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
5604 (hypotf): Define using libm_alias_float.
5605 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
5606 (j0f): Define using libm_alias_float.
5608 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
5609 (j1f): Define using libm_alias_float.
5611 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
5612 (jnf): Define using libm_alias_float.
5614 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
5615 (log10f): Define using libm_alias_float.
5616 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
5617 (log2f): Define using libm_alias_float.
5618 * math/w_logf_compat.c: Include <libm-alias-float.h>.
5619 (logf): Define using libm_alias_float.
5620 * math/w_powf_compat.c: Include <libm-alias-float.h>.
5621 (powf): Define using libm_alias_float.
5622 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
5623 (remainderf): Define using libm_alias_float.
5624 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
5625 (sinhf): Define using libm_alias_float.
5626 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
5627 (sqrtf): Define using libm_alias_float.
5628 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
5629 (tgammaf): Define using libm_alias_float.
5631 2017-09-14 Joseph Myers <joseph@codesourcery.com>
5633 * include/math.h (roundeven): Change hidden_proto call to
5635 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
5637 [NO_LONG_DOUBLE] (__j0l): New strong alias.
5638 (y0): Rename to __y0 and define as weak alias.
5639 [NO_LONG_DOUBLE] (__y0l): New strong alias.
5640 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
5642 (y0f): Rename to __y0f and define as weak alias.
5643 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
5645 [NO_LONG_DOUBLE] (__j1l): New strong alias.
5646 (y1): Rename to __y1 and define as weak alias.
5647 [NO_LONG_DOUBLE] (__y1l): New strong alias.
5648 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
5650 (y1f): Rename to __y1f and define as weak alias.
5651 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
5653 [NO_LONG_DOUBLE] (__jnl): New strong alias.
5654 (yn): Rename to __yn and define as weak alias.
5655 [NO_LONG_DOUBLE] (__ynl): New strong alias.
5656 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
5658 (ynf): Rename to __ynf and define as weak alias.
5659 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
5660 (fromfp): Define as weak alias.
5661 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
5662 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
5663 (fromfpx): Define as weak alias.
5664 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
5665 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
5666 __getpayload and define as weak alias.
5667 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5668 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
5669 __roundeven and define as weak alias.
5670 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5671 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
5673 (setpayload): Define as weak alias.
5674 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
5675 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
5677 (setpayloadsig): Define as weak alias.
5678 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
5679 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
5680 __totalorder and define as weak alias.
5681 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5682 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
5683 to __totalordermag and define as weak alias.
5684 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5685 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
5686 (ufromfp): Define as weak alias.
5687 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
5688 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
5690 (ufromfpx): Define as weak alias.
5691 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
5692 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
5693 Rename to __getpayload and define as weak alias.
5694 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5695 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
5696 Rename to __roundeven and define as weak alias.
5697 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5698 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
5699 Rename to __totalorder and define as weak alias.
5700 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5701 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
5702 (totalordermag): Rename to __totalordermag and define as weak
5704 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5705 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
5707 (__roundevenl): Likewise.
5708 (__totalorderl): Likewise.
5709 (__totalordermagl): Likewise
5710 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
5712 (fromfpf128): Define as weak alias.
5713 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
5715 (fromfpxf128): Define as weak alias.
5716 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
5718 (setpayloadf128): Define as weak alias.
5719 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
5720 __setpayloadsigf128.
5721 (setpayloadsigf128): Define as weak alias.
5722 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
5724 (ufromfpf128): Define as weak alias.
5725 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
5727 (ufromfpxf128): Define as weak alias.
5728 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
5729 (fromfpf): Define as weak alias.
5730 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
5732 (fromfpxf): Define as weak alias.
5733 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
5734 __getpayloadf and define as weak alias.
5735 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
5736 __roundevenf and define as weak alias.
5737 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
5739 (setpayloadf): Define as weak alias.
5740 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
5742 (setpayloadsigf): Define as weak alias.
5743 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
5744 __totalorderf and define as weak alias.
5745 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
5746 Rename to __totalordermagf and define as weak alias.
5747 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
5749 (ufromfpf): Define as weak alias.
5750 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
5752 (ufromfpxf): Define as weak alias.
5753 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
5755 (fromfpl): Define as weak alias.
5756 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
5758 (fromfpxl): Define as weak alias.
5759 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
5760 to __getpayloadl and define as weak alias.
5761 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
5762 __roundevenl and define as weak alias.
5763 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
5765 (setpayloadl): Define as weak alias.
5766 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
5768 (setpayloadsigl): Define as weak alias.
5769 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
5770 to __totalorderl and define as weak alias.
5771 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
5772 Rename to __totalordermagl and define as weak alias.
5773 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
5775 (ufromfpl): Define as weak alias.
5776 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
5778 (ufromfpxl): Define as weak alias.
5779 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
5781 (fromfpl): Define as weak alias.
5782 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
5784 (fromfpxl): Define as weak alias.
5785 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
5786 Rename to __getpayloadl and define as weak alias.
5787 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
5788 to __roundevenl and define as weak alias. Call __roundeven
5789 instead of roundeven.
5790 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
5792 (setpayloadl): Define as weak alias.
5793 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
5795 (setpayloadsigl): Define as weak alias.
5796 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
5797 Rename to __totalorderl and define as weak alias.
5798 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
5799 Rename to __totalordermagl and define as weak alias.
5800 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
5802 (ufromfpl): Define as weak alias.
5803 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
5805 (ufromfpxl): Define as weak alias.
5806 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
5808 (fromfpl): Define as weak alias.
5809 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
5811 (fromfpxl): Define as weak alias.
5812 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
5813 __getpayloadl and define as weak alias.
5814 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
5815 __roundevenl and define as weak alias.
5816 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
5818 (setpayloadl): Define as weak alias.
5819 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
5821 (setpayloadsigl): Define as weak alias.
5822 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
5823 __totalorderl and define as weak alias.
5824 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
5825 Rename to __totalordermagl and define as weak alias.
5826 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
5828 (ufromfpl): Define as weak alias.
5829 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
5831 (ufromfpxl): Define as weak alias.
5833 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5835 * benchtests/bench-string.h (realloc_bufs): New function.
5836 (test_init): Call it.
5837 * benchtests/bench-memset-large.c (do_test): Likewise.
5838 * benchtests/bench-memset.c (do_test): Likewise.
5840 * benchtests/bench-memset-large.c: Print output in JSON
5842 * benchtests/bench-memset.c: Likewise.
5844 2017-09-14 Mike FABIAN <mfabian@redhat.com>
5847 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
5848 * iconvdata/Makefile: Add IBM858.
5849 * iconvdata/gconv-modules: Likewise.
5850 * iconvdata/tst-tables.sh: Likewise.
5851 * iconvdata/ibm858.c: New file.
5852 * localedata/charmaps/IBM858: Likewise.
5854 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
5857 * locales/niu_NZ (LC_TIME): copy "niu_NU".
5858 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
5860 2017-09-14 Mike FABIAN <mfabian@redhat.com>
5863 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
5864 and add tel_int_fmt.
5866 2017-09-14 Joseph Myers <joseph@codesourcery.com>
5868 * sysdeps/generic/libm-alias-float128.h: New file.
5869 * sysdeps/generic/math-type-macros-float128.h: Include
5870 <libm-alias-float128.h>.
5871 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
5873 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5875 * sysdeps/generic/libm-alias-ldouble.h: New file.
5876 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
5877 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
5878 * sysdeps/generic/math-type-macros-ldouble.h: Include
5879 <libm-alias-ldouble.h>.
5880 [!declare_mgen_alias] (declare_mgen_alias): Define to use
5883 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
5885 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
5886 * math/w_exp_compat.c: ... here.
5887 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
5888 * math/w_expf_compat.c: ... here.
5889 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
5890 * math/w_expl_compat.c: ... here.
5891 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
5892 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
5893 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
5894 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5896 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5898 * math/w_scalbln_template.c (strong_alias): Do not undefine and
5900 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
5902 (ldexpl): Only define as compat symbol for libc, not libm.
5903 (scalbnl): Define as compat symbol for libc here.
5904 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
5905 define for [IS_IN (libc)].
5906 (__ldexpl_2): Remove alias.
5907 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
5908 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
5909 name in long_double_symbol call.
5910 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
5911 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5912 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5913 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
5914 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
5916 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
5917 Define as compat symbol.
5919 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5921 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
5922 * sysdeps/unix/sysv/linux/alpha/Makefile
5923 [$(subdir) = csu] (sysdep_routines): Remove rule.
5925 2017-09-13 Joseph Myers <joseph@codesourcery.com>
5927 * sysdeps/generic/libm-alias-double.h: New file.
5928 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
5929 * sysdeps/generic/math-type-macros-double.h: Include
5930 <libm-alias-double.h>.
5931 [declare_mgen_alias] (declare_mgen_alias): Define to use
5933 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
5934 (M_LIBM_NEED_COMPAT): Remove macro.
5935 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
5936 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
5937 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
5939 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5940 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5941 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5942 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5943 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5944 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5945 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5946 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5947 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5948 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5949 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5950 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5951 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5952 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5953 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5954 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5955 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5956 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5957 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5958 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5959 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5960 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5961 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5962 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5963 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5964 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5965 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
5966 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
5967 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
5969 (declare_mgen_alias): New macro.
5970 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
5971 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
5972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
5973 (M_LIBM_NEED_COMPAT): Remove macro.
5974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
5975 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
5977 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
5978 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
5980 2017-09-12 Joseph Myers <joseph@codesourcery.com>
5982 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
5983 (declare_mgen_alias_2): Remove.
5984 * sysdeps/generic/math-type-macros-double.h
5985 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
5987 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
5989 (ldexp): Define with declare_mgen_alias.
5992 2017-09-12 Steve Ellcey <sellcey@cavium.com>
5994 * grp/initgroups.c: Include config.h.
5995 (DEFAULT_CONFIG): New macro.
5996 (internal_getgrouplist): Use DEFAULT_CONFIG.
5997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5998 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
5999 (DEFAULT_DEFCONFIG): New macro.
6000 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
6001 * nss/grp-lookup.c: Include config.h
6002 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
6003 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
6004 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
6005 * manual/nss.texi: Update default values section.
6007 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
6010 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
6012 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
6013 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6014 Handle MathVec_Prefer_No_AVX512.
6015 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
6016 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
6019 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
6021 * posix/sched_primax.c (__sched_get_priority_max): Add
6023 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
6024 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6025 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6026 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
6027 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
6028 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
6029 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
6030 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
6033 2017-09-11 Joseph Myers <joseph@codesourcery.com>
6035 * sysdeps/generic/libm-alias-float.h: New file.
6036 * sysdeps/generic/math-type-macros-float.h: Include
6037 <libm-alias-float.h>.
6038 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6040 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
6043 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
6044 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
6045 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
6046 (HWCAP_IMPORTANT): Likewise.
6047 (HWCAP_X86_64): New enum.
6048 (HWCAP_X86_AVX512_1): Updated.
6049 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
6050 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
6051 (modules-names): Add x86_64/tst-x86_64mod-1.
6052 (LDFLAGS-tst-x86_64mod-1.so): New.
6053 ($(objpfx)tst-x86_64-1): Likewise.
6054 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
6055 (tst-x86_64-1-clean): Likewise.
6056 * sysdeps/x86_64/tst-x86_64-1.c: New file.
6057 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
6059 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6061 * po/sv.po: Update translations.
6062 * po/fr.po: Likewise.
6064 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6066 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
6068 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
6070 * elf/rtld-Rules: Fix $(error) use.
6072 2017-09-09 Mike FABIAN <mfabian@redhat.com>
6075 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
6076 * locale/iso-639.def: Change “Bengali” to “Bangla”.
6077 * localedata/locales/bn_BD: “Bengali” was still used in some
6078 comments. Change it to “Bangla”.
6080 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
6082 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
6084 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6086 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
6087 thunderx2t99p1 to list of cpu names.
6088 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6089 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
6091 2017-09-08 Steve Ellcey <sellcey@cavium.com>
6093 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
6094 Use strcmp instead of tunable_is_name.
6096 2017-09-08 Joseph Myers <joseph@codesourcery.com>
6098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6099 (F_GET_RW_HINT): New macro.
6100 [__USE_GNU] (F_SET_RW_HINT): Likewise.
6101 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
6102 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
6103 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
6104 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
6105 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
6106 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
6107 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
6108 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
6110 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6111 (F_ADD_SEALS): New macro.
6112 [__USE_GNU] (F_GET_SEALS): Likewise.
6113 [__USE_GNU] (F_SEAL_SEAL): Likewise.
6114 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
6115 [__USE_GNU] (F_SEAL_GROW): Likewise.
6116 [__USE_GNU] (F_SEAL_WRITE): Likewise.
6118 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6120 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
6121 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
6122 * posix/glob_internal.h (__glob_pattern_type):
6123 * posix/glob.c (glob):
6124 * posix/glob_pattern_p.c (__glob_pattern_p):
6127 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
6128 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6129 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
6130 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
6131 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
6133 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
6134 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
6135 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6136 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6137 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6138 * sysdeps/wordsize-64/glob.c: Likewise.
6139 * sysdeps/wordsize-64/glob64.c: Likewise.
6140 * sysdeps/wordsize-64/globfree.c: Likewise.
6141 * sysdeps/wordsize-64/globfree64.c: Likewise.
6142 * sysdeps/unix/sysv/linux/glob.c: New file.
6143 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
6144 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
6145 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
6146 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
6147 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
6148 adds !GLOB_NO_OLD_VERSION as an extra condition.
6149 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
6150 using relative path instead of absolute one.
6151 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
6152 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6153 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6154 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
6155 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
6156 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
6159 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
6160 (glob): Use the same scratch buffer for both getlogin_r and
6161 getpwnam_r. Don’t require preallocation of the login name. This
6162 simplifies storage allocation, and corrects the handling of
6166 * posix/glob.c (glob): Port recent patches to platforms
6168 (glob): Fix longstanding misuse of errno after getpwnam_r, which
6169 returns an error number rather than setting errno.
6171 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
6172 instead of GCC extension.
6173 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
6174 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
6175 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
6179 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
6180 * posix/bug-glob1.c: Remove file.
6181 * posix/tst-glob_symlinks.c: New file.
6182 * posix/glob.c (__lstat64): New macro.
6183 (is_dir): New function.
6184 (glob, glob_in_dir): Match symlinks even if they are dangling.
6185 (link_stat, link_exists_p): Remove. All uses removed.
6189 * posix/glob.c (struct readdir_result): Remove skip_entry member.
6190 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
6195 * posix/Makefile (routines): Add globfree, globfree64, and
6197 * posix/flexmember.h: New file.
6198 * posix/glob_internal.h: Likewise.
6199 * posix/glob_pattern_p.c: Likewise.
6200 * posix/globfree.c: Likewise.
6201 * posix/globfree64.c: Likewise.
6202 * sysdeps/gnu/globfree64.c: Likewise.
6203 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
6204 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6205 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
6206 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6207 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6208 * sysdeps/wordsize-64/globfree.c: Likewise.
6209 * sysdeps/wordsize-64/globfree64.c: Likewise.
6210 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
6211 [NDEBUG): Remove comments.
6212 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
6213 (dirent_type): New type. Use uint_fast8_t not
6214 uint8_t, as C99 does not require uint8_t.
6215 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
6216 (struct readdir_result): Use dirent_type. Do not define skip_entry
6217 unless it is needed; this saves a byte on platforms lacking d_ino.
6218 (readdir_result_type, readdir_result_skip_entry):
6219 New functions, replacing ...
6220 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6221 these functions, which were removed. This makes the callers
6222 easier to read. All callers changed.
6223 (D_INO_TO_RESULT): Now empty if there is no d_ino.
6224 (size_add_wrapv, glob_use_alloca): New static functions.
6225 (glob, glob_in_dir): Check for size_t overflow in several places,
6226 and fix some size_t checks that were not quite right.
6227 Remove old code using SHELL since Bash no longer
6229 (glob, prefix_array): Separate MS code better.
6230 (glob_in_dir): Remove old Amiga and VMS code.
6231 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
6233 (glob_in_dir): Do not rely on undefined behavior in accessing
6234 struct members beyond their bounds. Use a flexible array member
6236 (link_stat): Rename from link_exists2_p and return -1/0 instead of
6237 0/1. Caller changed.
6238 (glob): Fix memory leaks.
6239 * posix/glob64 (globfree64): Move to separate file.
6240 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
6241 (globfree64): Remove hidden alias.
6242 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
6244 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
6246 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
6248 Move compat code to separate file.
6249 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
6252 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
6254 * resolv/tst-resolv-qtypes.c (domain): Changed to
6255 "const char domain[] =".
6257 2017-09-07 Joseph Myers <joseph@codesourcery.com>
6259 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6262 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
6263 (TCP_MD5SIG_EXT): Likewise.
6264 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
6265 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
6266 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
6268 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
6270 2017-09-07 Mike FABIAN <mfabian@redhat.com>
6272 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
6274 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
6277 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
6279 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6281 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
6282 before assuming that the file is empty. Avoid testing buffer content
6285 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6288 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6290 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
6292 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
6294 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
6296 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6298 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
6300 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
6303 2017-09-06 Florian Weimer <fweimer@redhat.com>
6305 * malloc/dynarray_emplace_enlarge.c
6306 (__libc_dynarray_emplace_enlarge): Add missing else.
6308 2017-09-06 Florian Weimer <fweimer@redhat.com>
6311 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
6312 case of failure to obtain the global conf object.
6314 2017-09-06 Florian Weimer <fweimer@redhat.com>
6317 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
6318 dynarray allocation failure.
6320 2017-09-06 Florian Weimer <fweimer@redhat.com>
6322 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
6323 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
6324 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
6326 (response): Call them. Add 'p', '6' flag processing.
6327 (test_reverse): New function.
6328 (test_get2_any): Call it.
6329 (test_no_inet6): Add 'p' test.
6330 (test_inet6): Likewise.
6332 2017-09-06 Florian Weimer <fweimer@redhat.com>
6334 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
6335 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
6337 (test_gai): Adjust query names. Add additional tests.
6338 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
6339 test_get2. Adjust query names. Add additional tests.
6340 (test_no_inet6): New function, extracted from threadfunc.
6341 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
6342 Add additional tests.
6344 2017-09-06 Mike FABIAN <mfabian@redhat.com>
6347 * localedata/unicode-gen/utf8_gen.py: Set the width for
6348 characters with Prepended_Concatenation_Mark property to 1
6349 * localedata/charmaps/UTF-8: Updated using the improved script.
6351 2017-09-06 Mike FABIAN <mfabian@redhat.com>
6354 * localedata/unicode-gen/utf8_gen.py: Improve the script to
6355 use the range notation for all ranges of neighbouring characters
6356 with the same width.
6358 2017-09-05 Joseph Myers <joseph@codesourcery.com>
6360 * sysdeps/generic/math-type-macros-double.h: Include
6361 <math-svid-compat.h>.
6362 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6363 * sysdeps/generic/math-type-macros-float.h: Include
6364 <math-svid-compat.h>.
6365 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6366 * sysdeps/generic/math-type-macros-ldouble.h: Include
6367 <math-svid-compat.h>.
6368 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6369 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
6371 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
6372 * math/w_acosf_compat.c: Likewise.
6373 * math/w_acosh_compat.c: Likewise.
6374 * math/w_acoshf_compat.c: Likewise.
6375 * math/w_acoshl_compat.c: Likewise.
6376 * math/w_acosl_compat.c: Likewise.
6377 * math/w_asin_compat.c: Likewise.
6378 * math/w_asinf_compat.c: Likewise.
6379 * math/w_asinl_compat.c: Likewise.
6380 * math/w_atan2_compat.c: Likewise.
6381 * math/w_atan2f_compat.c: Likewise.
6382 * math/w_atan2l_compat.c: Likewise.
6383 * math/w_atanh_compat.c: Likewise.
6384 * math/w_atanhf_compat.c: Likewise.
6385 * math/w_atanhl_compat.c: Likewise.
6386 * math/w_cosh_compat.c: Likewise.
6387 * math/w_coshf_compat.c: Likewise.
6388 * math/w_coshl_compat.c: Likewise.
6389 * math/w_exp10_compat.c: Likewise.
6390 * math/w_exp10f_compat.c: Likewise.
6391 * math/w_exp10l_compat.c: Likewise.
6392 * math/w_exp2_compat.c: Likewise.
6393 * math/w_exp2f_compat.c: Likewise.
6394 * math/w_exp2l_compat.c: Likewise.
6395 * math/w_fmod_compat.c: Likewise.
6396 * math/w_fmodf_compat.c: Likewise.
6397 * math/w_fmodl_compat.c: Likewise.
6398 * math/w_hypot_compat.c: Likewise.
6399 * math/w_hypotf_compat.c: Likewise.
6400 * math/w_hypotl_compat.c: Likewise.
6401 * math/w_j0_compat.c: Likewise.
6402 * math/w_j0f_compat.c: Likewise.
6403 * math/w_j0l_compat.c: Likewise.
6404 * math/w_j1_compat.c: Likewise.
6405 * math/w_j1f_compat.c: Likewise.
6406 * math/w_j1l_compat.c: Likewise.
6407 * math/w_jn_compat.c: Likewise.
6408 * math/w_jnf_compat.c: Likewise.
6409 * math/w_jnl_compat.c: Likewise.
6410 * math/w_lgamma_r_compat.c: Likewise.
6411 * math/w_lgammaf_r_compat.c: Likewise.
6412 * math/w_lgammal_r_compat.c: Likewise.
6413 * math/w_log10_compat.c: Likewise.
6414 * math/w_log10f_compat.c: Likewise.
6415 * math/w_log10l_compat.c: Likewise.
6416 * math/w_log2_compat.c: Likewise.
6417 * math/w_log2f_compat.c: Likewise.
6418 * math/w_log2l_compat.c: Likewise.
6419 * math/w_log_compat.c: Likewise.
6420 * math/w_logf_compat.c: Likewise.
6421 * math/w_logl_compat.c: Likewise.
6422 * math/w_pow_compat.c: Likewise.
6423 * math/w_powf_compat.c: Likewise.
6424 * math/w_powl_compat.c: Likewise.
6425 * math/w_remainder_compat.c: Likewise.
6426 * math/w_remainderf_compat.c: Likewise.
6427 * math/w_remainderl_compat.c: Likewise.
6428 * math/w_sinh_compat.c: Likewise.
6429 * math/w_sinhf_compat.c: Likewise.
6430 * math/w_sinhl_compat.c: Likewise.
6431 * math/w_sqrt_compat.c: Likewise.
6432 * math/w_sqrtf_compat.c: Likewise.
6433 * math/w_sqrtl_compat.c: Likewise.
6434 * math/w_tgamma_compat.c: Likewise.
6435 * math/w_tgammaf_compat.c: Likewise.
6436 * math/w_tgammal_compat.c: Likewise.
6437 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
6439 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
6440 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
6442 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
6443 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
6445 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
6446 * sysdeps/i386/fpu/w_sqrt.c: New file.
6447 * sysdeps/ia64/fpu/w_acos.c: Likewise.
6448 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6449 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6450 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6451 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6452 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6453 * sysdeps/ia64/fpu/w_asin.c: Likewise.
6454 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6455 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6456 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6457 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6458 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6459 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6460 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6461 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6462 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6463 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6464 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6465 * sysdeps/ia64/fpu/w_exp.c: Likewise.
6466 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6467 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6468 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6469 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6470 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6471 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6472 * sysdeps/ia64/fpu/w_expf.c: Likewise.
6473 * sysdeps/ia64/fpu/w_expl.c: Likewise.
6474 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6475 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6476 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6477 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6478 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6479 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6480 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6481 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6482 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6483 * sysdeps/ia64/fpu/w_log.c: Likewise.
6484 * sysdeps/ia64/fpu/w_log10.c: Likewise.
6485 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6486 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6487 * sysdeps/ia64/fpu/w_log2.c: Likewise.
6488 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6489 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6490 * sysdeps/ia64/fpu/w_logf.c: Likewise.
6491 * sysdeps/ia64/fpu/w_logl.c: Likewise.
6492 * sysdeps/ia64/fpu/w_pow.c: Likewise.
6493 * sysdeps/ia64/fpu/w_powf.c: Likewise.
6494 * sysdeps/ia64/fpu/w_powl.c: Likewise.
6495 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6496 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6497 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6498 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6499 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6500 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6501 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6502 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6503 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6504 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
6505 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
6506 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
6509 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6510 * sysdeps/ieee754/k_standard.c: Likewise.
6511 * sysdeps/ieee754/k_standardf.c: Likewise.
6512 * sysdeps/ieee754/k_standardl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6515 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6516 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
6517 long_double_symbol call on [LIBM_SVID_COMPAT].
6518 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6519 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6520 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6521 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6522 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6523 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6524 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6525 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6526 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6527 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6528 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6529 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6530 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6531 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6532 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6533 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6534 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6535 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6536 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6537 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6538 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
6539 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
6541 2017-09-05 Steve Ellcey <sellcey@cavium.com>
6543 * include/shlib-compat.h (TEST_COMPAT): New Macro.
6544 * malloc/tst-mallocstate.c: Convert from test-skeleton
6545 to test-driver. Ifdef code using TEST_COMPAT macro.
6546 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
6547 * math/test-matherr.c: Likewise.
6549 2017-09-05 Joseph Myers <joseph@codesourcery.com>
6552 * debug/pcprofiledump.c (main): Use byte-swapped mask when
6553 comparing word with byte-swapped constant.
6555 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
6558 * locale/iso-639.def: add Miskito.
6559 * localedata/SUPPORTED: Add miq_NI/UTF-8.
6560 * localedata/locales/miq_NI: New file.
6562 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
6565 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
6566 (__mkdir): Likewise.
6567 * io/chmod.c (__chmod): Add libc_hidden_def.
6568 * io/mkdir.c (__mkdir): Likewise.
6569 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6570 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6571 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
6572 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
6574 2017-09-04 Joseph Myers <joseph@codesourcery.com>
6576 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6580 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
6581 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
6583 2017-09-04 Florian Weimer <fweimer@redhat.com>
6585 * math/math.h: Issue warning if log is defined.
6587 2017-09-04 Joseph Myers <joseph@codesourcery.com>
6589 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6590 kernel version to 4.13.
6592 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6594 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
6595 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
6597 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
6598 just <bits/types.h>.
6599 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
6600 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
6601 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
6602 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
6603 * misc/preadv2.c: Include <errno.h>.
6604 * misc/preadv64v2.c: Include <errno.h>.
6605 * misc/pwritev2.c: Include <errno.h>.
6606 * misc/pwritev64v2.c: Include <errno.h>.
6607 * sysdeps/posix/preadv2.c: Include <errno.h>.
6608 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
6609 Fix <unistd.h> inclusion.
6610 * sysdeps/posix/pwritev2.c: Include <errno.h>.
6611 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
6612 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
6613 __strtoul_internal): New functions.
6614 * sysdeps/posix/pause.c: Include <sigsetops.h>.
6615 * sysdeps/posix/system.c: Include <sigsetops.h>.
6616 * sysdeps/mach/hurd/i386/Makefile
6617 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6618 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6619 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6620 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
6621 __feraiseexcept_renamed to feraiseexcept instead of
6623 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
6624 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
6625 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
6626 RWF_NOWAIT): Define to 0 if undefined already.
6627 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
6629 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
6630 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
6632 2017-09-01 Joseph Myers <joseph@codesourcery.com>
6634 * manual/math.texi (pow10): Do not document.
6637 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
6638 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
6639 * math/libm-test-exp10.inc (pow10_test): Remove.
6640 (do_test): Do not call pow10.
6641 * math/w_exp10_compat.c (pow10): Make into compat symbol.
6642 [NO_LONG_DOUBLE] (pow10l): Likewise.
6643 * math/w_exp10f_compat.c (pow10f): Likewise.
6644 * math/w_exp10l_compat.c (pow10l): Likewise.
6645 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
6646 (pow10): Make into compat symbol.
6647 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
6648 (pow10f): Make into compat symbol.
6649 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
6650 (pow10l): Make into compat symbol.
6651 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
6653 (CFLAGS-nldbl-pow10.c): Remove variable..
6654 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
6655 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
6656 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
6657 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
6658 Undefine and redefine.
6659 (pow10l): Make into compat symbol.
6660 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
6661 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6662 * sysdeps/arm/libm-test-ulps: Likewise.
6663 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
6664 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6665 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6666 * sysdeps/microblaze/libm-test-ulps: Likewise.
6667 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6668 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6669 * sysdeps/nios2/libm-test-ulps: Likewise.
6670 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6671 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6672 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6673 * sysdeps/sh/libm-test-ulps: Likewise.
6674 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6675 * sysdeps/tile/libm-test-ulps: Likewise.
6676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6678 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6680 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
6682 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6684 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
6685 "../ChangeLog.old/ChangeLog.8".
6686 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
6687 "../ChangeLog.old/ChangeLog.14".
6689 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6691 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
6694 2017-09-01 Joseph Myers <joseph@codesourcery.com>
6696 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
6698 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6700 * csu/version.c (banner): Remove "by Roland McGrath et al.".
6701 * nptl/Banner: Remove "by Ulrich Drepper et al.".
6703 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6705 * stdlib/tst-atexit-common.c (do_test): Test support for at least
6708 2017-09-01 Zack Weinberg <zackw@panix.com>
6710 * math/math.h (HUGE_VAL): Improve commentary.
6712 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6713 Andreas Schwab <schwab@suse.de>
6716 * include/stdio.h (__gen_tempfd): New function.
6717 * stdio-common/Makefile (routines): Add gentempfd.
6718 * stdio-common/gentempfd.c: New file.
6719 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
6720 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
6723 2017-09-01 Florian Weimer <fweimer@redhat.com>
6727 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
6728 result to determine success or failure, not the errno value.
6729 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
6730 (tst-nss-files-hosts-erange): Link with -ldl.
6731 * nss/tst-nss-files-hosts-erange.c: New file.
6732 * nss/tst-resolv-basic.c (response): Handle nodata.example.
6733 (do_test): Add NO_DATA tests.
6734 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
6737 2017-09-01 Florian Weimer <fweimer@redhat.com>
6740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
6741 coming from gethostbyname2_r.
6743 2017-09-01 Florian Weimer <fweimer@redhat.com>
6745 * support/namespace.h (struct support_chroot_configuration): Add
6747 (struct support_chroot): Add path_hosts, path_host_conf.
6748 * support/support_chroot.c (write_file): New function.
6749 (support_chroot_create): Call it to process /etc/resolv.conf,
6750 /etc/hosts, /etc/host.conf.
6751 (support_chroot_free): Update.
6753 2017-09-01 Florian Weimer <fweimer@redhat.com>
6755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
6756 status indicates it is set.
6758 2017-09-01 Florian Weimer <fweimer@redhat.com>
6760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
6761 function lookup failures more reliable.
6763 2017-09-01 Florian Weimer <fweimer@redhat.com>
6765 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
6766 (getcanonname): Likewise.
6767 (gaih_inet): Likewise.
6769 2017-09-01 Florian Weimer <fweimer@redhat.com>
6771 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
6772 (getcanonname): Likewise.
6773 (gaih_inet): Likewise.
6775 2017-08-31 Steve Ellcey <sellcey@cavium.com>
6776 Richard Henderson <rth@twiddle.net>
6778 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
6779 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
6780 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
6781 (IREG_SIZE, OREG_SIZE): New macros.
6782 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
6783 (IREG_SIZE, OREG_SIZE): New macros.
6784 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
6785 (IREG_SIZE): New macro.
6786 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
6787 (IREG_SIZE): New macro.
6788 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
6790 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
6791 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
6792 (__CONCATX): Handle exceptions correctly on large values that may
6794 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
6795 Initialize if not already set.
6796 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
6798 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6800 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
6801 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
6803 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
6805 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
6807 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
6809 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
6811 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
6813 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
6815 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
6816 (NO_CANCELLATION): Likewise.
6817 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
6819 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
6821 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
6823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
6824 (NO_CANCELLATION): Likewise.
6825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
6826 (NO_CANCELLATION): Likewise.
6827 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
6829 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
6831 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
6833 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
6835 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
6837 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
6838 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
6840 2017-08-31 Steve Ellcey <sellcey@cavium.com>
6842 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
6845 2017-08-31 Florian Weimer <fweimer@redhat.com>
6847 * include/libc-symbols.h (internal_function): Remove.
6849 2017-08-31 Florian Weimer <fweimer@redhat.com>
6851 * stdlib/fmtmsg.c (internal_addseverity): Remove
6854 2017-08-31 Florian Weimer <fweimer@redhat.com>
6856 * stdio-common/printf_fp.c (group_number): Remove
6858 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6860 2017-08-31 Florian Weimer <fweimer@redhat.com>
6862 * posix/fnmatch.c (internal_function): Remove definition.
6863 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
6864 * posix/regcomp.c (peek_token, init_word_char)
6865 (duplicate_node_closure, fetch_token, peek_token)
6866 (peek_token_bracket, build_range_exp, build_collating_symbol):
6868 * posix/regex_internal.c (re_string_construct_common)
6869 (create_ci_newstate, create_cd_newstate, re_string_allocate)
6870 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
6871 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
6872 (re_string_translate_buffer, re_string_reconstruct)
6873 (re_string_peek_byte_case, re_string_fetch_byte_case)
6874 (re_string_destruct, re_string_context_at, re_node_set_alloc)
6875 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
6876 (re_node_set_add_intersect, re_node_set_init_union)
6877 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
6878 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
6879 (re_dfa_add_node, calc_state_hash, re_acquire_state)
6880 (re_acquire_state_context): Likewise.
6881 * posix/regex_internal.h (internal_function): Remove definition.
6882 (re_string_realloc_buffers, build_wcs_buffer)
6883 (build_wcs_upper_buffer, build_upper_buffer)
6884 (re_string_translate_buffer, re_string_context_at)
6885 (re_string_char_size_at, re_string_wchar_at)
6886 (re_string_elem_size_at): Likewise.
6887 * posix/regexec.c (match_ctx_init, match_ctx_clean)
6888 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
6889 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
6890 (re_search_internal, re_search_2_stub, re_search_stub)
6891 (re_copy_regs, prune_impossible_nodes, check_matching)
6892 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
6893 (free_fail_stack_return, sift_states_iter_mb)
6894 (sift_states_backward, build_sifted_states)
6895 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
6896 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
6897 (check_subexp_limits, sift_states_bkref, merge_state_array)
6898 (find_recover_state, transit_state, merge_state_with_log)
6899 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
6900 (transit_state_mb, transit_state_bkref, get_subexp)
6901 (get_subexp_sub, find_subexp_node, check_arrival)
6902 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
6903 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
6904 (check_node_accept_bytes, find_collation_sequence_value)
6905 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
6906 (acquire_init_state_context, check_halt_node_context)
6907 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
6908 (sub_epsilon_src_nodes): Likewise.
6909 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
6910 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
6911 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
6912 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
6913 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
6914 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
6915 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
6916 * sysdeps/posix/ttyname.c (getttyname): Likewise.
6917 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6918 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
6920 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
6922 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
6923 (PWRITEV): Likewise.
6924 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
6925 (PWRITEV): Likewise.
6926 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
6927 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
6929 2017-08-31 Florian Weimer <fweimer@redhat.com>
6931 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
6932 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
6933 Remove internal_function.
6934 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6935 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
6936 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
6937 (__deallocate_stack, __libc_pthread_init)
6938 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
6939 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
6940 (__libc_disable_asynccancel, __librt_disable_asynccancel):
6942 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
6943 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
6944 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
6946 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
6947 (__pthread_mutex_unlock_usercnt): Likewise.
6949 2017-08-31 Florian Weimer <fweimer@redhat.com>
6951 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
6952 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
6953 (fts_safe_changedir): Remove internal_function.
6954 * io/ftw.c (internal_function): Remove definition.
6955 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
6957 2017-08-31 Florian Weimer <fweimer@redhat.com>
6959 * inet/deadline.c (__deadline_current_time)
6960 (__deadline_from_timeval, __deadline_to_ms): Remove
6962 * inet/getnameinfo.c (nrl_domainname): Likewise.
6963 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6964 * inet/inet6_option.c (add_pad): Likewise.
6965 * inet/net-internal.h (__deadline_current_time)
6966 (__deadline_from_timeval, __deadline_to_ms): Likewise.
6967 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
6968 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
6969 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
6971 2017-08-31 Joseph Myers <joseph@codesourcery.com>
6973 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
6974 include <bits/nan.h>.
6975 * math/Makefile (headers): Remove bits/nan.h.
6976 * bits/nan.h: Remove.
6977 * sysdeps/ieee754/bits/nan.h: Likewise.
6978 * sysdeps/mips/bits/nan.h: Likewise.
6980 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
6981 not include <bits/inf.h>.
6982 * math/Makefile (headers): Remove bits/inf.h.
6983 * bits/inf.h: Remove.
6984 * sysdeps/ieee754/bits/inf.h: Likewise.
6986 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
6987 bits/huge_vall.h or bits/huge_val_flt128.h.
6988 (HUGE_VAL): Define directly here.
6989 [__USE_ISOC99] (HUGE_VALF): Likewise.
6990 [__USE_ISOC99] (HUGE_VALL): Likewise.
6991 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6992 (HUGE_VAL_F128): Likewise.
6993 * math/Makefile (headers): Remove bits/huge_val.h,
6994 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
6995 * bits/huge_val.h: Remove.
6996 * bits/huge_val_flt128.h: Likewise.
6997 * bits/huge_valf.h: Likewise.
6998 * bits/huge_vall.h: Likewise.
6999 * sysdeps/ia64/bits/huge_vall.h: Likewise.
7000 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7001 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
7002 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
7003 * sysdeps/sh/bits/huge_val.h: Likewise.
7004 * sysdeps/sparc/bits/huge_vall.h: Likewise.
7005 * sysdeps/x86/bits/huge_vall.h: Likewise.
7007 2017-08-31 Florian Weimer <fweimer@redhat.com>
7009 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
7011 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
7013 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
7014 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7015 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
7016 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
7017 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7018 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7019 * elf/dl-libc.c (dlerror_run): Likewise.
7020 * elf/dl-load.c (add_name_to_object, decompose_rpath)
7021 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
7022 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
7023 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
7025 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
7026 (_dl_higher_prime_number, _dl_strtoul): Likewise.
7027 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
7028 * elf/dl-profile.c (_dl_start_profile): Likewise.
7029 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
7030 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
7032 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
7033 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
7034 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
7035 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
7036 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
7037 (_dl_allocate_tls_storage): Likewise.
7038 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
7039 (_dl_check_all_versions): Likewise.
7040 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7041 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
7042 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
7043 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7044 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
7045 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
7046 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
7047 internal_function from __dl_start.
7048 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
7049 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7050 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
7051 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
7052 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
7053 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
7054 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
7055 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
7056 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
7057 (_dl_next_ld_env_entry, _dl_important_hwcaps)
7058 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
7059 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
7060 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
7061 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
7062 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
7064 (struct rtld_global_ro): Remove internal_function from the
7065 _dl_lookup_symbol_x member.
7066 (_dl_symbol_value): Remove. No longer defined anywhere.
7067 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
7069 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7070 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7071 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
7072 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
7073 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
7074 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
7075 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
7076 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
7077 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
7078 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7079 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7080 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7082 2017-08-31 Florian Weimer <fweimer@redhat.com>
7084 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
7085 Remove internal_function.
7086 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7088 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7091 2017-08-31 Florian Weimer <fweimer@redhat.com>
7093 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
7094 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
7095 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
7097 2017-08-31 Florian Weimer <fweimer@redhat.com>
7099 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
7100 (__gai_enqueue_request): Remove internal_function.
7101 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
7102 (__gai_remove_request, __gai_notify, __gai_notify_only)
7103 (__gai_sigqueue): Likewise.
7104 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
7105 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7106 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
7107 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7110 2017-08-31 Florian Weimer <fweimer@redhat.com>
7112 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
7113 * include/dirent.h (__opendirat, __getdents, __getdents64)
7114 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
7115 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
7116 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7117 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
7121 2017-08-31 Florian Weimer <fweimer@redhat.com>
7123 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
7125 (GETCWD_RETURN_TYPE): Likewise.
7127 2017-08-31 Florian Weimer <fweimer@redhat.com>
7129 * include/time.h (__tz_compute, __strptime_internal): Remove
7131 * time/strptime_l.c (__strptime_internal): Likewise.
7132 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
7134 2017-08-31 Florian Weimer <fweimer@redhat.com>
7136 * iconv/gconv.c (__gconv): Remove internal_function.
7137 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
7138 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
7139 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
7140 (__gconv_release_cache): Likewise.
7141 * iconv/gconv_close.c (__gconv_close): Likewise.
7142 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
7143 (read_conf_file, __gconv_get_path): Likewise.
7144 * iconv/gconv_db.c (derivation_lookup, add_derivation)
7145 (__gconv_release_step, gen_steps, increment_counter)
7146 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
7147 (__gconv_close_transform, free_modules_db): Likewise.
7148 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
7150 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
7151 (__gconv_find_transform, __gconv_lookup_cache)
7152 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
7153 (__gconv_close_transform, __gconv_release_cache)
7154 (__gconv_loaded_object, __gconv_release_shlib)
7155 (__gconv_compare_alias): Likewise.
7156 * iconv/gconv_open.c (__gconv_open): Likewise.
7157 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
7158 * iconv/iconvconfig.c (add_module): Likewise.
7159 * intl/dcigettext.c (plural_lookup, guess_category_value)
7160 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
7161 * intl/eval-plural.h (plural_eval): Likewise.
7162 * intl/finddomain.c (_nl_find_domain): Likewise.
7163 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
7164 (_nl_load_domain, _nl_find_msg): Likewise.
7165 (internal_function): Remove definition.
7166 * intl/loadinfo.h (internal_function): Likewise.
7167 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
7169 * intl/localealias.c (internal_function): Remove definition.
7170 (read_alias_file): Remove internal_function.
7171 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
7172 * intl/plural-exp.h (internal_function): Remove definition.
7173 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
7175 * intl/plural.c: Regenerate.
7176 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
7177 * locale/coll-lookup.c (__collidx_table_lookup)
7178 (__collseq_table_lookup): Likewise.
7179 * locale/coll-lookup.h (__collidx_table_lookup)
7180 (__collseq_table_lookup): Likewise.
7181 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
7182 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7183 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
7184 (_nl_unload_locale): Likewise.
7185 * locale/localeinfo.h (struct __locale_data): Remove
7186 internal_function from cleanup member.
7187 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
7188 (_nl_remove_locale, _nl_load_locale_from_archive)
7189 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
7190 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
7191 (_nl_cleanup_time): Remove internal_function.
7192 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
7193 (_nl_parse_alt_digit): Likewise.
7194 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
7195 (_nl_select_era_entry): Likewise.
7196 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
7197 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7198 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7199 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7200 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7202 2017-08-31 Florian Weimer <fweimer@redhat.com>
7204 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
7205 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
7206 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
7207 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
7209 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
7210 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
7211 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
7212 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7214 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
7216 2017-08-31 Florian Weimer <fweimer@redhat.com>
7218 * misc/getttyent.c (skip, value): Remove internal_function.
7219 * misc/syslog.c (openlog_internal): Likewise.
7220 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
7222 2017-08-31 Florian Weimer <fweimer@redhat.com>
7224 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
7225 (__nss_rewrite_field): Remove internal_function.
7226 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7227 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7228 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7229 * nss/nsswitch.c (nss_parse_file, nss_getline)
7230 (nss_parse_service_list, nss_new_service): Likewise.
7231 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
7232 * nss/valid_field.c (__nss_valid_field): Likewise.
7233 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7235 2017-08-31 Florian Weimer <fweimer@redhat.com>
7237 * malloc/arena.c (__malloc_fork_lock_parent)
7238 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
7239 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
7240 internal_function from defintions.
7241 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
7242 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
7243 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
7244 internal_function from declarations.
7245 * malloc/malloc.c (internal_function): Do not define.
7246 (mem2mem_check): Remove internal_function from declaration.
7247 (munmap_chunk, mremap_chunk): Remove internal_function.
7248 * malloc/mtrace.c (tr_where): Likewise.
7250 2017-08-31 Florian Weimer <fweimer@redhat.com>
7252 * include/rpc/pmap_clnt.h (__get_socket): Remove
7254 * sunrpc/auth_des.c (synchronize): Likewise.
7255 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
7256 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
7257 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
7258 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
7259 (key_call): Likewise.
7260 * sunrpc/pm_getport.c (__get_socket): Likewise.
7261 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
7262 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
7263 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
7264 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
7265 (invalidate): Likewise.
7266 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
7267 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
7268 (set_input_fragment, get_input_bytes): Likewise.
7270 2017-08-31 Florian Weimer <fweimer@redhat.com>
7272 * malloc/malloc.c (_int_free): Remove locked variable and related
7275 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
7278 * Makerules (build-module-helper-objlist): Filter out
7279 $(elf-objpfx)sofini.os.
7280 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
7283 2017-08-31 Florian Weimer <fweimer@redhat.com>
7285 * libio/fcloseall.c: Assume weak_alias is defined.
7286 * libio/feof.c: Likewise.
7287 * libio/fileno.c: Likewise.
7288 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
7289 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7291 (_IO_file_open): Call __open directly.
7292 (_IO_new_file_sync): Assume ESPIPE is defined.
7293 (_IO_file_seekoff_maybe_mmap): Call __read directly.
7294 (_IO_new_file_write): Call __write directly.
7295 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
7296 * libio/ftello64.c (__ftello64): Assume EIO is defined.
7297 * libio/genops.c: Assume _LIBC is defined.
7298 (save_for_backup): Remove internal_function.
7299 * libio/getc.c: Assume weak_alias is defined.
7300 * libio/getwc.c: Likewise.
7301 * libio/iofclose.c: Assume _LIBC is defined.
7302 * libio/iofdopen.c: Likewise.
7303 (_IO_fcntl): Remove macro definition.
7304 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
7305 Call __fcntl directly.
7306 * libio/iofflush.c: Assume weak_alias is defined.
7307 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
7309 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
7310 * libio/iofgets.c: Likewise.
7311 * libio/iofopen.c: Assume _LIBC is defined.
7312 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
7313 * libio/iofputs.c: Assume weak_alias is defined.
7314 * libio/iofread.c: Likewise.
7315 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
7316 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7317 * libio/ioftell.c: Assume weak_alias is defined.
7318 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
7319 * libio/iofwide.c: Assume _LIBC is defined.
7320 (_IO_fwide): Drop SHARED conditional because it is implied by
7322 * libio/iofwrite.c: Assume weak_alias is defined.
7323 * libio/iogetdelim.c: Likewise.
7324 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
7325 * libio/iogetwline.c (wmemcpy): Remove macro definition.
7326 (_IO_getwline): Call __wmemcpy directly.
7327 * libio/iopopen.c: Assume _LIBC is defined.
7328 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7329 (_IO_close): Remove macro definitions.
7330 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
7332 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
7334 * libio/ioputs.c: Assume weak_alias is defined.
7335 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
7336 * libio/iosetbuffer.c: Assume weak_alias is defined.
7337 * libio/iosetvbuf.c: Likewise.
7338 * libio/ioungetc.c: Likewise.
7339 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
7340 libc_hidden_def, libc_hidden_weak, NULL are defined.
7341 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
7342 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
7344 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7346 (_IO_old_file_init_internal): Drop SHARED conditional because it
7347 is implied by SHLIB_COMPAT.
7348 (_IO_old_file_fopen): Call __open directly.
7349 (_IO_old_file_sync): Assume ESPIPE is defined.
7350 (_IO_old_file_write): Call __write directly.
7351 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
7352 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
7353 Call __fcntl directly.
7354 * libio/oldiofgetpos.c: Assume weak_alias is defined.
7355 (_IO_old_fgetpos): Assume EIO is defined.
7356 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
7357 (_IO_old_fgetpos64): Assume EIO is defined.
7358 * libio/oldiofsetpos.c: Assume weak_alias is defined.
7359 (_IO_old_fsetpos): Assume EIO is defined.
7360 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
7361 (_IO_old_fsetpos64): Assume EIO is defined.
7362 * libio/oldiopopen.c: Assume _LIBC is defined.
7363 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7364 (_IO_close): Remove macro definitions.
7365 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
7367 (_IO_old_proc_close): Call __close, __waitpid directly.
7368 * libio/put.c: Assume weak_alias is defined.
7369 * libio/stdfiles.c: Assume _LIBC is defined.
7370 * libio/stdio.c: Likewise.
7371 * libio/wfileops.c: Likewise.
7372 (_IO_wfile_sync): Assume ESPIPE is defined.
7373 * libio/wgenops.c: Assume _LIBC is defined.
7374 (save_for_wbackup): Remove internal_function.
7376 2017-08-31 Florian Weimer <fweimer@redhat.com>
7378 * malloc/malloc.c (top_check): Change return type to void. Remove
7380 * malloc/hooks.c (top_check): Likewise.
7381 (malloc_check, realloc_check, memalign_check): Adjust.
7383 2017-08-30 Joseph Myers <joseph@codesourcery.com>
7386 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7387 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
7388 sigcontext and namespace requirements.
7389 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7390 * sysdeps/m68k/sys/ucontext.h: Likewise.
7391 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
7392 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
7393 <bits/sigcontext.h>.
7394 (__ctx): Define earlier.
7395 (mcontext_t): Define structure contents rather than using struct
7397 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
7398 __glibc_reserved1 instead of __reserved.
7399 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
7400 <bits/sigcontext.h>.
7401 (__ctx): Define earlier.
7402 (mcontext_t): Define structure contents rather than using struct
7404 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
7405 mcontext_t instead of struct sigcontext.
7406 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
7407 <bits/sigcontext.h>.
7408 (__ctx): Define earlier.
7409 (mcontext_t): Define structure contents rather than using struct
7411 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
7412 <bits/sigcontext.h>.
7413 (__ctx): Define earlier.
7414 (mcontext_t): Define structure contents rather than using struct
7416 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
7417 mcontext_t instead of struct sigcontext.
7418 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
7419 mcontext_t instead of struct sigcontext.
7420 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
7421 <bits/sigcontext.h>.
7423 (struct __ia64_fpreg_mcontext): New type.
7424 (mcontext_t): Define structure contents rather than using struct
7426 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
7427 (uc_sigmask): Define using __ctx.
7428 (uc_stack): Likewise.
7429 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
7430 <bits/sigcontext.h>.
7431 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7432 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
7433 <bits/sigcontext.h>.
7434 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
7435 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
7436 <bits/sigcontext.h>.
7437 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
7438 <bits/sigcontext.h>.
7439 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
7440 <bits/sigcontext.h>.
7441 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
7442 <bits/sigcontext.h>.
7443 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
7444 <bits/sigcontext.h>.
7445 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
7446 <bits/sigcontext.h>.
7447 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
7448 <bits/sigcontext.h>.
7449 (__ctx): Define earlier.
7450 (mcontext_t): Define structure contents rather than using struct
7452 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
7453 <bits/sigcontext.h>. Include <bits/types.h>.
7454 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
7455 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
7456 (test-xfail-XPG42/ucontext.h/conform): Likewise.
7457 (test-xfail-UNIX98/signal.h/conform): Likewise.
7458 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7459 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7460 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7461 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7462 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7463 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7464 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7465 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7466 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7468 2017-08-30 Florian Weimer <fweimer@redhat.com>
7470 * malloc/dynarray_emplace_enlarge.c
7471 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
7472 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7473 * malloc/tst-dynarray.c (test_long_overflow): New function.
7476 2017-08-30 Florian Weimer <fweimer@redhat.com>
7478 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
7479 (set_arena_corrupt): Remove definitions.
7480 (mtrim): Do not check for corrupt arena.
7481 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
7484 2017-08-30 Florian Weimer <fweimer@redhat.com>
7487 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
7489 (ptmalloc_init): Do not set or use check_action.
7490 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
7491 call to malloc_printerr. Remove return statement.
7492 (free_check): Likewise. Remove arena unlock.
7493 (top_check): Update comment. Adjust call to malloc_printerr.
7494 Remove heap repair code.
7495 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
7496 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
7497 (sysmalloc): Adjust call to malloc_printerr.
7498 (munmap_chunk, __libc_realloc): Likewise. Remove return
7500 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
7501 Remove errout label and corresponding gotos.
7502 (_int_free): Likewise. Remove arena unlock.
7503 (do_set_mallopt_check): Do not set check_action.
7504 (malloc_printerr): Adjust parameter list. Do not mark arena as
7506 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
7508 * manual/probes.texi (Memory Allocation Probes): Remove
7509 memory_mallopt_check_action.
7511 2017-08-30 Steve Ellcey <sellcey@cavium.com>
7513 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
7514 Use pointer to uint64_t instead of long int for sp.
7516 2017-08-30 Florian Weimer <fweimer@redhat.com>
7519 * malloc/malloc.c (malloc_printerr): Always terminate the process,
7520 without printing a backtrace. Do not leak any information in the
7522 * manual/memory.texi (Heap Consistency Checking): Update.
7523 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
7525 2017-08-30 Florian Weimer <fweimer@redhat.com>
7527 Do not scale NPTL tests with available number of CPUs.
7528 * nptl/tst-cond16.c (count): Set to constant value of 8.
7529 * nptl/tst-cond18.c (count): Likewise.
7531 2017-08-29 Joseph Myers <joseph@codesourcery.com>
7534 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
7535 Define to take a second argument that is a macro that
7536 concatentates a suffix, not the suffix itself.
7537 (__CONCAT_d): New macro.
7538 (__CONCAT_f): Likewise.
7539 (__CONCAT_l): Likewise.
7541 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
7543 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
7546 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7547 Aurelien Jarno <aurelien@aurel32.net>
7548 Maciej W. Rozycki <macro@imgtec.com>
7551 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
7552 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
7553 `mips16-syscall6' and `mips16-syscall7'.
7554 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
7555 (CFLAGS-mips16-syscall7.c): Remove.
7556 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
7557 Remove `__mips16_syscall5', `__mips16_syscall6' and
7558 `__mips16_syscall7'.
7559 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
7560 (__mips16_syscall0): Rename `__mips16_syscall_return' to
7561 `__mips_syscall_return'.
7562 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
7563 (__mips16_syscall1): Likewise.
7564 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
7565 (__mips16_syscall2): Likewise.
7566 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
7567 (__mips16_syscall3): Likewise.
7568 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
7569 (__mips16_syscall4): Likewise.
7570 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
7572 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
7574 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
7576 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
7577 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
7578 `__mips16_syscall5'. Remove prototype.
7579 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
7580 `__mips16_syscall6'. Remove prototype.
7581 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
7582 `__mips16_syscall7'. Remove prototype.
7583 (__nomips16, __mips16_syscall_return): Move to...
7584 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7585 (__nomips16, __mips_syscall_return): ... here.
7586 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
7587 `__mips16_syscall_return' to `__mips_syscall_return'.
7588 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
7589 `internal_syscall##nr'.
7590 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
7591 `internal_syscall##nr'.
7592 (FORCE_FRAME_POINTER): Remove.
7593 (__mips_syscall5): New prototype.
7594 (internal_syscall5): Rewrite to call `__mips_syscall5'.
7595 (__mips_syscall6): New prototype.
7596 (internal_syscall6): Rewrite to call `__mips_syscall6'.
7597 (__mips_syscall7): New prototype.
7598 (internal_syscall7): Rewrite to call `__mips_syscall7'.
7599 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
7600 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
7601 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
7602 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
7603 (sysdep_routines): Add libc-do-syscall.
7604 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
7605 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
7607 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7610 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
7611 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
7612 (advise_stack_range): New function.
7613 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
7614 stack non required to advise_stack_range at allocatestack.c
7616 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
7618 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
7620 2017-08-29 Florian Weimer <fweimer@redhat.com>
7623 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
7624 __end_fct. Mangle __end_fct after setting it to NULL.
7625 * iconv/Makefile (tests): Add tst-gconv-init-failure.
7626 (modules-names, modules-names-tests): Add
7627 tst-gconv-init-failure-mod.
7628 (gconv-modules): New target.
7629 (tst-gconv-init-failure-mod.so): Link against libsupport.
7630 (tst-gconv-init-failure): Depend on gconv-modules,
7631 tst-gconv-init-failure-mod.so.
7632 * iconv/tst-gconv-init-failure-mod.c: New file.
7633 * iconv/tst-gconv-init-failure.c: Likewise.
7634 * iconv/test-gconv-modules: Likewise.
7636 2017-08-29 Florian Weimer <fweimer@redhat.com>
7639 * iconv/gconv_db.c (free_derivation): Remove redundant
7641 (gen_steps): Unconditionally mangle __btowc_fct after
7643 (increment_counter): Likewise. Do not call init_fct for internal
7646 2017-08-29 Joseph Myers <joseph@codesourcery.com>
7649 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7650 (_MSUF_): Remove macro.
7651 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
7653 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7654 (__REDIRFROM_X): New macro.
7655 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
7657 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
7658 (__REDIRTO_X): Likewise.
7659 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
7661 (__MATH_REDIRCALL_2): Likewise.
7662 (__MATH_REDIRCALL_INTERNAL): Likewise.
7663 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7664 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
7665 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
7666 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7667 * math/test-finite-macros.c: New file.
7668 * math/Makefile (tests): Add test-finite-macros.
7669 (CFLAGS-test-finite-macros.c): New variable.
7671 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
7672 Jeff Law <law@redhat.com>
7675 Mangle NULL pointers in iconv/gconv.
7676 * iconv/gconv_cache.c (find_module): Demangle init_fct before
7677 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
7678 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
7679 is non-NULL before demangling the end_fct. Check for NULL
7680 end_fct after demangling.
7681 (__gconv_release_step): Demangle the end_fct before checking
7682 it for NULL. Remove assert on __shlibc_handle != NULL.
7683 (gen_steps): Don't check btowc_fct for NULL before mangling.
7684 Demangle init_fct before checking for NULL.
7685 (increment_counter): Likewise.
7686 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
7687 end_fct for NULL before mangling.
7688 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
7691 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
7694 * locale/iso-639.def: add Morisyen.
7696 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7699 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
7700 (iszero): New C++ implementation that does not use
7701 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
7702 signaling nans are enabled, since __builtin_types_compatible_p
7703 is a C-only feature.
7704 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
7705 defined, include ieee754_float128.h for access to the union and
7706 member ieee854_float128.ieee.
7707 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
7708 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
7709 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
7710 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
7711 options of test-math-zero on powerpc64le.
7713 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
7715 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
7716 Change double to float.
7718 2017-08-28 Joseph Myers <joseph@codesourcery.com>
7720 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
7722 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
7723 conditional code; define contents only for [LIBM_SVID_COMPAT].
7725 2017-08-28 Florian Weimer <fweimer@redhat.com>
7727 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
7728 (abi-lp64_be-options): Remove.
7729 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
7730 (abi-hard-options): Likewise.
7731 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
7732 (abi-o32_hard-options, abi-o32_soft_2008-options)
7733 (abi-o32_hard_2008-options, abi-n32_soft-options)
7734 (abi-n32_hard-options, abi-n32_soft_2008-options)
7735 (abi-n32_hard_2008-options, abi-n64_soft-options)
7736 (abi-n64_hard-options, abi-n64_soft_2008-options)
7737 (abi-n64_hard_2008-options): Likewise.
7738 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
7739 (abi-64-v1-options, abi-64-v2-options): Likewise.
7740 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
7741 (abi-64-options): Likewise.
7742 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
7743 (abi-64-options): Likewise.
7744 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
7745 (abi-64-options): Likewise.
7746 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
7747 (abi-64-options, abi-x32-options): Likewise.
7749 2017-08-28 Florian Weimer <fweimer@redhat.com>
7751 Store supported list of SYS_* system calls in the source tree.
7752 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7753 (bits/syscall.h): Generate from list file.
7754 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
7755 [$(subdir) = misc] (tests): Add tst-syscall-list.
7756 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
7757 [$(subdir) = misc] (tst-syscall-list-macros.list)
7758 [$(subdir) = misc] (tst-syscall-list-nr.list)
7759 (tst-syscall-list-sys.list): Helper targets for new
7760 tst-syscall-list test.
7761 [$(subdir) = misc] (tst-syscall-list.out): Run test script
7762 tst-syscall-list.sh.
7763 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
7764 target. Do not include bits/syscall.d.
7765 [$(subdir) = misc] (generated): Do not update.
7766 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
7767 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
7768 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
7769 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
7771 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7773 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
7774 (tst-cxa_atexit, tst-on_exit): Likewise.
7775 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
7776 tst-cxa_atexit, and tst-on_exit.
7777 * stdlib/tst-atexit-common.c: New file.
7778 * stdlib/tst-atexit.c: New file.
7779 * stdlib/tst-at_quick_exit.c: New file.
7780 * stdlib/tst-cxa_atexit.c: New file.
7781 * stdlib/tst-on_exit.c: New file.
7783 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7785 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
7786 * mach/stack_chk_fail_local.c: New file.
7787 * hurd/stack_chk_fail_local.c: New file.
7788 * mach/Machrules ($(interface-library)-routines): Add
7789 stack_chk_fail_local.
7790 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
7791 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
7792 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
7793 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
7794 * hurd/Makefile (CFLAGS-hurdstartup.o,
7795 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
7797 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
7799 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7800 (index_cpu_*, index_arch_*): Removed.
7802 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
7804 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
7805 Use uint64_t instead of unsigned long.
7807 2017-08-25 Joseph Myers <joseph@codesourcery.com>
7809 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
7810 [__HAVE_DISTINCT_FLOAT128].
7812 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
7813 of <bits/math-finite.h>.
7814 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
7815 inclusion of <bits/math-finite.h>.
7816 * math/bits/math-finite.h (__REDIRTO_X): Do not define
7817 conditionally on [__MATH_DECLARING_LDOUBLE && defined
7818 __NO_LONG_DOUBLE_MATH].
7819 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
7820 (__MATH_REDIRCALL_2): Likewise.
7821 (__MATH_REDIRCALL_INTERNAL): Likewise.
7822 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7823 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
7824 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7838 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7839 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7840 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7841 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7843 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
7844 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
7845 w_sqrtf_compat-ppc32.
7847 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7849 * math/math.h [defined __cplusplus] (issignaling): In the long
7850 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
7851 is not defined. Call __issignaling, otherwise.
7853 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7855 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
7856 syscall definitions and replace __builtin_expect with __glibc_likely.
7857 * sysdeps/unix/syscall-template.S: Update comment about cancellable
7859 (SYSCALL_CANCELLABLE): Removedefinition
7860 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
7862 (PSEUDO_END): Likewise.
7863 [IS_IN (libpthread)] (CENABLE): Likewise.
7864 [IS_IN (libpthread)] (CDISABLE): Likewise.
7865 [IS_IN (libc)] (CENABLE): Likewise.
7866 [IS_IN (libc)] (CENABLE): Likewise.
7867 [IS_IN (librt)] (CDISABLE): Likewise.
7868 [IS_IN (librt)] (CDISABLE): Likewise.
7869 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7870 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
7872 (PSEUDO_END): Likewise.
7873 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
7874 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
7875 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
7876 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
7877 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
7878 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
7879 (CENABLE): Likewise.
7880 (CDISABLE): Likewise.
7881 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7882 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
7884 (PSEUDO_END): Likewise.
7885 [IS_IN (libpthread)] (CENABLE): Likewise.
7886 [IS_IN (libpthread)] (CDISABLE): Likewise.
7887 [IS_IN (libc)] (CENABLE): Likewise.
7888 [IS_IN (libc)] (CENABLE): Likewise.
7889 [IS_IN (librt)] (CDISABLE): Likewise.
7890 [IS_IN (librt)] (CDISABLE): Likewise.
7891 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7892 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
7894 (PSEUDO_END): Likewise.
7895 [IS_IN (libpthread)] (CENABLE): Likewise.
7896 [IS_IN (libpthread)] (CDISABLE): Likewise.
7897 [IS_IN (libc)] (CENABLE): Likewise.
7898 [IS_IN (libc)] (CENABLE): Likewise.
7899 [IS_IN (librt)] (CDISABLE): Likewise.
7900 [IS_IN (librt)] (CDISABLE): Likewise.
7901 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7902 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
7904 (PSEUDO_END): Likewise.
7905 [IS_IN (libpthread)] (CENABLE): Likewise.
7906 [IS_IN (libpthread)] (CDISABLE): Likewise.
7907 [IS_IN (libc)] (CENABLE): Likewise.
7908 [IS_IN (libc)] (CENABLE): Likewise.
7909 [IS_IN (librt)] (CDISABLE): Likewise.
7910 [IS_IN (librt)] (CDISABLE): Likewise.
7911 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7912 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
7914 (PSEUDO_END): Likewise.
7915 [IS_IN (libpthread)] (CENABLE): Likewise.
7916 [IS_IN (libpthread)] (CDISABLE): Likewise.
7917 [IS_IN (libc)] (CENABLE): Likewise.
7918 [IS_IN (libc)] (CENABLE): Likewise.
7919 [IS_IN (librt)] (CDISABLE): Likewise.
7920 [IS_IN (librt)] (CDISABLE): Likewise.
7921 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7922 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
7924 (PSEUDO_END): Likewise.
7925 [IS_IN (libpthread)] (CENABLE): Likewise.
7926 [IS_IN (libpthread)] (CDISABLE): Likewise.
7927 [IS_IN (libc)] (CENABLE): Likewise.
7928 [IS_IN (libc)] (CENABLE): Likewise.
7929 [IS_IN (librt)] (CDISABLE): Likewise.
7930 [IS_IN (librt)] (CDISABLE): Likewise.
7931 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7932 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
7934 (PSEUDO_END): Likewise.
7935 [IS_IN (libpthread)] (CENABLE): Likewise.
7936 [IS_IN (libpthread)] (CDISABLE): Likewise.
7937 [IS_IN (libc)] (CENABLE): Likewise.
7938 [IS_IN (libc)] (CENABLE): Likewise.
7939 [IS_IN (librt)] (CDISABLE): Likewise.
7940 [IS_IN (librt)] (CDISABLE): Likewise.
7941 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7942 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
7944 (PSEUDO_END): Likewise.
7945 [IS_IN (libpthread)] (CENABLE): Likewise.
7946 [IS_IN (libpthread)] (CDISABLE): Likewise.
7947 [IS_IN (libc)] (CENABLE): Likewise.
7948 [IS_IN (libc)] (CENABLE): Likewise.
7949 [IS_IN (librt)] (CDISABLE): Likewise.
7950 [IS_IN (librt)] (CDISABLE): Likewise.
7951 (SINGLE_THREAD_P): Likewise.
7952 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
7954 (PSEUDO_END): Likewise.
7955 [IS_IN (libpthread)] (CENABLE): Likewise.
7956 [IS_IN (libpthread)] (CDISABLE): Likewise.
7957 [IS_IN (libc)] (CENABLE): Likewise.
7958 [IS_IN (libc)] (CENABLE): Likewise.
7959 [IS_IN (librt)] (CDISABLE): Likewise.
7960 [IS_IN (librt)] (CDISABLE): Likewise.
7961 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7962 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
7964 (PSEUDO_END): Likewise.
7965 [IS_IN (libpthread)] (CENABLE): Likewise.
7966 [IS_IN (libpthread)] (CDISABLE): Likewise.
7967 [IS_IN (libc)] (CENABLE): Likewise.
7968 [IS_IN (libc)] (CENABLE): Likewise.
7969 [IS_IN (librt)] (CDISABLE): Likewise.
7970 [IS_IN (librt)] (CDISABLE): Likewise.
7971 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7972 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
7973 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7974 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
7975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
7977 (PSEUDO_END): Likewise.
7978 [IS_IN (libpthread)] (CENABLE): Likewise.
7979 [IS_IN (libpthread)] (CDISABLE): Likewise.
7980 [IS_IN (libc)] (CENABLE): Likewise.
7981 [IS_IN (libc)] (CENABLE): Likewise.
7982 [IS_IN (librt)] (CDISABLE): Likewise.
7983 [IS_IN (librt)] (CDISABLE): Likewise.
7984 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
7987 (PSEUDO_END): Likewise.
7988 [IS_IN (libpthread)] (CENABLE): Likewise.
7989 [IS_IN (libpthread)] (CDISABLE): Likewise.
7990 [IS_IN (libc)] (CENABLE): Likewise.
7991 [IS_IN (libc)] (CENABLE): Likewise.
7992 [IS_IN (librt)] (CDISABLE): Likewise.
7993 [IS_IN (librt)] (CDISABLE): Likewise.
7994 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7995 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
7997 (PSEUDO_END): Likewise.
7998 [IS_IN (libpthread)] (CENABLE): Likewise.
7999 [IS_IN (libpthread)] (CDISABLE): Likewise.
8000 [IS_IN (libc)] (CENABLE): Likewise.
8001 [IS_IN (libc)] (CENABLE): Likewise.
8002 [IS_IN (librt)] (CDISABLE): Likewise.
8003 [IS_IN (librt)] (CDISABLE): Likewise.
8004 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8005 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
8006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8007 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
8008 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
8010 (PSEUDO_END): Likewise.
8011 [IS_IN (libpthread)] (CENABLE): Likewise.
8012 [IS_IN (libpthread)] (CDISABLE): Likewise.
8013 [IS_IN (libc)] (CENABLE): Likewise.
8014 [IS_IN (libc)] (CENABLE): Likewise.
8015 [IS_IN (librt)] (CDISABLE): Likewise.
8016 [IS_IN (librt)] (CDISABLE): Likewise.
8017 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8018 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
8020 (PSEUDO_END): Likewise.
8021 [IS_IN (libpthread)] (CENABLE): Likewise.
8022 [IS_IN (libpthread)] (CDISABLE): Likewise.
8023 [IS_IN (libc)] (CENABLE): Likewise.
8024 [IS_IN (libc)] (CENABLE): Likewise.
8025 [IS_IN (librt)] (CDISABLE): Likewise.
8026 [IS_IN (librt)] (CDISABLE): Likewise.
8027 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8029 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
8031 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
8033 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8035 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8037 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8040 * string/stratcliff.c (do_test): Declare size, nchars, inner,
8041 middle and outer with size_t instead of int. Repleace %d and
8042 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
8043 "MAX (outer, nchars - 64)" to support unsigned outer and
8044 nchars. Also exit loop when outer == 0.
8046 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8048 * include/fcntl.h (__fcntl_nocancel): Remove definition.
8049 * include/signal.h (__sigsuspend_nocancel): Likewise.
8050 * include/time.h (__nanosleep_nocancel): Likewise.
8051 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
8052 * login/utmp_file.c: Include non cancellable syscall header.
8053 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
8056 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8058 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
8059 .byte sequences with AVX512F instructions.
8060 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
8061 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8062 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8063 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
8065 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8068 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
8069 Steve Ellcey <sellcey@cavium.com>
8071 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
8072 Use PTR_REG macro in cmp instruction.
8074 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8076 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
8077 Change the return type of the ifunc resolver to match the return
8078 type of the target function.
8080 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8082 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
8083 (preadv64): Likewise.
8084 (pwrite64(: Likewise.
8085 (pwritev64): Likewise.
8087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8088 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
8089 (LOAD_ARGS_0): Likewise.
8090 (LOAD_ARGS_1): Likewise.
8091 (LOAD_ARGS_2): Likewise.
8092 (LOAD_ARGS_3): Likewise.
8093 (LOAD_ARGS_4): Likewise.
8094 (LOAD_ARGS_5): Likewise.
8095 (LOAD_ARGS_6): Likewise.
8096 (LOAD_REGS_0): Likewise.
8097 (LOAD_REGS_1): Likewise.
8098 (LOAD_REGS_2): Likewise.
8099 (LOAD_REGS_3): Likewise.
8100 (LOAD_REGS_4): Likewise.
8101 (LOAD_REGS_5): Likewise.
8102 (LOAD_REGS_6): Likewise.
8103 (ASM_ARGS_0): Likewise.
8104 (ASM_ARGS_1): Likewise.
8105 (ASM_ARGS_2): Likewise.
8106 (ASM_ARGS_3): Likewise.
8107 (ASM_ARGS_4): Likewise.
8108 (ASM_ARGS_5): Likewise.
8109 (ASM_ARGS_6): Likewise.
8110 (LOAD_ARGS_TYPES_1): Likewise.
8111 (LOAD_ARGS_TYPES_2): Likewise.
8112 (LOAD_ARGS_TYPES_3): Likewise.
8113 (LOAD_ARGS_TYPES_4): Likewise.
8114 (LOAD_ARGS_TYPES_5): Likewise.
8115 (LOAD_ARGS_TYPES_6): Likewise.
8116 (LOAD_REGS_TYPES_1): Likewise.
8117 (LOAD_REGS_TYPES_2): Likewise.
8118 (LOAD_REGS_TYPES_3): Likewise.
8119 (LOAD_REGS_TYPES_4): Likewise.
8120 (LOAD_REGS_TYPES_5): Likewise.
8121 (LOAD_REGS_TYPES_6): Likewise.
8122 (TYPEFY): New define.
8124 (internal_syscall0): Likewise.
8125 (internal_syscall1): Likewise.
8126 (internal_syscall2): Likewise.
8127 (internal_syscall3): Likewise.
8128 (internal_syscall4): Likewise.
8129 (internal_syscall5): Likewise.
8130 (internal_syscall6): Likewise.
8131 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
8132 (INTERNAL_SYSCALL_NCS): Remove define.
8133 (internal_syscall1): Add define.
8135 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8137 * math/w_remainder_compat.c: Remove duplicate inclusion of
8139 * math/w_remainderf_compat.c: Likewise.
8140 * math/w_remainderl_compat.c: Likewise.
8142 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8146 2017-08-22 Joseph Myers <joseph@codesourcery.com>
8149 * math/tgmath.h (__floating_type): Simplify definitions.
8150 (__real_integer_type): New macro.
8151 (__complex_integer_type): Likewise.
8152 (__expr_is_real): Likewise.
8153 (__tgmath_real_type_sub): Update comment to describe handling of
8155 (__tgmath_complex_type_sub): New macro.
8156 (__tgmath_complex_type): Likewise.
8157 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8158 (__TGMATH_CF128): Use __expr_is_real.
8159 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
8161 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8162 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
8163 * math/gen-tgmath-tests.py (Type.create_type): Create complex
8166 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8168 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
8170 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
8172 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
8175 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
8176 nanosleep_not_cancel with __nanosleep_nocancel.
8177 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
8178 (__nanosleep_nocancel): New macro.
8179 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
8181 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
8183 (__nanosleep_nocancel): New prototype.
8185 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
8186 pause_not_cancel with __pause_nocancel.
8187 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
8188 (__pause_nocancel): New macro.
8189 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
8191 (__pause_nocancel): New prototype.
8192 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
8194 2017-08-22 Martin Sebor <msebor@redhat.com>
8196 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
8197 to return a pointer to the same type as the target function.
8199 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8203 * include/printf.h (__printf_fphex): Add attribute_hidden.
8204 (__guess_grouping): New prototype.
8205 * stdio-common/printf_fp.c (__guess_grouping): Removed.
8206 * stdio-common/reg-printf.c (__register_printf_specifier): Add
8207 libc_hidden_proto and libc_hidden_def.
8208 * stdlib/strfmon_l.c (__guess_grouping): Removed.
8209 (__vstrfmon_l): Remove the third argument passed to
8212 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8214 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
8215 definition for issignaling that does not rely on __MATH_TG,
8216 since __MATH_TG uses __builtin_types_compatible_p, which is only
8217 available in C mode.
8218 (CFLAGS-test-math-issignaling.cc): New variable.
8219 * math/Makefile [CXX] (tests): Add test-math-issignaling.
8220 * math/test-math-issignaling.cc: New test for C++ implementation
8221 of type-generic issignaling.
8222 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8223 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
8224 options of test-math-issignaling on powerpc64le.
8226 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8228 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8230 (hidden_proto): Likewise.
8231 (hidden_tls_proto): Likewise.
8232 (__hidden_proto): Likewise.
8234 2017-08-22 Florian Weimer <fweimer@redhat.com>
8236 math: Statically link tests of internal functionality.
8237 * math/Makefile (tests): Remove atest-exp, atest-sincos,
8239 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
8240 (gmp-objs): Remove assignment.
8241 (atest-exp, atest-sincos, atest-exp2): Remove targets.
8243 2017-08-22 Joseph Myers <joseph@codesourcery.com>
8246 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
8248 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
8250 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
8253 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
8254 variable definitions above inclusion of ../Rules.
8256 2017-08-21 Joseph Myers <joseph@codesourcery.com>
8258 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
8259 case calling __builtin_unreachable.
8261 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8263 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
8265 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
8266 (__waitpid_nocancel): New macro.
8267 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
8269 (__waitpid_nocancel): Replace macro with a function.
8270 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
8273 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
8275 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
8276 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
8278 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
8279 __writev_nocancel_nostatus.
8280 (write_call_graph): Likewise.
8281 (write_bb_counts): Likewise.
8282 * resolv/herror.c (herror): Likewise.
8283 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
8285 (__writev_nocancel_nostatus): New macro.
8286 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
8288 (__writev_nocancel_nostatus): New function.
8290 2017-08-21 Joseph Myers <joseph@codesourcery.com>
8293 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8295 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8297 (hidden_proto): Likewise.
8298 (hidden_tls_proto): Likewise.
8299 (__hidden_proto): Likewise.
8302 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
8303 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
8313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8314 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8315 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8316 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8317 GLIBC_2.0 sqrtl symbol.
8319 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
8320 [__USE_MISC] (_LIB_VERSION): Likewise.
8321 [__USE_MISC] (struct exception): Likewise.
8322 [__USE_MISC] (matherr): Likewise.
8323 [__USE_MISC] (DOMAIN): Likewise.
8324 [__USE_MISC] (SING): Likewise.
8325 [__USE_MISC] (OVERFLOW): Likewise.
8326 [__USE_MISC] (UNDERFLOW): Likewise.
8327 [__USE_MISC] (TLOSS): Likewise.
8328 [__USE_MISC] (PLOSS): Likewise.
8329 [__USE_MISC] (HUGE): Likewise.
8330 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
8331 * math/math-svid-compat.h: New file.
8332 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
8334 * include/math.h [!_ISOMAC] (__matherr): Remove.
8335 * manual/arith.texi (FP Exceptions): Do not document matherr.
8336 * math/Makefile (tests): Change test-matherr to test-matherr-3.
8337 (tests-internal): New variable.
8338 (install-lib): Do not add libieee.a.
8339 (non-lib.a): Likewise.
8340 (extra-objs): Do not add libieee.a and ieee-math.o.
8341 (CPPFLAGS-s_lib_version.c): Remove variable.
8342 ($(objpfx)libieee.a): Remove rule.
8343 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
8344 * math/ieee-math.c: Remove.
8345 * math/libm-test-support.c (matherr): Remove.
8346 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
8347 and license notices. Include <math-svid-compat.h> and
8349 (matherr): Undefine as macro. Use compat_symbol_reference.
8350 (_LIB_VERSION): Likewise.
8351 * math/test-matherr-2.c: New file.
8352 * math/test-matherr-3.c: Likewise.
8353 * sysdeps/generic/math_private.h (__kernel_standard): Remove
8355 (__kernel_standard_f): Likewise.
8356 (__kernel_standard_l): Likewise.
8357 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
8358 <math_private.h>. Include <math-svid-compat.h>.
8359 (_LIB_VERSION): Undefine as macro.
8360 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
8361 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
8362 [LIBM_SVID_COMPAT], use compat_symbol.
8363 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
8364 <math_private.h>. Include <math-svid-compat.h>.
8365 (matherr): Undefine as macro.
8366 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
8368 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
8369 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
8370 compat_symbol_reference.
8371 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
8372 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
8373 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
8374 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
8375 (MATHERR_D): Remove declaration.
8376 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
8377 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
8378 [LIBM_BUILD] (pmatherrf): Likewise.
8379 [LIBM_BUILD] (pmatherr): Likewise.
8380 [LIBM_BUILD] (pmatherrl): Likewise.
8383 (OVERFLOW): Likewise.
8384 (UNDERFLOW): Likewise.
8387 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
8388 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
8390 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
8391 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
8393 * math/lgamma-compat.h: Include <math-svid-compat.h>.
8394 * math/w_acos_compat.c: Likewise.
8395 * math/w_acosf_compat.c: Likewise.
8396 * math/w_acosh_compat.c: Likewise.
8397 * math/w_acoshf_compat.c: Likewise.
8398 * math/w_acoshl_compat.c: Likewise.
8399 * math/w_acosl_compat.c: Likewise.
8400 * math/w_asin_compat.c: Likewise.
8401 * math/w_asinf_compat.c: Likewise.
8402 * math/w_asinl_compat.c: Likewise.
8403 * math/w_atan2_compat.c: Likewise.
8404 * math/w_atan2f_compat.c: Likewise.
8405 * math/w_atan2l_compat.c: Likewise.
8406 * math/w_atanh_compat.c: Likewise.
8407 * math/w_atanhf_compat.c: Likewise.
8408 * math/w_atanhl_compat.c: Likewise.
8409 * math/w_cosh_compat.c: Likewise.
8410 * math/w_coshf_compat.c: Likewise.
8411 * math/w_coshl_compat.c: Likewise.
8412 * math/w_exp10_compat.c: Likewise.
8413 * math/w_exp10f_compat.c: Likewise.
8414 * math/w_exp10l_compat.c: Likewise.
8415 * math/w_exp2_compat.c: Likewise.
8416 * math/w_exp2f_compat.c: Likewise.
8417 * math/w_exp2l_compat.c: Likewise.
8418 * math/w_fmod_compat.c: Likewise.
8419 * math/w_fmodf_compat.c: Likewise.
8420 * math/w_fmodl_compat.c: Likewise.
8421 * math/w_hypot_compat.c: Likewise.
8422 * math/w_hypotf_compat.c: Likewise.
8423 * math/w_hypotl_compat.c: Likewise.
8424 * math/w_j0_compat.c: Likewise.
8425 * math/w_j0f_compat.c: Likewise.
8426 * math/w_j0l_compat.c: Likewise.
8427 * math/w_j1_compat.c: Likewise.
8428 * math/w_j1f_compat.c: Likewise.
8429 * math/w_j1l_compat.c: Likewise.
8430 * math/w_jn_compat.c: Likewise.
8431 * math/w_jnf_compat.c: Likewise.
8432 * math/w_jnl_compat.c: Likewise.
8433 * math/w_lgamma_main.c: Likewise.
8434 * math/w_lgamma_r_compat.c: Likewise.
8435 * math/w_lgammaf_main.c: Likewise.
8436 * math/w_lgammaf_r_compat.c: Likewise.
8437 * math/w_lgammal_main.c: Likewise.
8438 * math/w_lgammal_r_compat.c: Likewise.
8439 * math/w_log10_compat.c: Likewise.
8440 * math/w_log10f_compat.c: Likewise.
8441 * math/w_log10l_compat.c: Likewise.
8442 * math/w_log2_compat.c: Likewise.
8443 * math/w_log2f_compat.c: Likewise.
8444 * math/w_log2l_compat.c: Likewise.
8445 * math/w_log_compat.c: Likewise.
8446 * math/w_logf_compat.c: Likewise.
8447 * math/w_logl_compat.c: Likewise.
8448 * math/w_pow_compat.c: Likewise.
8449 * math/w_powf_compat.c: Likewise.
8450 * math/w_powl_compat.c: Likewise.
8451 * math/w_remainder_compat.c: Likewise.
8452 * math/w_remainderf_compat.c: Likewise.
8453 * math/w_remainderl_compat.c: Likewise.
8454 * math/w_scalb_compat.c: Likewise.
8455 * math/w_scalbf_compat.c: Likewise.
8456 * math/w_scalbl_compat.c: Likewise.
8457 * math/w_sinh_compat.c: Likewise.
8458 * math/w_sinhf_compat.c: Likewise.
8459 * math/w_sinhl_compat.c: Likewise.
8460 * math/w_sqrt_compat.c: Likewise.
8461 * math/w_sqrtf_compat.c: Likewise.
8462 * math/w_sqrtl_compat.c: Likewise.
8463 * math/w_tgamma_compat.c: Likewise.
8464 * math/w_tgammaf_compat.c: Likewise.
8465 * math/w_tgammal_compat.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8467 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8468 * sysdeps/ieee754/k_standard.c: Likewise.
8469 * sysdeps/ieee754/k_standardf.c: Likewise.
8470 * sysdeps/ieee754/k_standardl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8472 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8473 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8478 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8479 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8485 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8486 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8487 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8489 2017-08-21 Florian Weimer <fweimer@redhat.com>
8492 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
8493 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
8494 Move before inclusion of ../Rules.
8496 2017-08-21 Florian Weimer <fweimer@redhat.com>
8499 * assert/assert.h (assert): Use static_cast (bool) for C++.
8500 Use the ternary operator in the warning branch for GNU C.
8501 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
8502 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
8503 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
8504 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
8505 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
8507 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8511 (__syscall_clock_gettime): Add attribute_hidden.
8512 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
8513 (__start_context): Likewise.
8515 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8517 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8519 (hidden_proto): Likewise.
8520 (hidden_tls_proto): Likewise.
8521 (__hidden_proto): Likewise.
8523 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8525 * include/libc-symbols.h (attribute_hidden): Enable hidden
8526 visibility in libc.a compiled with PIE.
8528 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8531 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
8532 Add attribute_hidden.
8534 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8537 * Makerules (all-nonlib): Add $(others-extras).
8538 * catgets/Makefile (others-extras): New.
8539 * elf/Makefile (others-extras): Likewise.
8540 * nss/Makefile (others-extras): Likewise.
8542 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8545 * csu/libc-start.c (__libc_multiple_libcs): Removed.
8546 * elf/dl-open.c: Include <libc-internal.h>.
8547 (__libc_multiple_libcs): Removed.
8548 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
8550 * include/libc-internal.h (__libc_multiple_libcs): New.
8551 * misc/sbrk.c: Include <libc-internal.h>.
8552 (__libc_multiple_libcs): Removed.
8554 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8557 * grp/initgroups.c (__nss_group_database): Removed.
8558 (__nss_initgroups_database): Likewise.
8559 * nscd/gai.c (__nss_hosts_database): Likewise.
8560 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
8561 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
8562 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
8563 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
8564 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
8565 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
8567 * nss/nsswitch.c (__nss_database_custom): Define only if
8568 USE_NSCD is defined.
8569 (__nss_configure_lookup): Use __nss_database_custom only if
8570 USE_NSCD is defined.
8571 * nss/nsswitch.h (__nss_database_custom): Declare only if
8572 USE_NSCD is defined. Add attribute_hidden.
8573 (__nss_setent): Add attribute_hidden.
8574 (__nss_endent): Likewise.
8575 (__nss_getent_r): Likewise.
8576 (__nss_getent): Likewise.
8577 (DEFINE_DATABASE): Declare __nss_##arg##_database.
8579 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8582 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
8583 libc_hidden_proto and libc_hidden_def.
8585 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8588 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
8589 Add libc_hidden_proto.
8590 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
8591 Add libc_hidden_def.
8593 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8596 * gmon/Makefile (routines): Remove bb_init_func and
8598 (elide-routines.os): Removed.
8599 * gmon/bb_exit_func.c: Likewise.
8600 * gmon/bb_init_func.c: Likewise.
8601 * include/sys/gmon.h (__bb): Likewise.
8602 (__bb_init_func): Likewise.
8603 (__bb_exit_func): Likewise.
8604 * sysdeps/alpha/bb_init_func.S: Likewise.
8606 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8608 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
8609 * include/setjmp.h (____longjmp_chk): Here. Add
8612 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
8615 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
8617 (__strspn_sse2): Likewise.
8619 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8621 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
8622 (close_not_cancel_no_status): Likewise.
8623 (__close_nocancel): New macro.
8624 (__close_nocancel_nostatus): Likewise.
8625 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
8627 (close_not_cancel): Likewise.
8628 (close_not_cancel_no_status): Likewise.
8629 (__close_nocancel): New prototype.
8630 (__close_nocancel_nostatus): New function.
8631 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
8632 * catgets/open_catalog.c (__open_catalog): Replace
8633 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
8634 * gmon/gmon.c (write_gmon): Likewise.
8635 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8636 * intl/loadmsgcat.c (close): Likewise.
8637 * io/ftw.c (open_dir_stream): Likewise.
8638 (ftw_startup): Likewise.
8639 * libio/fileops.c (_IO_file_open): Likewise.
8640 (_IO_file_close_mmap): Likewise.
8641 (_IO_file_close): Likewise.
8642 * libio/iopopen.c (_IO_dup2): Likewise.
8643 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8644 * locale/loadlocale.c (_nl_load_locale): Likewise.
8645 * login/utmp_file.c (pututline_file): Likewise.
8646 (endutent_file): Likewise.
8647 * misc/daemon.c (daemon): Likewise.
8648 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8649 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8650 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8651 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8652 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8653 * nscd/nscd_helper.c (open_socket): Likewise.
8654 (__nscd_open_socket): Likewise.
8655 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8656 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
8657 (__nscd_innetgr): Likewise.
8658 * nss/nss_db/db-open.c (internal_setent): Likewise.
8659 * resolv/res-close.c (__res_iclose): Likewise.
8660 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
8661 * sysdeps/posix/closedir.c (__closedir): Likewise.
8662 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
8663 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8664 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8665 (opendir_tail): Likewise.
8666 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8667 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
8668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8669 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8670 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8671 (gethostid): Likewise.
8672 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8676 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
8677 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8678 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8680 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
8681 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
8682 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8684 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
8685 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8687 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8689 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8690 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8691 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8694 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
8695 (openat_not_cancel_3): Likewise.
8696 (openat64_not_cancel_3): Likewise).
8697 (openat_not_cancel_3): Likewise).
8698 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
8700 (openat_not_cancel_3): Likewise.
8701 (openat64_not_cancel): Likewise.
8702 (openat64_not_cancel_3): Likewise.
8703 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
8704 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
8705 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
8706 __open{64}_nocancel.
8707 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8708 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8709 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8711 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8714 * include/argz.h (__argz_create_sep): New function prototype.
8715 (__argz_append): Likewise.
8716 (__argz_add): Likewise.
8717 (__argz_add_sep): Likewise.
8718 (__argz_delete): Likewise.
8719 (__argz_insert): Likewise.
8720 (__argz_replace): Likewise.
8721 * string/argz.h (__argz_create_sep): Removed.
8722 (__argz_append): Likewise.
8723 (__argz_add): Likewise.
8724 (__argz_add_sep): Likewise.
8725 (__argz_delete): Likewise.
8726 (__argz_insert): Likewise.
8727 (__argz_replace): Likewise.
8729 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8731 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
8732 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
8733 (GNU_PROPERTY_STACK_SIZE): Likewie.
8734 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
8735 (GNU_PROPERTY_LOPROC): Likewise.
8736 (GNU_PROPERTY_HIPROC): Likewise.
8737 (GNU_PROPERTY_LOUSER): Likewise.
8738 (GNU_PROPERTY_HIUSER): Likewise.
8739 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
8740 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
8741 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
8742 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
8743 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
8744 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
8745 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
8746 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
8747 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
8748 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
8749 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
8750 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
8751 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
8752 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
8753 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
8754 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
8755 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
8756 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
8757 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
8758 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
8759 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
8760 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
8761 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
8763 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8765 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
8768 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8771 * math/math.h (isinf): Check if in C or C++ mode before using
8772 __builtin_types_compatible_p, since this is a C mode feature.
8774 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8776 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
8777 (__write_nocancel): New macro.
8778 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
8779 Rewrite as a function prototype.
8780 (write_not_cancel): Remove macro.
8781 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
8782 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
8783 (write_gmon): Likewise.
8784 * libio/fileops.c (_IO_new_file_write): Likewise.
8785 * login/utmp_file.c (pututline_file): Likewise.
8786 (updwtmp_file): Likewise.
8787 * stdio-common/psiginfo.c (psiginfo): Likewise.
8788 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8789 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8790 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8792 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8795 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
8796 (__read_nocancel): New macro.
8797 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8799 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
8801 (__read_nocancel): New prototype.
8802 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
8803 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
8804 with __read_nocancel.
8805 * intl/loadmsgcat.c (read): Likewise.
8806 * libio/fileops.c (_IO_file_read): Likewise.
8807 * locale/loadlocale.c (_nl_load_locale): Likewise.
8808 * login/utmp_file.c (getutent_r_file): Likewise.
8809 (internal_getut_r): Likewise.
8810 (getutline_r_file): Likewise.
8811 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
8812 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8813 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8816 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
8817 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8818 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8820 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8822 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8824 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8828 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
8831 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
8832 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
8835 2017-08-17 DJ Delorie <dj@redhat.com>
8837 * bug17079.c: Update to new test harness.
8838 * test-digits-dots.c: Likewise.
8839 * test-netdb.c: Likewise.
8840 * tst-field.c: Likewise.
8841 * tst-nss-getpwent.c: Likewise.
8842 * tst-nss-static.c: Likewise.
8843 * tst-nss-test1.c: Likewise.
8844 * tst-nss-test2.c: Likewise.
8845 * tst-nss-test3.c: Likewise.
8846 * tst-nss-test4.c: Likewise.
8847 * tst-nss-test5.c: Likewise.
8849 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8851 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
8852 (open_not_cancel_2): Likewise.
8853 (open_nocancel): New macro.
8854 (open64_nocancel): Likewise.
8855 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
8856 (open_not_cancel_2): Likewise.
8857 (__open_nocancel): New prototype.
8858 (__open64_nocancel): Likewise.
8859 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8861 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
8862 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
8863 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
8864 with __open_nocancel.
8865 * csu/check_fds.c (check_one_fd): Likewise.
8866 * gmon/gmon.c (write_gmon): Likewise.
8867 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
8868 * intl/loadmsgcat.c (open): Likewise.
8869 * libio/fileops.c (_IO_file_open): Likewise.
8870 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8871 * locale/loadlocale.c (_nl_load_locale): Likewise.
8872 * login/utmp_file.c (setutent_file): Likewise.
8873 * misc/daemon.c (daemon): Likewise.
8874 * nss/nss_db/db-open.c (internal_setent): Likewise.
8875 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8876 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
8877 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8878 (__opendir): Likewise.
8879 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8880 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
8881 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8882 (gethostid): Likewise.
8883 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8887 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
8888 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8889 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8891 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
8893 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8895 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8897 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8899 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8901 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8902 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
8904 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
8906 * benchtests/bench-skeleton.c (main): Add support for
8907 latency benchmarking.
8908 * benchtests/scripts/bench.py: Add support for latency benchmarking.
8910 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
8912 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
8915 2017-08-17 Florian Weimer <fweimer@redhat.com>
8917 * include/sys/socket.h (__opensock): Remove internal_function.
8918 * socket/opensock.c (__opensock): Likewise.
8919 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
8921 2017-08-16 Joseph Myers <joseph@codesourcery.com>
8924 * signal/bits/types/__sigval_t.h: New file.
8925 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
8926 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
8927 and define sigval_t using __sigval_t.
8928 * include/bits/types/__sigval_t.h: New file.
8929 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
8930 instead of <bits/types/__sigval_t.h>.
8931 (struct sigevent): Use __sigval_t instead of sigval_t.
8932 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
8933 instead of <bits/types/__sigval_t.h>.
8934 (siginfo_t): Use __sigval_t instead of sigval_t.
8935 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
8936 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
8937 (struct sigevent): Use __sigval_t instead of sigval_t.
8938 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
8939 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
8940 (siginfo_t): Use __sigval_t instead of sigval_t.
8941 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
8943 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8945 * NEWS: Remove "[Add new features here]" for 2.27.
8947 2017-08-16 Joseph Myers <joseph@codesourcery.com>
8949 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
8952 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8954 * NEWS: Mention x86-64 FMA optimization.
8956 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
8959 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8961 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
8962 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
8963 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
8965 2017-08-16 Andreas Schwab <schwab@suse.de>
8969 * elf/ldd.bash.in: Never run file directly.
8971 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
8974 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
8975 (L(SP_INF_0)): Likewise.
8977 2017-08-15 Florian Weimer <fweimer@redhat.com>
8979 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
8982 2017-08-15 Florian Weimer <fweimer@redhat.com>
8984 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
8985 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
8986 BROKEN_THREAD_SIGNALS code.
8987 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
8988 request_list): Remove caller_pid member used for
8989 BROKEN_THREAD_SIGNALS.
8990 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
8991 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
8992 Remove BROKEN_THREAD_SIGNALS support.
8993 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8994 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
8996 2017-08-15 Florian Weimer <fweimer@redhat.com>
8998 * gmon/Makefile (tests): Add tst-gmon.
8999 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
9001 (tests-special): Add tst-gmon-prof.out.
9002 (tst-gmon.out): Depend on clean-tst-gmon-data.
9003 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
9004 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
9005 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
9007 * aclocal.m4 (GPROF): Set and substitute.
9008 * config.amke.in (GPROF): Set.
9009 * configure: Regenerate.
9011 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
9013 * elf/elf.h A (NT_PPC_TAR): New macro.
9014 (NT_PPC_PPR): Likewise.
9015 (NT_PPC_DSCR): Likewise.
9016 (NT_PPC_EBB): Likewise.
9017 (NT_PPC_PMU): Likewise.
9018 (NT_PPC_TM_CGPR): Likewise.
9019 (NT_PPC_TM_CFPR): Likewise.
9020 (NT_PPC_TM_CVMX): Likewise.
9021 (NT_PPC_TM_CVSX): Likewise.
9022 (NT_PPC_TM_SPR): Likewise.
9023 (NT_PPC_TM_CTAR): Likewise.
9024 (NT_PPC_TM_CPPR): Likewise.
9025 (NT_PPC_TM_CDSCR): Likewise.
9027 2017-08-15 Florian Weimer <fweimer@redhat.com>
9029 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
9030 regparm (2) instead of internal_function.
9031 (_MCOUNT_DECL): Adjust.
9033 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9035 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
9036 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9038 2017-08-14 Joseph Myers <joseph@codesourcery.com>
9040 * conform/data/sys/wait.h-data (si_value): Do not expect for
9043 2017-08-14 Florian Weimer <fweimer@redhat.com>
9046 NSS: Create stubs for accidentally exported lookup functions.
9047 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
9049 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
9050 (ether_hostton): Call __nss_ethers_lookup2 instead.
9051 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
9052 (ether_ntohost): Call __nss_ethers_lookup2 instead.
9053 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
9054 (setup): Call __nss_netgroup_lookup2 instead.
9055 * nss/Makefile (routines): Add compat-lookup.
9056 * nss/Versions (GLIBC_2.27): Add symbol version.
9057 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
9058 (DB_COMPAT_FCT): Remove.
9059 * nss/compat-lookup.c: New file.
9060 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
9062 * nss/service-lookup.c (NO_COMPAT): Remove definition.
9063 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
9064 (netname2user): Call __nss_publickey_lookup2 instead.
9065 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
9066 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
9069 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9070 Sergei Trofimovich <slyfox@inbox.ru>
9073 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
9074 Rename to MMAP2_PAGE_UNIT.
9075 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
9076 __OFF_T_MATCHES_OFF64_T is not defined.
9077 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
9079 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
9080 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
9082 2017-08-14 Florian Weimer <fweimer@redhat.com>
9084 i386: Do not set internal_function.
9085 * config.h.in (USE_REGPARMS, internal_function): Remove.
9086 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
9087 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
9089 2017-08-14 Florian Weimer <fweimer@redhat.com>
9091 * elf/dl-init.c (_dl_init): Remove internal_function.
9092 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
9093 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
9095 2017-08-14 Florian Weimer <fweimer@redhat.com>
9097 * elf/rtld.c (_dl_start): Remove internal_function.
9098 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
9101 2017-08-14 Florian Weimer <fweimer@redhat.com>
9103 * elf/dl-fini.c (_dl_fini): Remove internal_function
9104 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9106 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
9108 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
9109 (bit_cpu_SHSTK): Likewise.
9110 (index_cpu_IBT): Likewise.
9111 (index_cpu_SHSTK): Likewise.
9112 (reg_IBT): Likewise.
9113 (reg_SHSTK): Likewise.
9114 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9115 Handle index_cpu_IBT and index_cpu_SHSTK.
9117 2017-08-14 Mike FABIAN <mfabian@redhat.com>
9120 * po/fr.po: Fix spelling mistake.
9122 2017-08-13 Florian Weimer <fweimer@redhat.com>
9124 * elf/dl-addr.c (_dl_addr): Remove internal_function.
9125 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
9126 (_dl_catch_error, _dl_receive_error): Likewise.
9127 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
9128 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
9129 (_dl_deallocate_tls): Likewise.
9130 * include/dlfcn.h (_dl_addr): Likewise.
9131 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
9132 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
9133 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
9136 2017-08-13 Florian Weimer <fweimer@redhat.com>
9138 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
9139 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
9141 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
9143 2017-08-13 Florian Weimer <fweimer@redhat.com>
9145 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
9147 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
9148 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
9149 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
9150 internal_function from _dl_make_stack_executable_hook member.
9151 (_dl_make_stack_executable): Remove internal_function.
9152 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
9154 * sysdeps/unix/sysv/linux/dl-execstack.c
9155 (_dl_make_stack_executable): Likewise.
9157 2017-08-13 Florian Weimer <fweimer@redhat.com>
9159 * sysdeps/unix/sysv/linux/netlinkaccess.h
9160 (__netlink_assert_response): Remove internal_function.
9161 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9162 (__netlink_assert_response): Likewise.
9164 2017-08-13 Florian Weimer <fweimer@redhat.com>
9166 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
9168 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
9170 2017-08-13 Florian Weimer <fweimer@redhat.com>
9172 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
9174 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
9175 * inet/netgroup.h (__internal_setnetgrent)
9176 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9177 * inet/getnetgrent_r.c (__internal_setnetgrent)
9178 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9179 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
9180 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
9181 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
9182 * nss/nsswitch.h (db_lookup_function): Likewise.
9184 2017-08-13 Florian Weimer <fweimer@redhat.com>
9186 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
9187 Remove internal_function.
9188 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
9189 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
9190 message argument on the stack.
9191 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
9194 2017-08-12 Mike FABIAN <mfabian@redhat.com>
9196 Adapt test case data to the changes in the thousands
9200 * localedata/tst-langinfo.sh: Adapt test case data.
9201 * stdlib/tst-strfmon_l.c: Likewise.
9202 * stdlib/tst-strtod4.c: Likewise.
9203 * stdlib/tst-strtod5i.c: Likewise.
9205 2017-08-11 Florian Weimer <fweimer@redhat.com>
9208 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
9209 Suppress pedantic warning resulting from statement expression.
9210 (__ASSERT_FUNCTION): Add missing __extension__.
9212 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9214 * benchtests/bench-memmove-large.c: Print output in JSON
9216 * benchtests/bench-memmove.c: Likewise.
9218 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
9219 * benchtests/bench-memchr.c (do_one_test): Likewise.
9220 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
9221 * benchtests/bench-memcpy.c (do_one_test): Likewise.
9222 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
9223 * benchtests/bench-memmove.c (do_one_test): Likewise.
9224 * benchtests/bench-memset-large.c (do_one_test): Likewise.
9225 * benchtests/bench-memset.c (do_one_test): Likewise.
9226 * benchtests/bench-string.h (test_init): Remove memsets.
9228 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
9231 (Computing the Width of an Integer Data Type): Rename section to
9232 "Width of an Integer Type". Remove inaccurate statement regarding
9233 lack of C language facilities for determining width of integer
9234 types, and reorder content to improve flow and context of
9237 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
9239 * lang.texi (va_copy): Change standard from ISO to C99.
9240 (__va_copy): Add standard and header annotation.
9241 Update description for clarity of origins and current use.
9243 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9246 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
9247 xssqrtqp requires operands to be in Vector Registers
9248 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
9249 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
9250 (__ieee754_sqrtf128): Likewise.
9252 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9254 * sysdeps/aarch64/memcmp.S (memcmp):
9255 Rewrite of optimized memcmp.
9257 2017-08-10 Florian Weimer <fweimer@redhat.com>
9259 Introduce ld.so exceptions.
9260 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
9261 (_dl_exception_create, _dl_exception_create_format)
9262 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
9263 (_dl_catch_exception): Declare.
9264 (_dl_catch_error): Update comment.
9265 * elf/dl-error-skeleton.c (struct catch): Replace objname,
9266 errstring, malloced members with exception member.
9267 (_dl_out_of_memory): Remove.
9268 (fatal_error): New function, extracted from _dl_signal_error.
9269 (_dl_signal_exception, _dl_signal_cexception): New functions.
9270 (_dl_signal_error): Call _dl_exception_create to allocate an
9272 (_dl_catch_exception): New function, based on _dl_catch_error.
9273 (_dl_catch_error): Implement using _dl_catch_exception.
9274 * elf/dl-exception.c: New file.
9275 * elf/Makefile (dl-routines): Add dl-exception.
9276 (elide-routines.os): Likewise.
9277 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
9278 _dl_exception_create_format, _dl_exception_free.
9279 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
9280 _dl_signal_exception.
9281 * elf/dl-lookup.c (make_string): Remove.
9282 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
9283 _dl_signal_cexception, _dl_exception_free.
9284 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
9285 _dl_signal_exception.
9286 * elf/dl-sym.c (do_sym): Likewise.
9287 * elf/dl-version.c (make_string): Remove.
9288 (match_symbol): Use _dl_exception_create_format,
9289 _dl_signal_cexception, _dl_exception_free.
9290 (_dl_check_map_versions): Likewise.
9291 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
9292 _dl_catch_exception.
9293 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9294 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9295 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9296 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9297 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9298 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9299 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9300 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9302 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9309 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9310 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9311 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9313 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9315 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9317 2017-08-10 Florian Weimer <fweimer@redhat.com>
9319 * inet/net-internal.h (__inet6_scopeid_pton): Remove
9320 attribute_hidden, internal_function.
9321 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
9324 2017-08-10 Florian Weimer <fweimer@redhat.com>
9326 * malloc/malloc.c (get_max_fast): Reimplement as an inline
9327 function which calls __builtin_unreachable.
9329 2017-08-10 Mike FABIAN <mfabian@redhat.com>
9331 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
9332 Indian monetary formatting
9333 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
9336 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
9338 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
9339 Fix typo in comment.
9342 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
9343 PTRACE_SEIZE_DEVEL): Remove.
9344 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
9345 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9346 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9347 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9350 2017-08-09 Joseph Myers <joseph@codesourcery.com>
9352 * posix/bits/types.h (__qaddr_t): Remove.
9355 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
9356 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9358 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
9359 (ucontext_t): Use __ctx with uc_flags.
9360 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
9362 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9364 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
9365 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9367 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
9368 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9370 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
9372 (ucontext_t): Use __ctx with uc_flags.
9373 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
9374 (ucontext_t): Use __ctx with uc_flags.
9375 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
9376 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
9377 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
9378 (ucontext_t): Use __ctx with uc_flags.
9379 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
9380 undefine further down.
9381 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9383 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
9384 undefine further down.
9385 (ucontext_t): Use __ctx with uc_flags.
9386 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
9387 undefine further down.
9388 (ucontext_t): Use __ctx with uc_flags.
9389 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
9390 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
9391 Rename uc_pad to __glibc_reserved1.
9392 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
9393 undefine further down.
9394 (ucontext_t): Use __ctx with uc_flags.
9395 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
9397 (ucontext_t): Use __ctx with uc_flags.
9398 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
9399 __ctx with uc_flags.
9400 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
9401 (ucontext_t): Use __ctx with uc_flags.
9402 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
9403 __ctx with uc_flags.
9405 2017-08-09 Florian Weimer <fweimer@redhat.com>
9408 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
9409 before early return.
9411 2017-08-09 Andreas Schwab <schwab@suse.de>
9414 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
9418 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
9419 tst-compat-forwarder.
9420 (modules-names): Add tst-compat-forwarder-mod.
9421 ($(objpfx)tst-compat-forwarder): Depend on
9422 $(objpfx)tst-compat-forwarder-mod.so.
9423 * nptl/tst-compat-forwarder.c: New file.
9424 * nptl/tst-compat-forwarder-mod.c: New file.
9426 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
9428 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
9431 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
9432 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9434 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
9436 (__libc_ifunc_impl_list): Add __memcpy_falkor.
9437 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
9438 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
9439 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
9441 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
9444 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9447 * manual/setjmp.texi (getcontex): Document uc_stack value
9448 compatibility differences.
9450 2017-08-08 Joseph Myers <joseph@codesourcery.com>
9452 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
9453 (old_malloc_hook): Likewise.
9454 (old_memalign_hook): Likewise.
9455 (old_realloc_hook): Likewise.
9456 (struct hdr): Likewise.
9458 (freehook): Likewise.
9459 (mallochook): Likewise.
9460 (memalignhook): Likewise.
9461 (reallochook): Likewise.
9463 * malloc/mtrace.c (mallwatch): Likewise.
9464 (tr_old_free_hook): Likewise.
9465 (tr_old_malloc_hook): Likewise.
9466 (tr_old_realloc_hook): Likewise.
9467 (tr_old_memalign_hook): Likewise.
9468 (tr_where): Likewise.
9469 (lock_and_info): Likewise.
9470 (tr_freehook): Likewise.
9471 (tr_mallochook): Likewise.
9472 (tr_reallochook): Likewise.
9473 (tr_memalignhook): Likewise.
9474 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
9475 * misc/mmap.c (__mmap): Likewise.
9476 * misc/mmap64.c (__mmap64): Likewise.
9477 * misc/mprotect.c (__mprotect): Likewise.
9478 * misc/msync.c (msync): Likewise.
9479 * misc/munmap.c (__munmap): Likewise.
9480 * posix/posix_madvise.c (posix_madvise): Likewise.
9481 * socket/send.c (__send): Likewise.
9482 * socket/sendto.c (__sendto): Likewise.
9483 * socket/setsockopt.c (__setsockopt): Likewise.
9484 * string/memcmp.c (__ptr_t): Remove macro.
9485 (MEMCMP): Use void * instead of ptr_t.
9486 * string/memrchr.c (__ptr_t): Remove macro.
9487 (__memrchr): Use void * instead of ptr_t.
9488 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
9489 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
9490 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
9491 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
9492 * sysdeps/mach/msync.c (msync): Likewise.
9493 * sysdeps/mach/munmap.c (__munmap): Likewise.
9494 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
9496 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9497 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
9498 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
9499 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
9500 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9501 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9502 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
9503 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
9505 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9506 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
9507 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
9508 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
9509 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
9510 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
9511 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
9512 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
9513 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
9515 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
9516 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
9517 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
9518 (MEMCMP): Use void * instead of ptr_t.
9519 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
9520 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
9522 2017-08-08 Florian Weimer <fweimer@redhat.com>
9524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
9527 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
9530 * csu/libc-tls.c: Include <startup.h> first.
9531 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
9532 * elf/dl-tunables.c: Include <startup.h> first.
9533 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
9534 * sysdeps/generic/startup.h: New file.
9535 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
9536 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
9537 (I386_USE_SYSENTER): New. Defined to 0.
9539 2017-08-08 Andreas Schwab <schwab@suse.de>
9542 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
9543 * nptl/pt-system.c (system): Likewise.
9545 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9548 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
9550 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
9551 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
9552 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
9553 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
9554 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9555 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9556 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9558 2017-08-07 Joseph Myers <joseph@codesourcery.com>
9561 * bits/sigaction.h (struct sigaction): Define sa_handler and
9562 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
9563 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9564 [__USE_XOPEN_EXTENDED].
9565 (SA_RESTART): Likewise.
9566 (SA_NODEFER): Likewise.
9567 (SA_RESETHAND): Likewise.
9568 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
9569 (struct sigaction): Define sa_handler and sa_sigaction using union
9570 also for [__USE_XOPEN_EXTENDED].
9571 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9572 [__USE_XOPEN_EXTENDED].
9573 (SA_RESTART): Likewise.
9574 (SA_NODEFER): Likewise.
9575 (SA_RESETHAND): Likewise.
9576 * sysdeps/unix/sysv/linux/bits/sigaction.h
9577 (struct sigaction): Define sa_handler and sa_sigaction using union
9578 also for [__USE_XOPEN_EXTENDED].
9579 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9580 [__USE_XOPEN_EXTENDED].
9581 (SA_RESTART): Likewise.
9582 (SA_NODEFER): Likewise.
9583 (SA_RESETHAND): Likewise.
9584 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
9585 (struct sigaction): Define sa_handler and sa_sigaction using union
9586 also for [__USE_XOPEN_EXTENDED].
9587 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9588 [__USE_XOPEN_EXTENDED].
9589 (SA_RESTART): Likewise.
9590 (SA_NODEFER): Likewise.
9591 (SA_RESETHAND): Likewise.
9592 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
9593 (struct sigaction): Define sa_handler and sa_sigaction using union
9594 also for [__USE_XOPEN_EXTENDED].
9595 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9596 [__USE_XOPEN_EXTENDED].
9597 (SA_RESTART): Likewise.
9598 (SA_NODEFER): Likewise.
9599 (SA_RESETHAND): Likewise.
9600 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9601 (struct sigaction): Define sa_handler and sa_sigaction using union
9602 also for [__USE_XOPEN_EXTENDED].
9603 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9604 [__USE_XOPEN_EXTENDED].
9605 (SA_RESTART): Likewise.
9606 (SA_NODEFER): Likewise.
9607 (SA_RESETHAND): Likewise.
9608 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9609 (struct sigaction): Define sa_handler and sa_sigaction using union
9610 also for [__USE_XOPEN_EXTENDED].
9611 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9612 [__USE_XOPEN_EXTENDED].
9613 (SA_RESTART): Likewise.
9614 (SA_NODEFER): Likewise.
9615 (SA_RESETHAND): Likewise.
9616 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9617 (struct sigaction): Define sa_handler and sa_sigaction using union
9618 also for [__USE_XOPEN_EXTENDED].
9619 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9620 [__USE_XOPEN_EXTENDED].
9621 (SA_RESTART): Likewise.
9622 (SA_NODEFER): Likewise. Define directly rather than as alias.
9623 (SA_RESETHAND): Likewise.
9624 (SA_INTERRUPT): Define only for [__USE_MISC].
9625 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
9626 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
9628 (SA_STACK): Define only for [__USE_MISC].
9629 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
9630 (struct sigaction): Define sa_handler and sa_sigaction using union
9631 also for [__USE_XOPEN_EXTENDED].
9632 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9633 [__USE_XOPEN_EXTENDED].
9634 (SA_RESTART): Likewise.
9635 (SA_NODEFER): Likewise.
9636 (SA_RESETHAND): Likewise.
9637 (SA_NOPTRACE): Define only for [__USE_MISC].
9639 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
9640 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
9641 (struct catalog_info): Likewise.
9642 * inet/htontest.c (lo): Likewise.
9644 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9645 * inet/inet_net.c (inet_network): Likewise.
9646 * inet/inet_netof.c (inet_netof): Likewise.
9647 * inet/rcmd.c (__ivaliduser): Likewise.
9648 (iruserok): Likewise.
9649 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
9650 * locale/programs/locale-spec.c (locale_special): Likewise.
9651 * nis/nis_findserv.c (struct findserv_req): Likewise.
9652 (__nis_findfastest_with_timeout): Likewise.
9653 * nss/test-netdb.c (test_network): Likewise.
9654 * resolv/inet_neta.c (inet_neta): Likewise.
9655 * resolv/ns_date.c (ns_datetosecs): Likewise.
9656 (SECS_PER_DAY): Likewise.
9657 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
9659 * resolv/res_comp.c (__putlong): Likewise.
9660 (__putshort): Likewise.
9661 (_getlong): Likewise.
9662 (_getshort): Likewise.
9663 * resolv/res_debug.c (p_time): Likewise.
9664 (precsize_ntoa): Likewise.
9665 (precsize_aton): Likewise.
9666 (latlon2ul): Likewise.
9667 (loc_aton): Likewise.
9668 (loc_ntoa): Likewise.
9669 * resolv/res_hconf.c (struct netaddr): Likewise.
9670 (_res_hconf_reorder_addrs): Likewise.
9671 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9672 (clnttcp_control): Likewise.
9673 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9674 (clntudp_control): Likewise.
9675 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9676 (clntunix_control): Likewise.
9677 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9678 * sunrpc/rpc/auth.h (union des_block): Likewise.
9679 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
9680 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
9681 (xdrrec_create): Likewise.
9682 (xdrrec_endofrecord): Likewise.
9683 (flush_out): Likewise.
9684 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
9685 (xdrstdio_putlong): Likewise.
9686 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
9689 * misc/sys/cdefs.h (__long_double_t): Remove.
9690 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
9691 instead of __long_double_t,
9692 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
9694 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9696 * benchtests/scripts/compare_strings.py: Avoid display error when
9697 running on a text terminal.
9699 * benchtests/scripts/compare_strings.py (main): Add an
9700 optional -base option.
9701 (process_results): New argument base_func.
9703 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
9705 * benchtests/bench-memcpy-large.c (test_name): Likewise.
9706 * benchtests/bench-memcpy-random.c (test_name): Likewise.
9708 2017-08-07 Andreas Schwab <schwab@suse.de>
9710 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
9711 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9712 * intl/Makefile ($(objpfx)tst-gettext.out)
9713 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
9714 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
9715 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9716 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9717 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
9718 * posix/Makefile ($(objpfx)globtest.out)
9719 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
9720 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
9721 ($(objpfx)tst-printf.out): Likewise.
9722 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
9723 ($(objpfx)tst-setcontext3.out): Likewise.
9725 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
9727 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9728 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
9729 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
9730 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
9731 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
9733 (CFLAGS-doasin-fma.c): New.
9734 (CFLAGS-dosincos-fma.c): Likewise.
9735 (CFLAGS-e_asin-fma.c): Likewise.
9736 (CFLAGS-e_atan2-fma.c): Likewise.
9737 (CFLAGS-e_exp-fma.c): Likewise.
9738 (CFLAGS-e_log-fma.c): Likewise.
9739 (CFLAGS-e_pow-fma.c): Likewise.
9740 (CFLAGS-halfulp-fma.c): Likewise.
9741 (CFLAGS-mpa-fma.c): Likewise.
9742 (CFLAGS-mpatan-fma.c): Likewise.
9743 (CFLAGS-mpatan2-fma.c): Likewise.
9744 (CFLAGS-mpexp-fma.c): Likewise.
9745 (CFLAGS-mplog-fma.c): Likewise.
9746 (CFLAGS-mpsqrt-fma.c): Likewise.
9747 (CFLAGS-mptan-fma.c): Likewise.
9748 (CFLAGS-s_atan-fma.c): Likewise.
9749 (CFLAGS-sincos32-fma.c): Likewise.
9750 (CFLAGS-slowexp-fma.c): Likewise.
9751 (CFLAGS-slowpow-fma.c): Likewise.
9752 (CFLAGS-s_sin-fma.c): Likewise.
9753 (CFLAGS-s_tan-fma.c): Likewise.
9754 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
9755 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
9756 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
9757 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
9758 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
9759 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
9760 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
9761 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
9762 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
9763 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
9764 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
9765 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
9766 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
9767 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
9768 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
9769 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
9770 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
9771 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
9772 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
9773 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
9774 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
9775 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
9776 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
9777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
9778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9780 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9781 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9782 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9783 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9784 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9786 2017-08-04 Joseph Myers <joseph@codesourcery.com>
9788 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
9789 (min_of_type_f): New macro.
9790 (min_of_type_): Likewise.
9791 (min_of_type_l): Likewise.
9792 (min_of_type_f128): Likewise.
9793 (min_of_type): Define using __MATH_TG and taking an expression
9795 (math_check_force_underflow): Pass expression instead of type to
9797 (math_check_force_underflow_nonneg): Likewise.
9799 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9801 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
9802 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
9803 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
9805 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9808 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
9809 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
9810 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
9811 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
9812 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
9813 memcpy_chk-nonshared, mempcpy_chk-nonshared,
9814 memmove_chk-nonshared and memset_chk-nonshared
9815 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
9816 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
9817 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
9818 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
9819 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
9820 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
9821 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
9822 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
9823 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
9824 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
9825 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
9826 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
9827 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
9828 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
9829 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
9830 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
9831 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
9832 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
9833 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
9834 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
9835 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
9836 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
9837 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
9838 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
9839 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
9840 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
9841 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
9842 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
9843 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
9844 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
9845 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
9846 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
9847 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
9848 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
9849 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
9850 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
9851 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
9852 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
9853 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
9854 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
9855 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
9856 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
9857 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
9858 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
9859 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
9860 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
9861 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
9862 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
9863 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
9864 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
9865 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
9866 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
9867 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
9868 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
9869 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
9870 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
9871 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
9872 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
9873 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
9874 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
9875 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
9876 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
9877 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
9878 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
9879 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
9880 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
9881 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
9882 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
9883 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
9884 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
9885 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
9886 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9887 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9888 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9889 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9890 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9891 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9892 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9893 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9894 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9895 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9896 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9897 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9898 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9899 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9900 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9901 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9902 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9903 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9905 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9906 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9907 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9908 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9909 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9910 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9911 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9912 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9914 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9915 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9916 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9917 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9918 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9919 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9920 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9921 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9922 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9924 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9926 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
9927 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
9928 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
9929 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
9930 svml_d_log2_core-sse2, svml_d_log4_core-sse,
9931 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
9932 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
9933 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
9934 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
9935 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
9936 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
9937 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
9938 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
9939 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
9940 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
9941 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
9942 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
9943 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
9944 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
9945 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
9946 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
9947 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
9948 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
9949 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
9950 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
9951 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
9952 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
9953 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
9954 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
9955 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
9956 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
9957 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
9958 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
9959 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
9960 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
9961 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
9962 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
9963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
9964 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
9965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
9966 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
9967 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
9968 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
9969 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
9970 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
9971 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
9972 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
9973 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
9974 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
9975 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
9976 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
9977 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
9978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
9979 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
9980 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
9981 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
9982 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
9983 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
9984 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
9986 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
9987 Don't include <sysdep.h> nor <init-arch.h>.
9988 (_ZGVbN2v_cos): Removed.
9989 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
9991 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
9992 Don't include <sysdep.h> nor <init-arch.h>.
9993 (_ZGVdN4v_cos): Removed.
9994 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
9996 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
9997 Don't include <sysdep.h> nor <init-arch.h>.
9998 (_ZGVeN8v_cos): Removed.
9999 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
10001 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
10002 Don't include <sysdep.h> nor <init-arch.h>.
10003 (_ZGVbN2v_exp): Removed.
10004 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
10006 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
10007 Don't include <sysdep.h> nor <init-arch.h>.
10008 (_ZGVdN4v_exp): Removed.
10009 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
10011 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
10012 Don't include <sysdep.h> nor <init-arch.h>.
10013 (_ZGVeN8v_exp): Removed.
10014 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
10016 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
10017 Don't include <sysdep.h> nor <init-arch.h>.
10018 (_ZGVbN2v_log): Removed.
10019 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
10021 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
10022 Don't include <sysdep.h> nor <init-arch.h>.
10023 (_ZGVdN4v_log): Removed.
10024 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
10026 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
10027 Don't include <sysdep.h> nor <init-arch.h>.
10028 (_ZGVeN8v_log): Removed.
10029 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
10031 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
10032 Don't include <sysdep.h> nor <init-arch.h>.
10033 (_ZGVbN2vv_pow): Removed.
10034 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
10036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
10037 Don't include <sysdep.h> nor <init-arch.h>.
10038 (_ZGVdN4vv_pow): Removed.
10039 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
10041 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
10042 Don't include <sysdep.h> nor <init-arch.h>.
10043 (_ZGVeN8vv_pow): Removed.
10044 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
10046 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
10047 Don't include <sysdep.h> nor <init-arch.h>.
10048 (_ZGVbN2v_sin): Removed.
10049 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
10051 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
10052 Don't include <sysdep.h> nor <init-arch.h>.
10053 (_ZGVbN4v_sin): Removed.
10054 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
10056 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
10057 Don't include <sysdep.h> nor <init-arch.h>.
10058 (_ZGVbN8v_sin): Removed.
10059 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
10061 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
10062 Don't include <sysdep.h> nor <init-arch.h>.
10063 (_ZGVbN2vvv_sincos): Removed.
10064 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
10066 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
10067 Don't include <sysdep.h> nor <init-arch.h>.
10068 (_ZGVdN4vvv_sincos): Removed.
10069 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
10071 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
10072 Don't include <sysdep.h> nor <init-arch.h>.
10073 (_ZGVeN8vvv_sincos): Removed.
10074 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
10076 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
10077 Don't include <sysdep.h> nor <init-arch.h>.
10078 (_ZGVeN16v_cosf): Removed.
10079 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
10081 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
10082 Don't include <sysdep.h> nor <init-arch.h>.
10083 (_ZGVbN4v_cosf): Removed.
10084 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
10086 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
10087 Don't include <sysdep.h> nor <init-arch.h>.
10088 (_ZGVdN8v_cosf): Removed.
10089 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
10091 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
10092 Don't include <sysdep.h> nor <init-arch.h>.
10093 (_ZGVeN16v_expf): Removed.
10094 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
10096 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
10097 Don't include <sysdep.h> nor <init-arch.h>.
10098 (_ZGVbN4v_expf): Removed.
10099 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
10101 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
10102 Don't include <sysdep.h> nor <init-arch.h>.
10103 (_ZGVdN8v_expf): Removed.
10104 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
10106 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
10107 Don't include <sysdep.h> nor <init-arch.h>.
10108 (_ZGVeN16v_logf): Removed.
10109 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
10111 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
10112 Don't include <sysdep.h> nor <init-arch.h>.
10113 (_ZGVbN4v_logf): Removed.
10114 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
10116 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
10117 Don't include <sysdep.h> nor <init-arch.h>.
10118 (_ZGVdN8v_logf): Removed.
10119 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
10121 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
10122 Don't include <sysdep.h> nor <init-arch.h>.
10123 (_ZGVeN16vv_powf): Removed.
10124 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
10126 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
10127 Don't include <sysdep.h> nor <init-arch.h>.
10128 (_ZGVbN4vv_powf): Removed.
10129 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
10131 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
10132 Don't include <sysdep.h> nor <init-arch.h>.
10133 (_ZGVdN8vv_powf): Removed.
10134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
10136 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
10137 Don't include <sysdep.h> nor <init-arch.h>.
10138 (_ZGVeN16vvv_sincosf): Removed.
10139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
10141 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
10142 Don't include <sysdep.h> nor <init-arch.h>.
10143 (_ZGVbN4vvv_sincosf): Removed.
10144 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
10146 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
10147 Don't include <sysdep.h> nor <init-arch.h>.
10148 (_ZGVdN8vvv_sincosf): Removed.
10149 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
10151 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
10152 Don't include <sysdep.h> nor <init-arch.h>.
10153 (_ZGVeN16v_sinf): Removed.
10154 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
10156 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
10157 Don't include <sysdep.h> nor <init-arch.h>.
10158 (_ZGVbN4v_sinf): Removed.
10159 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
10161 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
10162 Don't include <sysdep.h> nor <init-arch.h>.
10163 (_ZGVdN8v_sinf): Removed.
10165 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10167 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10168 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
10169 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
10170 s_rint-sse4_1 and s_rintf-sse4_1.
10171 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
10172 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10173 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10174 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10175 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10176 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
10177 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
10178 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10179 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10180 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
10181 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
10182 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10184 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
10185 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
10186 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10187 (__ceilf): Removed.
10188 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
10189 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
10190 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10191 (__floor): Removed.
10192 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
10193 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
10194 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10195 (__floorf): Removed.
10196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
10197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
10198 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10199 (__nearbyint): Removed.
10200 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
10201 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
10202 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10203 (__nearbyintf): Removed.
10204 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
10205 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
10206 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10208 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
10209 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
10210 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10211 (__rintf): Removed.
10213 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10215 * sysdeps/i386/start.S (_start): Check Check PIC instead of
10216 SHARED. Avoid dynamic relocation against main in static PIE.
10218 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10221 * elf/Makefile (CFLAGS-tst-prelink.c): New.
10222 (LDFLAGS-tst-prelink): Likewise.
10224 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10226 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
10227 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
10228 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
10229 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10230 (INTERNAL_SYSCALL_NCS): Likewise.
10231 (LOADARGS_1): Likewise.
10232 (LOADARGS_5): Likewise.
10233 (RESTOREARGS_1): Likewise.
10234 (RESTOREARGS_5): Likewise.
10236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10238 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
10239 (MEMPCPY_SYMBOL): Likewise.
10240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10241 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
10242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
10244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10245 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10247 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
10248 (__hidden_ver1): Don't use in libc.a.
10249 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10250 (__mempcpy): Don't create a weak alias in libc.a.
10251 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
10253 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
10254 (__hidden_ver1): Don't use in libc.a.
10256 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10258 * config.make.in (have-insert): New.
10259 * configure.ac (libc_cv_insert): New. Set to yes if linker
10260 supports INSERT in linker script.
10261 (AC_SUBST(libc_cv_insert): New.
10262 * configure: Regenerated.
10263 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
10264 if $(have-insert) == yes.
10266 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10268 * elf/Makefile (tests): Add vismain only if
10269 $(have-protected-data) == yes.
10270 (tests-pie): Likewise.
10272 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10275 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10276 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
10278 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10281 * sysdeps/i386/i586/memset.S
10282 (__memset_zero_constant_len_parameter): Removed.
10283 * sysdeps/i386/i686/memset.S
10284 (__memset_zero_constant_len_parameter): Likewise.
10285 * sysdeps/i386/i686/multiarch/memset_chk.S
10286 (__memset_zero_constant_len_parameter): Likewise.
10287 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
10290 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10292 * stdlib/getentropy.c (getentropy): Change return type to int.
10294 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10296 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10298 2017-08-03 Joseph Myers <joseph@codesourcery.com>
10300 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
10302 * math/s_nexttowardf.c (__nexttowardf): Likewise.
10303 * sysdeps/generic/math_private.h (ieee_double_shape_type):
10305 (ieee_float_shape_type): Likewise.
10306 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
10307 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
10308 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10309 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10310 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10311 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
10312 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
10313 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10314 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10316 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10317 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10318 (__ieee754_yn): Likewise.
10319 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10320 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10321 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
10323 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10324 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
10325 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
10326 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
10327 (__erfc): Likewise.
10328 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10329 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
10330 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
10331 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
10332 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
10333 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
10335 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10336 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
10337 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10338 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
10339 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10340 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
10341 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
10342 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
10343 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
10344 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10345 (__issignaling): Likewise.
10346 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
10347 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
10348 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10350 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10351 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10352 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10353 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
10355 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
10357 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
10358 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
10359 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
10360 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10361 (__erfcf): Likewise.
10362 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10363 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10364 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
10365 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
10367 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
10368 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
10370 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10371 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
10372 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10373 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
10374 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
10375 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10376 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
10377 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
10379 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
10381 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10383 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
10384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10386 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10388 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10389 (__ieee754_ynl): Likewise.
10390 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10391 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
10393 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
10395 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10396 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
10397 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10399 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
10404 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10405 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
10406 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
10408 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10409 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
10410 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
10412 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
10413 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
10414 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10415 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10416 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
10417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10419 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10421 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10425 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
10426 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10427 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10428 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
10429 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10430 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
10433 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10438 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10439 (__ieee754_remainderl): Likewise.
10440 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10442 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10443 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10445 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10448 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10449 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
10450 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10451 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10452 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10453 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10455 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10456 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10457 (__ieee754_y0l): Likewise.
10460 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10461 (__ieee754_y1l): Likewise.
10464 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10465 (__ieee754_ynl): Likewise.
10466 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10467 (__ieee754_lgammal_r): Likewise.
10468 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
10470 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10471 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
10472 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10473 (__erfcl): Likewise.
10474 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10475 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
10477 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
10478 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10480 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
10481 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
10482 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10483 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10485 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
10486 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10487 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
10488 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
10489 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10491 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
10492 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
10494 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
10495 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
10496 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
10497 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10498 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10500 2017-08-03 Florian Weimer <fweimer@redhat.com>
10503 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
10504 on memory allocation failure.
10506 2017-08-03 Alan Modra <amodra@gmail.com>
10508 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
10509 tst-tlsopt-powerpc.c with function name change and no test harness.
10510 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
10511 Call tls_get_addr_opt_test.
10512 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
10513 (modules-names): Add mod-tlsopt-powerpc.
10514 (mod-tlsopt-powerpc.so-no-z-defs): Define.
10515 (tst-tlsopt-powerpc): Depend on .so.
10516 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
10517 define. Expand use in TLS_GD and TLS_LD.
10519 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10521 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
10523 * sysdeps/posix/shm_open.c: Include <pthread.h>.
10525 2017-08-02 Joseph Myers <joseph@codesourcery.com>
10528 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
10529 comparing size with that of double.
10530 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10531 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10532 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10533 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10534 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10535 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
10536 unsigned __int128 types.
10538 2017-08-02 Steve Ellcey <sellcey@cavium.com>
10540 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
10541 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
10542 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
10543 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
10544 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
10546 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10548 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
10550 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10552 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
10554 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10555 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10557 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10558 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10559 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10560 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10562 2017-08-02 Joseph Myers <joseph@codesourcery.com>
10565 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
10566 bit-field expressions passed to sizeof or typeof.
10567 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10568 (__TGMATH_F128): Likewise.
10569 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10570 (__TGMATH_CF128): Likewise.
10571 (__TGMATH_UNARY_REAL_ONLY): Likewise.
10572 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
10573 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
10574 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
10575 (__TGMATH_BINARY_REAL_ONLY): Likewise.
10576 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10577 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10578 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10579 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10580 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
10581 (__TGMATH_UNARY_REAL_IMAG): Likewise.
10582 (__TGMATH_UNARY_IMAG): Likewise.
10583 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
10584 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10585 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
10587 (define_vars_for_type): Handle bit_field type specially.
10588 (Tests.__init__): Declare structure with bit-field element.
10590 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10593 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
10594 (MEMCPY_CHK): Define only if SHARED is defined.
10595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
10597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
10600 See ChangeLog.18 for earlier changes.